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.1.u1
Derivative Instruments and Hedging Transactions - Summary of Net Gains (Losses) on Derivative Instruments (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Mar. 31, 2024
Mar. 31, 2023
Mar. 31, 2024
Mar. 31, 2023
Derivative [Line Items]        
Gains (losses) on derivative instruments $ (18,680) $ 49,480 $ (86,475) $ 4,100
Future commodity and forward contracts        
Derivative [Line Items]        
Unrealized (losses) gains on open futures commodity and forward contracts and open sale and purchase commitments, net (17,349) 36,654 (91,327) (39,907)
Commodity Contract        
Derivative [Line Items]        
Realized gains on futures commodity contracts, net $ (1,331) $ 12,826 $ 4,852 $ 44,007
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