v3.22.2.2
Summary of significant accounting policies - Inventory (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Dec. 31, 2021
Accounting Policies [Abstract]          
Raw materials $ 1,231   $ 1,231   $ 1,418
Work in progress 7,070   7,070   7,721
Finished goods 6,511   6,511   6,717
Total inventory 14,812   14,812   $ 15,856
Inventory write-down $ 300 $ 500 $ 1,200 $ 2,200