Quarterly report pursuant to Section 13 or 15(d)

Derivative Instruments and Hedging Transactions - Summary of Net Gains (Losses) on Derivative Instruments (Details)

v3.24.0.1
Derivative Instruments and Hedging Transactions - Summary of Net Gains (Losses) on Derivative Instruments (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2023
Dec. 31, 2022
Derivative [Line Items]        
Gains (losses) on derivative instruments $ (57,289) $ (15,224) $ (67,795) $ (45,380)
Future commodity and forward contracts        
Derivative [Line Items]        
Unrealized losses on open futures commodity and forward contracts and open sale and purchase commitments, net (70,943) (3,004) (73,978) (76,561)
Commodity Contract        
Derivative [Line Items]        
Realized gains (losses) on futures commodity contracts, net $ 13,654 $ (12,220) $ 6,183 $ 31,181
Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] Cost of Goods and Services Sold Cost of Goods and Services Sold Cost of Goods and Services Sold Cost of Goods and Services Sold