XML 115 R94.htm IDEA: XBRL DOCUMENT v3.23.2
FAIR VALUE MEASUREMENTS - Schedule of liabilities with unobservable inputs (Details) - Level 3 - USD ($)
$ in Thousands
6 Months Ended 12 Months Ended
Jun. 30, 2023
Dec. 31, 2022
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]    
Balance at beginning of period $ 14,270 $ 75,211
Warrants granted 0 25,669
Equity component of the convertible senior note 0 (78,789)
Change in valuation of warrants included in net income (415) (7,821)
Balance at end of period $ 13,855 $ 14,270