Fair value measurements - Schedule of Changes in Carrying Value of Convertible Debt, Net of Debt Discount (Detail) - Convertible Debt [Member] - USD ($) $ in Thousands |
6 Months Ended | 12 Months Ended | |||
|---|---|---|---|---|---|
Jun. 30, 2025 |
Jun. 30, 2024 |
Dec. 31, 2024 |
Dec. 31, 2023 |
Dec. 31, 2022 |
|
| Changes in Carrying Value of Warrant Liability [Line Items] | |||||
| Balance | $ 206,140 | $ 56,382 | $ 40,717 | $ 58,487 | $ 78,264 |
| Net discount on convertible notes | 420 | 564 | 1,062 | 1,042 | |
| Capitalized interest | 334 | 479 | 479 | 470 | |
| Fair value adjustment | 164,591 | (3,057) | (3,428) | (20,107) | |
| Fair value adjustment – credit risk | $ 78 | $ (91) | (1,095) | $ (1,182) | |
| Series E Preferred Stock [Member] | |||||
| Changes in Carrying Value of Warrant Liability [Line Items] | |||||
| Debt Conversion, Converted Instrument, Amount | $ (14,788) | ||||
| X | ||||||||||
- Definition Changes in carrying value of warrant liability. No definition available.
|
| X | ||||||||||
- Definition Credit risk fair value adjustment. No definition available.
|
| X | ||||||||||
- Definition Amount of noncash expense included in interest expense to amortize debt discount and premium associated with the related debt instruments. Excludes amortization of financing costs. Alternate captions include noncash interest expense. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition The value of the financial instrument(s) that the original debt is being converted into in a noncash (or part noncash) transaction. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of interest capitalized during the period. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of addition (reduction) to the amount at which a liability could be incurred (settled) in a current transaction between willing parties. No definition available.
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|