XML 59 R44.htm IDEA: XBRL DOCUMENT v3.21.2
PREPAID EXPENSES AND OTHER ASSETS (Tables)
12 Months Ended
Jun. 30, 2021
Other Assets [Abstract]  
Components of Prepaid Expenses and Other Assets
Prepaid expenses and other current assets:
As of June 30, 2021As of June 30, 2020
Deposits and restricted cash$3,027 $7,464 
Capitalized costs to obtain a contract22,601 18,134 
Short-term prepaid expenses and other current assets72,923 110,838 
Total$98,551 $136,436 
Other assets:
As of June 30, 2021As of June 30, 2020
Deposits and restricted cash$11,577 $11,612 
Capitalized costs to obtain a contract50,299 43,029 
Investments121,777 76,002 
Long-term prepaid expenses and other long-term assets25,241 23,824 
Total$208,894 $154,467