Stockholders' Equity - 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 | $ 6,712 | $ 8,272 | $ 12,246 | $ 13,812 |
| 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 | 1,126 | 1,650 | 1,925 | 2,980 |
| Location, Statement of Income, Balance [Axis]: us-gaap:SellingGeneralAndAdministrativeExpense | ||||
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||||
| Stock-based compensation expense | $ 5,586 | $ 6,622 | $ 10,321 | $ 10,832 |