v3.26.1
Class I and Class Z [Member] Performance Management - Class I and Class Z [Member] - AMG Yacktman Special Opportunities Fund
Dec. 31, 2025
Prospectus [Line Items]  
Bar Chart and Performance Table [Heading] Performance
Performance Narrative [Text Block]
The following performance information illustrates the risks of investing in the Fund by showing changes in the Fund's performance from year to year and by showing how the Fund's performance compares to that of a broad based securities market index. As always, past performance of the Fund (before and after taxes) is not an indication of how the Fund will perform in the future.
Effective October 1, 2016, outstanding Service Class and Institutional Class shares of the Fund were renamed Class I and Class Z shares, respectively. To obtain updated performance information please visit wealth.amg.com or call 800.548.4539.
Performance Past Does Not Indicate Future [Text] As always, past performance of the Fund (before and after taxes) is not an indication of how the Fund will perform in the future.
Performance Information Illustrates Variability of Returns [Text] The following performance information illustrates the risks of investing in the Fund by showing changes in the Fund's performance from year to year and by showing how the Fund's performance compares to that of a broad based securities market index.
Bar Chart [Heading] Calendar Year Total Returns as of 12/31/25 (Class Z)
Bar Chart Closing [Text Block]
Best Quarter: 27.40% (4th Quarter 2020)
Worst Quarter: -31.94% (1st Quarter 2020)
Performance Table Heading Average Annual Total Returns as of 12/31/25
Performance Table Narrative
After-tax returns are calculated using the historical highest individual U.S. federal marginal income tax rates and do not reflect the impact of state and local taxes. Actual after-tax returns depend on an investor's tax situation and may differ from those shown. After-tax returns are not relevant to investors who hold their Fund shares through tax-advantaged arrangements, such as 401(k) plans or individual retirement accounts (“IRAs”).
After-tax returns are shown for Class Z shares only, and after-tax returns for Class I shares will vary.
Performance Table Uses Highest Federal Rate After-tax returns are calculated using the historical highest individual U.S. federal marginal income tax rates and do not reflect the impact of state and local taxes.
Performance Table Not Relevant to Tax Deferred Actual after-tax returns depend on an investor's tax situation and may differ from those shown. After-tax returns are not relevant to investors who hold their Fund shares through tax-advantaged arrangements, such as 401(k) plans or individual retirement accounts (“IRAs”).
Performance Table One Class of after Tax Shown [Text] After-tax returns are shown for Class Z shares only, and after-tax returns for Class I shares will vary.
Performance Availability Website Address [Text] wealth.amg.com
Performance Availability Phone [Text] 800.548.4539
Class Z  
Prospectus [Line Items]  
Highest Quarterly Return, Label [Optional Text] Best Quarter:
Highest Quarterly Return 27.40%
Highest Quarterly Return, Date Dec. 31, 2020
Lowest Quarterly Return, Label [Optional Text] Worst Quarter:
Lowest Quarterly Return (31.94%)
Lowest Quarterly Return, Date Mar. 31, 2020