Income taxes - Narrative (Details) - USD ($) $ in Thousands |
12 Months Ended | |||
|---|---|---|---|---|
Dec. 31, 2025 |
Dec. 31, 2024 |
Dec. 31, 2023 |
Dec. 31, 2022 |
|
| Income Tax Disclosure [Abstract] | ||||
| Income tax (benefit) expense | $ 2,039 | $ 299,222 | $ (14,550) | |
| Loss before income taxes | (91,448) | (133,089) | (67,733) | |
| Current Foreign Tax Expense (Benefit) | 1,689 | 2,478 | 3,176 | |
| Unrecognized Tax Benefits | 29,661 | 27,019 | 25,836 | $ 23,414 |
| Unrecognized Tax Benefits, Increase Resulting from Current Period Tax Positions | 5,815 | 4,665 | 4,948 | |
| Unrecognized Tax Benefits that Would Impact Effective Tax Rate | 15,200 | 11,600 | 10,900 | |
| Valuation allowance | 344,611 | 327,367 | ||
| Unrecognized Tax Benefits, Decrease Resulting from Prior Period Tax Positions | $ (3,173) | $ (3,482) | $ (2,526) | |
| 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/2003/role/exampleRef
|
| X | ||||||||||
- References 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/exampleRef
|
| X | ||||||||||
- Definition Amount of unrecognized tax benefits. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of decrease in unrecognized tax benefits resulting from tax positions taken in prior period tax returns. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of increase in unrecognized tax benefits resulting from tax positions that have been or will be taken in current period tax return. 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
|