INCOME TAXES - Unrecognized (Details) - USD ($) $ in Thousands |
6 Months Ended | 12 Months Ended | ||
---|---|---|---|---|
Dec. 31, 2021 |
Jun. 30, 2021 |
Jun. 30, 2020 |
Dec. 31, 2022 |
|
Reconciliation of beginning and ending amount of gross unrecognized tax benefits | ||||
Total gross unrecognized tax benefits at beginning of year | $ 652 | $ 25,389 | $ 36,547 | |
Additions / Reductions for tax positions of current year | 537 | |||
Additions / Reductions for tax positions of prior years | (60) | (812) | (694) | |
Reductions due to settlements with taxing authorities | (592) | (23,925) | (11,001) | |
Total amount of gross unrecognized tax benefits at end of year | 0 | $ 652 | $ 25,389 | |
Accrued income-tax-related interest and penalties | $ 0 | $ 0 |