Annual report pursuant to Section 13 and 15(d)

Summary of Significant Accounting Policies - Additional Information (Details)

v3.23.2
Summary of Significant Accounting Policies - Additional Information (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Jun. 30, 2021
Jun. 27, 2022
Summary Of Significant Accounting Policies [Line Items]        
Notice period to terminate contract 14 days      
Precious metals held under financing arrangements [1] $ 25,530 $ 79,766    
Metals purchase by customer maximum specified time period 1 year      
Metal delivers to customer after receiving customers deposit based on prevailing current spot price percentage 110.00%      
Unpriced metal is subject to margin call If deposit falls below percentage of value of unpriced metal 105.00%      
Percentage to remit partial payment of total order price 20.00%      
Amortization of debt issuance costs $ 2,113 2,651 $ 2,162  
Advertising costs 15,877 12,178 5,028  
Cost of sales $ 8,991,892 $ 7,897,489 $ 7,402,817  
Common stock, shares outstanding 23,336,387 23,379,888 22,459,314  
Antidilutive shares were excluded from the calculation 29,000 43,000 337,000  
ASU 2016-13        
Summary Of Significant Accounting Policies [Line Items]        
Change in accounting principle, accounting standards update, adopted [true false] true      
Change in accounting principle, accounting standards update, adoption date Jul. 01, 2022      
Change in accounting principle, accounting standards update, immaterial effect [true false] true      
Accounting standards update description ASU 2016-13      
Silver Gold Bull, Inc.        
Summary Of Significant Accounting Policies [Line Items]        
Business acquisition, percentage of interests acquired 40.00%     40.00%
Business acquisition, option to purchase additional percentage of the outstanding equity 27.60% 27.60%   27.60%
Fair value of option $ 5,300 $ 5,300    
Exercise of option to acquire additional ownership interest start month and year 2023-12      
Exercise of option to acquire additional ownership interest end month and year 2024-09      
Shipping and Handling        
Summary Of Significant Accounting Policies [Line Items]        
Cost of sales $ 28,400 $ 25,600 $ 17,000  
Minimum        
Summary Of Significant Accounting Policies [Line Items]        
Estimated useful lives of related assets 3 years      
Estimated useful lives of intangibles 1 year      
Threshold percentage for equity method investment 20.00%      
Maximum        
Summary Of Significant Accounting Policies [Line Items]        
Estimated useful lives of related assets 25 years      
Estimated useful lives of intangibles 15 years      
Threshold percentage for equity method investment 50.00%      
Customer locks period for purchase price 2 years      
Maximum | Silver Gold Bull, Inc.        
Summary Of Significant Accounting Policies [Line Items]        
Business acquisition, percentage of interests acquired       75.00%
[1] Includes amounts of the consolidated variable interest entity, which are presented separately in the table below.