XML 16 R48.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Summary of significant accounting policies - Inventory (Details) - USD ($)
$ in Thousands
Dec. 31, 2019
Dec. 31, 2018
Accounting Policies [Abstract]    
Raw materials $ 874 $ 1,431
Work in progress 9,652 9,324
Finished goods 8,759 5,362
Total inventory $ 19,285 $ 16,117