XML 46 R34.htm IDEA: XBRL DOCUMENT v3.21.1
Summary of significant accounting policies - Inventory (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2021
Mar. 31, 2020
Dec. 31, 2020
Accounting Policies [Abstract]      
Increase in inventory for clinical development programs and marketing efforts $ 0    
Raw materials 678   $ 824
Work in progress 8,401   8,745
Finished goods 7,155   9,128
Total inventory 16,234   $ 18,697
Inventory write-down $ 1,400 $ 200