v3.26.1
Stock-Based Compensation - Additional Information (Details) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
Aug. 31, 2021
Feb. 28, 2021
Dec. 31, 2019
Dec. 31, 2025
Dec. 31, 2024
Dec. 31, 2023
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Stock-based compensation expense recognized       $ 58,863 $ 60,213 $ 88,556
Unrecognized stock-based compensation expense       $ 67,700    
Unrecognized stock-based compensation weighted-average period expected for recognition       1 year 6 months 3 days    
Common stock, shares reserved for issuance       23,260,584    
Employee Stock Option            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Stock-based compensation expense recognized       $ 10,155 $ 14,010 $ 27,472
Stock options, weighted-average grant date fair value       $ 2.98 $ 1.74 $ 4.51
Dividend yield       0.00% 0.00% 0.00%
Risk-free interest rate       3.80% 3.92% 3.55%
Expected volatility       95.00% 92.00% 86.00%
Expected term       3 years 11 months 23 days 3 years 11 months 23 days 4 years
Options exercisable as of December 31,2025       $ 15,300 $ 300 $ 0
Restricted Stock Awards (RSAs)            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Stock units, granted       55,300    
RSUs            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Stock-based compensation expense recognized       $ 964 2,450 4,968
Total fair value of employee options vested       $ 400 $ 300 $ 800
Performance Based Equity Awards            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Dividend yield   25.00% 25.00%      
Performance-based Stock Options            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Stock options, granted 478,750 190,831 170,150      
Performance Based Restricted Stock Units            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Stock units, granted     128,900      
2019 PSA            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Dividend yield       0.00%    
Risk-free interest rate       1.67%    
Expected volatility       72.00%    
Expected term       6 years 3 months 21 days    
2021 PSO            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Dividend yield       0.00%    
Risk-free interest rate       0.66%    
Expected volatility       66.00%    
Expected term       5 years 11 months 8 days    
2018 Equity Incentive Plan            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Awards vesting period       4 years    
2018 Equity Incentive Plan | Minimum            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Percentage of outstanding stock       4.00%    
2018 Equity Incentive Plan | Incentive Stock Options            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Common stock, shares reserved for issuance       4,300,000    
2018 Equity Incentive Plan | Incentive Stock Options | Maximum            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Options, periods granted       10 years    
2018 Equity Incentive Plan | ISO Granted to a Greater than 10% Stockholder | Maximum            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Options, periods granted       5 years    
Options exercise price, percentage of estimated fair value of shares on grant date       110.00%    
2018 Employee Share Purchase Plan            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Common stock, shares reserved for issuance       460,000    
Issuance of common stock pursuant to employee stock purchase plans, shares       60,535    
Common stock at price per share       85.00%    
2021 LTPIP            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Unrecognized stock-based compensation expense       $ 48,800    
Stock units, granted       5,659,816    
Unrecognized stock-based compensation weighted-average period expected for recognition       1 year 1 month 9 days