Net Loss Per Share - Calculation of Basic and Diluted Net Loss per Share (Details) - USD ($) $ / shares in Units, $ in Thousands |
12 Months Ended | |
|---|---|---|
Dec. 31, 2021 |
Dec. 31, 2020 |
|
| Numerator: | ||
| Net loss | $ (149,291) | $ (59,437) |
| Denominator: | ||
| Weighted-average common shares outstanding—basic and diluted | 50,895,044 | 14,395,955 |
| Net loss per share—basic and diluted | $ (2.93) | $ (4.13) |