Stock-Based Compensation - Option activity (Details) - Share-based Payment Arrangement, Option - USD ($) $ / shares in Units, $ in Thousands |
12 Months Ended |
Dec. 31, 2022 |
Dec. 31, 2021 |
| Number of shares |
|
|
| Outstanding at beginning of period (in shares) |
17,138,772
|
|
| Granted (in shares) |
4,104,403
|
|
| Exercised (in shares) |
(42,228)
|
|
| Forfeited (in shares) |
(7,105,039)
|
|
| Outstanding at end of period (in shares) |
14,095,908
|
17,138,772
|
| Vested and expected to vest (in shares) |
14,095,908
|
|
| Options exercisable (in shares) |
12,061,182
|
|
| Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price [Abstract] |
|
|
| Outstanding at the beginning (in dollars per share) |
$ 12.04
|
|
| Granted (in dollars per share) |
4.37
|
|
| Exercised (in dollars per share) |
2.32
|
|
| Forfeited (in dollars per share) |
10.31
|
|
| Outstanding at the end (in dollars per share) |
10.71
|
$ 12.04
|
| Vested and expected to vest (in dollars per share) |
10.71
|
|
| Options exercisable (in dollars per share |
$ 11.29
|
|
| Weighted average contractual term and aggregate intrinsic value |
|
|
| Outstanding at the beginning (in years) |
3 years 6 months 18 days
|
7 years 2 months 19 days
|
| Outstanding at the end (in years) |
3 years 6 months 18 days
|
7 years 2 months 19 days
|
| Vested and expected to vest (in years) |
3 years 6 months 18 days
|
|
| Options exercisable (in years) |
2 years 9 months 25 days
|
|
| Outstanding at the beginning (in dollars) |
$ 23,511
|
|
| Outstanding at the end (in dollars) |
6
|
$ 23,511
|
| Vested and expected to vest (in dollars) |
6
|
|
| Options exercisable (in dollars) |
$ 6
|
|