v3.26.1
S000049941 [Member] Investment Risks - AMG GW&K SMALL/MID CAP CORE FUND
Dec. 31, 2025
Value Stock Risk [Member]  
Prospectus [Line Items]  
Risk [Text Block]
Value Stock Risk—value stocks may perform differently from the market as a whole and may be undervalued by the market for a long period of time.
Management Risk [Member]  
Prospectus [Line Items]  
Risk [Text Block]
Management Risk—because the Fund is an actively managed investment portfolio, security selection or focus on securities in a particular style, market sector or group of companies may cause the Fund to incur losses or underperform relative to its benchmarks or other funds with a similar investment objective. There can be no guarantee that the Subadviser’s investment techniques and risk analysis will produce the desired result.
Liquidity Risk [Member]  
Prospectus [Line Items]  
Risk [Text Block]
Liquidity Risk—the Fund may not be able to dispose of particular investments, such as illiquid securities, readily at favorable times or prices or the Fund may have to sell them at a loss.
Sector Risk [Member]  
Prospectus [Line Items]  
Risk [Text Block]
Sector Risk—issuers and companies that are in similar industry sectors may be similarly affected by particular economic or market events; to the extent the Fund has substantial holdings within a particular sector, the risks associated with that sector increase.  Stocks in the industrials sector may comprise a significant portion of the Fund’s portfolio. The industrials sector may be affected by general economic trends, including employment, economic growth and interest rates, changes in consumer confidence and spending, government regulation, commodity prices and competitive pressures.
Growth Stock Risk [Member]  
Prospectus [Line Items]  
Risk [Text Block]
Growth Stock Risk—the prices of equity securities of companies that are expected to experience relatively rapid earnings growth, or “growth stocks,” may be more sensitive to market movements because the prices tend to reflect future investor expectations rather than just current profits.
Small and Mid Capitalization Stock Risk [Member]  
Prospectus [Line Items]  
Risk [Text Block]
Small- and Mid-Capitalization Stock Risk—the stocks of small- and mid-capitalization companies often have greater price volatility, lower trading volume, and less liquidity than the stocks of larger, more established companies.
Market Risks [Member]  
Prospectus [Line Items]  
Risk [Text Block]
Market Risk—market prices of investments held by the Fund may fall rapidly or unpredictably due to a variety of factors, including economic or market conditions, or other factors including terrorism, war, natural disasters and the spread of
infectious illness or other public health issues, including epidemics or pandemics, or in response to events that affect particular industries or companies. In addition, unexpected political, regulatory, trade and diplomatic events within the United States and abroad may affect investor and consumer confidence and may adversely impact financial markets and the broader economy, perhaps suddenly and to a significant degree.
Risk Lose Money [Member]  
Prospectus [Line Items]  
Risk [Text Block] There is the risk that you may lose money on your investment.
Risk Not Insured Depository Institution [Member]  
Prospectus [Line Items]  
Risk [Text Block] An investment in the Fund is not a deposit or obligation of any bank, is not endorsed or guaranteed by any bank, and is not insured by the Federal Deposit Insurance Corporation (“FDIC”) or any other government agency.