Stock-based Compensation - Summary of Stock-Based Compensation Expense (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2025 |
Dec. 31, 2024 |
Dec. 31, 2023 |
|
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | |||
| Total stock-based compensation expense | $ 127,887 | $ 104,446 | $ 93,636 |
| Research and development expenses | |||
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | |||
| Total stock-based compensation expense | 96,180 | 83,063 | 73,160 |
| Selling, general and administrative expenses | |||
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | |||
| Total stock-based compensation expense | $ 31,707 | $ 21,383 | $ 20,476 |
| X | ||||||||||
- Definition Amount of expense for award under share-based payment arrangement. Excludes amount capitalized. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|