v3.26.1
Restructuring, impairment, and other related costs - Narrative (Details) - USD ($)
$ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended
Sep. 30, 2026
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2026
Jun. 30, 2025
Dec. 31, 2025
Restructuring Cost and Reserve [Line Items]            
Severance costs   $ 2,674 $ 6,677 $ 2,674 $ 6,677  
Accrued expenses and other current liabilities   67,391   67,391   $ 57,988
Impairment of long-lived assets and prepaid expenses   $ 0 $ 6,414 $ 0 $ 6,414  
Employee Severance | 2025 Restructuring            
Restructuring Cost and Reserve [Line Items]            
Restructuring, number of positions eliminated, percent           30.00%
Employee Severance | Forecast | 2026 Restructuring | Subsequent Event            
Restructuring Cost and Reserve [Line Items]            
Restructuring, number of positions eliminated, percent 17.00%