BALANCE SHEET COMPONENTS - Other Long-term Assets (Details) - USD ($) $ in Thousands |
3 Months Ended |
6 Months Ended |
12 Months Ended |
Mar. 31, 2020 |
Dec. 31, 2019 |
Dec. 31, 2019 |
Jun. 30, 2020 |
Jun. 30, 2019 |
Jun. 30, 2018 |
| Other Long-term Assets [Abstract] |
|
|
|
|
|
|
| Deposit on aircraft |
|
|
|
$ 0
|
$ 42,000
|
|
| Hong Kong tax deposit |
|
|
|
35,495
|
19,960
|
|
| Intangible assets, net |
|
|
|
3,063
|
3,257
|
|
| Other long-term assets |
|
|
|
4,665
|
8,724
|
|
| Other assets, noncurrent |
|
|
|
43,223
|
73,941
|
|
| Accumulated amortization, intangible assets |
|
|
|
1,800
|
1,600
|
|
| Income Tax Examination [Line Items] |
|
|
|
|
|
|
| Tax deposit |
|
|
|
35,495
|
19,960
|
|
| Accumulated amortization, intangible assets |
|
|
|
1,800
|
1,600
|
|
| Strategic cost method investment |
|
|
|
|
5,000
|
|
| Impairment of cost method investment |
|
$ 5,000
|
|
|
|
|
| Corporate aircraft |
|
|
|
|
|
|
| Income Tax Examination [Line Items] |
|
|
|
|
|
|
| Deposit on long term asset |
$ 57,000
|
|
$ 42,000
|
15,000
|
|
|
| Hong Kong Inland Revenue Department |
|
|
|
|
|
|
| Income Tax Examination [Line Items] |
|
|
|
|
|
|
| Payment For tax deposit |
|
|
|
35,500
|
|
|
| Hong Kong Inland Revenue Department | Tax Year 2010-2014 |
|
|
|
|
|
|
| Other Long-term Assets [Abstract] |
|
|
|
|
|
|
| Hong Kong tax deposit |
|
|
|
35,500
|
|
|
| Income Tax Examination [Line Items] |
|
|
|
|
|
|
| Tax deposit |
|
|
|
35,500
|
|
|
| Hong Kong Inland Revenue Department | Tax Year 2010-2013 |
|
|
|
|
|
|
| Income Tax Examination [Line Items] |
|
|
|
|
|
|
| Payment For tax deposit |
|
|
|
$ 15,500
|
$ 13,400
|
$ 6,600
|