XML 60 R47.htm IDEA: XBRL DOCUMENT
v3.21.2

Financial Derivatives - Schedule of Credit Exposure to Interest Rate Swap Counterparties (Details) - USD ($) $ in Thousands | Jun. 30, 2021 | Dec. 31, 2020
--- | --- | ---
Derivative [Line Items] |  |
Liabilities derivatives interest rate swaps | $ 24,347 | $ 29,892
Gross Amount Recognized | Interest Rate Swap |  |
Derivative [Line Items] |  |
Assets derivatives interest rate swaps | 112,398 | 112,287
Liabilities derivatives interest rate swaps | 442,121 | 620,236
Counterparty Netting | Interest Rate Swap |  |
Derivative [Line Items] |  |
Assets derivatives interest rate swaps | 110,893 | 111,761
Liabilities derivatives interest rate swaps | 419,842 | 595,867
Net Amount Presented in the Consolidated Balance Sheet | Interest Rate Swap |  |
Derivative [Line Items] |  |
Assets derivatives interest rate swaps | 1,505 | 526
Liabilities derivatives interest rate swaps | $ 22,279 | $ 24,369

X
- Definition Credit Exposure To Interest Rate Swap Counterparties + References No definition available. + Details
Name: | agm_CreditExposureToInterestRateSwapCounterparties
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fair value, before effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities elected not to be offset. Excludes liabilities not subject to a master netting arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 20 -Section 50 -Paragraph 4D -Subparagraph (c)(2) -URI http://asc.fasb.org/extlink&oid=121570589&loc=SL51823488-111719 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4B -Subparagraph (a),(c) -URI http://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=99393222&loc=SL20226000-175313 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 22 -URI http://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313 + Details
Name: | us-gaap_DerivativeFairValueOfDerivativeLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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_DerivativeLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=agm_ExcludingNettingMember
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_TypeOfArrangementAxis=agm_CounterpartyNettingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=agm_NettingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |