XML 46 R36.htm IDEA: XBRL DOCUMENT
v3.23.3

Investment Securities - Schedule of Investment Securities (Details) - USD ($) $ in Thousands | Sep. 30, 2023 | Dec. 31, 2022
--- | --- | ---
Investment securities: |  |
Available-for-sale: |  |
Amount Outstanding | $ 5,177,029 | $ 4,806,727
Unamortized Premium/(Discount) | 0 | 0
Amortized cost | 5,114,476 | 4,769,426
Allowance for losses | (27) | (33)
Unrealized Gains | 2,088 | 4,703
Unrealized Losses | (243,123) | (194,532)
Fair Value | 4,873,414 | 4,579,564
Held-to-maturity: |  |
Amount Outstanding | 45,032 | 45,032
Unamortized Premium/(Discount) | 0 | 0
Amortized Cost | 45,032 | 45,032
Allowance for losses | 0 | 0
Unrealized Gains | 930 | 2,433
Unrealized Losses | 0 | 0
Fair Value | 45,962 | 47,465
Available-for-sale, accrued interest excluded | 17,400 | 10,600
Available-for-Sale Securities | Investment securities: |  |
Available-for-sale: |  |
Unamortized Premium/(Discount) | (62,553) | (37,301)
Held-to-maturity: |  |
Unamortized Premium/(Discount) | (62,553) | (37,301)
Floating Interest Rate | Floating rate auction-rate certificates backed by Government guaranteed student loans |  |
Available-for-sale: |  |
Amount Outstanding | 19,700 | 19,700
Amortized cost | 19,700 | 19,700
Allowance for losses | (27) | (33)
Unrealized Gains | 0 | 0
Unrealized Losses | (640) | (640)
Fair Value | 19,033 | 19,027
Floating Interest Rate | Guaranteed mortgage-backed securities |  |
Available-for-sale: |  |
Amount Outstanding | 2,499,578 | 2,433,696
Amortized cost | 2,498,408 | 2,433,496
Allowance for losses | 0 | 0
Unrealized Gains | 2,054 | 1,954
Unrealized Losses | (34,917) | (42,910)
Fair Value | 2,465,545 | 2,392,540
Floating Interest Rate | Fixed rate U.S. Treasuries |  |
Available-for-sale: |  |
Amount Outstanding | 50,000 |
Amortized cost | 49,977 |
Allowance for losses | 0 |
Unrealized Gains | 34 |
Unrealized Losses | 0 |
Fair Value | 50,011 |
Floating Interest Rate | Available-for-Sale Securities | Floating rate auction-rate certificates backed by Government guaranteed student loans |  |
Available-for-sale: |  |
Unamortized Premium/(Discount) | 0 | 0
Held-to-maturity: |  |
Unamortized Premium/(Discount) | 0 | 0
Floating Interest Rate | Available-for-Sale Securities | Guaranteed mortgage-backed securities |  |
Available-for-sale: |  |
Unamortized Premium/(Discount) | (1,170) | (200)
Held-to-maturity: |  |
Unamortized Premium/(Discount) | (1,170) | (200)
Floating Interest Rate | Available-for-Sale Securities | Fixed rate U.S. Treasuries |  |
Available-for-sale: |  |
Unamortized Premium/(Discount) | (23) |
Held-to-maturity: |  |
Unamortized Premium/(Discount) | (23) |
Fixed Interest Rate | Guaranteed mortgage-backed securities |  |
Available-for-sale: |  |
Amount Outstanding | 1,629,166 | 1,207,416
Amortized cost | 1,584,048 | 1,177,095
Allowance for losses | 0 | 0
Unrealized Gains | 0 | 2,128
Unrealized Losses | (197,670) | (130,837)
Fair Value | 1,386,378 | 1,048,386
Held-to-maturity: |  |
Amount Outstanding | 45,032 | 45,032
Amortized Cost | 45,032 | 45,032
Allowance for losses | 0 | 0
Unrealized Gains | 930 | 2,433
Unrealized Losses | 0 | 0
Fair Value | $ 45,962 | $ 47,465
Held-to-maturity investment securities weighted average yield | 6.50% | 4.50%
Fixed Interest Rate | Fixed rate U.S. Treasuries |  |
Available-for-sale: |  |
Amount Outstanding | $ 978,585 | $ 1,145,915
Amortized cost | 962,343 | 1,139,135
Allowance for losses | 0 | 0
Unrealized Gains | 0 | 621
Unrealized Losses | (9,896) | (20,145)
Fair Value | 952,447 | 1,119,611
Fixed Interest Rate | Available-for-Sale Securities | Guaranteed mortgage-backed securities |  |
Available-for-sale: |  |
Unamortized Premium/(Discount) | (45,118) | (30,321)
Held-to-maturity: |  |
Unamortized Premium/(Discount) | (45,118) | (30,321)
Fixed Interest Rate | Available-for-Sale Securities | Fixed rate U.S. Treasuries |  |
Available-for-sale: |  |
Unamortized Premium/(Discount) | (16,242) | (6,780)
Held-to-maturity: |  |
Unamortized Premium/(Discount) | (16,242) | (6,780)
Fixed Interest Rate | Held-to-Maturity Securities | Guaranteed mortgage-backed securities |  |
Available-for-sale: |  |
Unamortized Premium/(Discount) | 0 | 0
Held-to-maturity: |  |
Unamortized Premium/(Discount) | $ 0 | $ 0

