XML 117 R98.htm IDEA: XBRL DOCUMENT v3.22.0.1
Stock-Based Compensation Expense and Employee Benefit Plans - Fair Value of Shares Purchased Under the 2018 ESPP (Details) (Details)
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Risk-free interest rate (minimum)     1.70%
Risk-free interest rate (maximum)     2.60%
Expected term (years) 0 years 6 years 7 months 6 days  
Expected dividend yield 0.00% 0.00% 0.00%
Expected volatility (minimum)     45.70%
Expected volatility (maximum)     50.20%
Minimum      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Expected term (years)     6 years 4 months 24 days
Maximum      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Expected term (years)     6 years 8 months 12 days
Employee Stock | 2018 ESPP      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Risk-free interest rate (minimum) 0.10% 0.12%  
Risk-free interest rate (maximum) 2.80% 1.51%  
Expected dividend yield 0.00% 0.00%  
Expected volatility (minimum) 95.00% 61.00%  
Expected volatility (maximum) 114.50% 119.20%  
Employee Stock | 2018 ESPP | Minimum      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Expected term (years) 6 months 6 months  
Employee Stock | 2018 ESPP | Maximum      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Expected term (years) 2 years 2 years