v3.24.0.1
Restructuring Charges - Restructuring and Related Costs (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Restructuring Cost and Reserve [Line Items]    
Total restructuring charges $ 356,094 $ 38,140
Cost of revenue | Platform    
Restructuring Cost and Reserve [Line Items]    
Total restructuring charges 67,032 0
Cost of revenue | Devices    
Restructuring Cost and Reserve [Line Items]    
Total restructuring charges 3,323 0
Research and development    
Restructuring Cost and Reserve [Line Items]    
Total restructuring charges 110,491 19,592
Sales and marketing    
Restructuring Cost and Reserve [Line Items]    
Total restructuring charges 113,714 10,904
General and administrative    
Restructuring Cost and Reserve [Line Items]    
Total restructuring charges 61,534 7,644
Employee Terminations    
Restructuring Cost and Reserve [Line Items]    
Total restructuring charges 83,165 30,640
Employee Terminations | Cost of revenue | Platform    
Restructuring Cost and Reserve [Line Items]    
Total restructuring charges 1,164 0
Employee Terminations | Cost of revenue | Devices    
Restructuring Cost and Reserve [Line Items]    
Total restructuring charges 524 0
Employee Terminations | Research and development    
Restructuring Cost and Reserve [Line Items]    
Total restructuring charges 31,160 12,092
Employee Terminations | Sales and marketing    
Restructuring Cost and Reserve [Line Items]    
Total restructuring charges 29,786 10,904
Employee Terminations | General and administrative    
Restructuring Cost and Reserve [Line Items]    
Total restructuring charges 20,531 7,644
Facilities Exit Costs    
Restructuring Cost and Reserve [Line Items]    
Total restructuring charges 3,527  
Facilities Exit Costs | Cost of revenue | Platform    
Restructuring Cost and Reserve [Line Items]    
Total restructuring charges 1  
Facilities Exit Costs | Cost of revenue | Devices    
Restructuring Cost and Reserve [Line Items]    
Total restructuring charges 6  
Facilities Exit Costs | Research and development    
Restructuring Cost and Reserve [Line Items]    
Total restructuring charges 1,320  
Facilities Exit Costs | Sales and marketing    
Restructuring Cost and Reserve [Line Items]    
Total restructuring charges 517  
Facilities Exit Costs | General and administrative    
Restructuring Cost and Reserve [Line Items]    
Total restructuring charges 1,683  
Asset Impairment Charges    
Restructuring Cost and Reserve [Line Items]    
Total restructuring charges 269,402 7,500
Asset Impairment Charges | Cost of revenue | Platform    
Restructuring Cost and Reserve [Line Items]    
Total restructuring charges 65,867 0
Asset Impairment Charges | Cost of revenue | Devices    
Restructuring Cost and Reserve [Line Items]    
Total restructuring charges 2,793 0
Asset Impairment Charges | Research and development    
Restructuring Cost and Reserve [Line Items]    
Total restructuring charges 78,011 7,500
Asset Impairment Charges | Sales and marketing    
Restructuring Cost and Reserve [Line Items]    
Total restructuring charges 83,411 0
Asset Impairment Charges | General and administrative    
Restructuring Cost and Reserve [Line Items]    
Total restructuring charges $ 39,320 $ 0