XML 129 R113.htm IDEA: XBRL DOCUMENT v3.22.2
INCOME TAXES - Changes in the Balance of Gross Unrecognized Tax Benefits (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward]    
Unrecognized tax benefits as of beginning of the period $ 36,749 $ 195,081
Increases on account of current year positions 206 1,279
Increases on account of prior year positions 27,398 773
Decreases on account of prior year positions (694)  
Decreases due to settlements with tax authorities (3,830) (158,070)
Decreases due to lapses of statutes of limitations (5,703) (2,314)
Unrecognized tax benefits as of end of the period $ 54,126 $ 36,749