INVESTMENTS AND FAIR VALUE MEASUREMENT - Schedule of Changes In Estimated Fair Value Of Convertible Notes and Warrant Liability (Details) $ in Thousands |
12 Months Ended |
|---|---|
|
Dec. 31, 2021
USD ($)
| |
| Convertible notes | |
| Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] | |
| Beginning of period, January 1, 2021 | $ 0 |
| Issued during the period | 3,299,031 |
| Total loss due to changes in fair value | 1,918,565 |
| Reclassifications to equity | (5,217,596) |
| End of period, December 31, 2021 | 0 |
| Warrants | |
| Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] | |
| Beginning of period, January 1, 2021 | 0 |
| Issued during the period | 252,944 |
| Total loss due to changes in fair value | 127,092 |
| Reclassifications to equity | (380,036) |
| End of period, December 31, 2021 | $ 0 |