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.2
Equity Incentive Plans, Employee Stock Purchase Plan and Stock-Based Compensation - Additional Information (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 26, 2018
Sep. 25, 2018
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Aug. 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,877,879   13,877,879       11,221,420  
Stock-based compensation expense     $ 6,782 $ 6,495 $ 20,452 $ 16,354        
Restricted Stock Units                    
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                    
Restricted common stock granted         2,407,000          
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     39,600 36,600 $ 39,600 $ 36,600        
Remaining unrecognized compensation cost expected to be recognized over weighted-average period         2 years 10 months 24 days 3 years 4 months 24 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     18,700 28,100 $ 18,700 $ 28,100        
Remaining unrecognized compensation cost expected to be recognized over weighted-average period         2 years 4 months 24 days 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     $ 500 $ 300 $ 500 $ 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
Amended and Restated 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,517,671   1,517,671          
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   890,421   890,421          
Shares available for grant     865,995   865,995          
Shares available for grant, increase               463,260