Stock-Based Compensation - Stock-Based Compensation Expense (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
---|---|---|---|---|
Jun. 30, 2025 |
Jun. 30, 2024 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
Stock-based compensation | $ 149,251 | $ 147,657 | $ 288,524 | $ 306,263 |
Cost of revenue | ||||
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
Stock-based compensation | 4,087 | 5,503 | 8,358 | 11,394 |
Research and development | ||||
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
Stock-based compensation | 80,590 | 80,790 | 158,656 | 164,351 |
Sales and marketing | ||||
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
Stock-based compensation | 34,413 | 33,449 | 65,772 | 68,315 |
General and administrative | ||||
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
Stock-based compensation | $ 30,161 | $ 27,915 | $ 55,738 | $ 62,203 |