Condensed Consolidated Statements Of Changes in Stockholders' Equity (Deficit) - USD ($) $ in Thousands | Total | Merger Common Stock warrants | Sponsor Shares | Adjusted balance | Common Stock | Common Stock Merger Common Stock warrants | Common Stock Sponsor Shares | Common Stock Adjusted balance | Additional Paid-in Capital | Additional Paid-in Capital Merger Common Stock warrants | Additional Paid-in Capital Sponsor Shares | Additional Paid-in Capital Adjusted balance | Other Comprehensive Income | Other Comprehensive Income Adjusted balance | Accumulated Deficit | Accumulated Deficit Adjusted balance |
Balance at beginning of period at Dec. 31, 2020 | | | | $ (32,813) | | | | $ 3 | | | | $ 191,168 | | $ 0 | | $ (223,984) |
Balance at beginning of period (in shares) at Dec. 31, 2020 | | | | | | | | 34,692,000 | | | | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | | | |
Stock-based compensation | $ 508 | | | | | | | | $ 508 | | | | | | | |
Issuance of common stock due to Bridge Notes | 103,724 | | | | $ 2 | | | | 103,722 | | | | | | | |
Issuance of common stock due to Bridge Notes (in shares) | | | | | 20,029,000 | | | | | | | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | | | | | 468,000 | | | | | | | | | | | |
Issuance of common stock upon exercise of stock options | 1 | | | | | | | | 1 | | | | | | | |
Issuance of common stock upon vesting of restricted stock awards (in shares) | | | | | 171,000 | | | | | | | | | | | |
Issuance of common stock on conversion (in shares) | | | | | 1,095,000 | | | | | | | | | | | |
Issuance of common stock on conversion | 120 | | | | | | | | 120 | | | | | | | |
Other comprehensive income (loss) | 1,389 | | | | | | | | | | | | $ 1,389 | | | |
Net loss | (168,556) | | | | | | | | | | | | | | $ (168,556) | |
Balance at end of period at Mar. 31, 2021 | (95,627) | | | | $ 5 | | | | 295,519 | | | | 1,389 | | (392,540) | |
Balance at end of period (in shares) at Mar. 31, 2021 | | | | | 56,455,000 | | | | | | | | | | | |
Balance at beginning of period at Dec. 31, 2020 | | | | $ (32,813) | | | | $ 3 | | | | $ 191,168 | | $ 0 | | $ (223,984) |
Balance at beginning of period (in shares) at Dec. 31, 2020 | | | | | | | | 34,692,000 | | | | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | | | |
Repurchase and retirement of common stock | 0 | | | | | | | | | | | | | | | |
Other comprehensive income (loss) | 0 | | | | | | | | | | | | | | | |
Net loss | (251,038) | | | | | | | | | | | | | | | |
Balance at end of period at Sep. 30, 2021 | 152,797 | | | | $ 11 | | | | 629,090 | | | | 0 | | (476,304) | |
Balance at end of period (in shares) at Sep. 30, 2021 | | | | | 113,324,000 | | | | | | | | | | | |
Balance at beginning of period at Mar. 31, 2021 | (95,627) | | | | $ 5 | | | | 295,519 | | | | 1,389 | | (392,540) | |
Balance at beginning of period (in shares) at Mar. 31, 2021 | | | | | 56,455,000 | | | | | | | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | | | |
Stock-based compensation | 264 | | | | | | | | 264 | | | | | | | |
Issuance of common stock due to Bridge Notes Rights Offering | 2,629 | | | | | | | | 2,629 | | | | | | | |
Issuance of common stock due to rights offering (in shares) | | | | | 314,000 | | | | | | | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | | | | | 210,000 | | | | | | | | | | | |
Issuance of common stock upon exercise of stock options | 6 | | | | | | | | 6 | | | | | | | |
Issuance of common stock upon vesting of restricted stock awards (in shares) | | | | | 130,000 | | | | | | | | | | | |
Issuance of common stock upon vesting of restricted stock units (in shares) | | | | | 34,000 | | | | | | | | | | | |
Other comprehensive income (loss) | (1,930) | | | | | | | | | | | | (1,930) | | | |
Net loss | (35,585) | | | | | | | | | | | | | | (35,585) | |
Balance at end of period at Jun. 30, 2021 | (130,243) | | | | $ 5 | | | | 298,418 | | | | (541) | | (428,125) | |
Balance at end of period (in shares) at Jun. 30, 2021 | | | | | 57,143,000 | | | | | | | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | | | |
Stock-based compensation | 28,493 | | | | | | | | 28,493 | | | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | | | | | 290,000 | | | | | | | | | | | |
Issuance of common stock upon exercise of stock options | 93 | | | | | | | | 93 | | | | | | | |
Issuance of common stock upon exercise of warrants, inclusive of preferred stock warrants exercised then converted to common stock in connection with the merger (in shares) | | | | | 2,156,000 | | | | | | | | | | | |
Issuance of common stock upon exercise of warrants, inclusive of preferred stock warrants exercised then converted to common stock in connection with the merger | 2,169 | | | | | | | | 2,169 | | | | | | | |
Issuance of common stock upon vesting of restricted stock awards (in shares) | | | | | 160,000 | | | | | | | | | | | |
Issuance of common stock upon vesting of restricted stock units (in shares) | | | | | 68,000 | | | | | | | | | | | |
Issuance of common stock on conversion (in shares) | | | | | | 11,187,000 | 7,736,000 | | | | | | | | | |
Issuance of common stock on conversion | | $ 38,329 | $ 77,097 | | | $ 1 | $ 1 | | | $ 38,328 | $ 77,096 | | | | | |
Issuance of Sponsor Shares | (17,659) | | | | | | | | (17,659) | | | | | | | |
Reverse recapitalization, net (in shares) | | | | | 34,584,000 | | | | | | | | | | | |
Reverse recapitalization, net | 200,874 | | | | $ 4 | | | | 202,152 | | | | | | (1,282) | |
Other comprehensive income (loss) | 541 | | | | | | | | | | | | 541 | | | |
Net loss | (46,897) | | | | | | | | | | | | | | (46,897) | |
Balance at end of period at Sep. 30, 2021 | 152,797 | | | | $ 11 | | | | 629,090 | | | | 0 | | (476,304) | |
Balance at end of period (in shares) at Sep. 30, 2021 | | | | | 113,324,000 | | | | | | | | | | | |
Balance at beginning of period at Dec. 31, 2021 | $ 179,620 | | | | $ 11 | | | | 650,518 | | | | 0 | | (470,909) | |
Balance at beginning of period (in shares) at Dec. 31, 2021 | 114,452,000 | | | | 114,452,000 | | | | | | | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | | | |
Stock-based compensation | $ 10,862 | | | | | | | | 10,862 | | | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | | | | | 404,000 | | | | | | | | | | | |
Issuance of common stock upon exercise of stock options | 17 | | | | | | | | 17 | | | | | | | |
Issuance of common stock upon vesting of restricted stock awards (in shares) | | | | | 129,000 | | | | | | | | | | | |
Issuance of common stock upon vesting of restricted stock units (in shares) | | | | | 4,816,000 | | | | | | | | | | | |
Issuance of common stock upon vesting of restricted stock units | 1 | | | | $ 1 | | | | | | | | | | | |
Withholding of restricted stock to satisfy tax withholding obligations upon the vesting of the related restricted stock (in shares) | | | | | 1,874,000 | | | | | | | | | | | |
Withholding of restricted stock units to satisfy tax withholding obligations upon the vesting of restricted stock units | (3,616) | | | | | | | | (3,616) | | | | | | | |
Net loss | (19,988) | | | | | | | | | | | | | | (19,988) | |
Balance at end of period at Mar. 31, 2022 | 166,896 | | | | $ 12 | | | | 657,781 | | | | 0 | | (490,897) | |
Balance at end of period (in shares) at Mar. 31, 2022 | | | | | 117,927,000 | | | | | | | | | | | |
Balance at beginning of period at Dec. 31, 2021 | $ 179,620 | | | | $ 11 | | | | 650,518 | | | | 0 | | (470,909) | |
Balance at beginning of period (in shares) at Dec. 31, 2021 | 114,452,000 | | | | 114,452,000 | | | | | | | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | 638,000 | | | | | | | | | | | | | | | |
Repurchase and retirement of common stock (in shares) | (14,603) | | | | | | | | | | | | | | | |
Repurchase and retirement of common stock | $ (30) | | | | | | | | | | | | | | (30) | |
Other comprehensive income (loss) | 0 | | | | | | | | | | | | | | | |
Net loss | (59,314) | | | | | | | | | | | | | | | |
Balance at end of period at Sep. 30, 2022 | $ 133,413 | | | | $ 12 | | | | 663,654 | | | | 0 | | (530,253) | |
Balance at end of period (in shares) at Sep. 30, 2022 | 118,906,000 | | | | 118,906,000 | | | | | | | | | | | |
Balance at beginning of period at Mar. 31, 2022 | $ 166,896 | | | | $ 12 | | | | 657,781 | | | | 0 | | (490,897) | |
Balance at beginning of period (in shares) at Mar. 31, 2022 | | | | | 117,927,000 | | | | | | | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | | | |
Stock-based compensation | 3,365 | | | | | | | | 3,365 | | | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | | | | | 180,000 | | | | | | | | | | | |
Issuance of common stock upon exercise of stock options | 8 | | | | | | | | 8 | | | | | | | |
Issuance of common stock upon vesting of restricted stock awards (in shares) | | | | | 27,000 | | | | | | | | | | | |
Issuance of common stock upon vesting of restricted stock units (in shares) | | | | | 520,000 | | | | | | | | | | | |
Withholding of restricted stock to satisfy tax withholding obligations upon the vesting of the related restricted stock (in shares) | | | | | 201,000 | | | | | | | | | | | |
Withholding of restricted stock units to satisfy tax withholding obligations upon the vesting of restricted stock units | (444) | | | | | | | | (444) | | | | | | | |
Net loss | (26,278) | | | | | | | | | | | | | | (26,278) | |
Balance at end of period at Jun. 30, 2022 | 143,547 | | | | $ 12 | | | | 660,710 | | | | 0 | | (517,175) | |
Balance at end of period (in shares) at Jun. 30, 2022 | | | | | 118,453,000 | | | | | | | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | | | |
Stock-based compensation | 3,423 | | | | | | | | 3,423 | | | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | | | | | 54,000 | | | | | | | | | | | |
Issuance of common stock upon exercise of stock options | 12 | | | | | | | | 12 | | | | | | | |
Issuance of common stock upon vesting of restricted stock awards (in shares) | | | | | 22,000 | | | | | | | | | | | |
Issuance of common stock upon vesting of restricted stock units (in shares) | | | | | 633,000 | | | | | | | | | | | |
Withholding of restricted stock to satisfy tax withholding obligations upon the vesting of the related restricted stock (in shares) | | | | | 241,000 | | | | | | | | | | | |
Withholding of restricted stock units to satisfy tax withholding obligations upon the vesting of restricted stock units | $ (491) | | | | | | | | (491) | | | | | | | |
Repurchase and retirement of common stock (in shares) | (14,603) | | | | (15,000) | | | | | | | | | | | |
Repurchase and retirement of common stock | $ (30) | | | | | | | | | | | | | | (30) | |
Other comprehensive income (loss) | 0 | | | | | | | | | | | | | | | |
Net loss | (13,048) | | | | | | | | | | | | | | (13,048) | |
Balance at end of period at Sep. 30, 2022 | $ 133,413 | | | | $ 12 | | | | $ 663,654 | | | | $ 0 | | $ (530,253) | |
Balance at end of period (in shares) at Sep. 30, 2022 | 118,906,000 | | | | 118,906,000 | | | | | | | | | | | |