Summary of significant accounting policies - Narrative (Details) $ in Thousands, ¥ in Millions |
6 Months Ended | |||
|---|---|---|---|---|
|
Jun. 30, 2026
USD ($)
|
Jun. 30, 2025
USD ($)
|
Jul. 01, 2026
USD ($)
|
Jul. 01, 2026
CNY (¥)
|
|
| Subsequent Event [Line Items] | ||||
| Net loss | $ (23,001) | $ (72,639) | ||
| Net cash used in operating activities | 127,695 | $ 82,006 | ||
| Current liabilities in excess of current assets | 271,385 | |||
| Long-term debt | $ 127,881 | |||
| Subsequent Event | Syndicated Acquisition Loan Facility | ||||
| Subsequent Event [Line Items] | ||||
| Long-term debt | $ 68,000 | ¥ 460 | ||
| Subsequent Event | 2025 Convertible Note Purchase Agreement | ||||
| Subsequent Event [Line Items] | ||||
| Convertible notes payable | $ 15,000 | |||
| X | ||||||||||
- Definition The amount of current assets less the amount of current liabilities. No definition available.
|
| X | ||||||||||
- Definition Including the current and noncurrent portions, carrying value as of the balance sheet date of a written promise to pay a note, initially due after one year or beyond the operating cycle if longer, which can be exchanged for a specified amount of one or more securities (typically common stock), at the option of the issuer or the holder. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount after tax of income (loss) from continuing operations including portion attributable to the noncontrolling interest. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of cash inflow (outflow) from operating activity, including, but not limited to, discontinued operation. Operating activity includes, but is not limited to, transaction, adjustment, and change in value not defined as investing or financing activity. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|