XML 67 R58.htm IDEA: XBRL DOCUMENT v3.22.2
Fair value measurements - Fair Value Amounts of Derivative Instruments and their Effect on Statement of Operations (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2022
Jun. 30, 2021
Derivative Instruments, Gain (Loss) [Line Items]        
Recognized in Income on Derivatives (pre-tax) Gain (Loss) $ 1,302 $ (1,010) $ 3,555 $ 47
Commodity contracts | Principal Transaction Revenue | Futures        
Derivative Instruments, Gain (Loss) [Line Items]        
Recognized in Income on Derivatives (pre-tax) Gain (Loss) 1,328 (525) 3,519 495
Other contracts | Principal Transaction Revenue | TBAs        
Derivative Instruments, Gain (Loss) [Line Items]        
Recognized in Income on Derivatives (pre-tax) Gain (Loss) (6) 14 56 51
Other contracts | Principal Transaction Revenue | Purchase commitments        
Derivative Instruments, Gain (Loss) [Line Items]        
Recognized in Income on Derivatives (pre-tax) Gain (Loss)   (490)   (490)
Other contracts | Principal Transaction Revenue | ARS purchase commitments        
Derivative Instruments, Gain (Loss) [Line Items]        
Recognized in Income on Derivatives (pre-tax) Gain (Loss)   (1)   (1)
Other contracts | Other | Foreign exchange forward contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Recognized in Income on Derivatives (pre-tax) Gain (Loss) $ (20) $ (8) $ (20) $ (8)