v3.25.2
FAIR VALUE MEASUREMENTS - Schedule of Reconciliation of Earn-Out Liabilities and FFF Put and Call Rights (Details) (Details) - Earn-out Liabilities - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2023
Total Level 3 liabilities      
Beginning balance $ 28,549 $ 26,603 $ 22,789
(Settlements) purchases (19,294) (1,375) 1,460
(Gains) losses (1,549) 3,321 2,354
Ending balance $ 7,706 $ 28,549 $ 26,603
Fair Value, Recurring Basis, Unobservable Input Reconciliation, Liability, Gain (Loss), Statement of Income [Extensible List] Nonoperating Income (Expense) Nonoperating Income (Expense) Nonoperating Income (Expense)