| Debt - Summary of Change in Fair Value of Warrant Liability (Details) - USD ($) $ in Thousands | 12 Months Ended | |
|---|---|---|
| Dec. 31, 2021 | Dec. 31, 2020 | |
| Warrant Liability [Roll Forward] | ||
| Balance, beginning of period | $ 1,614 | $ 0 | 
| Warrant issued | 0 | 2,486 | 
| Warrant Exercised | (16,148) | 0 | 
| Change in fair value of warrant liability | 18,139 | (872) | 
| Balance, end of period | $ 3,605 | $ 1,614 | 
| X | ||||||||||
| 
- Definition Exercise of Warrants and Rights No definition available. 
 | 
| X | ||||||||||
| 
- Definition Warrant Liability No definition available. 
 | 
| X | ||||||||||
| 
- Definition Warrants and Rights Issued No definition available. 
 | 
| X | ||||||||||
| 
- Definition Amount of expense (income) related to adjustment to fair value of warrant liability. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Value of outstanding derivative securities that permit the holder the right to purchase securities (usually equity) from the issuer at a specified price. No definition available. 
 |