CONSOLIDATED STATEMENTS OF REDEEMABLE CONVERTIBLE PREFERRED STOCK AND STOCKHOLDERS' EQUITY (DEFICIT) (Parenthetical) - USD ($) $ in Thousands |
12 Months Ended | |
|---|---|---|
Dec. 31, 2021 |
Dec. 31, 2020 |
|
| Statement Of Stockholders Equity [Abstract] | ||
| Issuance of common stock upon public offering, net of issuance costs | $ 560 | $ 2,373 |