v3.25.2
Stock-Based Compensation - Summary of Stock-Based Compensation Expense by Grant Type Included within Condensed Consolidated Statements of Operations and Comprehensive Loss (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2025
Jun. 30, 2024
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]        
Total stock-based compensation expense $ 37,000 $ 50,500 $ 78,500 $ 91,200
Total stock-based compensation expense included in expenses 37,025 50,482 78,453 91,174
Subtotal 41,618 55,654 88,174 100,859
Capitalized stock-based compensation costs (4,593) (5,172) (9,721) (9,685)
Research and Development Expense        
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]        
Total stock-based compensation expense included in expenses 15,277 19,806 32,594 36,079
Selling, General and Administrative        
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]        
Total stock-based compensation expense included in expenses 21,748 30,676 45,859 55,095
Employee Stock Option        
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]        
Total stock-based compensation expense included in expenses 11,689 15,515 24,578 31,796
Restricted stock units        
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]        
Total stock-based compensation expense included in expenses 28,114 37,808 59,657 65,335
Employee Stock Purchase Plan        
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]        
Total stock-based compensation expense included in expenses $ 1,815 $ 2,331 $ 3,939 $ 3,728