XML 53 R40.htm IDEA: XBRL DOCUMENT
v3.20.4

Summary of Significant Accounting Policies - Consolidation of Variable Interest Entities (Details) - USD ($) $ in Thousands | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | ---
Variable Interest Entity [Line Items] |  |
Total | $ 7,261,933 | $ 5,390,977
Debt securities of consolidated trusts held by third parties | 21,795,677 | 19,091,215
Farm & Ranch |  |
Variable Interest Entity [Line Items] |  |
Total | 6,176,438 |
Borrower remittances | 36,700 | 15,600
USDA Guarantees |  |
Variable Interest Entity [Line Items] |  |
Unamortized Premium/(Discount) | (100) | (200)
On-Balance Sheet: |  |
Variable Interest Entity [Line Items] |  |
Total |  | 5,276,557
On-Balance Sheet: | Consolidated VIEs: |  |
Variable Interest Entity [Line Items] |  |
Total | 1,287,045 | 1,600,917
Debt securities of consolidated trusts held by third parties | 1,323,786 | 1,616,504
On-Balance Sheet: | Farm & Ranch |  |
Variable Interest Entity [Line Items] |  |
Total |  | 5,276,557
Off-balance sheet |  |
Variable Interest Entity [Line Items] |  |
Total |  | 2,500,393
Off-balance sheet | Unconsolidated VIEs: |  |
Variable Interest Entity [Line Items] |  |
Maximum exposure to loss | 378,610 | 496,538
Farmer Mac Guaranteed Securities |  |
Variable Interest Entity [Line Items] |  |
Carrying value | 6,947,701 | 7,143,025
Farmer Mac Guaranteed Securities | On-Balance Sheet: | Unconsolidated VIEs: |  |
Variable Interest Entity [Line Items] |  |
Carrying value | 34,537 | 32,041
Maximum exposure to loss | 34,456 | 31,887
Investment securities: |  |
Variable Interest Entity [Line Items] |  |
Carrying value | 3,853,692 | 2,959,843
Unamortized Premium/(Discount) | 17,084 | 1,382
Investment securities: | On-Balance Sheet: | Unconsolidated VIEs: |  |
Variable Interest Entity [Line Items] |  |
Carrying value | 1,918,672 | 1,117,203
Maximum exposure to loss | 1,909,535 | 1,120,765
Operating Segments | On-Balance Sheet: | Farm & Ranch | Consolidated VIEs: |  |
Variable Interest Entity [Line Items] |  |
Total | 1,287,045 | 1,600,917
Debt securities of consolidated trusts held by third parties | 1,323,786 | 1,616,504
Operating Segments | On-Balance Sheet: | USDA Guarantees | Consolidated VIEs: |  |
Variable Interest Entity [Line Items] |  |
Total | 0 | 0
Debt securities of consolidated trusts held by third parties | 0 | 0
Operating Segments | Off-balance sheet | Farm & Ranch | Unconsolidated VIEs: |  |
Variable Interest Entity [Line Items] |  |
Maximum exposure to loss | 79,312 | 107,322
Operating Segments | Off-balance sheet | USDA Guarantees | Unconsolidated VIEs: |  |
Variable Interest Entity [Line Items] |  |
Maximum exposure to loss | 299,298 | 389,216
Operating Segments | Farmer Mac Guaranteed Securities | On-Balance Sheet: | Farm & Ranch | Unconsolidated VIEs: |  |
Variable Interest Entity [Line Items] |  |
Carrying value | 0 | 0
Maximum exposure to loss | 0 | 0
Operating Segments | Farmer Mac Guaranteed Securities | On-Balance Sheet: | USDA Guarantees | Unconsolidated VIEs: |  |
Variable Interest Entity [Line Items] |  |
Carrying value | 34,537 | 32,041
Maximum exposure to loss | 34,456 | 31,887
Operating Segments | Investment securities: | On-Balance Sheet: | Farm & Ranch | Unconsolidated VIEs: |  |
Variable Interest Entity [Line Items] |  |
Carrying value | 0 | 0
Maximum exposure to loss | 0 | 0
Operating Segments | Investment securities: | On-Balance Sheet: | USDA Guarantees | Unconsolidated VIEs: |  |
Variable Interest Entity [Line Items] |  |
Carrying value | 0 | 0
Maximum exposure to loss | 0 | 0
Corporate | On-Balance Sheet: | Consolidated VIEs: |  |
Variable Interest Entity [Line Items] |  |
Total | 0 | 0
Debt securities of consolidated trusts held by third parties | 0 | 0
Corporate | Off-balance sheet | Unconsolidated VIEs: |  |
Variable Interest Entity [Line Items] |  |
Maximum exposure to loss | 0 | 0
Corporate | Farmer Mac Guaranteed Securities | On-Balance Sheet: | Unconsolidated VIEs: |  |
Variable Interest Entity [Line Items] |  |
Carrying value | 0 | 0
Maximum exposure to loss | 0 | 0
Corporate | Investment securities: | On-Balance Sheet: | Unconsolidated VIEs: |  |
Variable Interest Entity [Line Items] |  |
Carrying value | 1,918,672 | 1,117,203
Maximum exposure to loss | $ 1,909,535 | $ 1,120,765

X
- Definition Amount 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 -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(6)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=121558606&loc=SL82898722-210454 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121553693&loc=d3e26610-111562 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (aa) -URI http://asc.fasb.org/extlink&oid=121645371&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after accumulated amortization, of debt discount (premium). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=119993939&loc=d3e28555-108399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=119993939&loc=d3e28551-108399 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=119993939&loc=d3e28567-108399 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 1A -URI http://asc.fasb.org/extlink&oid=119993939&loc=d3e28541-108399 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b)(3) -URI http://asc.fasb.org/extlink&oid=120520924&loc=SL6031897-161870 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)) -URI http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, before allowance for credit loss, of financing receivable. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 79 -URI http://asc.fasb.org/extlink&oid=121647567&loc=SL82922352-210448 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 5 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121599337&loc=SL82919230-210447 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 80 -URI http://asc.fasb.org/extlink&oid=121647567&loc=SL82922355-210448 + Details
Name: | us-gaap_NotesReceivableGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of liabilities classified as other. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.15) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 + Details
Name: | us-gaap_OtherLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The reporting entity's maximum amount of exposure to loss as a result of its involvement with the Variable Interest Entity (VIE). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=121559654&loc=d3e5747-111685 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 50 -Paragraph 4 -Subparagraph b -URI http://asc.fasb.org/extlink&oid=121559654&loc=d3e5728-111685 + Details
Name: | us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount
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_VariableInterestEntityLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=agm_FarmRanchMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=agm_USDAGuaranteesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=agm_OnBalanceSheetMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=us-gaap_VariableInterestEntityPrimaryBeneficiaryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=agm_OffBalanceSheetMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | srt_ConsolidationItemsAxis=us-gaap_OperatingSegmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidationItemsAxis=us-gaap_CorporateNonSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |