Shareholder Report |
6 Months Ended | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Jun. 30, 2026
USD ($)
Holding
| |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Document Type | N-CSRS | ||||||||||||||||||||||
| Amendment Flag | false | ||||||||||||||||||||||
| Registrant Name | AMG Funds | ||||||||||||||||||||||
| Entity Central Index Key | 0001089951 | ||||||||||||||||||||||
| Entity Investment Company Type | N-1A | ||||||||||||||||||||||
| Document Period End Date | Jun. 30, 2026 | ||||||||||||||||||||||
| C000027322 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG TimesSquare Mid Cap Growth Fund | ||||||||||||||||||||||
| Class Name | Class Z | ||||||||||||||||||||||
| Trading Symbol | TMDIX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG TimesSquare Mid Cap Growth Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 44 | ||||||||||||||||||||||
| Expense Ratio, Percent | 0.85% | ||||||||||||||||||||||
| Net Assets | $ 1,710,919,247 | ||||||||||||||||||||||
| Holdings Count | Holding | 81 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 5,165,565 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 24.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund. Top Ten Holdings
Portfolio Breakdown |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000180065 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG TimesSquare Mid Cap Growth Fund | ||||||||||||||||||||||
| Class Name | Class I | ||||||||||||||||||||||
| Trading Symbol | TQMIX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG TimesSquare Mid Cap Growth Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 47 | ||||||||||||||||||||||
| Expense Ratio, Percent | 0.90% | ||||||||||||||||||||||
| Net Assets | $ 1,710,919,247 | ||||||||||||||||||||||
| Holdings Count | Holding | 81 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 5,165,565 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 24.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund. Top Ten Holdings
Portfolio Breakdown |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000027323 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG TimesSquare Mid Cap Growth Fund | ||||||||||||||||||||||
| Class Name | Class N | ||||||||||||||||||||||
| Trading Symbol | TMDPX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG TimesSquare Mid Cap Growth Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 54 | ||||||||||||||||||||||
| Expense Ratio, Percent | 1.05% | ||||||||||||||||||||||
| Net Assets | $ 1,710,919,247 | ||||||||||||||||||||||
| Holdings Count | Holding | 81 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 5,165,565 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 24.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund. Top Ten Holdings
Portfolio Breakdown |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000027325 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG TimesSquare Small Cap Growth Fund | ||||||||||||||||||||||
| Class Name | Class N | ||||||||||||||||||||||
| Trading Symbol | TSCPX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG TimesSquare Small Cap Growth Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 60 | ||||||||||||||||||||||
| Expense Ratio, Percent | 1.13% | ||||||||||||||||||||||
| Net Assets | $ 111,738,895 | ||||||||||||||||||||||
| Holdings Count | Holding | 96 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 339,281 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 40.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund. Top Ten Holdings
Portfolio Breakdown |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000180066 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG TimesSquare Small Cap Growth Fund | ||||||||||||||||||||||
| Class Name | Class I | ||||||||||||||||||||||
| Trading Symbol | TSQIX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG TimesSquare Small Cap Growth Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 53 | ||||||||||||||||||||||
| Expense Ratio, Percent | 0.99% | ||||||||||||||||||||||
| Net Assets | $ 111,738,895 | ||||||||||||||||||||||
| Holdings Count | Holding | 96 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 339,281 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 40.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund. Top Ten Holdings
Portfolio Breakdown |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000027324 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG TimesSquare Small Cap Growth Fund | ||||||||||||||||||||||
| Class Name | Class Z | ||||||||||||||||||||||
| Trading Symbol | TSCIX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG TimesSquare Small Cap Growth Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 50 | ||||||||||||||||||||||
| Expense Ratio, Percent | 0.93% | ||||||||||||||||||||||
| Net Assets | $ 111,738,895 | ||||||||||||||||||||||
| Holdings Count | Holding | 96 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 339,281 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 40.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund. Top Ten Holdings
Portfolio Breakdown |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000180068 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG GW&K Small Cap Value Fund | ||||||||||||||||||||||
| Class Name | Class Z | ||||||||||||||||||||||
| Trading Symbol | SKSZX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG GW&K Small Cap Value Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 50 | ||||||||||||||||||||||
| Expense Ratio, Percent | 0.89% | ||||||||||||||||||||||
| Net Assets | $ 238,168,736 | ||||||||||||||||||||||
| Holdings Count | Holding | 79 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 704,583 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 16.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund. Top Ten Holdings
Portfolio Breakdown |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000180067 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG GW&K Small Cap Value Fund | ||||||||||||||||||||||
| Class Name | Class I | ||||||||||||||||||||||
| Trading Symbol | SKSIX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG GW&K Small Cap Value Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 53 | ||||||||||||||||||||||
| Expense Ratio, Percent | 0.94% | ||||||||||||||||||||||
| Net Assets | $ 238,168,736 | ||||||||||||||||||||||
| Holdings Count | Holding | 79 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 704,583 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 16.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund. Top Ten Holdings
Portfolio Breakdown |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000056573 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG GW&K Small Cap Value Fund | ||||||||||||||||||||||
| Class Name | Class N | ||||||||||||||||||||||
| Trading Symbol | SKSEX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG GW&K Small Cap Value Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 64 | ||||||||||||||||||||||
| Expense Ratio, Percent | 1.14% | ||||||||||||||||||||||
| Net Assets | $ 238,168,736 | ||||||||||||||||||||||
| Holdings Count | Holding | 79 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 704,583 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 16.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund. Top Ten Holdings
Portfolio Breakdown |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000078885 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG GW&K Municipal Enhanced Yield Fund | ||||||||||||||||||||||
| Class Name | Class N | ||||||||||||||||||||||
| Trading Symbol | GWMNX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG GW&K Municipal Enhanced Yield Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 50 | ||||||||||||||||||||||
| Expense Ratio, Percent | 0.99% | ||||||||||||||||||||||
| Net Assets | $ 160,157,048 | ||||||||||||||||||||||
| Holdings Count | Holding | 81 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 264,568 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 8.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund and ratings are shown as a percentage of total long-term investments of the Fund. Top Ten Holdings
Portfolio Breakdown Ratings |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000069909 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG GW&K Municipal Enhanced Yield Fund | ||||||||||||||||||||||
| Class Name | Class I | ||||||||||||||||||||||
| Trading Symbol | GWMEX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG GW&K Municipal Enhanced Yield Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 32 | ||||||||||||||||||||||
| Expense Ratio, Percent | 0.64% | ||||||||||||||||||||||
| Net Assets | $ 160,157,048 | ||||||||||||||||||||||
| Holdings Count | Holding | 81 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 264,568 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 8.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund and ratings are shown as a percentage of total long-term investments of the Fund. Top Ten Holdings
Portfolio Breakdown Ratings |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000180069 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG GW&K Municipal Enhanced Yield Fund | ||||||||||||||||||||||
| Class Name | Class Z | ||||||||||||||||||||||
| Trading Symbol | GWMZX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG GW&K Municipal Enhanced Yield Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 30 | ||||||||||||||||||||||
| Expense Ratio, Percent | 0.59% | ||||||||||||||||||||||
| Net Assets | $ 160,157,048 | ||||||||||||||||||||||
| Holdings Count | Holding | 81 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 264,568 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 8.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund and ratings are shown as a percentage of total long-term investments of the Fund. Top Ten Holdings
Portfolio Breakdown Ratings |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000180070 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG GW&K Small Cap Core Fund | ||||||||||||||||||||||
| Class Name | Class Z | ||||||||||||||||||||||
| Trading Symbol | GWEZX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG GW&K Small Cap Core Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 49 | ||||||||||||||||||||||
| Expense Ratio, Percent | 0.90% | ||||||||||||||||||||||
| Net Assets | $ 773,856,850 | ||||||||||||||||||||||
| Holdings Count | Holding | 94 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 2,499,132 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 13.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund. Top Ten Holdings
Portfolio Breakdown |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000069911 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG GW&K Small Cap Core Fund | ||||||||||||||||||||||
| Class Name | Class I | ||||||||||||||||||||||
| Trading Symbol | GWEIX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG GW&K Small Cap Core Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 51 | ||||||||||||||||||||||
| Expense Ratio, Percent | 0.95% | ||||||||||||||||||||||
| Net Assets | $ 773,856,850 | ||||||||||||||||||||||
| Holdings Count | Holding | 94 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 2,499,132 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 13.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund. Top Ten Holdings
Portfolio Breakdown |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000069910 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG GW&K Small Cap Core Fund | ||||||||||||||||||||||
| Class Name | Class N | ||||||||||||||||||||||
| Trading Symbol | GWETX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG GW&K Small Cap Core Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 70 | ||||||||||||||||||||||
| Expense Ratio, Percent | 1.30% | ||||||||||||||||||||||
| Net Assets | $ 773,856,850 | ||||||||||||||||||||||
| Holdings Count | Holding | 94 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 2,499,132 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 13.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund. Top Ten Holdings
Portfolio Breakdown |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000077269 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG GW&K Municipal Bond Fund | ||||||||||||||||||||||
| Class Name | Class N | ||||||||||||||||||||||
| Trading Symbol | GWMTX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG GW&K Municipal Bond Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 36 | ||||||||||||||||||||||
| Expense Ratio, Percent | 0.72% | ||||||||||||||||||||||
| Net Assets | $ 1,000,450,574 | ||||||||||||||||||||||
| Holdings Count | Holding | 263 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 704,929 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 36.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund and ratings are shown as a percentage of total long-term investments of the Fund. Top Ten Holdings
Portfolio Breakdown Ratings |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000077267 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG GW&K Municipal Bond Fund | ||||||||||||||||||||||
| Class Name | Class I | ||||||||||||||||||||||
| Trading Symbol | GWMIX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG GW&K Municipal Bond Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 20 | ||||||||||||||||||||||
| Expense Ratio, Percent | 0.39% | ||||||||||||||||||||||
| Net Assets | $ 1,000,450,574 | ||||||||||||||||||||||
| Holdings Count | Holding | 263 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 704,929 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 36.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund and ratings are shown as a percentage of total long-term investments of the Fund. Top Ten Holdings
Portfolio Breakdown Ratings |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000077270 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG Renaissance Large Cap Growth Fund | ||||||||||||||||||||||
| Class Name | Class Z | ||||||||||||||||||||||
| Trading Symbol | MRLIX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG Renaissance Large Cap Growth Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 34 | ||||||||||||||||||||||
| Expense Ratio, Percent | 0.66% | ||||||||||||||||||||||
| Net Assets | $ 133,582,427 | ||||||||||||||||||||||
| Holdings Count | Holding | 57 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 237,292 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 25.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund. Top Ten Holdings
Portfolio Breakdown |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000077271 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG Renaissance Large Cap Growth Fund | ||||||||||||||||||||||
| Class Name | Class I | ||||||||||||||||||||||
| Trading Symbol | MRLSX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG Renaissance Large Cap Growth Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 37 | ||||||||||||||||||||||
| Expense Ratio, Percent | 0.73% | ||||||||||||||||||||||
| Net Assets | $ 133,582,427 | ||||||||||||||||||||||
| Holdings Count | Holding | 57 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 237,292 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 25.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund. Top Ten Holdings
Portfolio Breakdown |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000077272 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG Renaissance Large Cap Growth Fund | ||||||||||||||||||||||
| Class Name | Class N | ||||||||||||||||||||||
| Trading Symbol | MRLTX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG Renaissance Large Cap Growth Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 51 | ||||||||||||||||||||||
| Expense Ratio, Percent | 1.00% | ||||||||||||||||||||||
| Net Assets | $ 133,582,427 | ||||||||||||||||||||||
| Holdings Count | Holding | 57 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 237,292 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 25.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund. Top Ten Holdings
Portfolio Breakdown |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000115978 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG Yacktman Focused Fund | ||||||||||||||||||||||
| Class Name | Class N | ||||||||||||||||||||||
| Trading Symbol | YAFFX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG Yacktman Focused Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 69 | ||||||||||||||||||||||
| Expense Ratio, Percent | 1.25% | ||||||||||||||||||||||
| Net Assets | $ 3,078,674,239 | ||||||||||||||||||||||
| Holdings Count | Holding | 55 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 12,908,415 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 14.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund and country allocation is shown as a percentage of total long-term investments of the Fund. Top Ten Holdings
Portfolio Breakdown Country Allocation |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000115979 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG Yacktman Focused Fund | ||||||||||||||||||||||
| Class Name | Class I | ||||||||||||||||||||||
| Trading Symbol | YAFIX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG Yacktman Focused Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 58 | ||||||||||||||||||||||
| Expense Ratio, Percent | 1.06% | ||||||||||||||||||||||
| Net Assets | $ 3,078,674,239 | ||||||||||||||||||||||
| Holdings Count | Holding | 55 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 12,908,415 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 14.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund and country allocation is shown as a percentage of total long-term investments of the Fund. Top Ten Holdings
Portfolio Breakdown Country Allocation |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000115981 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG Yacktman Fund | ||||||||||||||||||||||
| Class Name | Class I | ||||||||||||||||||||||
| Trading Symbol | YACKX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG Yacktman Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 37 | ||||||||||||||||||||||
| Expense Ratio, Percent | 0.70% | ||||||||||||||||||||||
| Net Assets | $ 7,264,221,321 | ||||||||||||||||||||||
| Holdings Count | Holding | 62 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 15,300,537 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 9.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund and country allocation is shown as a percentage of total long-term investments of the Fund. Top Ten Holdings
Portfolio Breakdown Country Allocation |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000122076 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG TimesSquare International Small Cap Fund | ||||||||||||||||||||||
| Class Name | Class N | ||||||||||||||||||||||
| Trading Symbol | TCMPX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG TimesSquare International Small Cap Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 67 | ||||||||||||||||||||||
| Expense Ratio, Percent | 1.30% | ||||||||||||||||||||||
| Net Assets | $ 120,415,421 | ||||||||||||||||||||||
| Holdings Count | Holding | 83 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 409,687 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 37.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund and country allocation is shown as a percentage of total long-term investments of the Fund. Top Ten Holdings
Portfolio Breakdown Country Allocation |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000180071 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG TimesSquare International Small Cap Fund | ||||||||||||||||||||||
| Class Name | Class I | ||||||||||||||||||||||
| Trading Symbol | TQTIX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG TimesSquare International Small Cap Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 56 | ||||||||||||||||||||||
| Expense Ratio, Percent | 1.10% | ||||||||||||||||||||||
| Net Assets | $ 120,415,421 | ||||||||||||||||||||||
| Holdings Count | Holding | 83 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 409,687 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 37.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund and country allocation is shown as a percentage of total long-term investments of the Fund. Top Ten Holdings
Portfolio Breakdown Country Allocation |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000122075 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG TimesSquare International Small Cap Fund | ||||||||||||||||||||||
| Class Name | Class Z | ||||||||||||||||||||||
| Trading Symbol | TCMIX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG TimesSquare International Small Cap Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 54 | ||||||||||||||||||||||
| Expense Ratio, Percent | 1.05% | ||||||||||||||||||||||
| Net Assets | $ 120,415,421 | ||||||||||||||||||||||
| Holdings Count | Holding | 83 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 409,687 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 37.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund and country allocation is shown as a percentage of total long-term investments of the Fund. Top Ten Holdings
Portfolio Breakdown Country Allocation |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000142968 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG Yacktman Special Opportunities Fund | ||||||||||||||||||||||
| Class Name | Class Z | ||||||||||||||||||||||
| Trading Symbol | YASLX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG Yacktman Special Opportunities Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 73 | ||||||||||||||||||||||
| Expense Ratio, Percent | 1.39% | ||||||||||||||||||||||
| Net Assets | $ 23,064,067 | ||||||||||||||||||||||
| Holdings Count | Holding | 44 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 103,757 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 6.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund and country allocation is shown as a percentage of total long-term investments of the Fund. Top Ten Holdings
Portfolio Breakdown Country Allocation |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000142969 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG Yacktman Special Opportunities Fund | ||||||||||||||||||||||
| Class Name | Class I | ||||||||||||||||||||||
| Trading Symbol | YASSX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG Yacktman Special Opportunities Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 79 | ||||||||||||||||||||||
| Expense Ratio, Percent | 1.49% | ||||||||||||||||||||||
| Net Assets | $ 23,064,067 | ||||||||||||||||||||||
| Holdings Count | Holding | 44 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 103,757 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 6.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund and country allocation is shown as a percentage of total long-term investments of the Fund. Top Ten Holdings
Portfolio Breakdown Country Allocation |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000157696 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG GW&K Small/Mid Cap Core Fund | ||||||||||||||||||||||
| Class Name | Class N | ||||||||||||||||||||||
| Trading Symbol | GWGVX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG GW&K Small/Mid Cap Core Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 58 | ||||||||||||||||||||||
| Expense Ratio, Percent | 1.07% | ||||||||||||||||||||||
| Net Assets | $ 823,524,326 | ||||||||||||||||||||||
| Holdings Count | Holding | 92 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 2,327,624 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 12.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund. Top Ten Holdings
Portfolio Breakdown |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000157694 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG GW&K Small/Mid Cap Core Fund | ||||||||||||||||||||||
| Class Name | Class I | ||||||||||||||||||||||
| Trading Symbol | GWGIX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG GW&K Small/Mid Cap Core Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 48 | ||||||||||||||||||||||
| Expense Ratio, Percent | 0.87% | ||||||||||||||||||||||
| Net Assets | $ 823,524,326 | ||||||||||||||||||||||
| Holdings Count | Holding | 92 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 2,327,624 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 12.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund. Top Ten Holdings
Portfolio Breakdown |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000180072 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG GW&K Small/Mid Cap Core Fund | ||||||||||||||||||||||
| Class Name | Class Z | ||||||||||||||||||||||
| Trading Symbol | GWGZX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG GW&K Small/Mid Cap Core Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 45 | ||||||||||||||||||||||
| Expense Ratio, Percent | 0.82% | ||||||||||||||||||||||
| Net Assets | $ 823,524,326 | ||||||||||||||||||||||
| Holdings Count | Holding | 92 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 2,327,624 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 12.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund. Top Ten Holdings
Portfolio Breakdown |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000176472 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG Yacktman Global Fund | ||||||||||||||||||||||
| Class Name | Class I | ||||||||||||||||||||||
| Trading Symbol | YFSIX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG Yacktman Global Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 51 | ||||||||||||||||||||||
| Expense Ratio, Percent | 0.93% | ||||||||||||||||||||||
| Net Assets | $ 218,084,603 | ||||||||||||||||||||||
| Holdings Count | Holding | 64 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 710,072 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 18.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund and country allocation is shown as a percentage of total long-term investments of the Fund. Top Ten Holdings
Portfolio Breakdown Country Allocation |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000176471 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG Yacktman Global Fund | ||||||||||||||||||||||
| Class Name | Class N | ||||||||||||||||||||||
| Trading Symbol | YFSNX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG Yacktman Global Fund (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 62 | ||||||||||||||||||||||
| Expense Ratio, Percent | 1.13% | ||||||||||||||||||||||
| Net Assets | $ 218,084,603 | ||||||||||||||||||||||
| Holdings Count | Holding | 64 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 710,072 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 18.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund and country allocation is shown as a percentage of total long-term investments of the Fund. Top Ten Holdings
Portfolio Breakdown Country Allocation |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000241081 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG GW&K Municipal Enhanced SMA Shares | ||||||||||||||||||||||
| Class Name | AMG GW&K Municipal Enhanced SMA Shares | ||||||||||||||||||||||
| Trading Symbol | MESHX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG GW&K Municipal Enhanced SMA Shares (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 0 | ||||||||||||||||||||||
| Expense Ratio, Percent | 0.00% | ||||||||||||||||||||||
| Net Assets | $ 259,626,969 | ||||||||||||||||||||||
| Holdings Count | Holding | 139 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 0 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 6.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund and ratings are shown as a percentage of total long-term investments of the Fund. Top Ten Holdings
Portfolio Breakdown Ratings |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000261130 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG GW&K Securitized Bond SMA Shares | ||||||||||||||||||||||
| Class Name | AMG GW&K Securitized Bond SMA Shares | ||||||||||||||||||||||
| Trading Symbol | GWSBX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG GW&K Securitized Bond SMA Shares (the “Fund”) for the period of January 1, 2026 to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs for the last six months? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 0 | ||||||||||||||||||||||
| Expense Ratio, Percent | 0.00% | ||||||||||||||||||||||
| Net Assets | $ 122,594,668 | ||||||||||||||||||||||
| Holdings Count | Holding | 171 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 0 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 19.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund and ratings are shown as a percentage of total long-term investments of the Fund. Top Ten Holdings
Portfolio Breakdown Ratings |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|
||||||||||||||||||||||
| C000276156 [Member] | |||||||||||||||||||||||
| Shareholder Report [Line Items] | |||||||||||||||||||||||
| Fund Name | AMG GW&K High Yield Bond SMA Shares | ||||||||||||||||||||||
| Class Name | AMG GW&K High Yield Bond SMA Shares | ||||||||||||||||||||||
| Trading Symbol | GWHYX | ||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about AMG GW&K High Yield Bond SMA Shares (the “Fund”) for the period of June 17, 2026 (commencement of operations) to June 30, 2026. | ||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | ||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at https://wealth.amg.com/literature. You can also request this information by contacting us at 800.548.4539. | ||||||||||||||||||||||
| Additional Information Phone Number | 800.548.4539 | ||||||||||||||||||||||
| Additional Information Website | https://wealth.amg.com/literature | ||||||||||||||||||||||
| Expenses [Text Block] | Fund Expenses What were the Fund costs since the commencement of operations? (Based on a hypothetical $10,000 investment)
|
||||||||||||||||||||||
| Expenses Paid, Amount | $ 0 | ||||||||||||||||||||||
| Expense Ratio, Percent | 0.00% | ||||||||||||||||||||||
| Net Assets | $ 29,266,278 | ||||||||||||||||||||||
| Holdings Count | Holding | 214 | ||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 0 | ||||||||||||||||||||||
| Investment Company Portfolio Turnover | 0.00% | ||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | Key Fund Statistics (as of June 30, 2026)
|
||||||||||||||||||||||
| Holdings [Text Block] | Graphical Representation of Holdings (as of June 30, 2026) Top ten holdings and portfolio breakdown are shown as a percentage of net assets of the Fund and ratings are shown as a percentage of total long-term investments of the Fund. Top Ten Holdings
Portfolio Breakdown Ratings |
||||||||||||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings
|