FAIR VALUE MEASUREMENT - Reconciliation of Changes in Fair Value of Level 3 Investments (Details) - Available-for-sale financial assets - Level 3 - Recurring $ in Thousands |
9 Months Ended |
|---|---|
|
Mar. 31, 2024
USD ($)
| |
| Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] | |
| Beginning balance | $ 24,627 |
| Gain (loss) recognized in income | 185 |
| Ending balance | $ 24,812 |