| Property, plant and equipment, net - Depreciation Expense (Details) - USD ($) | 12 Months Ended | ||
|---|---|---|---|
| Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022 | |
| Property, plant and equipment, net | |||
| Depreciation expense | $ 10,814,000 | $ 9,453,000 | $ 5,266,000 | 
| Impairment of long-lived assets | 10,401,000 | ||
| Leasehold improvements | |||
| Property, plant and equipment, net | |||
| Impairment of long-lived assets | (10,401,000) | ||
| Reductions to associated cost | 14,396,000 | ||
| Reductions to accumulated depreciation | $ 4,072,000 | ||
| X | ||||||||||
| 
- Definition The amount of write-downs for impairments for long lived assets held for use, reduced from accumulated depreciation balances of the asset during the period. No definition available. 
 | 
| X | ||||||||||
| 
- Definition The amount of write-downs for impairments for long lived assets held for use, reduced from associated cost of the asset during the period. No definition available. 
 | 
| X | ||||||||||
| 
- Definition The amount of expense recognized in the current period that reflects the allocation of the cost of tangible assets over the assets' useful lives. Includes production and non-production related depreciation. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition The aggregate amount of write-downs for impairments recognized during the period for long lived assets held for use (including those held for disposal by means other than sale). Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Details 
 |