Stockholders' Equity - Summary of Assumptions Used to Value Stock-Based Awards Granted (Details) - $ / shares |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2019 |
Dec. 31, 2018 |
Dec. 31, 2017 |
|
| Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions And Methodology [Abstract] | |||
| Risk-free interest rate, Minimum | 1.35% | 2.32% | 1.87% |
| Risk-free interest rate, Maximum | 2.56% | 2.88% | 2.25% |
| Expected volatility, Minimum | 35.00% | 38.00% | 39.00% |
| Expected volatility, Maximum | 36.00% | 40.00% | 44.00% |
| Minimum | |||
| Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions And Methodology [Abstract] | |||
| Expected term (in years) | 5 years | 5 years 3 months 18 days | 5 years 3 months 18 days |
| Fair value of common stock | $ 2.56 | ||
| Maximum | |||
| Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions And Methodology [Abstract] | |||
| Expected term (in years) | 6 years 8 months 12 days | 6 years 9 months 18 days | 6 years 6 months |
| Fair value of common stock | $ 18.46 | ||