Convertible Preferred Stock and Stockholders’ Equity (Deficit) - Schedule of Weighted-Average Assumptions in Black -Scholes Option Pricing Model (Details) |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Sep. 30, 2019 |
Sep. 30, 2018 |
Sep. 30, 2019 |
Sep. 30, 2018 |
|
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||
| Risk-free interest rate | 1.80% | 0.00% | 2.40% | 2.50% |
| Expected volatility | 0.00% | 63.00% | ||
| Expected term (in years) | 6 years 1 month 6 days | 0 years | 5 years 1 month 6 days | 4 years |
| Expected dividend yield | 0.00% | 0.00% | 0.00% | 0.00% |
| Minimum | ||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||
| Expected volatility | 65.60% | 64.30% | ||
| Maximum | ||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||
| Expected volatility | 68.20% | 68.20% | ||