v3.26.1
Shareholder Report, Average Annual Return (Details)
6 Months Ended 12 Months Ended 60 Months Ended 120 Months Ended
Jun. 30, 2026
Jun. 30, 2026
Jun. 30, 2026
Jun. 30, 2026
C000030126        
Average Annual Return [Line Items]        
Line Graph and Table Measure Name FAM Value Fund - Investor Shares      
C000164665        
Average Annual Return [Line Items]        
Line Graph and Table Measure Name FAM Value Fund - Institutional Shares      
C000030128        
Average Annual Return [Line Items]        
Line Graph and Table Measure Name FAM Dividend Focus Fund - Investor Shares      
C000110096        
Average Annual Return [Line Items]        
Line Graph and Table Measure Name FAM Small Cap Fund - Investor Shares      
C000164667        
Average Annual Return [Line Items]        
Line Graph and Table Measure Name FAM Small Cap Fund - Institutional Shares      
Without Sales Load [Member] | C000030126        
Average Annual Return [Line Items]        
Average Annual Return, Percent 7.91% 8.18% 7.31% 10.64%
Without Sales Load [Member] | C000164665        
Average Annual Return [Line Items]        
Average Annual Return, Percent 7.99% 8.36% 7.51% 10.84%
Without Sales Load [Member] | C000030128        
Average Annual Return [Line Items]        
Average Annual Return, Percent 2.57% (2.61%) 5.22% 10.71%
Without Sales Load [Member] | C000110096        
Average Annual Return [Line Items]        
Average Annual Return, Percent (1.46%) (10.28%) 2.22% 7.25%
Without Sales Load [Member] | C000164667        
Average Annual Return [Line Items]        
Average Annual Return, Percent (1.44%) (10.23%) 2.32% 7.37%
S&P 500 Index TR        
Average Annual Return [Line Items]        
Line Graph and Table Measure Name S&P 500<sup style="inset: 1.5px 0px 4px; box-sizing: border-box; color: rgb(0, 0, 0); display: inline; flex-wrap: nowrap; font-size: 12px; font-weight: 700; grid-area: auto; line-height: 0px; margin: 0px; overflow: visible; position: relative; text-align: center; text-align-last: auto; white-space-collapse: preserve-breaks;">®</sup> Index      
Average Annual Return, Percent 10.21% 22.32% 13.41% 15.51%
S&P 500 Index TR        
Average Annual Return [Line Items]        
Line Graph and Table Measure Name S&P 500<sup style="inset: 1.5px 0px 4px; box-sizing: border-box; color: rgb(0, 0, 0); display: inline; flex-wrap: nowrap; font-size: 12px; font-weight: 700; grid-area: auto; line-height: 0px; margin: 0px; overflow: visible; position: relative; text-align: center; text-align-last: auto; white-space-collapse: preserve-breaks;">®</sup> Index      
Average Annual Return, Percent 10.21% 22.32% 13.41% 15.51%
S&P 500 Index TR        
Average Annual Return [Line Items]        
Line Graph and Table Measure Name S&P 500<sup style="inset: 1.5px 0px 4px; box-sizing: border-box; color: rgb(0, 0, 0); display: inline; flex-wrap: nowrap; font-size: 12px; font-weight: 700; grid-area: auto; line-height: 0px; margin: 0px; overflow: visible; position: relative; text-align: center; text-align-last: auto; white-space-collapse: preserve-breaks;">®</sup> Index      
Average Annual Return, Percent 10.21% 22.32% 13.41% 15.51%
S&P 500 Index TR        
Average Annual Return [Line Items]        
Line Graph and Table Measure Name S&P 500<sup style="inset: 1.5px 0px 4px; box-sizing: border-box; color: rgb(0, 0, 0); display: inline; flex-wrap: nowrap; font-size: 12px; font-weight: 700; grid-area: auto; line-height: 0px; margin: 0px; overflow: visible; position: relative; text-align: center; text-align-last: auto; white-space-collapse: preserve-breaks;">®</sup> Index      
Average Annual Return, Percent 10.21% 22.32% 13.41% 15.51%
S&P 500 Index TR        
Average Annual Return [Line Items]        
Line Graph and Table Measure Name S&P 500<sup style="inset: 1.5px 0px 4px; box-sizing: border-box; color: rgb(0, 0, 0); display: inline; flex-wrap: nowrap; font-size: 12px; font-weight: 700; grid-area: auto; line-height: 0px; margin: 0px; overflow: visible; position: relative; text-align: center; text-align-last: auto; white-space-collapse: preserve-breaks;">®</sup> Index      
Average Annual Return, Percent 10.21% 22.32% 13.41% 15.51%
Russell Midcap Total Return        
Average Annual Return [Line Items]        
Line Graph and Table Measure Name Russell Midcap<sup style="inset: 1.5px 0px 4px; box-sizing: border-box; color: rgb(0, 0, 0); display: inline; flex-wrap: nowrap; font-size: 12px; font-weight: 700; grid-area: auto; line-height: 0px; margin: 0px; overflow: visible; position: relative; text-align: center; text-align-last: auto; white-space-collapse: preserve-breaks;">®</sup> Index      
Average Annual Return, Percent 15.30% 21.63% 8.50% 12.00%
Russell Midcap Total Return        
Average Annual Return [Line Items]        
Line Graph and Table Measure Name Russell Midcap<sup style="inset: 1.5px 0px 4px; box-sizing: border-box; color: rgb(0, 0, 0); display: inline; flex-wrap: nowrap; font-size: 12px; font-weight: 700; grid-area: auto; line-height: 0px; margin: 0px; overflow: visible; position: relative; text-align: center; text-align-last: auto; white-space-collapse: preserve-breaks;">®</sup> Index      
Average Annual Return, Percent 15.30% 21.63% 8.50% 12.00%
Russell Midcap Total Return        
Average Annual Return [Line Items]        
Line Graph and Table Measure Name Russell Midcap<sup style="inset: 1.5px 0px 4px; box-sizing: border-box; color: rgb(0, 0, 0); display: inline; flex-wrap: nowrap; font-size: 12px; font-weight: 700; grid-area: auto; line-height: 0px; margin: 0px; overflow: visible; position: relative; text-align: center; text-align-last: auto; white-space-collapse: preserve-breaks;">®</sup> Index      
Average Annual Return, Percent 15.30% 21.63% 8.50% 12.00%
Russell 2000 Total Return        
Average Annual Return [Line Items]        
Line Graph and Table Measure Name Russell 2000<sup style="inset: 1.5px 0px 4px; box-sizing: border-box; color: rgb(0, 0, 0); display: inline; flex-wrap: nowrap; font-size: 12px; font-weight: 700; grid-area: auto; line-height: 0px; margin: 0px; overflow: visible; position: relative; text-align: center; text-align-last: auto; white-space-collapse: preserve-breaks;">®</sup> Index      
Average Annual Return, Percent 22.57% 40.78% 6.98% 11.62%
Russell 2000 Total Return        
Average Annual Return [Line Items]        
Line Graph and Table Measure Name Russell 2000<sup style="inset: 1.5px 0px 4px; box-sizing: border-box; color: rgb(0, 0, 0); display: inline; flex-wrap: nowrap; font-size: 12px; font-weight: 700; grid-area: auto; line-height: 0px; margin: 0px; overflow: visible; position: relative; text-align: center; text-align-last: auto; white-space-collapse: preserve-breaks;">®</sup> Index      
Average Annual Return, Percent 22.57% 40.78% 6.98% 11.62%