v3.25.4
Restructuring - Schedule of Restructuring and Related Costs (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2024
Dec. 31, 2023
Restructuring Cost and Reserve [Line Items]    
Restructuring charges $ 70,157 $ 40,800
Severance and Related Charges    
Restructuring Cost and Reserve [Line Items]    
Restructuring charges 55,318  
Stock-Based Compensation Expense    
Restructuring Cost and Reserve [Line Items]    
Restructuring charges 9,402  
Other    
Restructuring Cost and Reserve [Line Items]    
Restructuring charges 5,437  
Cost of revenue    
Restructuring Cost and Reserve [Line Items]    
Restructuring charges 1,121  
Cost of revenue | Severance and Related Charges    
Restructuring Cost and Reserve [Line Items]    
Restructuring charges 932  
Cost of revenue | Stock-Based Compensation Expense    
Restructuring Cost and Reserve [Line Items]    
Restructuring charges 189  
Cost of revenue | Other    
Restructuring Cost and Reserve [Line Items]    
Restructuring charges 0  
Research and development    
Restructuring Cost and Reserve [Line Items]    
Restructuring charges 38,847  
Research and development | Severance and Related Charges    
Restructuring Cost and Reserve [Line Items]    
Restructuring charges 30,845  
Research and development | Stock-Based Compensation Expense    
Restructuring Cost and Reserve [Line Items]    
Restructuring charges 4,801  
Research and development | Other    
Restructuring Cost and Reserve [Line Items]    
Restructuring charges 3,201  
Sales and marketing    
Restructuring Cost and Reserve [Line Items]    
Restructuring charges 19,931  
Sales and marketing | Severance and Related Charges    
Restructuring Cost and Reserve [Line Items]    
Restructuring charges 15,755  
Sales and marketing | Stock-Based Compensation Expense    
Restructuring Cost and Reserve [Line Items]    
Restructuring charges 4,176  
Sales and marketing | Other    
Restructuring Cost and Reserve [Line Items]    
Restructuring charges 0  
General and administrative    
Restructuring Cost and Reserve [Line Items]    
Restructuring charges 10,258  
General and administrative | Severance and Related Charges    
Restructuring Cost and Reserve [Line Items]    
Restructuring charges 7,786  
General and administrative | Stock-Based Compensation Expense    
Restructuring Cost and Reserve [Line Items]    
Restructuring charges 236  
General and administrative | Other    
Restructuring Cost and Reserve [Line Items]    
Restructuring charges $ 2,236