Stock-Based Compensation - Schedule of Compensation Expenses for All Stock-Based Payment Arrangements (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] | ||||
| Compensation expenses | $ 12,105 | $ 7,245 | $ 19,730 | $ 25,498 |
| Location, Statement of Income, Balance [Axis]: us-gaap:CostOfRevenue | ||||
| Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
| Compensation expenses | 3,023 | 1,194 | 4,566 | 5,974 |
| Location, Statement of Income, Balance [Axis]: us-gaap:GeneralAndAdministrativeExpense | ||||
| Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
| Compensation expenses | 8,721 | 5,862 | 14,590 | 18,499 |
| Location, Statement of Income, Balance [Axis]: us-gaap:MarketingExpense | ||||
| Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
| Compensation expenses | $ 361 | $ 189 | $ 574 | $ 1,025 |