Annual report pursuant to Section 13 and 15(d)

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

v3.22.2.2
Derivative Instruments and Hedging Transactions - Summary of Net Gains (Losses) on Derivative Instruments (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Derivative [Line Items]    
Gains (losses) on derivative instruments: $ 47,825 $ (125,622)
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 (18,799) 8,874
Commodity Contract    
Derivative [Line Items]    
Realized gains (losses) on future commodity contracts, net $ 66,624 $ (134,496)
Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] Cost of Goods and Services Sold Cost of Goods and Services Sold