EARNINGS PER SHARE - Anti-dilutive Securities (Details) - shares
shares in Thousands
12 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Jun. 30, 2018
Restricted stock units      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Potential shares of common stock (in shares) 6 0 2