Stock-Based Compensation Plan - Narrative (Details) | | 3 Months Ended | 9 Months Ended | | |
Jan. 21, 2021 USD ($) tradingDay position employee $ / shares shares | Sep. 30, 2022 USD ($) stockIncentivePlan $ / shares shares | Jun. 30, 2022 tradingDay $ / shares shares | Sep. 30, 2021 USD ($) $ / shares shares | Sep. 30, 2022 USD ($) stockIncentivePlan $ / shares shares | Sep. 30, 2021 USD ($) $ / shares shares | Dec. 31, 2021 $ / shares shares | Dec. 31, 2020 $ / shares shares |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Number of stock incentive plans | stockIncentivePlan | | 4 | | | 4 | | | |
Stock-based compensation expense | $ | | $ 1,409,000 | | $ 3,447,000 | $ 4,234,000 | $ 49,114,000 | | |
Earnout shares, earnout period | 60 months | | | | | | | |
Derivative Instrument, Period One | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Earnout shares, earnout period | 60 months | | | | | | | |
Earnout shares, earnout period, stock price trigger (in usd per share) | $ / shares | $ 12.50 | | | | | | | |
Earnout shares, earnout period, threshold trading days | tradingDay | 20 | | | | | | | |
Earnout shares, earnout period, threshold trading day period | tradingDay | 30 | | | | | | | |
Earnout shares, earnout period, release of shares, percentage | 50% | | | | | | | |
Derivative Instrument, Period Two | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Earnout shares, earnout period, stock price trigger (in usd per share) | $ / shares | $ 15 | | | | | | | |
Earnout shares, earnout period, threshold trading days | tradingDay | 20 | | | | | | | |
Earnout shares, earnout period, threshold trading day period | tradingDay | 30 | | | | | | | |
Earnout shares, earnout period, release of shares, percentage | 50% | | | | | | | |
Derivative Instrument, Period Three | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Earnout shares, earnout period, stock price trigger (in usd per share) | $ / shares | $ 10 | | | | | | | |
Earnout RSUs | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Stock-based compensation expense | $ | | 0 | | | | | | |
Granted (in usd per share) | $ / shares | | | | | $ 0 | $ 10.70 | | |
Stock units received (in shares) | shares | 640,421 | | | | 0 | 640,421 | | |
Unrecognized compensation costs related to RSUs | $ | | $ 0 | | | $ 0 | | | |
2011 Stock Option Plan | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Stock-based compensation expense | $ | | | | | $ 4,234,000 | $ 49,114,000 | | |
Options outstanding, number of stock options (in shares) | shares | | 0 | | 1,515,146 | 0 | 1,515,146 | 1,260,328 | 1,571,205 |
Options outstanding exercise price (in usd per share) | $ / shares | | $ 0 | | $ 0.58 | $ 0 | $ 0.58 | $ 0.56 | $ 0.59 |
2017 Stock Option Plan | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Options outstanding, number of stock options (in shares) | shares | | 3,600,803 | | 3,961,658 | 3,600,803 | 3,961,658 | 3,936,176 | 3,961,658 |
Options outstanding exercise price (in usd per share) | $ / shares | | $ 0.92 | | $ 0.92 | $ 0.92 | $ 0.92 | $ 0.92 | $ 0.92 |
Stock options, expiration period | | | | | 10 years | | | |
Award vesting conditions waived for options (in shares) | shares | 3,538,672 | | | | | | | |
Award vesting period | 4 years | | | | | | | |
Options outstanding, intrinsic value (in usd per share) | $ / shares | | 0 | | | $ 0 | | | |
Options exercisable, intrinsic value (in usd per share) | $ / shares | | $ 0 | | | $ 0 | | | |
2017 Stock Option Plan | Tranche One | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Modification, number of employees impacted | employee | 8 | | | | | | | |
Share-based compensation on modification | $ | $ 38,800,000 | | | | | | | |
Award vesting period | 4 years | | | | | | | |
2017 Stock Option Plan | Tranche Two | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Stock-based compensation expense | $ | | | | | $ 627,000 | | | |
Modification, number of employees impacted | position | 16 | | | | | | | |
Plan modification, options, cash consideration | $ | $ 186,000 | | | | | | | |
Plan modification, options, compensation recognized | $ | $ 4,500,000 | | | | | | | |
2020 Stock Option Plan | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Stock-based compensation expense | $ | | | | | $ 1,178,000 | | | |
Options outstanding, number of stock options (in shares) | shares | | 1,255,242 | | 1,461,519 | 1,255,242 | 1,461,519 | 1,469,297 | 0 |
Options outstanding exercise price (in usd per share) | $ / shares | | $ 6.50 | | $ 11.16 | $ 6.50 | $ 11.16 | $ 11.12 | $ 0 |
Options outstanding, intrinsic value (in usd per share) | $ / shares | | 0 | | | 0 | | | |
Options exercisable, intrinsic value (in usd per share) | $ / shares | | $ 0 | | | $ 0 | | | |
Unrecognized compensation cost related to unvested option | $ | | $ 3,258,000 | | | $ 3,258,000 | | | |
2020 Stock Option Plan | Minimum | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Grant date fair value (in usd per share) | $ / shares | | | | | $ 1.17 | | | |
2020 Stock Option Plan | Tranche One | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Award vesting period | | | | | 4 years | | | |
2020 Stock Option Plan | Tranche Two | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Award vesting period | | | | | 3 years | | | |
2020 Stock Option Plan | Tranche Three | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Award vesting period | | | | | 1 year | | | |
2020 Stock Incentive Award Plan | Minimum | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Award vesting period | | | | | 3 years | | | |
2020 Stock Incentive Award Plan | Maximum | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Award vesting period | | | | | 4 years | | | |
2020 Stock Incentive Award Plan | Restricted Stock Units | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Stock-based compensation expense | $ | | | | | $ 1,093,000 | | | |
Granted (in usd per share) | $ / shares | | | | | $ 1.04 | | | |
Stock units received (in shares) | shares | | | | | 3,010,005 | | | |
2020 Stock Incentive Award Plan | Restricted Stock Units | Minimum | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Granted (in usd per share) | $ / shares | | | | | $ 1.68 | | | |
2020 Stock Incentive Award Plan | Tranche One | Restricted Stock Units | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Unrecognized compensation cost related to unvested option | $ | | 367,000 | | | $ 367,000 | | | |
2020 Stock Incentive Award Plan | Tranche Two | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Unrecognized compensation cost related to unvested option | $ | | 686,000 | | | 686,000 | | | |
2020 Stock Incentive Award Plan | Tranche Three | Restricted Stock Units | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Unrecognized compensation cost related to unvested option | $ | | $ 632,000 | | | 632,000 | | | |
Inducement Plan | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Stock-based compensation expense | $ | | | | | $ 24,000 | | | |
Options outstanding, number of stock options (in shares) | shares | | 569,677 | | | 569,677 | | 0 | |
Options outstanding exercise price (in usd per share) | $ / shares | | $ 0.61 | | | $ 0.61 | | $ 0 | |
Award vesting period | | | | | 4 years | | | |
Options outstanding, intrinsic value (in usd per share) | $ / shares | | 0 | | | $ 0 | | | |
Options exercisable, intrinsic value (in usd per share) | $ / shares | | 0 | | | $ 0 | | | |
Grant date fair value (in usd per share) | $ / shares | | $ 0.45 | | | | | | |
Unrecognized compensation cost related to unvested option | $ | | $ 231,000 | | | $ 231,000 | | | |
Inducement Plan | Restricted Stock Units | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Stock-based compensation expense | $ | | | | | $ 978,000 | | | |
Granted (in usd per share) | $ / shares | | | | | $ 0.61 | | | |
Stock units received (in shares) | shares | | | | | 5,619,822 | | | |
Inducement Plan | Performance Shares | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Stock-based compensation expense | $ | | | | | $ 334,000 | | | |
Unrecognized compensation cost related to unvested option | $ | | 2,480,000 | | | $ 2,480,000 | | | |
Granted (in usd per share) | $ / shares | | | | | $ 0.55 | | | |
Stock units received (in shares) | shares | | | 5,100,000 | | 5,100,000 | | | |
Inducement Plan | Tranche One | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Award vesting period | | | | | 4 years | | | |
Inducement Plan | Tranche One | Restricted Stock Units | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Unrecognized compensation cost related to unvested option | $ | | 1,644,000 | | | $ 1,644,000 | | | |
Inducement Plan | Tranche One | Performance Shares | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Award vesting rights, percentage | | | 33% | | | | | |
Award vesting, stock achievement, trading days | tradingDay | | | 20 | | | | | |
Award vesting, stock price threshold price (in usd per share) | $ / shares | | | $ 4 | | | | | |
Inducement Plan | Tranche Two | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Award vesting period | | | | | 3 years | | | |
Inducement Plan | Tranche Two | Restricted Stock Units | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Unrecognized compensation cost related to unvested option | $ | | 371,000 | | | $ 371,000 | | | |
Inducement Plan | Tranche Two | Performance Shares | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Award vesting rights, percentage | | | 33% | | | | | |
Award vesting, stock achievement, trading days | tradingDay | | | 20 | | | | | |
Award vesting, weighted average stock target price (in usd per share) | $ / shares | | | $ 8 | | | | | |
Inducement Plan | Tranche Three | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Award vesting period | | | | | 2 years | | | |
Inducement Plan | Tranche Three | Restricted Stock Units | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Unrecognized compensation cost related to unvested option | $ | | 391,000 | | | $ 391,000 | | | |
Inducement Plan | Tranche Three | Performance Shares | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Award vesting rights, percentage | | | 33% | | | | | |
Award vesting, stock achievement, trading days | tradingDay | | | 20 | | | | | |
Award vesting, weighted average stock target price (in usd per share) | $ / shares | | | $ 12 | | | | | |
Inducement Plan | Tranche Four | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Award vesting period | | | | | 1 year | | | |
Inducement Plan | Tranche Four | Restricted Stock Units | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Unrecognized compensation cost related to unvested option | $ | | $ 30,000 | | | $ 30,000 | | | |