XML 52 R37.htm IDEA: XBRL DOCUMENT v3.21.4
Investment Securities - Additional Information (Details)
$ in Thousands
3 Months Ended 6 Months Ended
Nov. 30, 2021
USD ($)
counterparty
Nov. 30, 2020
USD ($)
Nov. 30, 2021
USD ($)
counterparty
Nov. 30, 2020
USD ($)
May 31, 2021
USD ($)
Debt and Equity Securities, FV-NI [Line Items]          
Unrealized loss $ 6,000 $ 2,000 $ 9,000    
Unrealized gains       $ 1,000  
Proceeds for sale of debt investment securities $ 0 3,000 2,000 6,000  
Realized gains   1,000 $ 1,000 1,000  
Master repurchase agreements, number of counterparties | counterparty 2   2    
Short-term borrowings $ 4,746,935   $ 4,746,935   $ 4,582,096
Debt securities trading, at fair value, pledged as collateral 264,932   264,932   210,894
Unrealized gain 2,000 $ 1,000 2,000 $ 2,000  
Securities sold under agreements to repurchase          
Debt and Equity Securities, FV-NI [Line Items]          
Short-term borrowings $ 249,291   $ 249,291   $ 200,115