XML 102 R85.htm IDEA: XBRL DOCUMENT v3.21.2
INCOME TAXES - Unrecognized Tax Benefits Activity (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Jun. 30, 2019
Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward]      
Balance at beginning of year $ 20,899 $ 11,869 $ 6,730
Additions based on tax positions related to the current year 343 636 248
Additions based on tax positions related to prior years 3,045 8,499 5,446
Reductions due to lapse in statute of limitations and settlements (1,417) (105) (555)
Balance at end of year $ 22,870 $ 20,899 $ 11,869