XML 59 R46.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Accounting Policies - New Accounting Standards (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2018 | Dec. 31, 2017 | Dec. 31, 2016
Accounting Policies [Abstract] |  |  |
Excess Tax Benefits from Share-Based Compensation | $ 946 | $ 860 | $ 0
Payments Related to Tax Withholding for Share-based Compensation | $ 2,631 | $ 2,536 | $ 4,103

X
- Definition Excess Tax Benefits from Share-Based Compensation + References No definition available. + Details
Name: | agm_ExcessTaxBenefitsfromShareBasedCompensation
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition Amount of cash outflow to satisfy an employee's income tax withholding obligation as part of a net-share settlement of a share-based award. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=109223946&loc=d3e3291-108585 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 25 -Paragraph 19A -URI http://asc.fasb.org/extlink&oid=107668666&loc=SL79513924-113897 + Details
Name: | us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration