XML 84 R73.htm IDEA: XBRL DOCUMENT
v3.21.2

Subsequent Event - Narrative (Details) $ in Millions | 12 Months Ended |
--- | --- | ---
Dec. 31, 2021 USD ($) | Oct. 14, 2021 USD ($) loan
Forecast |  |
Subsequent Event [Line Items] |  |
Gain on securitization of financial assets | $ 4.0 |
Subsequent Event |  |
Subsequent Event [Line Items] |  |
Number of loans securitized | loan |  | 384
Agricultural mortgage loans with an aggregate outstanding principal balance |  | $ 302.7
Agricultural mortgage loans with an aggregate outstanding principal balance senior tranche |  | 280.0
Agricultural mortgage loans with an aggregate outstanding principal balance, unguaranteed subordinate tranche |  | $ 22.7

X
- Definition Number Of Loans Securitized + References No definition available. + Details
Name: | agm_NumberOfLoansSecuritized
Namespace Prefix: | agm_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Principal Amount Outstanding on Loans Securitized or Asset-backed Financing Arrangement, Guaranteed Senior Tranche + References No definition available. + Details
Name: | agm_PrincipalAmountOutstandingOnLoansSecuritizedOrAssetBackedFinancingArrangementGuaranteedSeniorTranche
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Principal Amount Outstanding on Loans Securitized or Asset-backed Financing Arrangement, Unguaranteed Subordinate Tranche + References No definition available. + Details
Name: | agm_PrincipalAmountOutstandingOnLoansSecuritizedOrAssetBackedFinancingArrangementUnguaranteedSubordinateTranche
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition A gain (loss) realized on a transfer, accounted for as a sale, of all or a portion of financial assets in which the transferor surrenders control and receives consideration other than a beneficial interest in the assets transferred. Reflects the amount of sales proceeds in excess of, or deficient from, the sum of the carrying amounts of transferred financial assets plus transaction costs. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (b)(3) -URI http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(13)) -URI http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(3)(a)) -URI http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263 Reference 5: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(b)(7)(c)) -URI http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227 Reference 6: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(b)(9)(a)) -URI http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227 + Details
Name: | us-gaap_GainLossOnSecuritizationOfFinancialAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This is the principal amount outstanding for securitized loans only (across all types of loans). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719 + Details
Name: | us-gaap_PrincipalAmountOutstandingOnLoansSecuritized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event. + References No definition available. + Details
Name: | us-gaap_SubsequentEventLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_StatementScenarioAxis=srt_ScenarioForecastMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |