Quarterly report pursuant to Section 13 or 15(d)

Summary of Significant Accounting Policies - Additional Information (Details)

v3.22.1
Summary of Significant Accounting Policies - Additional Information (Details) - USD ($)
3 Months Ended 9 Months Ended
Mar. 31, 2022
Mar. 31, 2021
Mar. 31, 2022
Mar. 31, 2021
Jun. 30, 2021
Summary Of Significant Accounting Policies [Line Items]          
Notice period to terminate contract     14 days    
Precious metals held under financing arrangements [1] $ 87,450,000   $ 87,450,000   $ 154,742,000
Digital assets carrying amount 200,000   200,000   0.0
Digital assets, net of cumulative write-downs 100,000   100,000   $ 0.0
Fair market value of digital assets held 300,000   300,000    
Digital asset, write-downs 100,000   100,000    
Realized gains related to sale of digital assets 0 $ 0 $ 0 $ 0  
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 500,000 700,000 $ 2,089,000 1,661,000  
Advertising costs 3,319,000 958,000 9,080,000 2,280,000  
Cost of sales $ 2,037,032,000 $ 1,981,318,000 $ 5,875,435,000 $ 5,311,282,000  
Common stock, shares outstanding 11,514,010 11,136,233 11,514,010 11,136,233 11,229,657
Change in accounting principle, accounting standards update, adopted [true false] true   true    
Change in accounting principle, accounting standards update, adoption date Sep. 30, 2021   Sep. 30, 2021    
Change in accounting principle, accounting standards update, immaterial effect [true false] true   true    
Accounting standards update description     ASU 2019-12    
Shipping and Handling          
Summary Of Significant Accounting Policies [Line Items]          
Cost of sales $ 6,800,000 $ 5,300,000 $ 18,900,000 $ 10,300,000  
Minimum          
Summary Of Significant Accounting Policies [Line Items]          
Estimated useful lives of related assets     3 years    
Estimated useful lives of intangibles     1 year    
Percentage of investments in privately-held entities accounted under equity method 20.00%   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    
Percentage of investments in privately-held entities accounted under equity method 50.00%   50.00%    
Customer locks period for purchase price     2 years    
[1] Includes amounts of the consolidated variable interest entity, which is presented separately in the table below.