SHAREHOLDERS' EQUITY AND PRIVATE WARRANT LIABILITY - Narrative (Details)
3 Months Ended 6 Months Ended 12 Months Ended
Jun. 20, 2023
shares
Mar. 01, 2022
USD ($)
Jan. 04, 2021
USD ($)
shares
Jun. 30, 2023
USD ($)
installment
vote
$ / shares
shares
Jun. 30, 2022
USD ($)
shares
Jun. 30, 2023
USD ($)
vote
installment
trading_day
$ / shares
shares
Jun. 30, 2022
USD ($)
shares
Dec. 31, 2022
$ / shares
shares
Jun. 19, 2023
shares
Class of Warrant or Right [Line Items]                  
Common stock, shares authorized (in shares)       1,000,000,000   1,000,000,000   1,000,000,000  
Common stock, par value (in dollars per share) | $ / shares       $ 0.0001   $ 0.0001   $ 0.0001  
Common stock, shares outstanding (in shares)       11,866,345   11,866,345   12,240,237  
Common stock, shares issued (in shares)       11,866,345   11,866,345   12,240,237  
Performance shares (in shares)           300,000   300,000  
Number of votes for each share held | vote       1   1      
Preferred stock, shares authorized (in shares)       10,000,000   10,000,000   10,000,000  
Preferred stock, par value (in dollars per share) | $ / shares       $ 0.0001   $ 0.0001   $ 0.0001  
Preferred stock, shares issued (in shares)       0   0   0  
Preferred stock, shares outstanding (in shares)       0   0   0  
Performance shares, par value (in dollars per share) | $ / shares       $ 0.0001   $ 0.0001      
Performance shares, period post closing date of merger after which shares would be forfeited and cancelled if no Release Event has occurred           7 years      
Performance shares, stock price trigger (in dollars per share) | $ / shares       $ 15.00   $ 15.00      
Performance shares, threshold trading days | trading_day           20      
Performance shares, threshold trading day period | trading_day           30      
Warrants to purchase common stock outstanding (in shares)       22,703,004,000 22,703,004,000 22,703,004,000 22,703,004,000    
Number of whole shares of common stock entitled to purchase upon exercise of each whole warrant ( in shares)       1   1      
Exercise price (in dollars per share) | $ / shares       $ 11.50   $ 11.50      
Maximum expiration period after completion of merger (in years)           5 years      
Redemption rights, stock price trigger (in dollars per share) | $ / shares       $ 24.00   $ 24.00      
Redemption rights, threshold trading days | trading_day           20      
Redemption rights, threshold trading day period | trading_day           30      
Reclassified warrants (in shares)       0 0 66,855 300,000    
Gain on fair value of private warrant liability | $       $ 595,000 $ 5,640,000 $ 2,016,000 $ 8,284,000    
Repurchase of private warrants | $           $ 0 $ 1,977,000    
10% + Equity Incentive Plan                  
Class of Warrant or Right [Line Items]                  
Increase in aggregate number of shares of common stock (in shares) 1,279,963                
Aggregate number of shares of common stock (in shares) 2,500,000               1,220,037
Public Warrants                  
Class of Warrant or Right [Line Items]                  
Warrants to purchase common stock outstanding (in shares)       17,294,044,000 17,227,289,000 17,294,044,000 17,227,289,000    
Outstanding warrants exercised (in shares)         100 1,600 100    
Exercises of public warrants       0 100 0 100    
Private Warrants                  
Class of Warrant or Right [Line Items]                  
Warrants to purchase common stock outstanding (in shares)       5,408,960,000 5,475,815,000 5,408,960,000 5,475,815,000    
Private warrants repurchased (in shares)       1,169,903   1,169,903      
Private warrants, price per share (in dollars per share) | $ / shares       $ 1.69   $ 1.69      
Gain on fair value of private warrant liability | $       $ 600,000 $ 5,600,000 $ 2,000,000 $ 8,300,000    
Repurchase of private warrants | $   $ 2,000,000       0 2,000,000    
Merger Consideration Share Based Compensation Award                  
Class of Warrant or Right [Line Items]                  
RSUs granted (in shares)     1,317,035            
Fair value | $     $ 19,600,000            
Vesting period     2 years            
Share-based compensation expense | $       0 2,300,000 $ 100,000 4,500,000    
Restricted Stock Units (RSUs)                  
Class of Warrant or Right [Line Items]                  
RSUs granted (in shares)           564,530      
Share-based compensation expense | $       $ 600,000 500,000 $ 900,000 900,000    
Restricted Stock Units (RSUs) | Minimum                  
Class of Warrant or Right [Line Items]                  
Vesting installments | installment       3   3      
Restricted Stock Units (RSUs) | Maximum                  
Class of Warrant or Right [Line Items]                  
Vesting installments | installment       4   4      
Performance Based Restricted Stock Units                  
Class of Warrant or Right [Line Items]                  
RSUs granted (in shares)           455,000      
Share-based compensation expense | $       $ 200,000 $ 300,000 $ 400,000 $ 500,000