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.1
Equity Incentive Plans, Employee Stock Purchase Plan and Stock-Based Compensation - Additional Information (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended
Sep. 26, 2018
Sep. 25, 2018
Mar. 31, 2022
Mar. 31, 2021
Jan. 01, 2022
Dec. 31, 2021
Aug. 04, 2021
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]              
Reserved common stock     13,374,114     11,221,420  
Aggregate intrinsic value of stock options exercised     $ 100 $ 1,900      
Weighted-average estimated grant-date fair value of employee stock options granted     $ 5.72 $ 15.13      
Stock-based compensation expense     $ 6,974 $ 3,952      
Restricted Stock Units              
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]              
Restricted common stock granted     1,812,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     $ 47,400 $ 33,900      
Remaining unrecognized compensation cost expected to be recognized over weighted-average period     3 years 3 months 18 days 3 years 9 months 18 days      
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     $ 25,400 $ 28,300      
Remaining unrecognized compensation cost expected to be recognized over weighted-average period     2 years 7 months 6 days 2 years 10 months 24 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     $ 400 $ 300      
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     1,336,511        
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        
Shares available for grant     990,346        
Shares available for grant, increase         463,260