Annual report pursuant to Section 13 and 15(d)

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

v3.23.1
Equity Incentive Plans, Equity Inducement Plans, Employee Stock Purchase Plan and Stock-Based Compensation - Schedule of Fair Value of ESPP Shares Using Option Pricing Model (Details)
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Expected volatility, Minimum 81.80% 80.90% 73.20%
Expected volatility, Maximum 83.50% 84.90% 87.40%
Risk-free interest rate, Minimum 1.70% 0.60% 0.20%
Risk-free interest rate, Maximum 4.20% 1.30% 1.60%
Expected dividend 0.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 6 months
Expected volatility, Minimum 65.90% 65.90% 63.00%
Expected volatility, Maximum 88.10% 111.40% 111.40%
Risk-free interest rate   0.10%  
Risk-free interest rate, Minimum 0.10%   0.10%
Risk-free interest rate, Maximum 3.80%   1.90%