Convertible Preferred Stock (Details) - USD ($) $ / shares in Units, $ in Thousands |
|
1 Months Ended |
12 Months Ended |
Jul. 20, 2018 |
Jul. 31, 2018 |
Feb. 28, 2018 |
Jun. 30, 2017 |
Dec. 31, 2019 |
Dec. 31, 2018 |
Dec. 31, 2017 |
| Convertible Preferred Stock |
|
|
|
|
|
|
|
| Proceeds from issuance of convertible preferred stock |
|
|
|
|
|
$ 100,986
|
$ 120,067
|
| Payments of initial public offering costs |
|
|
|
|
|
$ 3,548
|
|
| Preferred stock outstanding |
|
|
|
|
0
|
0
|
|
| Series A redeemable convertible preferred stock |
|
|
|
|
|
|
|
| Convertible Preferred Stock |
|
|
|
|
|
|
|
| Percentage of cumulative dividends per year |
|
|
|
|
8.00%
|
|
|
| Convertible preferred stock redemption period |
|
|
|
|
5 years
|
|
|
| Maximum percentage of change in fair value of preferred stock |
|
|
|
|
10.00%
|
|
|
| Series B convertible preferred stock |
|
|
|
|
|
|
|
| Convertible Preferred Stock |
|
|
|
|
|
|
|
| Preferred stock issued |
|
|
|
14,362,344
|
|
|
|
| Convertible preferred stock issue price (dollars per share) |
|
|
|
$ 8.39
|
|
|
|
| Proceeds from issuance of convertible preferred stock |
|
|
|
$ 120,500
|
|
|
|
| Payments of initial public offering costs |
|
|
|
$ 400
|
|
|
|
| Series C convertible preferred stock |
|
|
|
|
|
|
|
| Convertible Preferred Stock |
|
|
|
|
|
|
|
| Preferred stock issued |
|
|
7,912,432
|
|
|
|
|
| Convertible preferred stock issue price (dollars per share) |
|
|
$ 12.79
|
|
|
|
|
| Proceeds from issuance of convertible preferred stock |
|
|
$ 101,200
|
|
|
|
|
| Payments of initial public offering costs |
|
|
$ 200
|
|
|
|
|
| Common stock |
|
|
|
|
|
|
|
| Convertible Preferred Stock |
|
|
|
|
|
|
|
| Number of common stock issued on conversion |
51,845,438
|
51,845,438
|
|
|
|
51,845,438
|
|