XML 65 R55.htm IDEA: XBRL DOCUMENT
v3.22.2

Guarantees and Commitments - Schedule of Underlying Off-Balance Sheet Guaranteed Securities (Details) - Farmer Mac Guaranteed USDA Securities - USD ($) $ in Thousands | 6 Months Ended | 12 Months Ended
--- | --- | ---
Jun. 30, 2022 | Dec. 31, 2021
Guarantor Obligations [Line Items] |  |
Guarantee and commitment obligation | $ 6,737 | $ 7,355
Weighted-average remaining maturity | 21 years 7 months 6 days | 21 years 8 months 12 days
AgVantage Securities |  |
Guarantor Obligations [Line Items] |  |
Weighted-average remaining maturity | 2 years 6 months | 3 years

X
- Definition Weighted average remaining maturity, Loans underlying guarantees not held by transferor + References No definition available. + Details
Name: | agm_WeightedAverageRemainingMaturityLoansUnderlyingGuaranteesNotHeldByTransferor
Namespace Prefix: | agm_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The current carrying amount of the liability for the freestanding or embedded guarantor's obligations under the guarantee or each group of similar guarantees. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 460 -SubTopic 10 -Section 50 -Paragraph 4 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=124440162&loc=d3e12069-110248 + Details
Name: | us-gaap_GuaranteeObligationsCurrentCarryingValue
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_GuaranteeObligationsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_GuaranteeObligationsByNatureAxis=agm_FarmerMacGuaranteedSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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