| Accounts Payable and Other Current Liabilities - Schedule of Accounts Payable and Other Current Liabilities (Details) - USD ($) $ in Thousands | Sep. 30, 2022 | Jun. 30, 2022 | 
|---|---|---|
| Accounts Payable And Other Current Liabilities [Abstract] | ||
| Trade payables to customers | $ 24,575 | $ 2,571 | 
| Other accounts payable | 3,999 | 3,556 | 
| Accounts payable and other payables | 28,574 | 6,127 | 
| Deferred revenue | 22,078 | 17,456 | 
| Advances from customers | 161,105 | 158,089 | 
| Deferred revenue and other advances | $ 183,183 | $ 175,545 | 
| X | ||||||||||
| 
- Definition Accounts payable advance from customers current. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Accounts payable and other current liabilities. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Accounts payable and other current liabilities. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Deferred revenue and other advances current. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Trade payable to customers and consignor payables, Current No definition available. 
 | 
| X | ||||||||||
| 
- Definition Amount of obligations incurred classified as other, payable within one year or the normal operating cycle, if longer. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Amount of deferred income and obligation to transfer product and service to customer for which consideration has been received or is receivable, classified as current. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef 
 |