Employee Benefit Plans and Stockholders' Equity - Schedule of Valuation Assumptions for Employee Stock Purchase Plan (Details) - Employee Stock Purchase Plan |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2022 |
Dec. 31, 2021 |
Dec. 31, 2020 |
|
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | |||
| Dividend yield (as a percent) | 0.00% | 0.00% | 0.00% |
| Expected life (in years) | 6 months | 6 months | 6 months |
| Minimum | |||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | |||
| Risk free interest rate (as a percent) | 0.60% | 0.06% | 0.13% |
| Expected volatility of common stock (as a percent) | 45.00% | 36.00% | 51.00% |
| Maximum | |||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | |||
| Risk free interest rate (as a percent) | 3.34% | 0.07% | 0.95% |
| Expected volatility of common stock (as a percent) | 55.00% | 45.00% | 63.00% |