XML 112 R88.htm IDEA: XBRL DOCUMENT v3.20.4
Stock-Based Compensation and Employee Benefit Plan - Fair Value of Shares Purchased Under the 2018 ESPP (Details)
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Risk-free interest rate (minimum)   1.70% 2.50%
Risk-free interest rate (maximum)   2.60% 3.10%
Expected term (years) 6 years 7 months 6 days    
Expected dividend yield 0.00% 0.00% 0.00%
Expected volatility 71.00%    
Expected volatility (minimum)   45.70% 52.40%
Expected volatility (maximum)   50.20% 56.10%
Minimum      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Expected term (years)   6 years 4 months 24 days 6 years 2 months 12 days
Maximum      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Expected term (years)   6 years 8 months 12 days 6 years 8 months 12 days
2018 ESPP | Employee Stock      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Risk-free interest rate (minimum) 0.12% 1.50%  
Risk-free interest rate (maximum) 1.51% 2.60%  
Expected dividend yield 0.00% 0.00%  
Expected volatility (minimum) 61.00% 45.90%  
Expected volatility (maximum) 119.20% 54.00%  
2018 ESPP | Employee Stock | Minimum      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Expected term (years) 6 months 6 months  
2018 ESPP | Employee Stock | Maximum      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Expected term (years) 2 years 2 years