SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Recent Accounting Pronouncements (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2020
Jul. 01, 2019
Jun. 30, 2019
Lessee, Lease, Description [Line Items]      
Accounting Standards Update [Extensible List] us-gaap:AccountingStandardsUpdate201602Member    
Operating lease right-of-use assets, net $ 24,444   $ 0
Operating lease liability $ 25,589    
Cumulative Effect, Period of Adoption, Adjustment      
Lessee, Lease, Description [Line Items]      
Operating lease right-of-use assets, net   $ 23,300  
Operating lease liability   24,000  
Deferred rent   $ 700