| Income Taxes - Additional Information (Details) - USD ($) $ in Millions | 12 Months Ended | |
|---|---|---|
| Dec. 31, 2024 | Dec. 31, 2023 | |
| Operating Loss Carryforwards [Line Items] | ||
| Valuation allowance increased | $ 186.0 | $ 46.4 | 
| Research And Development | California | ||
| Operating Loss Carryforwards [Line Items] | ||
| Tax credit carryforwards | 66.6 | 36.4 | 
| Federal | ||
| Operating Loss Carryforwards [Line Items] | ||
| Net operating loss carryforwards | 817.6 | 608.6 | 
| Operating loss carryforwards, subject to expiration | 1.3 | 15.8 | 
| Federal | Research And Development | ||
| Operating Loss Carryforwards [Line Items] | ||
| Tax credit carryforwards | 101.6 | 44.9 | 
| State | ||
| Operating Loss Carryforwards [Line Items] | ||
| Net operating loss carryforwards | 156.2 | 82.0 | 
| Foreign | ||
| Operating Loss Carryforwards [Line Items] | ||
| Net operating loss carryforwards | $ 28.0 | $ 17.1 | 
| X | ||||||||||
| 
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards that are subject to expiration dates. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef 
 | 
| X | ||||||||||
| 
- Definition Amount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws. 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/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition The amount of the tax credit carryforward, before tax effects, available to reduce future taxable income under enacted tax laws. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Amount of increase (decrease) in the valuation allowance for a specified deferred tax asset. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 |