S000009868 [Member] Annual Total Returns |
12 Months Ended | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2025 |
Dec. 31, 2024 |
Dec. 31, 2023 |
Dec. 31, 2022 |
Dec. 31, 2021 |
Dec. 31, 2020 |
Dec. 31, 2019 |
Dec. 31, 2018 |
Dec. 31, 2017 |
Dec. 31, 2016 |
|
| AMG GW&K ESG Bond Fund | Class N | ||||||||||
| Prospectus [Line Items] | ||||||||||
| Annual Return [Percent] | 7.26% | 1.49% | 6.69% | (13.17%) | (1.29%) | 7.34% | 11.10% | (1.82%) | 6.77% | 5.15% |