Stockholders’ Equity and Stock-Based Compensation - Warrant Activity (Details) - USD ($) $ / shares in Units, shares in Thousands, $ in Thousands |
6 Months Ended | 12 Months Ended |
|---|---|---|
Jun. 30, 2022 |
Dec. 31, 2021 |
|
| Shares of Stock under Warrants | ||
| Beginning balance (in shares) | 4,356 | |
| Granted (in shares) | 0 | |
| Exercised (in shares) | 0 | |
| Canceled (in shares) | 0 | |
| Ending balance (in shares) | 4,356 | 4,356 |
| Weighted- Average Exercise Price | ||
| Beginning balance (in dollars per share) | $ 5.96 | |
| Exercised (in dollars per share) | 0 | |
| Cancelled (in dollars per share) | 0 | |
| Ending balance (in dollars per share) | $ 5.96 | $ 5.96 |
| Weighted- Average Remaining Contractual Term | ||
| Balance | 1 year 3 months 7 days | 1 year 9 months 3 days |
| Aggregate Intrinsic Value | ||
| Beginning balance | $ 785 | |
| Exercised | 0 | |
| Ending balance | $ 246 | $ 785 |