XML 42 R29.htm IDEA: XBRL DOCUMENT
v3.20.2

Summary of Significant Accounting Policies - Narrative (Details) | Sep. 30, 2020 subsidiary
--- | ---
Accounting Policies [Abstract] |
Number of subsidiaries | 2

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

X
- References No definition available. + Details
Name: | us-gaap_AccountingPoliciesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration