Stock-based Compensation - Summary of Stock-Based Compensation Expense (Details) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Sep. 30, 2024 |
Sep. 30, 2023 |
Sep. 30, 2024 |
Sep. 30, 2023 |
|
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||||
| Share-based payment arrangement, expense | $ 27,393 | $ 27,267 | $ 82,780 | $ 69,747 |
| Research and development expenses | ||||
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||||
| Share-based payment arrangement, expense | 22,008 | 21,455 | 65,122 | 54,657 |
| Selling, general and administrative expenses | ||||
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||||
| Share-based payment arrangement, expense | $ 5,385 | $ 5,812 | $ 17,658 | $ 15,090 |
| 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. No definition available.
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|