v3.26.1
Stockholders' Equity and Stock-Based Compensation - Schedule of Stock-Based Compensation Expense (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2026
Jun. 30, 2025
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Stock-based compensation, net of amounts capitalized $ 37,848 $ 49,280 $ 81,769 $ 100,944
Capitalized stock-based compensation 454 1,021 1,165 1,713
Total stock-based compensation expense 38,302 50,301 82,934 102,657
Location, Statement of Income, Balance [Axis]: us-gaap:CostOfGoodsAndServicesSold        
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Stock-based compensation, net of amounts capitalized 1,636 1,437 3,254 2,955
Location, Statement of Income, Balance [Axis]: us-gaap:GeneralAndAdministrativeExpense        
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Stock-based compensation, net of amounts capitalized 16,168 27,406 33,170 54,930
Location, Statement of Income, Balance [Axis]: us-gaap:GeneralAndAdministrativeExpense | RSUs and PRSUs | Executive Chairman        
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Stock-based compensation, net of amounts capitalized   10,400   21,700
Location, Statement of Income, Balance [Axis]: us-gaap:ResearchAndDevelopmentExpense        
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Stock-based compensation, net of amounts capitalized 8,956 8,618 21,257 17,831
Location, Statement of Income, Balance [Axis]: us-gaap:SellingAndMarketingExpense        
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Stock-based compensation, net of amounts capitalized $ 11,088 $ 11,819 $ 24,088 $ 25,228