XML 38 R27.htm IDEA: XBRL DOCUMENT
v3.19.1

Summary of Significant Accounting Policies - Narrative (Details) | Mar. 31, 2019 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