Stock Option and Grant Plan - Summary 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 |
|
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||||
| Stock-based compensation expense | $ 19,278 | $ 24,367 | $ 38,322 | $ 51,049 |
| Location, Statement of Income, Balance [Axis]: us-gaap:GeneralAndAdministrativeExpense | ||||
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||||
| Stock-based compensation expense | 8,032 | 9,535 | 16,020 | 20,484 |
| Location, Statement of Income, Balance [Axis]: us-gaap:ResearchAndDevelopmentExpense | ||||
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||||
| Stock-based compensation expense | $ 11,246 | $ 14,832 | $ 22,302 | $ 30,565 |