XML 53 R31.htm IDEA: XBRL DOCUMENT
v3.24.3

SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Narrative (Details) | Sep. 30, 2024 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