v3.22.4
Restructuring - Restructuring and Related Costs (Details)
$ in Thousands
12 Months Ended
Dec. 31, 2022
USD ($)
Restructuring Cost and Reserve [Line Items]  
Restructuring charges $ 188,949
Severance And Related Charges  
Restructuring Cost and Reserve [Line Items]  
Restructuring charges 97,061
Stock-Based Compensation Expense (Benefit)  
Restructuring Cost and Reserve [Line Items]  
Restructuring charges 34,504
Lease Exit And Related Charges  
Restructuring Cost and Reserve [Line Items]  
Restructuring charges 31,227
Other  
Restructuring Cost and Reserve [Line Items]  
Restructuring charges 26,157
Cost of revenue  
Restructuring Cost and Reserve [Line Items]  
Restructuring charges 20,585
Cost of revenue | Severance And Related Charges  
Restructuring Cost and Reserve [Line Items]  
Restructuring charges 2,291
Cost of revenue | Stock-Based Compensation Expense (Benefit)  
Restructuring Cost and Reserve [Line Items]  
Restructuring charges 709
Cost of revenue | Lease Exit And Related Charges  
Restructuring Cost and Reserve [Line Items]  
Restructuring charges 0
Cost of revenue | Other  
Restructuring Cost and Reserve [Line Items]  
Restructuring charges 17,585
Research and development  
Restructuring Cost and Reserve [Line Items]  
Restructuring charges 78,915
Research and development | Severance And Related Charges  
Restructuring Cost and Reserve [Line Items]  
Restructuring charges 46,994
Research and development | Stock-Based Compensation Expense (Benefit)  
Restructuring Cost and Reserve [Line Items]  
Restructuring charges 29,188
Research and development | Lease Exit And Related Charges  
Restructuring Cost and Reserve [Line Items]  
Restructuring charges 0
Research and development | Other  
Restructuring Cost and Reserve [Line Items]  
Restructuring charges 2,733
Sales and marketing  
Restructuring Cost and Reserve [Line Items]  
Restructuring charges 30,791
Sales and marketing | Severance And Related Charges  
Restructuring Cost and Reserve [Line Items]  
Restructuring charges 30,565
Sales and marketing | Stock-Based Compensation Expense (Benefit)  
Restructuring Cost and Reserve [Line Items]  
Restructuring charges (504)
Sales and marketing | Lease Exit And Related Charges  
Restructuring Cost and Reserve [Line Items]  
Restructuring charges 0
Sales and marketing | Other  
Restructuring Cost and Reserve [Line Items]  
Restructuring charges 730
General and administrative  
Restructuring Cost and Reserve [Line Items]  
Restructuring charges 58,658
General and administrative | Severance And Related Charges  
Restructuring Cost and Reserve [Line Items]  
Restructuring charges 17,211
General and administrative | Stock-Based Compensation Expense (Benefit)  
Restructuring Cost and Reserve [Line Items]  
Restructuring charges 5,111
General and administrative | Lease Exit And Related Charges  
Restructuring Cost and Reserve [Line Items]  
Restructuring charges 31,227
General and administrative | Other  
Restructuring Cost and Reserve [Line Items]  
Restructuring charges $ 5,109