XML 45 R34.htm IDEA: XBRL DOCUMENT
v3.24.2.u1

SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Accumulated Other Comprehensive Income, Net of Tax (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jun. 30, 2024 | Mar. 31, 2024 | Jun. 30, 2023 | Mar. 31, 2023 | Jun. 30, 2024 | Jun. 30, 2023
AOCI Attributable to Parent, Net of Tax [Roll Forward] |  |  |  |  |  |
Beginning balance | $ 1,480,343 | $ 1,411,863 | $ 1,292,385 | $ 1,271,958 | $ 1,411,863 | $ 1,271,958
Other comprehensive (loss)/income before reclassifications | (180) |  | 29,790 |  | 40,641 | 24,863
Amounts reclassified from AOCI | (4,843) |  | (4,279) |  | (9,637) | (8,371)
Other comprehensive (loss)/income net of tax | (5,023) | 36,027 | 25,511 | (9,019) | 31,004 | 16,492
Ending balance | 1,500,979 | 1,480,343 | 1,346,555 | 1,292,385 | 1,500,979 | 1,346,555
Accumulated Other Comprehensive Income (Loss) |  |  |  |  |  |
AOCI Attributable to Parent, Net of Tax [Roll Forward] |  |  |  |  |  |
Beginning balance | (4,118) | (40,145) | (59,862) | (50,843) | (40,145) | (50,843)
Other comprehensive (loss)/income net of tax | (5,023) | 36,027 | 25,511 | (9,019) | 31,004 | 16,492
Ending balance | (9,141) | (4,118) | (34,351) | (59,862) | (9,141) | (34,351)
AOCI, Securities | Available-for-Sale Securities |  |  |  |  |  |
AOCI Attributable to Parent, Net of Tax [Roll Forward] |  |  |  |  |  |
Beginning balance | (36,886) | (68,447) | (115,041) | (115,561) | (68,447) | (115,561)
Other comprehensive (loss)/income before reclassifications | (3,342) |  | 18,438 |  | 28,223 | 18,963
Amounts reclassified from AOCI | (834) |  | (4) |  | (838) | (9)
Other comprehensive (loss)/income net of tax | (4,176) |  | 18,434 |  | 27,385 | 18,954
Ending balance | (41,062) | (36,886) | (96,607) | (115,041) | (41,062) | (96,607)
AOCI, Securities | Held-to-Maturity Securities |  |  |  |  |  |
AOCI Attributable to Parent, Net of Tax [Roll Forward] |  |  |  |  |  |
Beginning balance | (9,224) | (8,724) | 15,739 | 16,357 | (8,724) | 16,357
Other comprehensive (loss)/income before reclassifications | 0 |  | 0 |  | 0 | 0
Amounts reclassified from AOCI | 252 |  | (253) |  | (248) | (871)
Other comprehensive (loss)/income net of tax | 252 |  | (253) |  | (248) | (871)
Ending balance | (8,972) | (9,224) | 15,486 | 15,739 | (8,972) | 15,486
AOCI, Cash Flow Hedge |  |  |  |  |  |
AOCI Attributable to Parent, Net of Tax [Roll Forward] |  |  |  |  |  |
Beginning balance | 41,992 | 37,026 | 39,440 | 48,361 | 37,026 | 48,361
Other comprehensive (loss)/income before reclassifications | 3,162 |  | 11,352 |  | 12,418 | 5,900
Amounts reclassified from AOCI | (4,261) |  | (4,022) |  | (8,551) | (7,491)
Other comprehensive (loss)/income net of tax | (1,099) |  | 7,330 |  | 3,867 | (1,591)
Ending balance | $ 40,893 | $ 41,992 | $ 46,770 | $ 39,440 | $ 40,893 | $ 46,770

X
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. + References No definition available. + Details
Name: | us-gaap_AOCIAttributableToParentNetOfTaxRollForward
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount after tax, before reclassification adjustments of other comprehensive income (loss). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 14A -Publisher FASB -URI https://asc.fasb.org/1943274/2147482790/220-10-45-14A Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482765/220-10-50-5 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481674/830-30-50-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 17 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481694/830-30-45-17 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 20 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481694/830-30-45-20 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(19)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477250/944-220-S99-1 Reference 7: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482765/220-10-50-4 Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 55 -Paragraph 15 -SubTopic 10 -Topic 220 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482739/220-10-55-15 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount after tax and reclassification adjustments of other comprehensive income (loss). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 250 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483443/250-10-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481674/830-30-50-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 17 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481694/830-30-45-17 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(19)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477250/944-220-S99-1 Reference 6: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482765/220-10-50-4 Reference 7: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482765/220-10-50-5 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 20 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481694/830-30-45-20 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(21)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483621/220-10-S99-2 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(23)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478524/942-220-S99-1 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 1B -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482790/220-10-45-1B Reference 12: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 55 -Paragraph 15 -SubTopic 10 -Topic 220 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482739/220-10-55-15 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 1A -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482790/220-10-45-1A + Details
Name: | us-gaap_OtherComprehensiveIncomeLossNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount after tax of reclassification adjustments of other comprehensive income (loss). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 14A -Publisher FASB -URI https://asc.fasb.org/1943274/2147482790/220-10-45-14A Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482765/220-10-50-5 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481674/830-30-50-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 17 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481694/830-30-45-17 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 20 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481694/830-30-45-20 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(19)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477250/944-220-S99-1 Reference 7: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482765/220-10-50-4 Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 55 -Paragraph 15 -SubTopic 10 -Topic 220 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482739/220-10-55-15 + Details
Name: | us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of equity (deficit) attributable to parent. Excludes temporary equity and equity attributable to noncontrolling interest. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(30)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(31)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 852 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481372/852-10-55-10 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 946 -SubTopic 830 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479168/946-830-55-12 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(19)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.6-05(4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-2 Reference 8: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(4)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-3 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(6)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-3 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(7)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-3 Reference 11: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(g)(1)(ii)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 Reference 12: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 323 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481687/323-10-50-3 Reference 13: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 28 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482907/825-10-50-28 Reference 14: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 4.E) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480418/310-10-S99-2 + Details
Name: | us-gaap_StockholdersEquity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_AccumulatedOtherComprehensiveIncomeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=agm_AOCIAccumulatedGainLossDebtSecuritiesParentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |