XML 50 R35.htm IDEA: XBRL DOCUMENT v3.24.2.u1
Summary of significant accounting policies - Inventory (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2023
Jun. 30, 2024
Jun. 30, 2023
Dec. 31, 2023
Accounting Policies [Abstract]        
Raw materials   $ 1,113   $ 952
Work in progress   24,033   17,991
Finished goods   6,680   11,634
Total inventory   31,826   $ 30,577
Inventory write-down $ 300 $ 2,600 $ 400