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.21.2
Equity Incentive Plans, Employee Stock Purchase Plan and Stock-Based Compensation - Schedule of Fair Value of ESPP Shares Using Option Pricing Model (Details)
9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]    
Expected volatility, Minimum 81.60% 73.20%
Expected volatility, Maximum 84.90% 84.20%
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   94.10%
Expected volatility, Minimum 65.90%  
Expected volatility, Maximum 111.40%  
Risk-free interest rate 0.10% 0.40%