XML 68 R55.htm IDEA: XBRL DOCUMENT
v3.20.4

Financial Derivatives - Schedule of Net Income/(Expense) Recognized (Details) - USD ($) $ in Thousands | 3 Months Ended | 12 Months Ended
--- | --- | ---
Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
Interest Income Farmer Mac Guaranteed Securities and USDA Securities |  | $ 333,896 | $ 227,691 |  | $ 290,953
Interest Income Loans |  | 229,675 | 233,699 | $ 229,675 | 198,152
Total interest expense |  | (471,958) | (312,946) | (471,958) | (369,848)
(Losses)/gains on financial derivatives |  | 5,282 | (246) | 5,282 | (3,687)
Total amounts presented in the consolidated statement of operations |  | 96,895 | 148,198 |  | 115,570
Interest expense on interest rate swaps |  |  | 16,053 | $ 20,945 | 11,643
Fair value hedges: |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
Recognized on hedged items | $ 230,330 | 208,311 |  |  | 19,354
(Losses)/gains on fair value hedging relationships | (9,184) | (7,907) |  |  | 4,941
Cash flow hedges: |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
Discount amortization recognized on hedged items |  | (4) | (13) |  | (6)
Interest settlements reclassified from AOCI into net income on derivatives |  | 1,166 | (5,570) |  | 316
Recognized on hedged items |  | (10,569) | (4,553) |  | (9,182)
Expense recognized on cash flow hedges |  | (9,407) | (10,136) |  | (8,872)
Designated as hedge | Fair value hedges: |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
Recognized on hedged items |  | 99,652 | 115,733 |  | 34,685
Discount amortization recognized on hedged items |  | 631 | (745) |  | 668
No hedge designation |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
(Losses)/gains on financial derivatives |  | 5,282 | (246) |  | (3,687)
Interest Income Farmer Mac Guaranteed Securities and USDA Securities | Fair value hedges: |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
Recognized on hedged items |  | 181,144 | 202,624 |  | 21,460
(Losses)/gains on fair value hedging relationships |  | (3,334) | (3,657) |  | 1,181
Interest Income Farmer Mac Guaranteed Securities and USDA Securities | Cash flow hedges: |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
Discount amortization recognized on hedged items |  | 0 | 0 |  | 0
Interest settlements reclassified from AOCI into net income on derivatives |  | 0 | 0 |  | 0
Recognized on hedged items |  | 0 | 0 |  | 0
Expense recognized on cash flow hedges |  | 0 | 0 |  | 0
Interest Income Farmer Mac Guaranteed Securities and USDA Securities | Designated as hedge | Fair value hedges: |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
Recognized on hedged items |  | 118,609 | 126,170 |  | 65,238
Discount amortization recognized on hedged items |  | 0 | 0 |  | 0
Interest Income Farmer Mac Guaranteed Securities and USDA Securities | No hedge designation |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
(Losses)/gains on financial derivatives |  | 0 | 0 |  | 0
Interest Income Loans | Fair value hedges: |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
Recognized on hedged items |  | 43,194 | 73,426 |  | (5,243)
(Losses)/gains on fair value hedging relationships |  | (6,947) | (3,139) |  | (212)
Interest Income Loans | Cash flow hedges: |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
Discount amortization recognized on hedged items |  | 0 | 0 |  | 0
Interest settlements reclassified from AOCI into net income on derivatives |  | 0 | 0 |  | 0
Recognized on hedged items |  | 0 | 0 |  | 0
Expense recognized on cash flow hedges |  | 0 | 0 |  | 0
Interest Income Loans | Designated as hedge | Fair value hedges: |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
Recognized on hedged items |  | 26,352 | 40,793 |  | 6,284
Discount amortization recognized on hedged items |  | 0 | 0 |  | 0
Interest Income Loans | No hedge designation |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
(Losses)/gains on financial derivatives |  | 0 | 0 |  | 0
Total Interest Expense | Fair value hedges: |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
Recognized on hedged items |  | (16,027) | (45,720) |  | 3,137
(Losses)/gains on fair value hedging relationships |  | 2,374 | (2,388) |  | 3,972
Total Interest Expense | Cash flow hedges: |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
Discount amortization recognized on hedged items |  | (4) | (13) |  | (6)
Interest settlements reclassified from AOCI into net income on derivatives |  | 1,166 | (5,570) |  | 316
Recognized on hedged items |  | (10,569) | (4,553) |  | (9,182)
Expense recognized on cash flow hedges |  | (9,407) | (10,136) |  | (8,872)
Total Interest Expense | Designated as hedge | Fair value hedges: |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
Recognized on hedged items |  | (45,309) | (51,230) |  | (36,837)
Discount amortization recognized on hedged items |  | 631 | (745) |  | 668
Total Interest Expense | No hedge designation |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
(Losses)/gains on financial derivatives |  | 0 | 0 |  | 0
Losses on financial derivatives | Fair value hedges: |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
Recognized on hedged items |  | 0 | 0 |  | 0
(Losses)/gains on fair value hedging relationships |  | 0 | 0 |  | 0
Losses on financial derivatives | Cash flow hedges: |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
Discount amortization recognized on hedged items |  | 0 | 0 |  | 0
Interest settlements reclassified from AOCI into net income on derivatives |  | 0 | 0 |  | 0
Recognized on hedged items |  | 0 | 0 |  | 0
Expense recognized on cash flow hedges |  | 0 | 0 |  | 0
Losses on financial derivatives | Designated as hedge | Fair value hedges: |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
Recognized on hedged items |  | 0 | 0 |  | 0
Discount amortization recognized on hedged items |  | 0 | 0 |  | 0
Losses on financial derivatives | No hedge designation |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
(Losses)/gains on financial derivatives |  | 5,282 | (246) |  | (3,687)
Interest Rate Swap | Fair value hedges: |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
Recognized on derivatives |  | (10,457) | (52,805) |  | (6,764)
Income/(expense) related to interest settlements on fair value hedging relationships |  | 88,564 | 62,183 |  | 27,253
Recognized on derivatives | $ (239,514) | (216,218) |  |  | (14,413)
Interest Rate Swap | No hedge designation |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
Total interest expense |  |  |  |  | (10,920)
(Losses)/gains on financial derivatives |  | 10,321 | (4,204) |  | 7,206
Interest expense on interest rate swaps |  | (4,213) | 5,808 |  |
Interest Rate Swap | Interest Income Farmer Mac Guaranteed Securities and USDA Securities | Fair value hedges: |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
Recognized on derivatives |  | (2,177) | (60,056) |  | 1,861
Income/(expense) related to interest settlements on fair value hedging relationships |  | 116,432 | 66,114 |  | 67,099
Recognized on derivatives |  | (184,478) | (206,281) |  | (20,279)
Interest Rate Swap | Interest Income Farmer Mac Guaranteed Securities and USDA Securities | No hedge designation |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
Total interest expense |  |  |  |  | 0
(Losses)/gains on financial derivatives |  | 0 | 0 |  | 0
Interest expense on interest rate swaps |  | 0 | 0 |  |
Interest Rate Swap | Interest Income Loans | Fair value hedges: |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
Recognized on derivatives |  | (2,053) | (19,135) |  | (630)
Income/(expense) related to interest settlements on fair value hedging relationships |  | 24,299 | 21,658 |  | 5,654
Recognized on derivatives |  | (50,141) | (76,565) |  | 5,031
Interest Rate Swap | Interest Income Loans | No hedge designation |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
Total interest expense |  |  |  |  | 0
(Losses)/gains on financial derivatives |  | 0 | 0 |  | 0
Interest expense on interest rate swaps |  | 0 | 0 |  |
Interest Rate Swap | Total Interest Expense | Fair value hedges: |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
Recognized on derivatives |  | (6,227) | 26,386 |  | (7,995)
Income/(expense) related to interest settlements on fair value hedging relationships |  | (52,167) | (25,589) |  | (45,500)
Recognized on derivatives |  | 18,401 | 43,332 |  | 835
Interest Rate Swap | Total Interest Expense | No hedge designation |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
Total interest expense |  |  |  |  | 0
(Losses)/gains on financial derivatives |  | 0 | 0 |  | 0
Interest expense on interest rate swaps |  | 0 | 0 |  |
Interest Rate Swap | Losses on financial derivatives | Fair value hedges: |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
Recognized on derivatives |  | 0 | 0 |  | 0
Income/(expense) related to interest settlements on fair value hedging relationships |  | 0 | 0 |  | 0
Recognized on derivatives |  | 0 | 0 |  | 0
Interest Rate Swap | Losses on financial derivatives | No hedge designation |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
Total interest expense |  |  |  |  | (10,920)
(Losses)/gains on financial derivatives |  | 10,321 | (4,204) |  | 7,206
Interest expense on interest rate swaps |  | (4,213) | 5,808 |  |
Treasury futures | No hedge designation |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
(Losses)/gains on financial derivatives |  | (826) | (1,850) |  | 27
Treasury futures | Interest Income Farmer Mac Guaranteed Securities and USDA Securities | No hedge designation |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
(Losses)/gains on financial derivatives |  | 0 | 0 |  | 0
Treasury futures | Interest Income Loans | No hedge designation |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
(Losses)/gains on financial derivatives |  | 0 | 0 |  | 0
Treasury futures | Total Interest Expense | No hedge designation |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
(Losses)/gains on financial derivatives |  | 0 | 0 |  | 0
Treasury futures | Losses on financial derivatives | No hedge designation |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
(Losses)/gains on financial derivatives |  | $ (826) | $ (1,850) |  | $ 27

