XML 93 R82.htm IDEA: XBRL DOCUMENT v3.22.1
Equity Incentive Plans - Summary of Fair Value of ESPP Purchase Rights Was Estimated Using Black-Scholes Option-pricing Model Assumptions (Details) - $ / shares
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Volatility     40.00%
Expected dividend yield 0.00% 0.00% 0.00%
Maximum      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Fair market value of common stock   $ 151.76 $ 79.25
Expected term   6 years 6 years
Minimum      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Fair market value of common stock   $ 66.26 $ 39.76
Expected term   5 years 5 years
2018 Employee Stock Purchase Plan      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Volatility     40.00%
Expected term 6 months 6 months 6 months
Expected dividend yield 0.00% 0.00% 0.00%
2018 Employee Stock Purchase Plan | Maximum      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Fair market value of common stock $ 166.84 $ 138.83 $ 82.12
Volatility 34.00% 49.00%  
Risk-free interest rate 0.08% 1.54% 2.59%
2018 Employee Stock Purchase Plan | Minimum      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Fair market value of common stock $ 152.35 $ 87.23 $ 40.60
Volatility 31.00% 32.00%  
Risk-free interest rate 0.06% 0.11% 2.04%