Summary of significant accounting policies - Additional Information (Details) - USD ($) |
12 Months Ended | ||
---|---|---|---|
Dec. 31, 2017 |
Dec. 31, 2016 |
Mar. 31, 2018 |
|
New Accounting Pronouncements or Change in Accounting Principle [Line Items] | |||
Joint venture, percent owned | 51.00% | ||
Allowance for doubtful accounts | $ 22,400 | $ 29,665 | |
Dilutive shares resulting from stock option exercises included in the calculation of EPS (shares) | 171,594 | ||
Bill and Hold Transactions | $ 1,141,684 | 2,588,458 | |
Advertising expense | 278,000 | 134,000 | |
Research and development | $ 937,000 | $ 677,100 | |
Forecast | Accumulated Deficit | Adjustments for New Accounting Pronouncement | |||
New Accounting Pronouncements or Change in Accounting Principle [Line Items] | |||
Cumulative effect of new accounting principle | $ 165,317 | ||
Forecast | Accumulated Other Comprehensive Loss | Adjustments for New Accounting Pronouncement | |||
New Accounting Pronouncements or Change in Accounting Principle [Line Items] | |||
Cumulative effect of new accounting principle | $ (165,317) |
X | ||||||||||
- Definition Percentage Of Owned Joint Venture. No definition available.
|
X | ||||||||||
- Definition Research And Development Expense, Gross No definition available.
|
X | ||||||||||
- Definition Revenue Recognized, Bill And Hold Transactions No definition available.
|
X | ||||||||||
- Definition Amount charged to advertising expense for the period, which are expenses incurred with the objective of increasing revenue for a specified brand, product or product line. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition A valuation allowance for trade and other receivables due to an Entity within one year (or the normal operating cycle, whichever is longer) that are expected to be uncollectible. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Amount after tax of increase (decrease) to equity or (increase) decrease to net assets, resulting from the cumulative effect adjustment of a new accounting principle applied in the period of adoption. No definition available.
|
X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available.
|
X | ||||||||||
- Definition The sum of dilutive potential common shares or units used in the calculation of the diluted per-share or per-unit computation. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|