X
- Definition Derivative Net Hedge Ineffectiveness Gain Loss Component Recognized On Hedged Item + References No definition available. + Details
Name: | agm_DerivativeNetHedgeIneffectivenessGainLossComponentRecognizedOnHedgedItem
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Derivative Net Interest Settlements (Interest Accruals) + References No definition available. + Details
Name: | agm_DerivativeNetInterestSettlements
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Hedged Item Net Interest Settlements (Interest Accruals) + References No definition available. + Details
Name: | agm_HedgedItemNetInterestSettlements
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Income_Expense related to interest settlements on fair value hedges + References No definition available. + Details
Name: | agm_Income_Expenserelatedtointerestsettlementsonfairvaluehedges
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Premium (Discount), Recognized on Hedged Instrument + References No definition available. + Details
Name: | agm_PremiumDiscountRecognizedOnHedgedInstrument
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Total Amounts of Line Items Presented in the Consolidated Statement of Income + References No definition available. + Details
Name: | agm_TotalAmountsOfLineItemsPresentedInTheConsolidatedStatementOfIncome
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of gain (loss) from the increase (decrease) in fair value of derivative and nonderivative instruments designated as fair value hedging instruments recognized in the income statement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 25 -Section 50 -Paragraph 1 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=121577467&loc=d3e76258-113986 + Details
Name: | us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of the increase (decrease) in fair value of the hedged item in a fair value hedge recognized in the income statement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 25 -Section 50 -Paragraph 1 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=121577467&loc=d3e76258-113986 + Details
Name: | us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_DerivativeInstrumentsGainLossLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Aggregate net gain (loss) on all derivative instruments recognized in earnings during the period, before tax effects. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4A -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121590274&loc=SL5618551-113959 + Details
Name: | us-gaap_GainLossOnDerivativeInstrumentsNetPretax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Total amount of gain (loss) derived from fair value hedges recognized in earnings in the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121590274&loc=SL5624171-113959 + Details
Name: | us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The aggregate interest and fee income generated by: (1) loans the Entity has positive intent and ability to hold for the foreseeable future, or until maturity or payoff, including commercial and consumer loans, whether domestic or foreign, which may consist of: (a) industrial and agricultural; (b) real estate; and (c) real estate construction loans; (d) trade financing; (e) lease financing; (f) home equity lines-of-credit; (g) automobile and other vehicle loans; and (h) credit card and other revolving-type loans and (2) loans and leases held-for-sale which may include mortgage loans, direct financing, and sales-type leases. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04.1) -URI http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260 + Details
Name: | us-gaap_InterestAndFeeIncomeLoansAndLeases
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of the cost of borrowed funds accounted for as interest expense. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=119993939&loc=d3e28555-108399 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=120311839&loc=d3e8736-108599 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (210.5-03(11)) -URI http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04.9) -URI http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260 + Details
Name: | us-gaap_InterestExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of operating interest income, including, but not limited to, amortization and accretion of premiums and discounts on securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.1(e)) -URI http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227 + Details
Name: | us-gaap_InterestIncomeOperating
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The total amount of noninterest income which may be derived from: (1) fees and commissions; (2) premiums earned; (3) insurance policy charges; (4) the sale or disposal of assets; and (5) other sources not otherwise specified. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04.13) -URI http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260 + Details
Name: | us-gaap_NoninterestIncome
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount, after tax, of reclassification of gain (loss) from accumulated other comprehensive income (AOCI) for derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=121641772&loc=d3e689-108580 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=121641772&loc=d3e637-108580 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount before tax of reclassification adjustments of other comprehensive income (loss). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 30 -Section 45 -Paragraph 17 -URI http://asc.fasb.org/extlink&oid=118261656&loc=d3e32136-110900 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 14A -URI http://asc.fasb.org/extlink&oid=121641772&loc=SL7669686-108580 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 30 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 17B -URI http://asc.fasb.org/extlink&oid=121641772&loc=SL34724394-108580 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 30 -Section 45 -Paragraph 20 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900 + Details
Name: | us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis=us-gaap_FairValueHedgingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis=us-gaap_CashFlowHedgingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_HedgingDesignationAxis=us-gaap_DesignatedAsHedgingInstrumentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_HedgingDesignationAxis=us-gaap_NondesignatedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_InterestIncomeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_LoansAndFinanceReceivablesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_InterestExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_GainLossOnDerivativeInstrumentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_FutureMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |