Condensed Consolidated Statements of Stockholders’ Equity (Deficit) - USD ($) $ in Thousands | Total | As previously reported | Retroactive application of recapitalization (Note 2) | Preferred Stock | Preferred Stock As previously reported | Preferred Stock Retroactive application of recapitalization (Note 2) | Common Stock | Common Stock As previously reported | Common Stock Retroactive application of recapitalization (Note 2) | Additional Paid-in Capital | Additional Paid-in Capital As previously reported | Additional Paid-in Capital Retroactive application of recapitalization (Note 2) | Accumulated Other Comprehensive Loss | Accumulated Other Comprehensive Loss As previously reported | Accumulated Other Comprehensive Loss Retroactive application of recapitalization (Note 2) | Accumulated Deficit | Accumulated Deficit As previously reported | Accumulated Deficit Retroactive application of recapitalization (Note 2) |
Beginning balance (in shares) at Dec. 31, 2020 | | | | 0 | 16,383,725 | (16,383,725) | | | | | | | | | | | | |
Beginning balance (in shares) at Dec. 31, 2020 | | | | | | | 101,286,645 | 10,838,010 | 90,448,635 | | | | | | | | | |
Beginning balance at Dec. 31, 2020 | $ (18,225) | $ (18,225) | $ 0 | $ 0 | $ 62,639 | $ (62,639) | $ 10 | $ 0 | $ 10 | $ 68,549 | $ 5,920 | $ 62,629 | $ 0 | $ 0 | $ 0 | $ (86,784) | $ (86,784) | $ 0 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | | | | | |
Stock-based compensation | 1,610 | | | | | | | | | 1,610 | | | | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | | | | | | | 171,724 | | | | | | | | | | | |
Issuance of common stock upon exercise of stock options | 85 | | | | | | | | | 85 | | | | | | | | |
Repurchase of common stock (in shares) | | | | | | | 0 | | | | | | | | | | | |
Net loss | (11,509) | | | | | | | | | | | | | | | (11,509) | | |
Ending balance (in shares) at Mar. 31, 2021 | | | | | | | 101,458,369 | | | | | | | | | | | |
Ending balance (in shares) at Mar. 31, 2021 | | | | 0 | | | | | | | | | | | | | | |
Ending balance at Mar. 31, 2021 | (28,039) | | | $ 0 | | | $ 10 | | | 70,244 | | | 0 | | | (98,293) | | |
Beginning balance (in shares) at Dec. 31, 2020 | | | | 0 | 16,383,725 | (16,383,725) | | | | | | | | | | | | |
Beginning balance (in shares) at Dec. 31, 2020 | | | | | | | 101,286,645 | 10,838,010 | 90,448,635 | | | | | | | | | |
Beginning balance at Dec. 31, 2020 | $ (18,225) | (18,225) | 0 | $ 0 | $ 62,639 | $ (62,639) | $ 10 | $ 0 | $ 10 | 68,549 | 5,920 | 62,629 | 0 | 0 | 0 | (86,784) | (86,784) | 0 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | | | | | | | 204,119 | | | | | | | | | | | |
Conversion of convertible notes and accrued interest into Class A common stock (in shares) | | | | | | | 20,778,097 | | | | | | | | | | | |
Net settlement of common stock and Series A preferred stock warrants (in shares) | | | | | | | 240,806 | | | | | | | | | | | |
Ending balance (in shares) at Aug. 15, 2021 | 16,383,725 | | | | | | | | | | | | | | | | | |
Beginning balance (in shares) at Dec. 31, 2020 | | | | 0 | 16,383,725 | (16,383,725) | | | | | | | | | | | | |
Beginning balance (in shares) at Dec. 31, 2020 | | | | | | | 101,286,645 | 10,838,010 | 90,448,635 | | | | | | | | | |
Beginning balance at Dec. 31, 2020 | $ (18,225) | $ (18,225) | $ 0 | $ 0 | $ 62,639 | $ (62,639) | $ 10 | $ 0 | $ 10 | 68,549 | $ 5,920 | $ 62,629 | 0 | $ 0 | $ 0 | (86,784) | $ (86,784) | $ 0 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | | | | | |
Change in net unrealized loss on available-for-sale securities, net of tax | (42) | | | | | | | | | | | | | | | | | |
Net loss | (39,977) | | | | | | | | | | | | | | | | | |
Ending balance (in shares) at Sep. 30, 2021 | | | | | | | 154,565,671 | | | | | | | | | | | |
Ending balance (in shares) at Sep. 30, 2021 | | | | 0 | | | | | | | | | | | | | | |
Ending balance at Sep. 30, 2021 | 189,530 | | | $ 0 | | | $ 15 | | | 316,318 | | | (42) | | | (126,761) | | |
Beginning balance (in shares) at Mar. 31, 2021 | | | | 0 | | | | | | | | | | | | | | |
Beginning balance (in shares) at Mar. 31, 2021 | | | | | | | 101,458,369 | | | | | | | | | | | |
Beginning balance at Mar. 31, 2021 | (28,039) | | | $ 0 | | | $ 10 | | | 70,244 | | | 0 | | | (98,293) | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | | | | | |
Stock-based compensation | 2,620 | | | | | | | | | 2,620 | | | | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | | | | | | | 8,478 | | | | | | | | | | | |
Issuance of common stock upon exercise of stock options | 4 | | | | | | | | | 4 | | | | | | | | |
Net loss | (11,075) | | | | | | | | | | | | | | | (11,075) | | |
Ending balance (in shares) at Jun. 30, 2021 | | | | | | | 101,466,847 | | | | | | | | | | | |
Ending balance (in shares) at Jun. 30, 2021 | | | | 0 | | | | | | | | | | | | | | |
Ending balance at Jun. 30, 2021 | (36,490) | | | $ 0 | | | $ 10 | | | 72,868 | | | 0 | | | (109,368) | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | | | | | |
Stock-based compensation | 2,282 | | | | | | | | | 2,282 | | | | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | | | | | | | 23,917 | | | | | | | | | | | |
Issuance of common stock upon exercise of stock options | 11 | | | | | | | | | 11 | | | | | | | | |
Issuance of common stock upon vesting of restricted stock units (in shares) | | | | | | | 197,759 | | | | | | | | | | | |
Taxes related to net share settlement of equity awards (in shares) | | | | | | | (37,561) | | | | | | | | | | | |
Taxes related to net share settlement of equity awards | (325) | | | | | | | | | (325) | | | | | | | | |
Change in net unrealized loss on available-for-sale securities, net of tax | (42) | | | | | | | | | | | | (42) | | | | | |
Issuance of common stock in lieu of cash retainer (in shares) | | | | | | | 1,171 | | | | | | | | | | | |
Issuance of common stock in lieu of cash retainer | 10 | | | | | | | | | 10 | | | | | | | | |
Conversion of convertible notes and accrued interest into Class A common stock (in shares) | | | | | | | 20,778,097 | | | | | | | | | | | |
Conversion of Convertible notes and accrued interest into Class A common stock | 39,095 | | | | | | $ 2 | | | 39,093 | | | | | | | | |
Business Combination and PIPE financing (in shares) | | | | | | | 31,894,635 | | | | | | | | | | | |
Business Combination and PIPE financing | 256,811 | | | | | | $ 3 | | | 256,808 | | | | | | | | |
Offering cost in connection with Business Combination and PIPE financing | (52,661) | | | | | | | | | (52,661) | | | | | | | | |
Net settlement of common stock and Series A preferred stock warrants (in shares) | | | | | | | 240,806 | | | | | | | | | | | |
Assumption of the private placement warrant liability in connection with Business Combination | (268) | | | | | | | | | (268) | | | | | | | | |
Repurchase of stock options | (1,500) | | | | | | | | | (1,500) | | | | | | | | |
Net loss | (17,393) | | | | | | | | | | | | | | | (17,393) | | |
Ending balance (in shares) at Sep. 30, 2021 | | | | | | | 154,565,671 | | | | | | | | | | | |
Ending balance (in shares) at Sep. 30, 2021 | | | | 0 | | | | | | | | | | | | | | |
Ending balance at Sep. 30, 2021 | $ 189,530 | | | $ 0 | | | $ 15 | | | 316,318 | | | (42) | | | (126,761) | | |
Beginning balance (in shares) at Aug. 15, 2021 | 16,383,725 | | | | | | | | | | | | | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | | | | | |
Conversion of convertible notes and accrued interest into Class A common stock (in shares) | | | | | | | 20,778,097 | | | | | | | | | | | |
Ending balance (in shares) at Aug. 16, 2021 | 154,404,302 | | | | | | | | | | | | | | | | | |
Beginning balance (in shares) at Dec. 31, 2021 | 0 | | | 0 | | | | | | | | | | | | | | |
Beginning balance (in shares) at Dec. 31, 2021 | 155,137,237 | | | | | | 155,137,237 | | | | | | | | | | | |
Beginning balance at Dec. 31, 2021 | $ 168,767 | | | $ 0 | | | $ 16 | | | 320,937 | | | (391) | | | (151,795) | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | | | | | |
Stock-based compensation | 5,340 | | | | | | | | | 5,340 | | | | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | | | | | | | 656,303 | | | | | | | | | | | |
Issuance of common stock upon exercise of stock options | 222 | | | | | | | | | 222 | | | | | | | | |
Issuance of common stock upon vesting of restricted stock units (in shares) | | | | | | | 856,917 | | | | | | | | | | | |
Taxes related to net share settlement of equity awards (in shares) | | | | | | | (285,533) | | | | | | | | | | | |
Taxes related to net share settlement of equity awards | (1,149) | | | | | | | | | (1,149) | | | | | | | | |
Change in net unrealized loss on available-for-sale securities, net of tax | (1,056) | | | | | | | | | | | | (1,056) | | | | | |
Net loss | (24,881) | | | | | | | | | | | | | | | (24,881) | | |
Ending balance (in shares) at Mar. 31, 2022 | | | | | | | 156,364,924 | | | | | | | | | | | |
Ending balance (in shares) at Mar. 31, 2022 | | | | 0 | | | | | | | | | | | | | | |
Ending balance at Mar. 31, 2022 | $ 147,243 | | | $ 0 | | | $ 16 | | | 325,350 | | | (1,447) | | | (176,676) | | |
Beginning balance (in shares) at Dec. 31, 2021 | 0 | | | 0 | | | | | | | | | | | | | | |
Beginning balance (in shares) at Dec. 31, 2021 | 155,137,237 | | | | | | 155,137,237 | | | | | | | | | | | |
Beginning balance at Dec. 31, 2021 | $ 168,767 | | | $ 0 | | | $ 16 | | | 320,937 | | | (391) | | | (151,795) | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | 2,776,029 | | | | | | | | | | | | | | | | | |
Change in net unrealized loss on available-for-sale securities, net of tax | $ (1,322) | | | | | | | | | | | | | | | | | |
Net loss | $ (74,972) | | | | | | | | | | | | | | | | | |
Ending balance (in shares) at Sep. 30, 2022 | 160,837,846 | | | | | | 160,837,846 | | | | | | | | | | | |
Ending balance (in shares) at Sep. 30, 2022 | 0 | | | 0 | | | | | | | | | | | | | | |
Ending balance at Sep. 30, 2022 | $ 111,021 | | | $ 0 | | | $ 16 | | | 339,408 | | | (1,636) | | | (226,767) | | |
Beginning balance (in shares) at Mar. 31, 2022 | | | | 0 | | | | | | | | | | | | | | |
Beginning balance (in shares) at Mar. 31, 2022 | | | | | | | 156,364,924 | | | | | | | | | | | |
Beginning balance at Mar. 31, 2022 | 147,243 | | | $ 0 | | | $ 16 | | | 325,350 | | | (1,447) | | | (176,676) | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | | | | | |
Stock-based compensation | 6,557 | | | | | | | | | 6,557 | | | | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | | | | | | | 1,105,298 | | | | | | | | | | | |
Issuance of common stock upon exercise of stock options | 446 | | | | | | | | | 446 | | | | | | | | |
Issuance of common stock upon vesting of restricted stock units (in shares) | | | | | | | 883,318 | | | | | | | | | | | |
Taxes related to net share settlement of equity awards (in shares) | | | | | | | (312,920) | | | | | | | | | | | |
Taxes related to net share settlement of equity awards | (1,431) | | | | | | | | | (1,431) | | | | | | | | |
Issuance of common stock under Common Stock Purchase Agreement (in shares) | | | | | | | 435,000 | | | | | | | | | | | |
Issuance of common stock under the Common Stock Purchase Agreement | 1,422 | | | | | | | | | 1,422 | | | | | | | | |
Issuance of stock upon exercise of public warrants (in shares) | | | | | | | 10 | | | | | | | | | | | |
Change in net unrealized loss on available-for-sale securities, net of tax | (182) | | | | | | | | | | | | (182) | | | | | |
Net loss | (26,467) | | | | | | | | | | | | | | | (26,467) | | |
Ending balance (in shares) at Jun. 30, 2022 | | | | | | | 158,475,630 | | | | | | | | | | | |
Ending balance (in shares) at Jun. 30, 2022 | | | | 0 | | | | | | | | | | | | | | |
Ending balance at Jun. 30, 2022 | 127,588 | | | $ 0 | | | $ 16 | | | 332,344 | | | (1,629) | | | (203,143) | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | | | | | |
Stock-based compensation | 6,106 | | | | | | | | | 6,106 | | | | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | | | | | | | 1,014,428 | | | | | | | | | | | |
Issuance of common stock upon exercise of stock options | 364 | | | | | | | | | 364 | | | | | | | | |
Issuance of common stock upon vesting of restricted stock units (in shares) | | | | | | | 976,852 | | | | | | | | | | | |
Taxes related to net share settlement of equity awards (in shares) | | | | | | | (339,064) | | | | | | | | | | | |
Taxes related to net share settlement of equity awards | (846) | | | | | | | | | (846) | | | | | | | | |
Issuance of common stock under Common Stock Purchase Agreement (in shares) | | | | | | | 710,000 | | | | | | | | | | | |
Issuance of common stock under the Common Stock Purchase Agreement | 1,469 | | | | | | | | | 1,469 | | | | | | | | |
Change in net unrealized loss on available-for-sale securities, net of tax | (84) | | | | | | | | | | | | | | | | | |
Transaction costs related to Common Stock Purchase Agreement | (29) | | | | | | | | | (29) | | | | | | | | |
Other comprehensive loss, net of tax | (7) | | | | | | | | | | | | (7) | | | | | |
Net loss | $ (23,624) | | | | | | | | | | | | | | | (23,624) | | |
Ending balance (in shares) at Sep. 30, 2022 | 160,837,846 | | | | | | 160,837,846 | | | | | | | | | | | |
Ending balance (in shares) at Sep. 30, 2022 | 0 | | | 0 | | | | | | | | | | | | | | |
Ending balance at Sep. 30, 2022 | $ 111,021 | | | $ 0 | | | $ 16 | | | $ 339,408 | | | $ (1,636) | | | $ (226,767) | | |