Stockholders' Equity - Summary of Assumptions Used to Value Stock-Based Awards Granted (Details) |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2019 |
Jun. 30, 2018 |
Jun. 30, 2019 |
Jun. 30, 2018 |
|
| Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions And Methodology [Abstract] | ||||
| Risk-free interest rate, Minimum | 1.83% | 2.61% | 1.83% | 2.32% |
| Risk-free interest rate, Maximum | 2.31% | 2.88% | 2.56% | 2.88% |
| Expected volatility | 36.00% | 36.00% | ||
| Expected volatility, Minimum | 38.00% | 38.00% | ||
| Expected volatility, Maximum | 39.00% | 40.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 | 5 years 3 months 18 days |
| Maximum | ||||
| Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions And Methodology [Abstract] | ||||
| Expected term (in years) | 5 years 3 months 7 days | 6 years 1 month 6 days | 5 years 3 months 7 days | 6 years 1 month 6 days |