Quarterly report pursuant to Section 13 or 15(d)

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

v3.22.4
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, 2022
Dec. 31, 2021
Dec. 31, 2022
Dec. 31, 2021
Derivative [Line Items]        
Gains (losses) on derivative instruments $ (15,224) $ (18,402) $ (45,380) $ (15,293)
Future commodity and forward contracts        
Derivative [Line Items]        
Unrealized (losses) gains on open future commodity and forward contracts and open sale and purchase commitments, net (3,004) (20,033) (76,561) (58,105)
Commodity Contract        
Derivative [Line Items]        
Realized (losses) gains on future commodity contracts, net $ (12,220) $ 1,631 $ 31,181 $ 42,812
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