v3.26.1
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