Quarterly report [Sections 13 or 15(d)]

Summary of Significant Accounting Policies - Additional Information (Details)

v3.25.1
Summary of Significant Accounting Policies - Additional Information (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Mar. 31, 2025
Mar. 31, 2024
Mar. 31, 2025
Mar. 31, 2024
Jun. 30, 2024
Summary Of Significant Accounting Policies [Line Items]          
Notice period to terminate contract     14 days    
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 $ 1,200 $ 600 $ 2,846 $ 1,828  
Advertising costs 5,060 3,533 14,452 11,301  
Cost of sales $ 2,968,108 $ 2,575,813 $ 8,337,339 $ 7,043,800  
Common stock, shares outstanding 24,624,736 22,881,480 24,624,736 22,881,480 22,953,391
Antidilutive shares were excluded from the calculation 794,607 30,220 14,672 27,101  
ASU 2016-13          
Summary Of Significant Accounting Policies [Line Items]          
Change in accounting principle, accounting standards update, adoption date Jul. 01, 2022   Jul. 01, 2022    
Shipping and Handling          
Summary Of Significant Accounting Policies [Line Items]          
Cost of sales $ 5,800 $ 5,500 $ 18,400 $ 16,200  
Minimum          
Summary Of Significant Accounting Policies [Line Items]          
Estimated useful lives of related assets 3 years   3 years    
Estimated useful lives of intangibles 1 year   1 year    
Threshold percentage for equity method investment 20.00%   20.00%    
Maximum          
Summary Of Significant Accounting Policies [Line Items]          
Estimated useful lives of related assets 25 years   25 years    
Estimated useful lives of intangibles 15 years   15 years    
Threshold percentage for equity method investment 50.00%   50.00%    
Customer locks period for purchase price     2 years