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.2
Equity Incentive Plans, Employee Stock Purchase Plan and Stock-Based Compensation - Schedule of Fair Value of ESPP Shares Using Option Pricing Model (Details)
6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]    
Expected volatility, Minimum 81.80% 84.60%
Expected volatility, Maximum 83.40% 84.90%
Risk-free interest rate, Minimum 1.70% 0.60%
Risk-free interest rate, Maximum 3.40% 1.10%
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%