Income taxes - Narrative (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | |||
|---|---|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2026 |
Jun. 30, 2025 |
Dec. 31, 2025 |
|
| Income Tax Disclosure [Abstract] | |||||
| Income tax (benefit) expense | $ 796 | $ 1,309 | $ 2,641 | $ 2,961 | |
| Loss before income taxes | (50,209) | (15,113) | (129,184) | (60,170) | |
| Current Foreign Tax Expense (Benefit) | 1,200 | 1,700 | 2,400 | 3,300 | |
| Unrecognized Tax Benefits | 31,200 | 31,200 | $ 29,700 | ||
| Unrecognized Tax Benefits that Would Impact Effective Tax Rate | 13,800 | 13,800 | |||
| Income Tax Effects Allocated Directly to Equity, Other | 400 | 1,200 | 2,600 | ||
| Valuation Allowance, Deferred Tax Asset, Increase (Decrease), Amount | (400) | (2,000) | |||
| Effective Income Tax Rate Reconciliation, Nondeductible Expense, Restructuring Charges, Amount | (500) | ||||
| Effective Income Tax Rate Reconciliation, Nondeductible Expense, Impairment Losses, Amount | 300 | 300 | |||
| Other Tax Expense (Benefit) | 500 | $ (200) | 500 | $ (200) | |
| Valuation allowance | $ 344,600 | $ 344,600 | |||
| X | ||||||||||
- Definition Amount of current foreign income tax expense (benefit) pertaining to income (loss) from continuing operations. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition The tax effect of items occurring during the period that have been charged or credited directly to components of shareholders' equity and are not otherwise defined. No definition available.
|
| X | ||||||||||
- Definition Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to nondeductible impairment loss. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to nondeductible restructuring charges. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of other income tax expense (benefit). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of unrecognized tax benefits. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition The total amount of unrecognized tax benefits that, if recognized, would affect the effective tax rate. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of increase (decrease) in the valuation allowance for a specified deferred tax asset. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|