Quarterly report pursuant to Section 13 or 15(d)

Customer and Supplier Concentrations - Schedule of Concentration of Risk, by Risk Factor of Accounts Receivable (Details)

v3.22.4
Customer and Supplier Concentrations - Schedule of Concentration of Risk, by Risk Factor of Accounts Receivable (Details) - USD ($)
$ in Thousands
6 Months Ended 12 Months Ended
Dec. 31, 2022
Jun. 30, 2022
Concentration Risk [Line Items]    
Secured loans receivable [1] $ 102,470 $ 126,217
Accounts Receivable | Customer Concentrations    
Concentration Risk [Line Items]    
Accounts receivable, net $ 109,588 $ 97,040
Concentration risk, percentage 100.00% 100.00%
Secured Loans | Customer Concentrations    
Concentration Risk [Line Items]    
Secured loans receivable $ 102,470 $ 126,217
Concentration risk, percentage 100.00% 100.00%
HSBC Bank | Accounts Receivable | Customer Concentrations    
Concentration Risk [Line Items]    
Accounts receivable, net $ 33,503 $ 0
Concentration risk, percentage 30.50% 0.00%
ICBC Standard Bank | Accounts Receivable | Customer Concentrations    
Concentration Risk [Line Items]    
Accounts receivable, net $ 14,330 $ 0
Concentration risk, percentage 13.10% 0.00%
Significant Major Customers | Accounts Receivable | Customer Concentrations    
Concentration Risk [Line Items]    
Accounts receivable, net $ 47,833 $ 0
Concentration risk, percentage 43.60% 0.00%
Significant Major Customers | Secured Loans | Customer Concentrations    
Concentration Risk [Line Items]    
Secured loans receivable $ 29,150 $ 13,500
Concentration risk, percentage 28.40% 10.70%
Customer A | Secured Loans | Customer Concentrations    
Concentration Risk [Line Items]    
Secured loans receivable $ 15,650 $ 0
Concentration risk, percentage 15.20% 0.00%
Customer B | Secured Loans | Customer Concentrations    
Concentration Risk [Line Items]    
Secured loans receivable $ 13,500 $ 13,500
Concentration risk, percentage 13.20% 10.70%
[1] Includes amounts of the consolidated variable interest entity, which are presented separately in the table below.