XML 47 R34.htm IDEA: XBRL DOCUMENT v3.22.2
Summary of significant accounting policies - Inventory (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2022
Jun. 30, 2021
Dec. 31, 2021
Accounting Policies [Abstract]          
Raw materials $ 1,382   $ 1,382   $ 1,418
Work in progress 7,034   7,034   7,721
Finished goods 6,588   6,588   6,717
Total inventory 15,004   15,004   $ 15,856
Inventory write-down $ 300 $ 300 $ 900 $ 1,700