v3.26.1
Restructuring charges - Restructuring Costs (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2026
Mar. 31, 2026
Jun. 30, 2025
Jun. 30, 2026
Jun. 30, 2025
Restructuring Cost and Reserve [Line Items]          
Restructuring Charges $ 2,307   $ 289 $ 2,368 $ 2,719
Third quarter 2024 restructuring          
Restructuring Cost and Reserve [Line Items]          
Restructuring Charges   $ 18,700      
Income Statement Location [Axis]: us-gaap:CostOfRevenue          
Restructuring Cost and Reserve [Line Items]          
Restructuring Charges $ 97   $ (1) $ 106 $ 1
Restructuring Charges, Statement of Income or Comprehensive Income [Extensible Enumeration] Cost of revenue   Cost of revenue Cost of revenue Cost of revenue
Income Statement Location [Axis]: us-gaap:GeneralAndAdministrativeExpense          
Restructuring Cost and Reserve [Line Items]          
Restructuring Charges $ 223   $ 684 $ 278 $ 1,873
Restructuring Charges, Statement of Income or Comprehensive Income [Extensible Enumeration] General and administrative   General and administrative General and administrative General and administrative
Income Statement Location [Axis]: us-gaap:ResearchAndDevelopmentExpense          
Restructuring Cost and Reserve [Line Items]          
Restructuring Charges $ 1,637   $ (426) $ 1,640 $ 336
Restructuring Charges, Statement of Income or Comprehensive Income [Extensible Enumeration] Operating Expenses   Operating Expenses Operating Expenses Operating Expenses
Income Statement Location [Axis]: us-gaap:SellingAndMarketingExpense          
Restructuring Cost and Reserve [Line Items]          
Restructuring Charges $ 350   $ 32 $ 344 $ 509
Restructuring Charges, Statement of Income or Comprehensive Income [Extensible Enumeration] Sales and marketing   Sales and marketing Sales and marketing Sales and marketing