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.24.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, 2023
Dec. 31, 2022
Dec. 31, 2021
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Expected volatility, Minimum 80.70% 81.80% 80.90%
Expected volatility, Maximum 84.10% 83.50% 84.90%
Risk-free interest rate, Minimum 3.60% 1.70% 0.60%
Risk-free interest rate, Maximum 4.70% 4.20% 1.30%
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 79.60% 65.90% 65.90%
Expected volatility, Maximum 89.90% 88.10% 111.40%
Risk-free interest rate     0.10%
Risk-free interest rate, Minimum 3.80% 0.10%  
Risk-free interest rate, Maximum 5.50% 3.80%