XML 66 R57.htm IDEA: XBRL DOCUMENT v3.22.2
Fair value measurements - Notional Amounts and Fair Values of Derivatives by Product (Details) - Not Designated as Hedging Instrument - USD ($)
$ in Thousands
Jun. 30, 2022
Dec. 31, 2021
Derivatives, Fair Value [Line Items]    
Derivatives asset, Notional $ 127,192 $ 14,300
Derivatives asset, Fair Value 0 92
Derivative liability, notional 1,179,442 3,534,300
Derivative liability, Fair Value 374 368
TBAs | Other contracts    
Derivatives, Fair Value [Line Items]    
Derivatives asset, Notional 3,842 14,300
Derivatives asset, Fair Value 0 92
Derivative liability, notional 3,842 14,300
Derivative liability, Fair Value 3 81
Purchase commitments | Other contracts    
Derivatives, Fair Value [Line Items]    
Derivatives asset, Notional 123,350  
Derivatives asset, Fair Value 0  
Futures | Commodity contracts    
Derivatives, Fair Value [Line Items]    
Derivative liability, notional 1,175,600 3,520,000
Derivative liability, Fair Value $ 371 $ 287