Stock-based Compensation - 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 |
|
| Stock-based compensation | ||||
| Stock-based compensation expense | $ 13,803 | $ 11,530 | $ 25,249 | $ 18,274 |
| Location, Statement of Income, Balance [Axis]: us-gaap:CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization | ||||
| Stock-based compensation | ||||
| Stock-based compensation expense | 594 | 415 | 1,029 | 646 |
| Location, Statement of Income, Balance [Axis]: us-gaap:GeneralAndAdministrativeExpense | ||||
| Stock-based compensation | ||||
| Stock-based compensation expense | 9,565 | 7,094 | 18,317 | 11,200 |
| Location, Statement of Income, Balance [Axis]: us-gaap:ResearchAndDevelopmentExpense | ||||
| Stock-based compensation | ||||
| Stock-based compensation expense | 906 | 1,607 | 3,556 | 2,622 |
| Location, Statement of Income, Balance [Axis]: us-gaap:SellingAndMarketingExpense | ||||
| Stock-based compensation | ||||
| Stock-based compensation expense | $ 2,738 | $ 2,414 | $ 2,347 | $ 3,806 |