XML 54 R43.htm IDEA: XBRL DOCUMENT
v3.21.1

Financial Derivatives - Schedule of Derivative Instruments in Statement of Financial Position (Details) - USD ($) $ / shares in Units, $ in Thousands | 3 Months Ended | 12 Months Ended
--- | --- | ---
Mar. 31, 2021 | Dec. 31, 2020
Notional Disclosures [Abstract] |  |
Notional Amount | $ 15,711,679 | $ 15,447,553
Asset |  |
Asset | 18,370 | 17,468
Collateral (held)/pledged | (4,917) | (1,345)
Net amount | 13,453 | 16,123
(Liability) |  |
(Liability) | (28,345) | (29,892)
Collateral (held)/pledged | 198,159 |
Financial derivatives | 169,814 | 182,371
Designated as hedge | Fair value hedges: | Pay fixed non-callable |  |
Notional Disclosures [Abstract] |  |
Notional Amount | 5,457,191 | 5,463,303
Asset |  |
Asset | 7,832 | 10,157
(Liability) |  |
(Liability) | $ (1,517) | $ (2,585)
Weighted- Average Pay Rate | 2.25% | 2.26%
Weighted- Average Receive Rate | 0.19% | 0.21%
Weighted- Average Remaining Term (in years) | 11 years 11 months 26 days | 11 years 11 months 12 days
Designated as hedge | Fair value hedges: | Receive fixed non-callable |  |
Notional Disclosures [Abstract] |  |
Notional Amount | $ 3,587,529 | $ 2,611,029
Asset |  |
Asset | 76 | 2
(Liability) |  |
(Liability) | $ (11,143) | $ (8,755)
Weighted- Average Pay Rate | 0.25% | 0.32%
Weighted- Average Receive Rate | 1.21% | 1.61%
Weighted- Average Remaining Term (in years) | 2 years 3 months 3 days | 2 years 1 month 6 days
Designated as hedge | Fair value hedges: | Receive fixed callable |  |
Notional Disclosures [Abstract] |  |
Notional Amount | $ 601,577 | $ 343,500
Asset |  |
Asset | 2,055 | 3,108
(Liability) |  |
(Liability) | $ (4,712) | $ (4)
Weighted- Average Pay Rate | 0.07% | 0.16%
Weighted- Average Receive Rate | 0.86% | 1.78%
Weighted- Average Remaining Term (in years) | 4 years 4 months 6 days | 3 years 1 month 28 days
Designated as hedge | Cash flow hedges: | Pay fixed non-callable |  |
Notional Disclosures [Abstract] |  |
Notional Amount | $ 472,000 | $ 472,000
Asset |  |
Asset | 7,483 | 2,584
(Liability) |  |
(Liability) | $ (4,022) | $ (8,771)
Weighted- Average Pay Rate | 2.04% | 2.04%
Weighted- Average Receive Rate | 0.54% | 0.57%
Weighted- Average Remaining Term (in years) | 5 years 9 months 18 days | 6 years 14 days
No hedge designation |  |
Asset |  |
Credit valuation adjustment | $ (74) | $ (1)
(Liability) |  |
Credit valuation adjustment | 21 | 35
No hedge designation | Pay fixed non-callable |  |
Notional Disclosures [Abstract] |  |
Notional Amount | 338,951 | 339,090
Asset |  |
Asset | 0 | 0
(Liability) |  |
(Liability) | $ (6,829) | $ (9,675)
Weighted- Average Pay Rate | 2.38% | 2.38%
Weighted- Average Receive Rate | 0.18% | 0.19%
Weighted- Average Remaining Term (in years) | 3 years 11 months 23 days | 4 years 2 months 23 days
No hedge designation | Receive fixed non-callable |  |
Notional Disclosures [Abstract] |  |
Notional Amount | $ 2,258,220 | $ 2,359,220
Asset |  |
Asset | 0 | 0
(Liability) |  |
(Liability) | $ 0 | $ 0
Weighted- Average Pay Rate | 0.14% | 0.16%
Weighted- Average Receive Rate | 0.70% | 0.87%
Weighted- Average Remaining Term (in years) | 10 months 24 days | 1 year 25 days
No hedge designation | Receive fixed callable |  |
Notional Disclosures [Abstract] |  |
Notional Amount | $ 100,000 | $ 200,000
Asset |  |
Asset | 0 | 1
(Liability) |  |
(Liability) | $ 0 | $ (12)
Weighted- Average Pay Rate | 0.15% | 0.13%
Weighted- Average Receive Rate | 0.15% | 0.15%
Weighted- Average Remaining Term (in years) | 6 months | 8 months 19 days
No hedge designation | Basis swaps |  |
Notional Disclosures [Abstract] |  |
Notional Amount | $ 2,883,911 | $ 3,628,911
Asset |  |
Asset | 978 | 1,617
(Liability) |  |
(Liability) | $ (143) | $ (43)
Weighted- Average Pay Rate | 0.15% | 0.18%
Weighted- Average Receive Rate | 0.19% | 0.23%
Weighted- Average Remaining Term (in years) | 2 years 3 months 29 days | 2 years 10 days
No hedge designation | Treasury futures |  |
Notional Disclosures [Abstract] |  |
Notional Amount | $ 12,300 | $ 30,500
Asset |  |
Asset | 20 | 0
(Liability) |  |
(Liability) | $ 0 | $ (82)
Weighted- Average Forward Price (in dollars per share) | $ 131.10 | $ 137.81

