XML 52 R41.htm IDEA: XBRL DOCUMENT v3.19.1
Balance Sheet Components - Other long term assets (Details) - USD ($)
$ in Thousands
Mar. 31, 2019
Jun. 30, 2018
Balance Sheet Related Disclosures [Abstract]    
Prepayments for property and equipment $ 6,040 $ 17,599
Investment in a privately held company 700 700
Lease financing costs, noncurrent 1,987 1,922
VAT long-term receivable 0 3,396
Custom deposit, noncurrent 1,220 1,589
Other long-term deposits 909 2,252
Office lease deposit, noncurrent 991 853
Other 412 387
Other long-term assets $ 12,259 $ 28,698