| Stockholders’ Equity - Schedule of Common Stock Warrant Activity (Details) $ / shares in Units, $ in Thousands | 6 Months Ended | 
|---|---|
| Jun. 30, 2022  USD ($)  $ / shares  shares | |
| Weighted-average Exercise price per share | |
| Beginning balance (in dollars per share) | $ / shares | $ 2.97 | 
| Exercised (in dollars per share) | $ / shares | 2.20 | 
| Terminated (in dollars per share) | $ / shares | 2.20 | 
| Ending balance (in dollars per share) | $ / shares | $ 16.23 | 
| Intrinsic Value | |
| Outstanding, intrinsic value | $ | $ 0 | 
| Common Stock Warrants | |
| Restricted Stock | |
| Outstanding, beginning balance (in shares) | shares | 668,907 | 
| Exercised (in shares) | shares | (462,353) | 
| Terminated (in shares) | shares | 170,000 | 
| Outstanding, ending balance (in shares) | shares | 36,554 | 
| X | ||||||||||
| 
- Definition Weighted average price per share for warrants exercised during the period. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted-average Exercise Price Per Share No definition available. 
 | 
| X | ||||||||||
| 
- Definition Weighted average price at which grantees can acquire the shares reserved for issuance under the other than stock option plan. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Terminated in Period No definition available. 
 | 
| X | ||||||||||
| 
- Definition Weighted average price per share for warrants terminated during the period. No definition available. 
 | 
| X | ||||||||||
| 
- Definition The number of non-vested equity-based payment instruments, excluding stock (or unit) options, that validly exist and are outstanding as of the balance sheet date. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. No definition available. 
 | 
| X | ||||||||||
| 
- Definition The number of equity-based payment instruments, excluding stock (or unit) options, that vested during the reporting period. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- References No definition available. 
 | 
| X | ||||||||||
| 
- Definition Intrinsic value of outstanding award under share-based payment arrangement. Excludes share and unit options. No definition available. 
 | 
| X | ||||||||||
| 
- Details 
 |