Equity and Stock-based Compensation - Schedule of Recorded Stock-Based Compensation Expense (Detail) - USD ($) $ in Thousands |
12 Months Ended | ||
---|---|---|---|
Dec. 31, 2023 |
Dec. 31, 2022 |
Dec. 31, 2021 |
|
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items] | |||
Total stock-based compensation expense | $ 50,767 | $ 65,601 | $ 71,161 |
Research and development [Member] | |||
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items] | |||
Total stock-based compensation expense | 25,462 | 34,861 | 40,547 |
Selling, general and administrative [Member] | |||
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items] | |||
Total stock-based compensation expense | $ 25,305 | $ 30,740 | $ 30,614 |