Quarterly report pursuant to Section 13 or 15(d)

Equity Incentive Plans, Employee Stock Purchase Plan and Stock-Based Compensation - Additional Information (Details)

v3.22.2
Equity Incentive Plans, Employee Stock Purchase Plan and Stock-Based Compensation - Additional Information (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Sep. 26, 2018
Sep. 25, 2018
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2022
Jun. 30, 2021
Mar. 31, 2022
Jan. 01, 2022
Dec. 31, 2021
Aug. 04, 2021
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                    
Reserved common stock     13,338,576   13,338,576       11,221,420  
Aggregate intrinsic value of stock options exercised       $ 300 $ 100 $ 2,200        
Weighted-average estimated grant-date fair value of employee stock options granted     $ 3.67 $ 12.84 $ 5.02 $ 14.71        
Stock-based compensation expense     $ 6,696 $ 5,907 $ 13,670 $ 9,859        
Restricted Stock Units                    
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                    
Restricted common stock granted         2,083,500          
Shares vesting period         4 years          
2018 Equity Incentive Plan                    
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                    
Reserved common stock   2,300,000                
Annual increase period of common stock reserved for issuance   10 years                
Maximum number of shares issuable               2,316,303    
2018 Equity Incentive Plan | Restricted Stock Units                    
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                    
Total unrecognized compensation cost related to unvested granted     42,100 32,500 $ 42,100 $ 32,500        
Remaining unrecognized compensation cost expected to be recognized over weighted-average period         3 years 3 years 6 months        
2018 Equity Incentive Plan | Employee Stock Options                    
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                    
Total unrecognized compensation cost related to unvested granted     $ 22,100 27,500 $ 22,100 $ 27,500        
Remaining unrecognized compensation cost expected to be recognized over weighted-average period         2 years 6 months 2 years 7 months 6 days        
2018 Equity Incentive Plan | Employee Stock Purchase Plan                    
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                    
Unrecognized stock-based compensation expense       $ 100   $ 100 $ 200      
2018 Equity Incentive Plan | Maximum                    
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                    
Increase in stock reserved for issuance as percentage of capital stock outstanding on last day of preceding year   5.00%                
2021 Equity Inducement Plan                    
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                    
Reserved common stock                   750,000
2018 Equity Incentive Plan and 2021 Equity Inducement Plan                    
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                    
Shares available for grant     975,238   975,238          
2018 Employee Stock Purchase Plan                    
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                    
Reserved common stock 230,000                  
Annual increase period of common stock reserved for issuance 10 years                  
Increase in stock reserved for issuance as percentage of capital stock outstanding on last day of preceding year 1.00%                  
Maximum number of shares issuable 2,300,000   619,905   619,905          
Shares available for grant     990,346   990,346          
Shares available for grant, increase               463,260