Convertible Preferred Stock - Additional Information (Details) - USD ($) $ / shares in Units, $ in Thousands |
|
|
|
1 Months Ended |
12 Months Ended |
Jul. 31, 2020 |
Mar. 18, 2020 |
Nov. 29, 2018 |
Aug. 31, 2020 |
Apr. 30, 2019 |
Dec. 31, 2021 |
Dec. 31, 2020 |
| Temporary Equity [Line Items] |
|
|
|
|
|
|
|
| Proceeds from issuance of convertible preferred stock, net of issuance costs |
|
|
|
|
|
|
$ 134,786
|
| Series A Convertible Preferred Stock |
|
|
|
|
|
|
|
| Temporary Equity [Line Items] |
|
|
|
|
|
|
|
| Purchase of share |
|
|
$ 50,000
|
|
|
|
|
| Shares issued |
17,500,000
|
2,000,000
|
12,500,000
|
|
20,000,000
|
|
|
| Stock Issued upon conversion |
|
|
5,000,000
|
|
|
|
|
| Convertible preferred stock, price per share |
$ 1.00
|
$ 1.00
|
$ 1.00
|
|
$ 1.00
|
|
|
| Proceeds from issuance of convertible preferred stock, net of issuance costs |
$ 17,500
|
$ 2,000
|
$ 7,500
|
|
$ 20,000
|
|
|
| Stock issued upon conversion, fair value |
|
|
$ 5,000
|
|
|
|
|
| Issuance costs |
|
|
|
|
$ 100
|
|
|
| Sale of stock |
17,500,000
|
|
|
|
|
|
|
| Series B Convertible Preferred Stock |
|
|
|
|
|
|
|
| Temporary Equity [Line Items] |
|
|
|
|
|
|
|
| Shares issued |
|
|
|
41,159,724
|
|
|
|
| Convertible preferred stock, price per share |
|
|
|
$ 2.81
|
|
|
|
| Proceeds from issuance of convertible preferred stock, net of issuance costs |
|
|
|
$ 115,700
|
|
|
|
| Common Stock |
|
|
|
|
|
|
|
| Temporary Equity [Line Items] |
|
|
|
|
|
|
|
| Convertible preferred stock, shares issued upon conversion |
|
|
|
|
|
28,086,375
|
|
| Shares issued |
|
|
|
|
|
6,000,000
|
14,089,314
|
| Stock Issued upon conversion |
|
|
|
|
|
|
28,086,375
|
| Stock issued upon conversion, fair value |
|
|
|
|
|
|
$ 3
|