XML 68 R58.htm IDEA: XBRL DOCUMENT
v3.23.3

Guarantees and Commitments - Schedule of Underlying Off-Balance Sheet Guaranteed Securities (Details) - Farmer Mac Guaranteed USDA Securities - USD ($) $ in Thousands | 9 Months Ended | 12 Months Ended
--- | --- | ---
Sep. 30, 2023 | Dec. 31, 2022
Guarantor Obligations [Line Items] |  |
Guarantee and commitment obligation | $ 6,053 | $ 6,461
Weighted-average remaining maturity | 22 years 1 month 6 days | 21 years 4 months 24 days
AgVantage Securities |  |
Guarantor Obligations [Line Items] |  |
Weighted-average remaining maturity | 1 year 2 months 12 days | 2 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://www.xbrl.org/2003/role/disclosureRef -Topic 460 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482425/460-10-50-4 + 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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 460 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482425/460-10-50-4 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 460 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482425/460-10-50-4 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 460 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482425/460-10-50-4 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 460 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482425/460-10-50-4 + 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: |