Quarterly report pursuant to Section 13 or 15(d)

DEBT - Schedule of Future Contractual Debt Maturities (Details)

v3.22.2.2
DEBT - Schedule of Future Contractual Debt Maturities (Details) - USD ($)
$ in Thousands
6 Months Ended
Dec. 31, 2022
Jun. 30, 2022
Dec. 31, 2021
Long-Term Debt, Fiscal Year Maturity [Abstract]      
Remainder of the year   $ 6,507  
2023   78,972  
2024   22,360  
2025   8,578  
2026   65,211  
Thereafter   25,766  
Total debt - principal amounts   207,394 $ 152,688
Senior Notes      
Long-Term Debt, Fiscal Year Maturity [Abstract]      
Remainder of the year   0  
2023   74,935  
2024   0  
2025   0  
2026   0  
Thereafter   0  
Total debt - principal amounts   74,935 75,193
Acquisition Facility      
Long-Term Debt, Fiscal Year Maturity [Abstract]      
Remainder of the year   0  
2023   0  
2024   4,875  
2025   6,500  
2026   53,625  
Thereafter   0  
Total debt - principal amounts   65,000 40,000
Acquisition-related promissory notes payable      
Long-Term Debt, Fiscal Year Maturity [Abstract]      
Remainder of the year   2,412  
2023   3,448  
2024   17,385  
2025   1,971  
2026   6,970  
Thereafter   19,397  
Total debt - principal amounts   51,583 25,767
Acquisition-related promissory notes payable | Forecast      
Long-Term Debt, Fiscal Year Maturity [Abstract]      
Conversion of stock, shares issued 910,000    
Other debt      
Long-Term Debt, Fiscal Year Maturity [Abstract]      
Remainder of the year   4,095  
2023   589  
2024   100  
2025   107  
2026   4,616  
Thereafter   6,369  
Total debt - principal amounts   $ 15,876 $ 11,728