v3.22.2.2
FAIR VALUE MEASUREMENT - Schedule of Reconciliation of the Beginning and Ending Balances for Assets and Liabilities Measured at Fair Value on a Recurring Basis (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Level 3 Convertible Notes [Roll Forward]        
Balance as of December 31, 2020       $ 0
Issuance of convertible notes       57,500
Loss on changes in fair value of convertible notes $ 0 $ 3,018 $ 0 9,861
Conversion as of Merger       (67,361)
Balance as of September 30, 2021   $ 0   $ 0