X
- Definition Debt Securities, Available-for-Sale, Unpaid Principal Balance + References No definition available. + Details
Name: | agm_DebtSecuritiesAvailableforSaleUnpaidPrincipalBalance
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Debt Securities, Held-to-Maturity, Amortized Cost, Excluding Accrued Interest, before Allowance for Credit Loss + References No definition available. + Details
Name: | agm_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Held-to-Maturity Securities, Debt Maturities, Weighted-Average Yield + References No definition available. + Details
Name: | agm_HeldtoMaturitySecuritiesDebtMaturitiesWeightedAverageYield
Namespace Prefix: | agm_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Held-to-Maturity Unpaid Principal Balance + References No definition available. + Details
Name: | agm_HeldtoMaturityUnpaidPrincipalBalance
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, before tax, of unrealized gain in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-2 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, before tax, of unrealized loss in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-2 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Amount, after accumulated amortization, of debt discount (premium). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482925/835-30-45-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 1A -Publisher FASB -URI https://asc.fasb.org//1943274/2147482925/835-30-45-1A Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482925/835-30-45-4 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482925/835-30-45-3 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482949/835-30-55-8 Reference 6: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1D + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after allowance for credit loss, of accrued interest on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2A -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-2A Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479130/326-30-45-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 3A -Publisher FASB -URI https://asc.fasb.org//1943274/2147479106/326-30-50-3A Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org//1943274/2147479106/326-30-50-3B + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAccruedInterestAfterAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount excluding accrued interest, of allowance for credit loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479130/326-30-45-1 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAllowanceForCreditLossExcludingAccruedInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest, before allowance for credit loss, of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479130/326-30-45-1 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount excluding accrued interest, of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479130/326-30-45-1 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, excluding accrued interest, of allowance for credit loss on investment in debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479344/326-20-45-1 + Details
Name: | us-gaap_DebtSecuritiesHeldToMaturityAllowanceForCreditLossExcludingAccruedInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount excluding accrued interest, after allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479344/326-20-45-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-5 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-5 + Details
Name: | us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestAfterAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrecognized gain on investment in debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5A -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-5A Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-5 + Details
Name: | us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5A -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-5A Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-5 + Details
Name: | us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_DebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | agm_DebtSecurityInvestmentCategoryAxis=agm_DebtSecuritiesAvailableForSaleMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=agm_FloatingInterestRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_AuctionRateSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_MortgageBackedSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USTreasurySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=agm_FixedInterestRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | agm_DebtSecurityInvestmentCategoryAxis=agm_DebtSecuritiesHeldToMaturityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |