Quarterly report pursuant to Section 13 or 15(d)

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

v3.23.1
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, 2023
Mar. 31, 2022
Mar. 31, 2023
Mar. 31, 2022
Derivative [Line Items]        
Gains (losses) on derivative instruments $ 49,480 $ 6,954 $ 4,100 $ (8,339)
Future commodity and forward contracts        
Derivative [Line Items]        
Unrealized gains (losses) on open future commodity and forward contracts and open sale and purchase commitments, net 36,654 23,411 (39,907) (34,694)
Commodity Contract        
Derivative [Line Items]        
Realized gains (losses) on future commodity contracts, net $ 12,826 $ (16,457) $ 44,007 $ 26,355
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