XML 77 R46.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Balance Sheet Components - Cash, cash equivalents and restricted cash (Details) - USD ($)
$ in Thousands
Mar. 31, 2019
Jun. 30, 2018
Mar. 31, 2018
Jun. 30, 2017
Balance Sheet Related Disclosures [Abstract]        
Cash and cash equivalents $ 169,735 $ 115,377    
Restricted cash included in prepaid expenses and other current assets 17,234 2,803    
Restricted cash included in other assets 2,301 2,202    
Total cash, cash equivalents and restricted cash $ 189,270 $ 120,382 $ 138,137 $ 112,797