Quarterly report pursuant to Section 13 or 15(d)

DEBT (Details)

v3.23.2
DEBT (Details)
1 Months Ended 3 Months Ended 6 Months Ended
May 31, 2022
USD ($)
item
$ / shares
Jun. 30, 2023
USD ($)
$ / shares
Jun. 30, 2022
USD ($)
Jun. 30, 2023
USD ($)
loan
$ / shares
Jun. 30, 2022
USD ($)
Dec. 31, 2022
USD ($)
$ / shares
DEBT            
Proceeds from convertible debt         $ 115,000,000  
Accrued interest rate   6.00% 6.00% 6.00% 6.00%  
Common stock par value (in dollars per share) | $ / shares   $ 0.0001   $ 0.0001   $ 0.0001
Minimum amount to be drawn $ 1,000          
Current portion of long term debt   $ 389,000   $ 389,000   $ 584,000
AIDRO            
DEBT            
Term of loan       4 years 6 months    
Loan acquired   1,100,000   $ 1,100,000    
Outstanding amount   500,000   $ 500,000    
Number of bank loans acquired | loan       3    
Bank loan paid   100,000 $ 100,000 $ 100,000 $ 100,000  
Long-term debt, net of current portion   200,000   200,000    
Current portion of long term debt   $ 300,000   $ 300,000    
AIDRO | Minimum            
DEBT            
Accrued interest rate   1.70%   1.70%    
AIDRO | Maximum            
DEBT            
Accrued interest rate   2.10%   2.10%    
2027 Convertible Notes            
DEBT            
Nominal amount 115,000,000.0 $ 115,000,000   $ 115,000,000   115,000,000
Debt instrument principal amount under initial placement 100,000,000.0          
Debt instrument principal amount under over allotment 15,000,000.0          
Proceeds from convertible debt $ 111,400,000          
Accrued interest rate 6.00%          
Common stock par value (in dollars per share) | $ / shares $ 0.0001          
Debt instrument convertible threshold percentage of stock price trigger 130.00%          
Debt instrument convertible threshold trading days | item 20          
Debt instrument convertible threshold consecutive trading days | item 30          
Debt instrument convertible threshold consecutive business days | item 5          
Debt instrument convertible threshold consecutive trading day period | item 10          
Debt instrument convertible threshold sale price of common stock conversion rate product percentage maximum 98.00%          
Debt Instrument convertible conversion Ratio 601.5038          
Debt instrument convertible conversion price | $ / shares $ 1.66          
Debt instrument redemption price percentage 130.00%          
Interest rate 6.10%          
Outstanding amount   $ 112,199,000   $ 112,199,000   $ 111,834,000
Principal amount of debt $ 1,000          
2027 Convertible Notes | Maximum            
DEBT            
Debt instrument convertible threshold consecutive trading days | item 20