Stock-Based Compensation - Performance based stock options (Details) - USD ($) $ / shares in Units, $ in Thousands |
|
1 Months Ended |
12 Months Ended |
Jun. 21, 2018 |
Oct. 31, 2018 |
Oct. 31, 2017 |
Apr. 30, 2017 |
Dec. 31, 2019 |
Dec. 31, 2018 |
Dec. 31, 2017 |
| Stock-Based Compensation |
|
|
|
|
|
|
|
| Proceeds from Stock Options Exercised |
|
|
|
|
$ 2,413
|
$ 64
|
$ 37
|
| Receivables from promissory note recorded in balance sheet |
|
|
|
$ 0
|
|
|
|
| Stock-based compensation expense |
|
|
$ 1,000
|
|
41,271
|
27,528
|
17,903
|
| Executive officer |
|
|
|
|
|
|
|
| Stock-Based Compensation |
|
|
|
|
|
|
|
| Options exercise price |
|
|
|
$ 0.18
|
|
|
|
| Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period |
|
|
|
1,400,000
|
|
|
|
| Proceeds from Stock Options Exercised |
|
|
|
$ 100
|
|
|
|
| Amount of promissory note received from early exercise of stock options |
|
|
|
200
|
|
|
|
| Principal balance of promissory note repaid |
$ 200
|
|
|
|
|
|
|
| Interest on promissory note repaid |
$ 100
|
|
|
|
|
|
|
| Stock-based compensation, fair value |
|
|
|
|
$ 4,300
|
|
|
| Stock options. |
|
|
|
|
|
|
|
| Stock-Based Compensation |
|
|
|
|
|
|
|
| Options granted |
|
|
|
|
3,059,004
|
|
|
| Options exercise price |
|
|
|
|
$ 1.68
|
|
|
| Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period |
|
|
|
|
1,449,309
|
|
|
| Aggregate intrinsic value of stock options exercised |
|
|
|
|
$ 17,700
|
$ 3,700
|
$ 3,700
|
| Weighted average grant-date fair value (per share) |
|
|
|
|
$ 8.58
|
$ 8.71
|
$ 2.74
|
| Aggregate Intrinsic value |
|
|
|
|
$ 36,006
|
$ 126,367
|
|
| Liability from early exercise of stock options |
|
|
|
$ 100
|
|
|
|
| Stock-based compensation expense |
|
|
|
|
|
$ 2,200
|
|
| Stock options. | Performance-based vesting |
|
|
|
|
|
|
|
| Stock-Based Compensation |
|
|
|
|
|
|
|
| Options granted |
|
|
|
|
|
447,000
|
|
| Market-Based Stock Options |
|
|
|
|
|
|
|
| Stock-Based Compensation |
|
|
|
|
|
|
|
| Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period |
|
|
|
|
0
|
|
|
| Aggregate intrinsic value of stock options exercised |
|
|
|
|
$ 0
|
|
|
| Weighted average grant-date fair value (per share) |
|
|
|
|
|
$ 11.88
|
|
| Market-Based Stock Options | Vesting based on service period | Executive officer |
|
|
|
|
|
|
|
| Stock-Based Compensation |
|
|
|
|
|
|
|
| Options granted |
|
164,400
|
|
|
|
|
|
| Options exercise price |
|
$ 16.43
|
|
|
|
|
|
| Stock-based compensation expense |
|
|
|
|
900
|
$ 200
|
|
| Market-Based Stock Options | Performance-based vesting | Executive officer |
|
|
|
|
|
|
|
| Stock-Based Compensation |
|
|
|
|
|
|
|
| Options granted |
|
193,400
|
|
|
|
|
|
| Options exercise price |
|
$ 16.43
|
|
|
|
|
|
| Stock-based compensation expense |
|
|
|
|
$ 0
|
|
|