X
- Definition Derivative, Weighted-Average Forward Price + References No definition available. + Details
Name: | agm_DerivativeWeightedAverageForwardPrice
Namespace Prefix: | agm_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value of securities received as collateral against derivative assets. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=99393222&loc=SL20226013-175313 + Details
Name: | us-gaap_DerivativeAssetFairValueOfCollateral
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Nominal or face amount used to calculate payments on the derivative asset. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=121590274&loc=SL5579245-113959 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1B -URI http://asc.fasb.org/extlink&oid=121590274&loc=SL5580258-113959 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121590274&loc=SL5579245-113959 + Details
Name: | us-gaap_DerivativeAssetNotionalAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition Fair value, after the effects of master netting arrangements, of a financial asset or other 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 assets not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=121572278&loc=d3e13433-108611 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 + Details
Name: | us-gaap_DerivativeAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_DerivativeAssetsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Average fixed interest rate related to the group of interest rate derivatives. + References No definition available. + Details
Name: | us-gaap_DerivativeAverageFixedInterestRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Average remaining period until maturity of the derivative contract, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_DerivativeAverageRemainingMaturity1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Average variable interest rate related to the group of interest rate derivatives. + References No definition available. + Details
Name: | us-gaap_DerivativeAverageVariableInterestRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of credit risk valuation adjustment to derivative assets to properly reflect the credit quality of the counterparties. + References No definition available. + Details
Name: | us-gaap_DerivativeCreditRiskValuationAdjustmentDerivativeAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of credit risk valuation adjustment to derivative liabilities to properly reflect the credit quality of the entity. + References No definition available. + Details
Name: | us-gaap_DerivativeCreditRiskValuationAdjustmentDerivativeLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value, before effects of master netting arrangements, of a financial asset or other 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 assets elected not to be offset. Excludes assets 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 210 -SubTopic 20 -Section 55 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=99393222&loc=SL20226000-175313 Reference 2: 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 3: http://fasb.org/us-gaap/role/ref/legacyRef -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 815 -SubTopic 10 -Section 50 -Paragraph 4B -Subparagraph (a),(c) -URI http://asc.fasb.org/extlink&oid=121590274&loc=SL5624163-113959 + Details
Name: | us-gaap_DerivativeFairValueOfDerivativeAsset
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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=121590274&loc=SL5624163-113959 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -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 + Details
Name: | us-gaap_DerivativeFairValueOfDerivativeLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fair value, after the 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 not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=121572278&loc=d3e13433-108611 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313 + Details
Name: | us-gaap_DerivativeLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_DerivativeLiabilitiesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value of securities pledged as collateral against derivative liabilities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=99393222&loc=SL20226013-175313 + Details
Name: | us-gaap_DerivativeLiabilityFairValueOfCollateral
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_NotionalAmountOfDerivativesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

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

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

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

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=agm_InterestRateSwapReceiveFixedCallableMember
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_NondesignatedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_BasisSwapMember
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: |