XML 111 R97.htm IDEA: XBRL DOCUMENT v3.21.2
INCOME TAXES - Schedule of Unrecognized Tax Benefits (Detail 4) - 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]      
Beginning of year $ 8,826 $ 1,530 $ 4,122
Additions based on current year tax positions 5,702 2,293 676
Lapse of statute of limitations     (164)
Additions based on prior year tax positions 20,025 5,003  
Reductions based on prior tax year positions     (3,104)
Settlement with taxing authorities (3,048)    
End of year $ 31,505 $ 8,826 $ 1,530