XML 65 R52.htm IDEA: XBRL DOCUMENT v3.10.0.1
Summary of significant accounting policies - Inventory (Details) - USD ($)
12 Months Ended
Dec. 31, 2018
Dec. 31, 2017
Accounting Policies [Abstract]    
Inventory Write-down $ 1,800,000.0  
Raw materials 1,431,000 $ 452,000
Work in progress 9,324,000 3,912,000
Finished goods 5,362,000 6,390,000
Total inventory $ 16,117,000 $ 10,754,000