XML 52 R41.htm IDEA: XBRL DOCUMENT v3.10.0.1
Balance Sheet Components - Other long term assets (Details) - USD ($)
$ in Thousands
Sep. 30, 2018
Jun. 30, 2018
Balance Sheet Related Disclosures [Abstract]    
Prepayments for property and equipment $ 5,844 $ 17,599
Investment in a privately held company 700 700
Lease financing costs, noncurrent 1,630 1,922
VAT long-term receivable 478 3,396
Custom deposit, noncurrent 1,766 1,589
Other long-term deposits 1,983 2,252
Office lease deposit, noncurrent 981 853
Other 315 387
Other long-term assets $ 13,697 $ 28,698