XML 57 R47.htm IDEA: XBRL DOCUMENT
v3.22.1

Financial Derivatives - Schedule of Credit Exposure to Interest Rate Swap Counterparties (Details) - USD ($) $ in Thousands | Mar. 31, 2022 | Dec. 31, 2021
--- | --- | ---
Derivative [Line Items] |  |
Liabilities derivatives interest rate swaps | $ 105,574 | $ 34,248
Gross Amount Recognized | Interest Rate Swap |  |
Derivative [Line Items] |  |
Assets derivatives interest rate swaps | 258,067 | 91,130
Liabilities derivatives interest rate swaps | 399,497 | 404,063
Counterparty Netting | Interest Rate Swap |  |
Derivative [Line Items] |  |
Assets derivatives interest rate swaps | 232,963 | 91,130
Liabilities derivatives interest rate swaps | 381,928 | 386,249
Net Amount Presented in the Consolidated Balance Sheet | Interest Rate Swap |  |
Derivative [Line Items] |  |
Assets derivatives interest rate swaps | 25,104 | 0
Liabilities derivatives interest rate swaps | $ 17,569 | $ 17,814

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: |