Quarterly report pursuant to Section 13 or 15(d)

Equity Incentive Plans, Employee Stock Purchase Plan and Stock-Based Compensation - Schedule of Fair Value of ESPP Shares Using Option Pricing Model (Details)

v3.22.1
Equity Incentive Plans, Employee Stock Purchase Plan and Stock-Based Compensation - Schedule of Fair Value of ESPP Shares Using Option Pricing Model (Details)
3 Months Ended
Mar. 31, 2022
Mar. 31, 2021
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]    
Expected term (in years) 6 years  
Expected volatility 81.90%  
Expected volatility, Minimum   84.60%
Expected volatility, Maximum   84.90%
Risk-free interest rate 1.70%  
Risk-free interest rate, Minimum   0.60%
Risk-free interest rate, Maximum   1.00%
2018 Employee Stock Purchase Plan    
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]    
Expected term (in years) 6 months 6 months
Expected volatility, Minimum 65.90% 72.50%
Expected volatility, Maximum 66.30% 111.40%
Risk-free interest rate   0.10%
Risk-free interest rate, Minimum 0.10%  
Risk-free interest rate, Maximum 0.90%