XML 19 R7.htm IDEA: XBRL DOCUMENT v3.19.2
Label Element Value
Prospectus [Line Items] rr_ProspectusLineItems  
Document Type dei_DocumentType 497
Document Period End Date dei_DocumentPeriodEndDate Mar. 31, 2019
Entity Registrant Name dei_EntityRegistrantName BUFFALO FUNDS
Entity Central Index Key dei_EntityCentralIndexKey 0001135300
Amendment Flag dei_AmendmentFlag false
Document Creation Date dei_DocumentCreationDate Jul. 01, 2019
Document Effective Date dei_DocumentEffectiveDate Jul. 05, 2019
Prospectus Date rr_ProspectusDate Jul. 01, 2019
Entity Inv Company Type dei_EntityInvCompanyType N-1A
Buffalo Discovery Fund  
Prospectus [Line Items] rr_ProspectusLineItems  
Risk/Return [Heading] rr_RiskReturnHeading BUFFALO DISCOVERY FUND
Objective [Heading] rr_ObjectiveHeading INVESTMENT OBJECTIVE
Objective, Primary [Text Block] rr_ObjectivePrimaryTextBlock
The investment objective of the Buffalo Discovery Fund (“Discovery Fund” or the “Fund”) is long-term growth of capital.
Expense [Heading] rr_ExpenseHeading FEES AND EXPENSES OF THE FUND
Expense Narrative [Text Block] rr_ExpenseNarrativeTextBlock
This table describes the fees and expenses that you may pay if you buy and hold shares of the Fund.
Shareholder Fees Caption [Text] rr_ShareholderFeesCaption Shareholder Fees (fees paid directly from your investment)
Operating Expenses Caption [Text] rr_OperatingExpensesCaption Annual Fund Operating Expenses (expenses that you pay each year as a percentage of the value of your investment)
Portfolio Turnover [Heading] rr_PortfolioTurnoverHeading Portfolio Turnover.
Portfolio Turnover [Text Block] rr_PortfolioTurnoverTextBlock
The Fund pays transaction costs, such as commissions, when it buys and sells securities (or “turns over” its portfolio). A higher portfolio turnover rate may indicate higher transaction costs and may result in higher taxes when Fund shares are held in a taxable account. These transaction and tax costs, which are not reflected in annual fund operating expenses or in the example, affect the Fund’s performance. During the most recent fiscal year, the Fund’s portfolio turnover rate was 77% of the average value of its portfolio.
Portfolio Turnover, Rate rr_PortfolioTurnoverRate 77.00%
Expenses Not Correlated to Ratio Due to Acquired Fund Fees [Text] rr_ExpensesNotCorrelatedToRatioDueToAcquiredFundFees Acquired Fund Fees and Expenses represent the indirect costs of the Fund’s investments in other investment companies. The Total Annual Fund Operating Expenses for the Fund do not correlate to the ratio of expenses to average net assets listed in the Fund’s financial highlights, which reflects the operating expenses of the Fund and does not include the amount of the Fund’s proportionate share of the fees and expenses of other investment companies in which the Fund invests.
Expense Example [Heading] rr_ExpenseExampleHeading Example.
Expense Example Narrative [Text Block] rr_ExpenseExampleNarrativeTextBlock
This example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. The example assumes that you invest $10,000 in the Fund for the time periods indicated and then redeem all of your shares at the end of those periods. The example also assumes that your investment has a 5% return each year, and that the Fund’s operating expenses remain the same.
Expense Example by, Year, Caption [Text] rr_ExpenseExampleByYearCaption Although your actual costs may be higher or lower, based on these assumptions your costs would be:
Strategy [Heading] rr_StrategyHeading PRINCIPAL INVESTMENT STRATEGIES
Strategy Narrative [Text Block] rr_StrategyNarrativeTextBlock
The Discovery Fund principally invests in equity securities, consisting of common stock, preferred stock, convertible securities, warrants and rights of companies whose securities may increase in value due to the development, advancement or commercial application of innovative strategies. Companies engaged in innovative strategies are those who, in the opinion of Kornitzer Capital Management, Inc., the Fund’s investment advisor (the “Advisor” or “KCM”), are engaged in the pursuit and practical application of knowledge to discover, develop and commercialize products, services or intellectual property. The types of companies in which the Fund may invest range across all sectors and all market capitalizations. The Fund may have significant investments in the information technology sector. In addition to the Fund’s investments in domestic securities, the Fund may invest up to 20% of its net assets in sponsored or unsponsored American Depositary Receipts (“ADRs”) and securities of foreign companies that are traded on U.S. stock exchanges.

The Advisor seeks to identify companies for the Discovery Fund’s portfolio that are expected to benefit from innovation and experience growth based on the identification of long-term, measurable secular trends, and which, as a result, the Advisor believes may have potential revenue growth in excess of the gross domestic product growth rate. Companies are screened using in-depth, in-house research to identify those which the Advisor believes have favorable attributes, including attractive valuation, strong management, conservative debt, free cash flow, scalable business models, and competitive advantages. The Advisor may sell the Discovery Fund’s investments to secure gains, limit losses or reinvest in more promising investment opportunities.
Risk [Heading] rr_RiskHeading PRINCIPAL RISKS
Risk Narrative [Text Block] rr_RiskNarrativeTextBlock
The Discovery Fund cannot guarantee that it will achieve its investment objective. As with any mutual fund, the value of the Discovery Fund’s investments may fluctuate. If the value of the Discovery Fund’s investments decreases, the value of the Fund’s shares will also decrease and you may lose money. The risks associated with the Discovery Fund’s principal investment strategies are:

Market Risk – The value of the Discovery Fund’s shares will fluctuate as a result of the movement of the overall stock market or of the value of the individual securities held by the Discovery Fund, and you could lose money. Adverse market events may also lead to increased shareholder redemptions, which could cause the Fund to experience a loss or difficulty in selling investments to meet such redemptions.

Management Risk – Management risk means that your investment in the Discovery Fund varies with the success and failure of the Advisor’s investment strategies and the Advisor’s research, analysis and determination of portfolio securities.

Equity Market Risk – Equity securities held by the Discovery Fund may experience sudden, unpredictable drops in value or long periods of decline in value due to general stock market fluctuations, increases in production costs, decisions by management or related factors.

Common Stocks. Common Stocks are susceptible to general stock market fluctuations and to volatile increases and decreases in value as market confidence in and perceptions of their issuers change. Common stock is generally subject to greater risk than preferred stocks and debt obligations because holders of common stock generally have inferior rights to receive payments from issuers in comparison with the rights of the holders of other securities, bondholders and other creditors.

Preferred Stock. Preferred stock is subject to the risk that the dividend on the stock may be changed or omitted by the issuer, and that participation in the growth of an issuer may be limited.

Convertible Securities. A convertible security is a fixed-income security (a debt instrument or a preferred stock) which may be converted at a stated price within a specified period of time into a certain quantity of the common stock of the same or a different issuer. The market value of a convertible security performs like that of a regular debt security, that is, if market interest rates rise, the value of the convertible security falls.

Warrants. Investments in warrants involve certain risks, including the possible lack of a liquid market for resale of the warrants, potential price fluctuations as a result of speculation or other factors, and failure of the price of the underlying security to reach or have reasonable prospects of reaching a level at which the warrant can be prudently exercised (in which event the warrant may expire without being exercised, resulting in a loss of the Fund’s entire investment therein).

Rights. The purchase of rights involves the risk that the Fund could lose the purchase value of a right if the right is not exercised prior to its expiration. Also, the purchase of rights involves the risk that the effective price paid for the right added to the subscription price of the related security may exceed the value of the subscribed security’s market price.

Sector Risk – Companies with similar characteristics, such as those within the same industry, may be grouped together in broad categories called sectors. To the extent the Fund invests its assets in a particular sector, the Fund’s performance may be more susceptible to any economic, business, or other developments that generally affect that sector.

Information Technology Company Risk – Information technology companies often face unusually high price volatility, both in terms of gains and losses. To the extent that the Fund makes investments in such companies, its share price is likely to be more volatile. The potential for wide variations in performance is based on special risks common to information technology companies. Information technology companies may have limited product lines, markets or financial resources. Information technology companies are affected by worldwide technological developments and their products and services may quickly become outdated. Given these risks, an investment in the Fund may be more suitable for long-term investors, who are willing to withstand the Fund’s potential for volatility.

Large-Cap Company Risk – Larger, more established companies may be unable to respond quickly to new competitive challenges and are sometimes unable to attain the high growth rates of successful, smaller companies during periods of economic expansion.

Mid-Cap Company Risk – Investing in mid-cap companies may involve greater risk than investing in large-cap companies due to less management experience, fewer financial resources, less product diversification and fewer competitive strengths. Therefore, such securities may be more volatile and less liquid than large-cap companies. In addition, mid-cap companies may be particularly affected by interest rate increases, as they may find it more difficult to borrow money to continue or expand operations, or may have difficulty in repaying any loans.

Small-Cap Company Risk – Investing in small-cap companies may involve greater risk than investing in large- or mid-cap companies due to less management experience, fewer financial resources, less product diversification and fewer competitive strengths. Therefore, such securities may be more volatile and less liquid than mid- and large-cap companies. In addition, small-cap companies may be particularly affected by interest rate increases, as they may find it more difficult to borrow money to continue or expand operations, or may have difficulty in repaying any loans.

Money Market Funds Risk – An investment in a money market fund is not a bank deposit and is not insured or guaranteed by any bank, the Federal Deposit Insurance Corporation (FDIC) or any other government agency. Although money market funds seek to preserve the value of investments at $1.00 per share, it is possible for the Fund to lose money if shares of money market funds in which it invests fall below $1.00 per share.

Foreign Risk – Investing in securities of foreign corporations involves additional risks relating to: political, social, religious and economic developments abroad; market instability; fluctuations in foreign exchange rates; different regulatory requirements, market practices, accounting standards and practices; and less publicly available information about foreign issuers. Additionally, these investments may be subject to foreign withholding taxes, may be less liquid, carry higher brokerage commissions and other fees, and procedures and regulations governing transactions and custody in foreign markets also may involve delays in payment, delivery or recovery of money or investments. Investments in common stocks of U.S. companies with international operations, and the purchase of sponsored or unsponsored ADRs carry similar risks.

American Depositary Receipts – Unsponsored ADRs held by the Fund are frequently under no obligation to distribute shareholder communications received from the underlying issuer. For this and other reasons, there is less information available about unsponsored ADRs than sponsored ADRs. Unsponsored ADRs are also not obligated to pass through voting rights to the Fund. Investing in foreign companies, even indirectly through ADRs, may involve the same inherent risks as investing in securities of foreign issuers, as described above.

Cybersecurity Risk – With the increased use of technologies such as the Internet to conduct business, the Fund is susceptible to operational, information security, and related risks. Cyber incidents affecting the Fund or its service providers may cause disruptions and impact business operations, potentially resulting in financial losses, interference with the Fund’s ability to calculate its NAV, impediments to trading, the inability of shareholders to transact business, violations of applicable privacy and other laws, regulatory fines, penalties, reputational damage, reimbursement or other compensation costs, or additional compliance costs.
Risk Lose Money [Text] rr_RiskLoseMoney If the value of the Discovery Fund’s investments decreases, the value of the Fund’s shares will also decrease and you may lose money.
Risk Not Insured Depository Institution [Text] rr_RiskNotInsuredDepositoryInstitution An investment in a money market fund is not a bank deposit and is not insured or guaranteed by any bank, the Federal Deposit Insurance Corporation (FDIC) or any other government agency.
Bar Chart and Performance Table [Heading] rr_BarChartAndPerformanceTableHeading PERFORMANCE
Performance Narrative [Text Block] rr_PerformanceNarrativeTextBlock
The performance information provides some indication of the risks of investing in the Discovery Fund by showing changes in the Fund’s performance from year to year and by showing how the Fund’s average annual returns for one, five and ten years compare with those of a broad measure of market performance and the returns of a Lipper peer group (a group of mutual funds with investment objectives similar to that of the Fund). The performance information, before and after taxes, is not necessarily an indication of how the Fund will perform in the future. Updated performance information is available on the Fund’s website at http://www.buffalofunds.com/performance.html, or by calling the Fund toll-free at 1-800-49-BUFFALO (1-800-492-8332).
Performance Information Illustrates Variability of Returns [Text] rr_PerformanceInformationIllustratesVariabilityOfReturns The performance information provides some indication of the risks of investing in the Discovery Fund by showing changes in the Fund’s performance from year to year and by showing how the Fund’s average annual returns for one, five and ten years compare with those of a broad measure of market performance and the returns of a Lipper peer group (a group of mutual funds with investment objectives similar to that of the Fund).
Performance Availability Phone [Text] rr_PerformanceAvailabilityPhone 1-800-492-8332
Performance Availability Website Address [Text] rr_PerformanceAvailabilityWebSiteAddress http://www.buffalofunds.com/performance.html
Performance Past Does Not Indicate Future [Text] rr_PerformancePastDoesNotIndicateFuture The performance information, before and after taxes, is not necessarily an indication of how the Fund will perform in the future.
Bar Chart [Heading] rr_BarChartHeading Investor Class(1) Annual Total Return as of December 31 of Each Year
Bar Chart Footnotes [Text Block] rr_BarChartFootnotesTextBlock
(1) 
The returns shown in the bar chart are for Investor Class shares of the Fund. Institutional Class shares would have substantially similar annual returns because the shares are invested in the same portfolio of securities and the annual returns would differ only to the extent that the classes do not have the same expenses.
Bar Chart Closing [Text Block] rr_BarChartClosingTextBlock
Calendar Year-to-Date Return – Investor Class (through March 31, 2019) = 19.52%
Best Quarter: March 31, 2012 = 19.86%
Worst Quarter: September 30, 2011 = -18.32%

Year to Date Return, Label rr_YearToDateReturnLabel Calendar Year-to-Date Return
Bar Chart, Year to Date Return, Date rr_BarChartYearToDateReturnDate Mar. 31, 2019
Bar Chart, Year to Date Return rr_BarChartYearToDateReturn 19.52%
Highest Quarterly Return, Label rr_HighestQuarterlyReturnLabel Best Quarter
Highest Quarterly Return, Date rr_BarChartHighestQuarterlyReturnDate Mar. 31, 2012
Highest Quarterly Return rr_BarChartHighestQuarterlyReturn 19.86%
Lowest Quarterly Return, Label rr_LowestQuarterlyReturnLabel Worst Quarter
Lowest Quarterly Return, Date rr_BarChartLowestQuarterlyReturnDate Sep. 30, 2011
Lowest Quarterly Return rr_BarChartLowestQuarterlyReturn (18.32%)
Performance Table Heading rr_PerformanceTableHeading Average Annual Total Returns for the periods ended December 31, 2018
Index No Deduction for Fees, Expenses, Taxes [Text] rr_IndexNoDeductionForFeesExpensesTaxes (reflects no deduction for fees, expenses or taxes)
Performance Table Uses Highest Federal Rate rr_PerformanceTableUsesHighestFederalRate After-tax returns are calculated using the highest historical individual federal marginal income tax rates and do not reflect the impact of state or local taxes.
Performance Table Not Relevant to Tax Deferred rr_PerformanceTableNotRelevantToTaxDeferred Actual after-tax returns depend on each investor’s individual tax situation and may differ from those shown in the table. The after-tax returns shown are not relevant to investors who own the Discovery Fund in a tax-deferred arrangement, such as an individual retirement account (“IRA”) or a 401(k) plan.
Performance Table One Class of after Tax Shown [Text] rr_PerformanceTableOneClassOfAfterTaxShown Returns are shown for Investor Class shares only and will vary for Institutional Class shares.
Performance Table Explanation after Tax Higher rr_PerformanceTableExplanationAfterTaxHigher In certain cases, the figure representing “Return After Taxes on Distributions and Sale of Fund Shares” may be higher than the other return figures for the same period, since a higher after-tax return results when a capital loss occurs upon redemption and provides an assumed tax deduction that benefits the investor.
Performance Table Closing [Text Block] rr_PerformanceTableClosingTextBlock
The Lipper Multi-Cap Growth Funds Index® is an unmanaged index that reflects the net asset value weighted return of 30 of the largest multi-cap growth funds tracked by Lipper.

Returns are shown for Investor Class shares only and will vary for Institutional Class shares. After-tax returns are calculated using the highest historical individual federal marginal income tax rates and do not reflect the impact of state or local taxes. Actual after-tax returns depend on each investor’s individual tax situation and may differ from those shown in the table. The after-tax returns shown are not relevant to investors who own the Discovery Fund in a tax-deferred arrangement, such as an individual retirement account (“IRA”) or a 401(k) plan. In certain cases, the figure representing “Return After Taxes on Distributions and Sale of Fund Shares” may be higher than the other return figures for the same period, since a higher after-tax return results when a capital loss occurs upon redemption and provides an assumed tax deduction that benefits the investor.
Buffalo Discovery Fund | Morningstar US Mid Growth Index (reflects no deduction for fees, expenses or taxes)  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Morningstar US Mid Growth Index (reflects no deduction for fees, expenses or taxes)
1 Year rr_AverageAnnualReturnYear01 (3.16%)
5 Years rr_AverageAnnualReturnYear05 7.15%
10 Years rr_AverageAnnualReturnYear10 14.54%
Buffalo Discovery Fund | Lipper Multi-Cap Growth Funds Index® (reflects no deduction for taxes)  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Lipper Multi-Cap Growth Funds Index® (reflects no deduction for taxes)
1 Year rr_AverageAnnualReturnYear01 (3.23%)
5 Years rr_AverageAnnualReturnYear05 8.01%
10 Years rr_AverageAnnualReturnYear10 14.10%
Buffalo Discovery Fund | Investor Class  
Prospectus [Line Items] rr_ProspectusLineItems  
Trading Symbol dei_TradingSymbol BUFTX
Shareholder Fee, Other rr_ShareholderFeeOther none
Management Fees (as a percentage of Assets) rr_ManagementFeesOverAssets 0.85%
Component1 Other Expenses rr_Component1OtherExpensesOverAssets 0.15%
Other Expenses (as a percentage of Assets): rr_OtherExpensesOverAssets 0.01% [1]
Acquired Fund Fees and Expenses rr_AcquiredFundFeesAndExpensesOverAssets 0.01% [1]
Expenses (as a percentage of Assets) rr_ExpensesOverAssets 1.02% [2]
Expense Example, with Redemption, 1 Year rr_ExpenseExampleYear01 $ 104
Expense Example, with Redemption, 3 Years rr_ExpenseExampleYear03 325
Expense Example, with Redemption, 5 Years rr_ExpenseExampleYear05 563
Expense Example, with Redemption, 10 Years rr_ExpenseExampleYear10 $ 1,248
Annual Return 2009 rr_AnnualReturn2009 51.62%
Annual Return 2010 rr_AnnualReturn2010 22.96%
Annual Return 2011 rr_AnnualReturn2011 (0.69%)
Annual Return 2012 rr_AnnualReturn2012 19.73%
Annual Return 2013 rr_AnnualReturn2013 36.61%
Annual Return 2014 rr_AnnualReturn2014 10.68%
Annual Return 2015 rr_AnnualReturn2015 5.64%
Annual Return 2016 rr_AnnualReturn2016 5.56%
Annual Return 2017 rr_AnnualReturn2017 25.44%
Annual Return 2018 rr_AnnualReturn2018 (6.54%)
Label rr_AverageAnnualReturnLabel Return Before Taxes
1 Year rr_AverageAnnualReturnYear01 (6.54%)
5 Years rr_AverageAnnualReturnYear05 7.67%
10 Years rr_AverageAnnualReturnYear10 15.92%
Buffalo Discovery Fund | Investor Class | After Taxes on Distributions  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Return After Taxes on Distributions
1 Year rr_AverageAnnualReturnYear01 (8.05%)
5 Years rr_AverageAnnualReturnYear05 5.96%
10 Years rr_AverageAnnualReturnYear10 14.48%
Buffalo Discovery Fund | Investor Class | After Taxes on Distributions and Sales  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Return After Taxes on Distributions and Sale of Fund Shares
1 Year rr_AverageAnnualReturnYear01 (2.89%)
5 Years rr_AverageAnnualReturnYear05 5.71%
10 Years rr_AverageAnnualReturnYear10 13.25%
Buffalo Discovery Fund | Institutional Class  
Prospectus [Line Items] rr_ProspectusLineItems  
Trading Symbol dei_TradingSymbol BUITX
Shareholder Fee, Other rr_ShareholderFeeOther none
Management Fees (as a percentage of Assets) rr_ManagementFeesOverAssets 0.85%
Component1 Other Expenses rr_Component1OtherExpensesOverAssets none
Other Expenses (as a percentage of Assets): rr_OtherExpensesOverAssets 0.01% [1]
Acquired Fund Fees and Expenses rr_AcquiredFundFeesAndExpensesOverAssets 0.01% [1]
Expenses (as a percentage of Assets) rr_ExpensesOverAssets 0.87% [2]
Expense Example, with Redemption, 1 Year rr_ExpenseExampleYear01 $ 89
Expense Example, with Redemption, 3 Years rr_ExpenseExampleYear03 278
Expense Example, with Redemption, 5 Years rr_ExpenseExampleYear05 482
Expense Example, with Redemption, 10 Years rr_ExpenseExampleYear10 $ 1,073
Buffalo Dividend Focus Fund  
Prospectus [Line Items] rr_ProspectusLineItems  
Risk/Return [Heading] rr_RiskReturnHeading BUFFALO DIVIDEND FOCUS FUND
Objective [Heading] rr_ObjectiveHeading INVESTMENT OBJECTIVE
Objective, Primary [Text Block] rr_ObjectivePrimaryTextBlock
The investment objective of the Buffalo Dividend Focus Fund (the “Dividend Focus Fund” or the “Fund”) is current income,
Objective, Secondary [Text Block] rr_ObjectiveSecondaryTextBlock
with long-term growth of capital as a secondary objective.
Expense [Heading] rr_ExpenseHeading FEES AND EXPENSES OF THE FUND
Expense Narrative [Text Block] rr_ExpenseNarrativeTextBlock
This table describes the fees and expenses that you may pay if you buy and hold shares of the Fund.
Shareholder Fees Caption [Text] rr_ShareholderFeesCaption Shareholder Fees (fees paid directly from your investment)
Operating Expenses Caption [Text] rr_OperatingExpensesCaption Annual Fund Operating Expenses (expenses that you pay each year as a percentage of the value of your investment)
Portfolio Turnover [Heading] rr_PortfolioTurnoverHeading Portfolio Turnover.
Portfolio Turnover [Text Block] rr_PortfolioTurnoverTextBlock
The Fund pays transaction costs, such as commissions, when it buys and sells securities (or “turns over” its portfolio). A higher portfolio turnover rate may indicate higher transaction costs and may result in higher taxes when Fund shares are held in a taxable account. These costs, which are not reflected in annual fund operating expenses or in the example, affect the Fund’s performance. During the most recent fiscal year, the Fund’s portfolio turnover rate was 20% of the average value of its portfolio.
Portfolio Turnover, Rate rr_PortfolioTurnoverRate 20.00%
Expenses Not Correlated to Ratio Due to Acquired Fund Fees [Text] rr_ExpensesNotCorrelatedToRatioDueToAcquiredFundFees Acquired Fund Fees and Expenses represent the indirect costs of the Fund’s investments in other investment companies. The Total Annual Fund Operating Expenses for the Fund do not correlate to the ratio of expenses to average net assets listed in the Fund’s financial highlights, which reflects the operating expenses of the Fund and does not include the amount of the Fund’s proportionate share of the fees and expenses of other investment companies in which the Fund invests.
Expense Example [Heading] rr_ExpenseExampleHeading Example.
Expense Example Narrative [Text Block] rr_ExpenseExampleNarrativeTextBlock
This example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. The example assumes that you invest $10,000 in the Fund for the time periods indicated and then redeem all of your shares at the end of those periods. The example also assumes that your investment has a 5% return each year and that the Fund’s operating expenses remain the same.
Expense Example by, Year, Caption [Text] rr_ExpenseExampleByYearCaption Although your actual costs may be higher or lower, based on these assumptions your costs would be:
Strategy [Heading] rr_StrategyHeading PRINCIPAL INVESTMENT STRATEGIES
Strategy Narrative [Text Block] rr_StrategyNarrativeTextBlock
To pursue its investment objective, the Fund invests in dividend-paying equity securities, consisting of common stocks, preferred stocks, rights, warrants and convertible securities. During normal market conditions, at least 80% of the Fund’s assets will be invested in dividend-paying equity securities. The Fund considers “dividend-paying equity securities” to be securities of companies that declare and pay cash dividends on at least an annual basis. The Dividend Focus Fund may invest in companies in any sector and of any size of market capitalization; provided, however, that the Advisor believes that an investment in the company’s securities is consistent with the Fund’s investment objectives. While the Fund may invest in securities of companies of any size, the Advisor expects that the majority of common stocks purchased for the Fund will be of large-cap companies. The Fund considers large-cap companies to be those with market capitalizations in excess of $10 billion at the time of initial purchase. In addition to investments in domestic securities, the Fund may invest up to 20% of its net assets in sponsored or unsponsored ADRs and securities of foreign companies that are traded on U.S. stock exchanges.

The Advisor emphasizes dividend-paying securities that have exhibited historical growth of dividends. The Advisor may sell the Fund’s investments to secure gains, limit losses or reinvest in more promising investment opportunities.

Risk [Heading] rr_RiskHeading PRINCIPAL RISKS
Risk Narrative [Text Block] rr_RiskNarrativeTextBlock
The Fund cannot guarantee that it will achieve its investment objectives. As with any mutual fund, the value of the Fund’s investments may fluctuate. If the value of the Fund’s investments decreases, the value of the Fund’s shares will also decrease and you may lose money. The risks associated with the Dividend Focus Fund’s principal investment strategies are:

Market Risk – The value of the Fund’s shares will fluctuate as a result of the movement of the overall stock market and/or bond market or of the value of the individual securities held by the Fund, and you could lose money. Adverse market events may also lead to increased shareholder redemptions, which could cause the Fund to experience a loss or difficulty in selling investments to meet such redemptions.

Management Risk – Management risk means that your investment in the Fund varies with the success and failure of the Advisor’s investment strategies and the Advisor’s research, analysis and determination of portfolio securities.

Equity Market Risk – Equity securities held by the Fund may experience sudden, unpredictable drops in value or long periods of decline in value due to general stock market fluctuations, decisions by management or other factors.

Common Stocks. Common stocks are susceptible to general stock market fluctuations and to volatile increases and decreases in value as market confidence in and perceptions of their issuers change. Common stock is generally subject to greater risk than preferred stocks and debt obligations because holders of common stock generally have inferior rights to receive payments from issuers in comparison with the rights of the holders of other securities, bondholders and other creditors.

Preferred Stock. Preferred stock is subject to the risk that the dividend on the stock may be changed or omitted by the issuer, and that participation in the growth of an issuer may be limited.

Convertible Securities. A convertible security is a fixed-income security (a debt instrument or a preferred stock) which may be converted at a stated price within a specified period of time into a certain quantity of the common stock of the same or a different issuer. The market value of a convertible security performs like that of a regular debt security, that is, if market interest rates rise, the value of the convertible security falls.

Warrants. Investments in warrants involve certain risks, including the possible lack of a liquid market for resale of the warrants, potential price fluctuations as a result of speculation or other factors, and failure of the price of the underlying security to reach or have reasonable prospects of reaching a level at which the warrant can be prudently exercised (in which event the warrant may expire without being exercised, resulting in a loss of the Fund’s entire investment therein).

Rights. The purchase of rights involves the risk that the Fund could lose the purchase value of a right if the right is not exercised prior to its expiration. Also, the purchase of rights involves the risk that the effective price paid for the right added to the subscription price of the related security may exceed the value of the subscribed security’s market price.

Sector Risk – Companies with similar characteristics, such as those within the same industry, may be grouped together in broad categories called sectors. To the extent the Fund invests its assets in a particular sector, the Fund’s performance may be more susceptible to any economic, business, or other developments that generally affect that sector.

Large-Cap Company Risk – Larger, more established companies may be unable to respond quickly to new competitive challenges and are sometimes unable to attain the high growth rates of successful smaller companies during periods of economic expansion.

Mid-Cap Company Risk – Investing in mid-cap companies may involve greater risk than investing in large-cap companies due to less management experience, fewer financial resources, less product diversification and fewer competitive strengths. Therefore, such securities may be more volatile and less liquid than large-cap companies. In addition, mid-cap companies may be particularly affected by interest rate increases, as they may find it more difficult to borrow money to continue or expand operations, or may have difficulty in repaying any loans.

Small-Cap Company Risk – Investing in small-cap companies may involve greater risk than investing in large- or mid-cap companies due to less management experience, fewer financial resources, less product diversification and fewer competitive strengths. Therefore, such securities may be more volatile and less liquid than mid- and large-cap companies. In addition, small-cap companies may be particularly affected by interest rate increases, as they may find it more difficult to borrow money to continue or expand operations, or may have difficulty in repaying any loans.

Convertible Securities Risk – Convertible securities generally offer lower interest or dividend yields than non-convertible debt securities of similar quality. The value of a convertible security is influenced by changes in interest rates, with investment value declining as interest rates increase and increasing as interest rates decline. The credit standing of the company and other factors also may have an effect on a convertible security’s investment value.

Money Market Funds Risk – An investment in a money market fund is not a bank deposit and is not insured or guaranteed by any bank, the Federal Deposit Insurance Corporation (FDIC) or any other government agency. Although money market funds seek to preserve the value of investments at $1.00 per share, it is possible for the Fund to lose money if shares of money market funds in which it invests fall below $1.00 per share.

Foreign Risk – Investing in securities of foreign corporations involves additional risks relating to: political, social, religious and economic developments abroad; market instability; fluctuations in foreign exchange rates; different regulatory requirements, market practices, accounting standards and practices; and less publicly available information about foreign issuers. Additionally, these investments may be subject to foreign withholding taxes, may be less liquid, carry higher brokerage commissions and other fees, and procedures and regulations governing transactions and custody in foreign markets also may involve delays in payment, delivery or recovery of money or investments. Investments in common stocks of U.S. companies with international operations, and the purchase of sponsored or unsponsored ADRs carry similar risks.

American Depositary Receipts – Unsponsored ADRs held by the Fund are frequently under no obligation to distribute shareholder communications received from the underlying issuer. For this and other reasons, there is less information available about unsponsored ADRs than sponsored ADRs. Unsponsored ADRs are also not obligated to pass through voting rights to the Fund. Investing in foreign companies, even indirectly through ADRs, may involve the same inherent risks as investing in securities of foreign issuers, as described above.

Cybersecurity Risk – With the increased use of technologies such as the Internet to conduct business, the Fund is susceptible to operational, information security, and related risks. Cyber incidents affecting the Fund or its service providers may cause disruptions and impact business operations, potentially resulting in financial losses, interference with the Fund’s ability to calculate its NAV, impediments to trading, the inability of shareholders to transact business, violations of applicable privacy and other laws, regulatory fines, penalties, reputational damage, reimbursement or other compensation costs, or additional compliance costs.
Risk Lose Money [Text] rr_RiskLoseMoney If the value of the Fund’s investments decreases, the value of the Fund’s shares will also decrease and you may lose money.
Risk Not Insured Depository Institution [Text] rr_RiskNotInsuredDepositoryInstitution An investment in a money market fund is not a bank deposit and is not insured or guaranteed by any bank, the Federal Deposit Insurance Corporation (FDIC) or any other government agency.
Bar Chart and Performance Table [Heading] rr_BarChartAndPerformanceTableHeading PERFORMANCE
Performance Narrative [Text Block] rr_PerformanceNarrativeTextBlock
The performance information provides some indication of the risks of investing in the Dividend Focus Fund. The bar chart shows the Fund’s performance from year to year and the table shows how the Fund’s average annual returns for one year, five years and since inception compare with those of a broad measure of market performance, and the returns of an additional index of a Lipper peer group (a group of mutual funds with investment objectives similar to that of the Fund). The performance information, before and after taxes, is not necessarily an indication of how the Fund will perform in the future. Updated performance information is available on the Fund’s website at http://www.buffalofunds.com/performance.html, or by calling the Fund toll-free at 1-800-49-BUFFALO (1-800-492-8332).
Performance Information Illustrates Variability of Returns [Text] rr_PerformanceInformationIllustratesVariabilityOfReturns The performance information provides some indication of the risks of investing in the Dividend Focus Fund. The bar chart shows the Fund’s performance from year to year and the table shows how the Fund’s average annual returns for one year, five years and since inception compare with those of a broad measure of market performance, and the returns of an additional index of a Lipper peer group (a group of mutual funds with investment objectives similar to that of the Fund).
Performance Availability Phone [Text] rr_PerformanceAvailabilityPhone 1-800-492-8332
Performance Availability Website Address [Text] rr_PerformanceAvailabilityWebSiteAddress http://www.buffalofunds.com/performance.html
Performance Past Does Not Indicate Future [Text] rr_PerformancePastDoesNotIndicateFuture The performance information, before and after taxes, is not necessarily an indication of how the Fund will perform in the future.
Bar Chart [Heading] rr_BarChartHeading Investor Class(1) Annual Total Return as of December 31 of Each Year
Bar Chart Footnotes [Text Block] rr_BarChartFootnotesTextBlock
(1) 
The returns shown in the bar chart are for Investor Class shares of the Fund. Institutional Class shares would have substantially similar annual returns because the shares are invested in the same portfolio of securities and the annual returns would differ only to the extent that the classes do not have the same expenses.
Bar Chart Closing [Text Block] rr_BarChartClosingTextBlock
Calendar Year-to-Date Return – Investor Class (through March 31, 2019) = 10.90%
Best Quarter: December 31, 2013 = 8.96%
Worst Quarter: December 31, 2018 = -12.77%

Year to Date Return, Label rr_YearToDateReturnLabel Calendar Year-to-Date Return
Bar Chart, Year to Date Return, Date rr_BarChartYearToDateReturnDate Mar. 31, 2019
Bar Chart, Year to Date Return rr_BarChartYearToDateReturn 10.90%
Highest Quarterly Return, Label rr_HighestQuarterlyReturnLabel Best Quarter
Highest Quarterly Return, Date rr_BarChartHighestQuarterlyReturnDate Dec. 31, 2013
Highest Quarterly Return rr_BarChartHighestQuarterlyReturn 8.96%
Lowest Quarterly Return, Label rr_LowestQuarterlyReturnLabel Worst Quarter
Lowest Quarterly Return, Date rr_BarChartLowestQuarterlyReturnDate Dec. 31, 2018
Lowest Quarterly Return rr_BarChartLowestQuarterlyReturn (12.77%)
Performance Table Heading rr_PerformanceTableHeading Average Annual Total Returns for the periods ended December 31, 2018
Index No Deduction for Fees, Expenses, Taxes [Text] rr_IndexNoDeductionForFeesExpensesTaxes (reflects no deduction for fees, expenses or taxes)
Performance Table Uses Highest Federal Rate rr_PerformanceTableUsesHighestFederalRate After-tax returns are calculated using the highest historical individual federal marginal income tax rates and do not reflect the impact of state or local taxes.
Performance Table Not Relevant to Tax Deferred rr_PerformanceTableNotRelevantToTaxDeferred Actual after-tax returns depend on each investor’s individual tax situation and may differ from those shown in the table. The after-tax returns shown are not relevant to investors who own the Dividend Focus Fund in a tax-deferred arrangement, such as an individual retirement account (“IRA”) or a 401(k) plan.
Performance Table One Class of after Tax Shown [Text] rr_PerformanceTableOneClassOfAfterTaxShown Returns are shown for Investor Class shares only and will vary for Institutional Class shares.
Performance Table Explanation after Tax Higher rr_PerformanceTableExplanationAfterTaxHigher In certain cases, the figure representing “Return After Taxes on Distributions and Sale of Fund Shares” may be higher than the other return figures for the same period, since a higher after-tax return results when a capital loss occurs upon redemption and provides an assumed tax deduction that benefits the investor.
Performance Table Closing [Text Block] rr_PerformanceTableClosingTextBlock
The Lipper Equity Income Funds Index® tracks funds that seek relatively high current income and growth of income by investing at least 65% of their portfolio in dividend-paying equity securities.

Returns are shown for Investor Class shares only and will vary for Institutional Class shares. After-tax returns are calculated using the highest historical individual federal marginal income tax rates and do not reflect the impact of state or local taxes. Actual after-tax returns depend on each investor’s individual tax situation and may differ from those shown in the table. The after-tax returns shown are not relevant to investors who own the Dividend Focus Fund in a tax-deferred arrangement, such as an individual retirement account (“IRA”) or a 401(k) plan. In certain cases, the figure representing “Return After Taxes on Distributions and Sale of Fund Shares” may be higher than the other return figures for the same period, since a higher after-tax return results when a capital loss occurs upon redemption and provides an assumed tax deduction that benefits the investor.
Buffalo Dividend Focus Fund | Morningstar US Large-Mid Cap Index (reflects no deduction for fees, expenses or taxes)  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Morningstar US Large-Mid Cap Index (reflects no deduction for fees, expenses or taxes)
1 Year rr_AverageAnnualReturnYear01 (4.52%)
5 Years rr_AverageAnnualReturnYear05 8.20%
Since Inception rr_AverageAnnualReturnSinceInception 12.12%
Inception Date rr_AverageAnnualReturnInceptionDate Dec. 03, 2012
Buffalo Dividend Focus Fund | Lipper Equity Income Funds Index® (reflects no deduction for taxes)  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Lipper Equity Income Funds Index® (reflects no deduction for taxes)
1 Year rr_AverageAnnualReturnYear01 (6.61%)
5 Years rr_AverageAnnualReturnYear05 5.96%
Since Inception rr_AverageAnnualReturnSinceInception 9.60%
Inception Date rr_AverageAnnualReturnInceptionDate Dec. 03, 2012
Buffalo Dividend Focus Fund | Investor Class  
Prospectus [Line Items] rr_ProspectusLineItems  
Trading Symbol dei_TradingSymbol BUFDX
Shareholder Fee, Other rr_ShareholderFeeOther none
Management Fees (as a percentage of Assets) rr_ManagementFeesOverAssets 0.75%
Component1 Other Expenses rr_Component1OtherExpensesOverAssets 0.15%
Other Expenses (as a percentage of Assets): rr_OtherExpensesOverAssets 0.04% [3]
Acquired Fund Fees and Expenses rr_AcquiredFundFeesAndExpensesOverAssets 0.02% [3]
Expenses (as a percentage of Assets) rr_ExpensesOverAssets 0.96% [4]
Expense Example, with Redemption, 1 Year rr_ExpenseExampleYear01 $ 98
Expense Example, with Redemption, 3 Years rr_ExpenseExampleYear03 306
Expense Example, with Redemption, 5 Years rr_ExpenseExampleYear05 531
Expense Example, with Redemption, 10 Years rr_ExpenseExampleYear10 $ 1,178
Annual Return 2013 rr_AnnualReturn2013 23.93%
Annual Return 2014 rr_AnnualReturn2014 20.81%
Annual Return 2015 rr_AnnualReturn2015 0.13%
Annual Return 2016 rr_AnnualReturn2016 12.06%
Annual Return 2017 rr_AnnualReturn2017 18.02%
Annual Return 2018 rr_AnnualReturn2018 (5.05%)
Label rr_AverageAnnualReturnLabel Return Before Taxes
1 Year rr_AverageAnnualReturnYear01 (5.05%)
5 Years rr_AverageAnnualReturnYear05 8.72%
Since Inception rr_AverageAnnualReturnSinceInception 10.99%
Inception Date rr_AverageAnnualReturnInceptionDate Dec. 03, 2012
Buffalo Dividend Focus Fund | Investor Class | After Taxes on Distributions  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Return After Taxes on Distributions
1 Year rr_AverageAnnualReturnYear01 (6.14%)
5 Years rr_AverageAnnualReturnYear05 7.63%
Since Inception rr_AverageAnnualReturnSinceInception 9.80%
Buffalo Dividend Focus Fund | Investor Class | After Taxes on Distributions and Sales  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Return After Taxes on Distributions and Sale of Fund Shares
1 Year rr_AverageAnnualReturnYear01 (2.17%)
5 Years rr_AverageAnnualReturnYear05 6.63%
Since Inception rr_AverageAnnualReturnSinceInception 8.48%
Buffalo Dividend Focus Fund | Institutional Class  
Prospectus [Line Items] rr_ProspectusLineItems  
Trading Symbol dei_TradingSymbol BUIDX
Shareholder Fee, Other rr_ShareholderFeeOther none
Management Fees (as a percentage of Assets) rr_ManagementFeesOverAssets 0.75%
Component1 Other Expenses rr_Component1OtherExpensesOverAssets none
Other Expenses (as a percentage of Assets): rr_OtherExpensesOverAssets 0.04% [3]
Acquired Fund Fees and Expenses rr_AcquiredFundFeesAndExpensesOverAssets 0.02% [3]
Expenses (as a percentage of Assets) rr_ExpensesOverAssets 0.81% [4]
Expense Example, with Redemption, 1 Year rr_ExpenseExampleYear01 $ 83
Expense Example, with Redemption, 3 Years rr_ExpenseExampleYear03 259
Expense Example, with Redemption, 5 Years rr_ExpenseExampleYear05 450
Expense Example, with Redemption, 10 Years rr_ExpenseExampleYear10 $ 1,002
Buffalo Emerging Opportunities Fund  
Prospectus [Line Items] rr_ProspectusLineItems  
Risk/Return [Heading] rr_RiskReturnHeading BUFFALO EMERGING OPPORTUNITIES FUND
Objective [Heading] rr_ObjectiveHeading INVESTMENT OBJECTIVE
Objective, Primary [Text Block] rr_ObjectivePrimaryTextBlock
The investment objective of the Buffalo Emerging Opportunities Fund (“Emerging Opportunities Fund” or the “Fund”) is long-term growth of capital.
Expense [Heading] rr_ExpenseHeading FEES AND EXPENSES OF THE FUND
Expense Narrative [Text Block] rr_ExpenseNarrativeTextBlock
This table describes the fees and expenses that you may pay if you buy and hold shares of the Fund.
Shareholder Fees Caption [Text] rr_ShareholderFeesCaption Shareholder Fees (fees paid directly from your investment)
Operating Expenses Caption [Text] rr_OperatingExpensesCaption Annual Fund Operating Expenses (expenses that you pay each year as a percentage of the value of your investment)
Portfolio Turnover [Heading] rr_PortfolioTurnoverHeading Portfolio Turnover.
Portfolio Turnover [Text Block] rr_PortfolioTurnoverTextBlock
The Fund pays transaction costs, such as commissions, when it buys and sells securities (or “turns over” its portfolio). A higher portfolio turnover rate may indicate higher transaction costs and may result in higher taxes when Fund shares are held in a taxable account. These costs, which are not reflected in annual fund operating expenses or in the example, affect the Fund’s performance. During the most recent fiscal year, the Fund’s portfolio turnover rate was 40% of the average value of its portfolio.

Portfolio Turnover, Rate rr_PortfolioTurnoverRate 40.00%
Expenses Not Correlated to Ratio Due to Acquired Fund Fees [Text] rr_ExpensesNotCorrelatedToRatioDueToAcquiredFundFees Acquired Fund Fees and Expenses represent the indirect costs of the Fund’s investments in other investment companies. The Total Annual Fund Operating Expenses for the Fund do not correlate to the ratio of expenses to average net assets listed in the Fund’s financial highlights, which reflects the operating expenses of the Fund and does not include the amount of the Fund’s proportionate share of the fees and expenses of other investment companies in which the Fund invests.
Expense Example [Heading] rr_ExpenseExampleHeading Example.
Expense Example Narrative [Text Block] rr_ExpenseExampleNarrativeTextBlock
This example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. The example assumes that you invest $10,000 in the Fund for the time periods indicated and then redeem all of your shares at the end of those periods. The example also assumes that your investment has a 5% return each year and that the Fund’s operating expenses remain the same.
Expense Example by, Year, Caption [Text] rr_ExpenseExampleByYearCaption Although your actual costs may be higher or lower, based on these assumptions your costs would be:
Strategy [Heading] rr_StrategyHeading PRINCIPAL INVESTMENT STRATEGIES
Strategy Narrative [Text Block] rr_StrategyNarrativeTextBlock
The Fund invests primarily in equity securities, consisting of common stocks, preferred stocks, convertible securities, warrants and rights, of companies that, at the time of purchase by the Fund, have market capitalizations of $1.5 billion or less. In addition to the Fund’s investments in domestic securities, the Fund may also invest up to 20% of its net assets in sponsored or unsponsored ADRs and equity securities of foreign companies that are traded on U.S. stock exchanges. The Fund may invest in companies in any sector. The Fund may have significant investments in the information technology sector.

The Advisor seeks to identify companies for the Fund’s portfolio that are expected to experience growth based on the identification of long-term, measurable secular trends, and which, as a result, the Advisor believes may have potential revenue growth in excess of the gross domestic product growth rate. Companies are screened using in-depth, in-house research to identify those which the Advisor believes have favorable attributes, including attractive valuation, strong management, conservative debt, free cash flow, scalable business models, and competitive advantages. The Advisor may sell the Fund’s investments to secure gains, limit losses or reinvest in more promising investment opportunities.
Risk [Heading] rr_RiskHeading PRINCIPAL RISKS
Risk Narrative [Text Block] rr_RiskNarrativeTextBlock
The Emerging Opportunities Fund cannot guarantee that it will achieve its investment objective. As with any mutual fund, the value of the Fund’s investments may fluctuate. If the value of the Emerging Opportunities Fund’s investments decreases, the value of the Fund’s shares will also decrease and you may lose money. The risks associated with the Emerging Opportunities Fund’s principal investment strategies are:

Market Risk – The value of the Emerging Opportunities Fund’s shares will fluctuate as a result of the movement of the overall stock market or of the value of the individual securities held by the Emerging Opportunities Fund, and you could lose money. Adverse market events may also lead to increased shareholder redemptions, which could cause the Fund to experience a loss or difficulty in selling investments to meet such redemptions.

Management Risk – Management risk means that your investment in the Emerging Opportunities Fund varies with the success and failure of the Advisor’s investment strategies and the Advisor’s research, analysis and determination of portfolio securities.

Equity Market Risk – Equity securities held by the Emerging Opportunities Fund may experience sudden, unpredictable drops in value or long periods of decline in value due to general stock market fluctuations, increases in production costs, decisions by management or related factors.

Common Stocks. Common stocks are susceptible to general stock market fluctuations and to volatile increases and decreases in value as market confidence in and perceptions of their issuers change. Common stock is generally subject to greater risk than preferred stocks and debt obligations because holders of common stock generally have inferior rights to receive payments from issuers in comparison with the rights of the holders of other securities, bondholders and other creditors.

Preferred Stock. Preferred stock is subject to the risk that the dividend on the stock may be changed or omitted by the issuer, and that participation in the growth of an issuer may be limited.

Convertible Securities. A convertible security is a fixed-income security (a debt instrument or a preferred stock) which may be converted at a stated price within a specified period of time into a certain quantity of the common stock of the same or a different issuer. The market value of a convertible security performs like that of a regular debt security, that is, if market interest rates rise, the value of the convertible security falls.

Warrants. Investments in warrants involve certain risks, including the possible lack of a liquid market for resale of the warrants, potential price fluctuations as a result of speculation or other factors, and failure of the price of the underlying security to reach or have reasonable prospects of reaching a level at which the warrant can be prudently exercised (in which event the warrant may expire without being exercised, resulting in a loss of the Fund’s entire investment therein).

Rights. The purchase of rights involves the risk that the Fund could lose the purchase value of a right if the right is not exercised prior to its expiration. Also, the purchase of rights involves the risk that the effective price paid for the right added to the subscription price of the related security may exceed the value of the subscribed security’s market price.

Sector Risk – Companies with similar characteristics, such as those within the same industry, may be grouped together in broad categories called sectors. To the extent the Fund invests its assets in a particular sector, the Fund’s performance may be more susceptible to any economic, business, or other developments that generally affect that sector.

Information Technology Company Risk – Information technology companies often face unusually high price volatility, both in terms of gains and losses. To the extent that the Fund makes investments in such companies, its share price is likely to be more volatile. The potential for wide variations in performance is based on special risks common to information technology companies. Information technology companies may have limited product lines, markets or financial resources. Information technology companies are affected by worldwide technological developments and their products and services may quickly become outdated. Given these risks, an investment in the Fund may be more suitable for long-term investors, who are willing to withstand the Fund’s potential for volatility.

Small-Cap Company Risk – Investing in small-cap companies may involve greater risk than investing in large- or mid-cap companies due to less management experience, fewer financial resources, less product diversification and fewer competitive strengths. Therefore, such securities may be more volatile and less liquid than mid- and large-cap companies. In addition, small-cap companies may be particularly affected by interest rate increases, as they may find it more difficult to borrow money to continue or expand operations, or may have difficulty in repaying any loans.

Micro-Cap Company Risk – Investing in micro-cap companies may involve greater risk than investing in companies with larger capitalization due to less management experience, fewer financial resources, less product diversification and fewer competitive strengths. Therefore, such securities may be more volatile and less liquid than companies with larger capitalization. In addition, micro-cap companies may be particularly affected by interest rate increases, as they may find it more difficult to borrow money to continue or expand operations, or may have difficulty in repaying any loans. The trading volume of securities of smaller capitalization companies is normally less than that of larger capitalization companies, and therefore may disproportionately affect their market price, tending to make them fall more in response to selling pressure than is the case with larger capitalization companies. These risks are enhanced for micro-cap securities. Many micro-cap companies tend to be new and have no proven track record. Some of these companies have no assets or operations, while others have products and services that are still in development or have yet to be tested in the market. As any size of trade can have a large percentage impact on the price of a micro-cap stock, the Fund will be more susceptible to sudden and significant losses. In addition, micro-cap company stocks will also be bought and sold less often than other stocks, making them less liquid than other securities.

Money Market Funds Risk – An investment in a money market fund is not a bank deposit and is not insured or guaranteed by any bank, the Federal Deposit Insurance Corporation (FDIC) or any other government agency. Although money market funds seek to preserve the value of investments at $1.00 per share, it is possible for the Fund to lose money if shares of money market funds in which it invests fall below $1.00 per share.

Foreign Risk – Investing in securities of foreign corporations involves additional risks relating to: political, social, religious and economic developments abroad; market instability; fluctuations in foreign exchange rates; different regulatory requirements, market practices, accounting standards and practices; and less publicly available information about foreign issuers. Additionally, these investments may be subject to foreign withholding taxes, may be less liquid, carry higher brokerage commissions and other fees, and procedures and regulations governing transactions and custody in foreign markets also may involve delays in payment, delivery or recovery of money or investments. Investments in common stocks of U.S. companies with international operations, and the purchase of sponsored or unsponsored ADRs carry similar risks.

American Depositary Receipts – Unsponsored ADRs held by the Fund are frequently under no obligation to distribute shareholder communications received from the underlying issuer. For this and other reasons, there is less information available about unsponsored ADRs than sponsored ADRs. Unsponsored ADRs are also not obligated to pass through voting rights to the Fund. Investing in foreign companies, even indirectly through ADRs, may involve the same inherent risks as investing in securities of foreign issuers, as described above.

Cybersecurity Risk – With the increased use of technologies such as the Internet to conduct business, the Fund is susceptible to operational, information security, and related risks. Cyber incidents affecting the Fund or its service providers may cause disruptions and impact business operations, potentially resulting in financial losses, interference with the Fund’s ability to calculate its NAV, impediments to trading, the inability of shareholders to transact business, violations of applicable privacy and other laws, regulatory fines, penalties, reputational damage, reimbursement or other compensation costs, or additional compliance costs.
Risk Lose Money [Text] rr_RiskLoseMoney If the value of the Emerging Opportunities Fund’s investments decreases, the value of the Fund’s shares will also decrease and you may lose money.
Risk Not Insured Depository Institution [Text] rr_RiskNotInsuredDepositoryInstitution An investment in a money market fund is not a bank deposit and is not insured or guaranteed by any bank, the Federal Deposit Insurance Corporation (FDIC) or any other government agency.
Bar Chart and Performance Table [Heading] rr_BarChartAndPerformanceTableHeading PERFORMANCE
Performance Narrative [Text Block] rr_PerformanceNarrativeTextBlock
The performance information provides some indication of the risks of investing in the Emerging Opportunities Fund by showing changes in the Fund’s performance from year to year and by showing how the Fund’s average annual returns for one, five and ten years compare with those of a broad measure of market performance and the returns of an additional index of a Lipper peer group (a group of mutual funds with investment objectives similar to that of the Fund). The performance information, before and after taxes, is not necessarily an indication of how the Fund will perform in the future. Updated performance information is available on the Fund’s website at http://www.buffalofunds.com/performance.html, or by calling the Fund toll-free at 1-800-49-BUFFALO (1-800-492-8332).
Performance Information Illustrates Variability of Returns [Text] rr_PerformanceInformationIllustratesVariabilityOfReturns The performance information provides some indication of the risks of investing in the Emerging Opportunities Fund by showing changes in the Fund’s performance from year to year and by showing how the Fund’s average annual returns for one, five and ten years compare with those of a broad measure of market performance and the returns of an additional index of a Lipper peer group (a group of mutual funds with investment objectives similar to that of the Fund).
Performance Availability Phone [Text] rr_PerformanceAvailabilityPhone 1-800-492-8332
Performance Availability Website Address [Text] rr_PerformanceAvailabilityWebSiteAddress http://www.buffalofunds.com/performance.html
Performance Past Does Not Indicate Future [Text] rr_PerformancePastDoesNotIndicateFuture The performance information, before and after taxes, is not necessarily an indication of how the Fund will perform in the future.
Bar Chart [Heading] rr_BarChartHeading Investor Class(1) Annual Total Return as of December 31 of Each Year
Bar Chart Footnotes [Text Block] rr_BarChartFootnotesTextBlock
(1) 
The returns shown in the bar chart are for Investor Class shares of the Fund. Institutional Class shares would have substantially similar annual returns because the shares are invested in the same portfolio of securities and the annual returns would differ only to the extent that the classes do not have the same expenses.
Bar Chart Closing [Text Block] rr_BarChartClosingTextBlock
Calendar Year-to-Date Return – Investor Class (through March 31, 2019) = 16.88%
Best Quarter: June 30, 2009 = 34.09%
Worst Quarter: September 30, 2011 = -19.73%

Year to Date Return, Label rr_YearToDateReturnLabel Calendar Year-to-Date Return
Bar Chart, Year to Date Return, Date rr_BarChartYearToDateReturnDate Mar. 31, 2019
Bar Chart, Year to Date Return rr_BarChartYearToDateReturn 16.88%
Highest Quarterly Return, Label rr_HighestQuarterlyReturnLabel Best Quarter
Highest Quarterly Return, Date rr_BarChartHighestQuarterlyReturnDate Jun. 30, 2009
Highest Quarterly Return rr_BarChartHighestQuarterlyReturn 34.09%
Lowest Quarterly Return, Label rr_LowestQuarterlyReturnLabel Worst Quarter
Lowest Quarterly Return, Date rr_BarChartLowestQuarterlyReturnDate Sep. 30, 2011
Lowest Quarterly Return rr_BarChartLowestQuarterlyReturn (19.73%)
Performance Table Heading rr_PerformanceTableHeading Average Annual Total Returns for the periods ended December 31, 2018
Index No Deduction for Fees, Expenses, Taxes [Text] rr_IndexNoDeductionForFeesExpensesTaxes (reflects no deduction for fees, expenses or taxes)
Performance Table Uses Highest Federal Rate rr_PerformanceTableUsesHighestFederalRate After-tax returns are calculated using the highest historical individual federal marginal income tax rates and do not reflect the impact of state or local taxes.
Performance Table Not Relevant to Tax Deferred rr_PerformanceTableNotRelevantToTaxDeferred Actual after-tax returns depend on each investor’s individual tax situation and may differ from those shown in the table. The after-tax returns shown are not relevant to investors who own the Emerging Opportunities Fund in a tax-deferred account, such as an individual retirement account (“IRA”) or a 401(k) plan.
Performance Table One Class of after Tax Shown [Text] rr_PerformanceTableOneClassOfAfterTaxShown Returns are shown for Investor Class shares only and will vary for Institutional Class shares.
Performance Table Explanation after Tax Higher rr_PerformanceTableExplanationAfterTaxHigher In certain cases, the figure representing “Return After Taxes on Distributions and Sale of Fund Shares” may be higher than the other return figures for the same period, since a higher after-tax return results when a capital loss occurs upon redemption and provides an assumed tax deduction that benefits the investor.
Performance Table Closing [Text Block] rr_PerformanceTableClosingTextBlock
The Lipper Small-Cap Growth Funds Index® is an unmanaged, equally weighted performance index of the 30 largest qualifying mutual funds (based on net assets) in the Lipper Small-Cap classification.

Returns are shown for Investor Class shares only and will vary for Institutional Class shares. After-tax returns are calculated using the highest historical individual federal marginal income tax rates and do not reflect the impact of state or local taxes. Actual after-tax returns depend on each investor’s individual tax situation and may differ from those shown in the table. The after-tax returns shown are not relevant to investors who own the Emerging Opportunities Fund in a tax-deferred account, such as an individual retirement account (“IRA”) or a 401(k) plan. In certain cases, the figure representing “Return After Taxes on Distributions and Sale of Fund Shares” may be higher than the other return figures for the same period, since a higher after-tax return results when a capital loss occurs upon redemption and provides an assumed tax deduction that benefits the investor.
Buffalo Emerging Opportunities Fund | Morningstar US Small Growth Index (reflects no deduction for fees, expenses or taxes)  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Morningstar US Small Growth Index (reflects no deduction for fees, expenses or taxes)
1 Year rr_AverageAnnualReturnYear01 (5.67%)
5 Years rr_AverageAnnualReturnYear05 5.53%
10 Years rr_AverageAnnualReturnYear10 13.89%
Buffalo Emerging Opportunities Fund | Lipper Small-Cap Growth Funds Index® (reflects no deduction for taxes)  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Lipper Small-Cap Growth Funds Index® (reflects no deduction for taxes)
1 Year rr_AverageAnnualReturnYear01 (3.93%)
5 Years rr_AverageAnnualReturnYear05 5.51%
10 Years rr_AverageAnnualReturnYear10 13.55%
Buffalo Emerging Opportunities Fund | Investor Class  
Prospectus [Line Items] rr_ProspectusLineItems  
Trading Symbol dei_TradingSymbol BUFOX
Shareholder Fee, Other rr_ShareholderFeeOther none
Management Fees (as a percentage of Assets) rr_ManagementFeesOverAssets 1.30%
Component1 Other Expenses rr_Component1OtherExpensesOverAssets 0.15%
Other Expenses (as a percentage of Assets): rr_OtherExpensesOverAssets 0.03% [5]
Acquired Fund Fees and Expenses rr_AcquiredFundFeesAndExpensesOverAssets 0.01% [5]
Expenses (as a percentage of Assets) rr_ExpensesOverAssets 1.49% [6]
Expense Example, with Redemption, 1 Year rr_ExpenseExampleYear01 $ 152
Expense Example, with Redemption, 3 Years rr_ExpenseExampleYear03 471
Expense Example, with Redemption, 5 Years rr_ExpenseExampleYear05 813
Expense Example, with Redemption, 10 Years rr_ExpenseExampleYear10 $ 1,779
Annual Return 2009 rr_AnnualReturn2009 48.16%
Annual Return 2010 rr_AnnualReturn2010 26.86%
Annual Return 2011 rr_AnnualReturn2011 8.14%
Annual Return 2012 rr_AnnualReturn2012 24.30%
Annual Return 2013 rr_AnnualReturn2013 61.70%
Annual Return 2014 rr_AnnualReturn2014 (7.38%)
Annual Return 2015 rr_AnnualReturn2015 (9.41%)
Annual Return 2016 rr_AnnualReturn2016 11.05%
Annual Return 2017 rr_AnnualReturn2017 27.18%
Annual Return 2018 rr_AnnualReturn2018 (3.95%)
Label rr_AverageAnnualReturnLabel Return Before Taxes
1 Year rr_AverageAnnualReturnYear01 (3.95%)
5 Years rr_AverageAnnualReturnYear05 2.62%
10 Years rr_AverageAnnualReturnYear10 16.61%
Buffalo Emerging Opportunities Fund | Investor Class | After Taxes on Distributions  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Return After Taxes on Distributions
1 Year rr_AverageAnnualReturnYear01 (7.36%)
5 Years rr_AverageAnnualReturnYear05 (0.48%)
10 Years rr_AverageAnnualReturnYear10 14.83%
Buffalo Emerging Opportunities Fund | Investor Class | After Taxes on Distributions and Sales  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Return After Taxes on Distributions and Sale of Fund Shares
1 Year rr_AverageAnnualReturnYear01 (0.78%)
5 Years rr_AverageAnnualReturnYear05 1.31%
10 Years rr_AverageAnnualReturnYear10 13.75%
Buffalo Emerging Opportunities Fund | Institutional Class  
Prospectus [Line Items] rr_ProspectusLineItems  
Trading Symbol dei_TradingSymbol BUIOX
Shareholder Fee, Other rr_ShareholderFeeOther none
Management Fees (as a percentage of Assets) rr_ManagementFeesOverAssets 1.30%
Component1 Other Expenses rr_Component1OtherExpensesOverAssets none
Other Expenses (as a percentage of Assets): rr_OtherExpensesOverAssets 0.03% [5]
Acquired Fund Fees and Expenses rr_AcquiredFundFeesAndExpensesOverAssets 0.01% [5]
Expenses (as a percentage of Assets) rr_ExpensesOverAssets 1.34% [6]
Expense Example, with Redemption, 1 Year rr_ExpenseExampleYear01 $ 136
Expense Example, with Redemption, 3 Years rr_ExpenseExampleYear03 425
Expense Example, with Redemption, 5 Years rr_ExpenseExampleYear05 734
Expense Example, with Redemption, 10 Years rr_ExpenseExampleYear10 $ 1,613
Buffalo Flexible Income Fund  
Prospectus [Line Items] rr_ProspectusLineItems  
Risk/Return [Heading] rr_RiskReturnHeading BUFFALO FLEXIBLE INCOME FUND
Objective [Heading] rr_ObjectiveHeading INVESTMENT OBJECTIVES
Objective, Primary [Text Block] rr_ObjectivePrimaryTextBlock
The investment objective of the Buffalo Flexible Income Fund (“Flexible Income Fund” or the “Fund”) is the generation of high current income
Objective, Secondary [Text Block] rr_ObjectiveSecondaryTextBlock
and, as a secondary objective, the long-term growth of capital.
Expense [Heading] rr_ExpenseHeading FEES AND EXPENSES OF THE FUND
Expense Narrative [Text Block] rr_ExpenseNarrativeTextBlock
This table describes the fees and expenses that you may pay if you buy and hold shares of the Fund.
Shareholder Fees Caption [Text] rr_ShareholderFeesCaption Shareholder Fees (fees paid directly from your investment)
Operating Expenses Caption [Text] rr_OperatingExpensesCaption Annual Fund Operating Expenses (expenses that you pay each year as a percentage of the value of your investment)
Portfolio Turnover [Heading] rr_PortfolioTurnoverHeading Portfolio Turnover.
Portfolio Turnover [Text Block] rr_PortfolioTurnoverTextBlock
The Fund pays transaction costs, such as commissions, when it buys and sells securities (or “turns over” its portfolio). A higher portfolio turnover rate may indicate higher transaction costs and may result in higher taxes when Fund shares are held in a taxable account. These costs, which are not reflected in annual fund operating expenses or in the example, affect the Fund’s performance. During the most recent fiscal year, the Fund’s portfolio turnover rate was 6% of the average value of its portfolio.
Portfolio Turnover, Rate rr_PortfolioTurnoverRate 6.00%
Expense Example [Heading] rr_ExpenseExampleHeading Example.
Expense Example Narrative [Text Block] rr_ExpenseExampleNarrativeTextBlock
This example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. The example assumes that you invest $10,000 in the Fund for the time periods indicated and then redeem all of your shares at the end of those periods. The example also assumes that your investment has a 5% return each year and that the Fund’s operating expenses remain the same.
Expense Example by, Year, Caption [Text] rr_ExpenseExampleByYearCaption Although your actual costs may be higher or lower, based on these assumptions your costs would be:
Strategy [Heading] rr_StrategyHeading PRINCIPAL INVESTMENT STRATEGIES
Strategy Narrative [Text Block] rr_StrategyNarrativeTextBlock
To pursue its investment objectives, the Flexible Income Fund invests in both debt and equity securities. Debt securities can include government notes and bonds, mortgage and asset backed securities, bank debt, convertible debt securities, fixed and floating rate corporate debt securities, both rated and unrated, and higher-yielding, higher-risk debt securities rated below investment grade by the major rating agencies (or in similar unrated securities), commonly known as “junk bonds.” Equity securities can include common stocks, preferred stocks, rights, warrants and convertible preferred stocks. With respect to its investments in equity securities, the Flexible Income Fund may invest in companies in any sector and of any size of market capitalization; provided, however, that the Advisor believes that an investment in the company’s securities is consistent with the Fund’s investment objectives. The Fund may invest up to 20% of its net assets in sponsored or unsponsored ADRs and securities of foreign companies that are traded on U.S. stock exchanges and U.S. over-the-counter markets.

The allocation of assets invested in each type of security is designed to balance income and long-term capital appreciation with reduced volatility of returns. The Flexible Income Fund expects to change its allocation mix over time based on the Advisor’s view of economic conditions and underlying security values. The Fund maintains a flexible investment policy which allows it to invest in debt securities with varying maturities. However, it is anticipated that the dollar-weighted average maturity of debt securities that the Fund purchases will not exceed 15 years.

With respect to debt securities, the Advisor performs extensive fundamental investment research to identify investment opportunities for the Flexible Income Fund. When evaluating investments and the credit quality of rated and unrated securities, the Advisor looks at a number of past, present and estimated future factors, including: (1) financial strength of the issuer; (2) cash flow; (3) management; (4) borrowing requirements; (5) sensitivity to changes in interest rates and business conditions; and (6) relative value. The Flexible Income Fund relies on the Advisor to undertake a careful analysis to determine the creditworthiness of the issuers of rated debt (on debt ratings by Moody’s Investors Service, Inc., (“Moody’s) or S&P Global Ratings, (“S&P”)), as well as the issuers of debt not rated by Moody’s or S&P. The Fund will not purchase a debt security that is rated less than Caa/CCC by Moody’s or S&P, respectively, and will only purchase an unrated debt security if the Advisor believes that the security is of at least B quality, subject to a limitation that the Fund may not hold more than 20% of its net assets in debt securities that are rated less than B or that are unrated debt securities of similar quality, based on the Advisor’s fundamental analysis of the issuer and of rated bonds issued by similar issuers. The Fund has no limitations on principal, interest or reset terms on debt securities held in the Fund.

With respect to equity securities, the Advisor emphasizes dividend-paying stocks that over time have exhibited consistent growth of dividends. The Advisor may sell the Flexible Income Fund’s investments to secure gains, limit losses or reinvest in more promising investment opportunities.
Risk [Heading] rr_RiskHeading PRINCIPAL RISKS
Risk Narrative [Text Block] rr_RiskNarrativeTextBlock
The Flexible Income Fund cannot guarantee that it will achieve its investment objectives. As with any mutual fund, the value of the Flexible Income Fund’s investments may fluctuate. If the value of the Flexible Income Fund’s investments decreases, the value of the Fund’s shares will also decrease and you may lose money. The risks associated with the Flexible Income Fund’s principal investment strategies are:

Market Risk – The value of the Flexible Income Fund’s shares will fluctuate as a result of the movement of the overall stock market and/or bond market or of the value of the individual securities held by the Flexible Income Fund, and you could lose money. Adverse market events may also lead to increased shareholder redemptions, which could cause the Fund to experience a loss or difficulty in selling investments to meet such redemptions.

Management Risk – Management risk means that your investment in the Flexible Income Fund varies with the success and failure of the Advisor’s investment strategies and the Advisor’s research, analysis and determination of portfolio securities.

Equity Market Risk – Equity securities held by the Flexible Income Fund may experience sudden, unpredictable drops in value or long periods of decline in value due to general stock market fluctuations, decisions by management or other factors.

Common Stocks. Common stocks are susceptible to general stock market fluctuations and to volatile increases and decreases in value as market confidence in and perceptions of their issuers change. Common stock is generally subject to greater risk than preferred stocks and debt obligations because holders of common stock generally have inferior rights to receive payments from issuers in comparison with the rights of the holders of other securities, bondholders and other creditors.

Preferred Stock. Preferred stock is subject to the risk that the dividend on the stock may be changed or omitted by the issuer, and that participation in the growth of an issuer may be limited.

Convertible Preferred Stocks. Convertible securities are fixed-income securities which may be converted at a stated price within a specified period of time into a certain quantity of the common stock of the same or a different issuer. The market value of a convertible preferred stock performs like that of a regular debt security, that is, if market interest rates rise, the value of the convertible preferred stock falls.

Warrants. Investments in warrants involve certain risks, including the possible lack of a liquid market for resale of the warrants, potential price fluctuations as a result of speculation or other factors, and failure of the price of the underlying security to reach or have reasonable prospects of reaching a level at which the warrant can be prudently exercised (in which event the warrant may expire without being exercised, resulting in a loss of the Fund’s entire investment therein).

Rights. The purchase of rights involves the risk that the Fund could lose the purchase value of a right if the right is not exercised prior to its expiration. Also, the purchase of rights involves the risk that the effective price paid for the right added to the subscription price of the related security may exceed the value of the subscribed security’s market price.

Sector Risk – Companies with similar characteristics, such as those within the same industry, may be grouped together in broad categories called sectors. To the extent the Fund invests its assets in a particular sector, the Fund’s performance may be more susceptible to any economic, business, or other developments that generally affect that sector.

Large-Cap Company Risk – Larger, more established companies may be unable to respond quickly to new competitive challenges and are sometimes unable to attain the high growth rates of successful smaller companies during periods of economic expansion.

Mid-Cap Company Risk – Investing in mid-cap companies may involve greater risk than investing in large-cap companies due to less management experience, fewer financial resources, less product diversification and fewer competitive strengths. Therefore, such securities may be more volatile and less liquid than large-cap companies. In addition, mid-cap companies may be particularly affected by interest rate increases, as they may find it more difficult to borrow money to continue or expand operations, or may have difficulty in repaying any loans.

Small-Cap Company Risk – Investing in small-cap companies may involve greater risk than investing in large- or mid-cap companies due to less management experience, fewer financial resources, less product diversification and fewer competitive strengths. Therefore, such securities may be more volatile and less liquid than mid- and large-cap companies. In addition, small-cap companies may be particularly affected by interest rate increases, as they may find it more difficult to borrow money to continue or expand operations, or may have difficulty in repaying any loans.

Foreign Risk – Investing in securities of foreign corporations involves additional risks relating to: political, social, religious and economic developments abroad; market instability; fluctuations in foreign exchange rates; different regulatory requirements, market practices, accounting standards and practices; and less publicly available information about foreign issuers. Additionally, these investments may be subject to foreign withholding taxes, may be less liquid, carry higher brokerage commissions and other fees, and procedures and regulations governing transactions and custody in foreign markets also may involve delays in payment, delivery or recovery of money or investments. Investments in common stocks of U.S. companies with international operations, and the purchase of sponsored or unsponsored ADRs carry similar risks.

American Depositary Receipts – Unsponsored ADRs held by the Fund are frequently under no obligation to distribute shareholder communications received from the underlying issuer. For this and other reasons, there is less information available about unsponsored ADRs than sponsored ADRs. Unsponsored ADRs are also not obligated to pass through voting rights to the Fund. Investing in foreign companies, even indirectly through ADRs, may involve the same inherent risks as investing in securities of foreign issuers, as described above.

Convertible Debt Securities Risk – Convertible debt securities generally offer lower interest or dividend yields than non-convertible debt securities of similar quality. The value of a convertible debt security is influenced by changes in interest rates, with investment value declining as interest rates increase and increasing as interest rates decline. The credit standing of the company and other factors also may have an effect on a convertible debt security’s investment value.

Debt Securities Risk – Interest rates may go up resulting in a decrease in the value of the debt securities held by the Fund. As of the date of this prospectus, interest rates are near historic lows, but may rise significantly or rapidly in the future, potentially resulting in significant losses to the Fund. Investments in debt securities include credit risk, which is the risk that an issuer will not make timely payments of principal and interest. There is also the risk that a bond issuer may “call,” or repay, its high yielding bonds before their maturity dates. Debt securities subject to prepayment can offer less potential for gains during a declining interest rate environment and similar or greater potential for loss in a rising interest rate environment. Limited trading opportunities for certain debt securities may make it more difficult to sell or buy a security at a favorable price or time.

High Yield Risk – The Flexible Income Fund invests in higher-yielding, high-risk bonds commonly known as junk bonds. These lower-rated bonds have a greater degree of default risk. Lower-rated securities may be issued by companies that are restructuring, are smaller and less credit worthy or are highly indebted, and tend to be less liquid and react more poorly to adverse economic and political changes, unfavorable investor perceptions and negative corporate developments.

Money Market Funds Risk – An investment in a money market fund is not a bank deposit and is not insured or guaranteed by any bank, the Federal Deposit Insurance Corporation (FDIC) or any other government agency. Although money market funds seek to preserve the value of investments at $1.00 per share, it is possible for the Fund to lose money if shares of money market funds in which it invests fall below $1.00 per share.

Cybersecurity Risk – With the increased use of technologies such as the Internet to conduct business, the Fund is susceptible to operational, information security, and related risks. Cyber incidents affecting the Fund or its service providers may cause disruptions and impact business operations, potentially resulting in financial losses, interference with the Fund’s ability to calculate its NAV, impediments to trading, the inability of shareholders to transact business, violations of applicable privacy and other laws, regulatory fines, penalties, reputational damage, reimbursement or other compensation costs, or additional compliance costs.
Risk Lose Money [Text] rr_RiskLoseMoney If the value of the Flexible Income Fund’s investments decreases, the value of the Fund’s shares will also decrease and you may lose money.
Risk Not Insured Depository Institution [Text] rr_RiskNotInsuredDepositoryInstitution An investment in a money market fund is not a bank deposit and is not insured or guaranteed by any bank, the Federal Deposit Insurance Corporation (FDIC) or any other government agency.
Bar Chart and Performance Table [Heading] rr_BarChartAndPerformanceTableHeading PERFORMANCE
Performance Narrative [Text Block] rr_PerformanceNarrativeTextBlock
The performance information provides some indication of the risks of investing in the Flexible Income Fund by showing changes in the Fund’s performance from year to year and by showing how the Fund’s average annual returns for one, five and ten years compare with those of a broad measure of market performance and the returns of an additional index of a Lipper peer group (a group of mutual funds with investment objectives similar to that of the Fund). The performance information, before and after taxes, is not necessarily an indication of how the Fund will perform in the future. Updated performance information is available on the Fund’s website at http://www.buffalofunds.com/performance.html, or by calling the Fund toll-free at 1-800-49-BUFFALO (1-800-492-8332).
Performance Information Illustrates Variability of Returns [Text] rr_PerformanceInformationIllustratesVariabilityOfReturns The performance information provides some indication of the risks of investing in the Flexible Income Fund by showing changes in the Fund’s performance from year to year and by showing how the Fund’s average annual returns for one, five and ten years compare with those of a broad measure of market performance and the returns of an additional index of a Lipper peer group (a group of mutual funds with investment objectives similar to that of the Fund).
Performance Availability Phone [Text] rr_PerformanceAvailabilityPhone 1-800-492-8332
Performance Availability Website Address [Text] rr_PerformanceAvailabilityWebSiteAddress http://www.buffalofunds.com/performance.html
Performance Past Does Not Indicate Future [Text] rr_PerformancePastDoesNotIndicateFuture The performance information, before and after taxes, is not necessarily an indication of how the Fund will perform in the future.
Bar Chart [Heading] rr_BarChartHeading Investor Class(1) Annual Total Return as of December 31 of Each Year
Bar Chart Footnotes [Text Block] rr_BarChartFootnotesTextBlock
(1) 
The returns shown in the bar chart are for Investor Class shares of the Fund. Institutional Class shares would have substantially similar annual returns because the shares are invested in the same portfolio of securities and the annual returns would differ only to the extent that the classes do not have the same expenses.

Bar Chart Closing [Text Block] rr_BarChartClosingTextBlock
Calendar Year-to-Date Return – Investor Class (through March 31, 2019) = 11.84%
Best Quarter: June 30, 2009 = 14.04%
Worst Quarter: December 31, 2018 = -11.74%
Year to Date Return, Label rr_YearToDateReturnLabel Calendar Year-to-Date Return
Bar Chart, Year to Date Return, Date rr_BarChartYearToDateReturnDate Mar. 31, 2019
Bar Chart, Year to Date Return rr_BarChartYearToDateReturn 11.84%
Highest Quarterly Return, Label rr_HighestQuarterlyReturnLabel Best Quarter
Highest Quarterly Return, Date rr_BarChartHighestQuarterlyReturnDate Jun. 30, 2009
Highest Quarterly Return rr_BarChartHighestQuarterlyReturn 14.04%
Lowest Quarterly Return, Label rr_LowestQuarterlyReturnLabel Worst Quarter
Lowest Quarterly Return, Date rr_BarChartLowestQuarterlyReturnDate Dec. 31, 2018
Lowest Quarterly Return rr_BarChartLowestQuarterlyReturn (11.74%)
Performance Table Heading rr_PerformanceTableHeading Average Annual Total Returns for the periods ended December 31, 2018
Index No Deduction for Fees, Expenses, Taxes [Text] rr_IndexNoDeductionForFeesExpensesTaxes (reflects no deduction for fees, expenses or taxes)
Performance Table Uses Highest Federal Rate rr_PerformanceTableUsesHighestFederalRate After-tax returns are calculated using the highest historical individual federal marginal income tax rates and do not reflect the impact of state or local taxes.
Performance Table Not Relevant to Tax Deferred rr_PerformanceTableNotRelevantToTaxDeferred Actual after-tax returns depend on each investor’s individual tax situation and may differ from those shown in the table. The after-tax returns shown are not relevant to investors who own the Flexible Income Fund in a tax-deferred arrangement, such as an individual retirement account (“IRA”) or a 401(k) plan.
Performance Table One Class of after Tax Shown [Text] rr_PerformanceTableOneClassOfAfterTaxShown Returns are shown for Investor Class shares only and will vary for Institutional Class shares.
Performance Table Explanation after Tax Higher rr_PerformanceTableExplanationAfterTaxHigher In certain cases, the figure representing “Return After Taxes on Distributions and Sale of Fund Shares” may be higher than the other return figures for the same period, since a higher after-tax return results when a capital loss occurs upon redemption and provides an assumed tax deduction that benefits the investor.
Performance Table Closing [Text Block] rr_PerformanceTableClosingTextBlock
The Lipper Mixed-Asset Target Allocation Moderate Funds Index® is an unmanaged index considered representative of mixed-asset target allocation moderate funds tracked by Lipper.

Returns are shown for Investor Class shares only and will vary for Institutional Class shares. After-tax returns are calculated using the highest historical individual federal marginal income tax rates and do not reflect the impact of state or local taxes. Actual after-tax returns depend on each investor’s individual tax situation and may differ from those shown in the table. The after-tax returns shown are not relevant to investors who own the Flexible Income Fund in a tax-deferred arrangement, such as an individual retirement account (“IRA”) or a 401(k) plan. In certain cases, the figure representing “Return After Taxes on Distributions and Sale of Fund Shares” may be higher than the other return figures for the same period, since a higher after-tax return results when a capital loss occurs upon redemption and provides an assumed tax deduction that benefits the investor.
Buffalo Flexible Income Fund | 60% Morningstar US Large Cap Index/40% ICE BofAML US High Yield Index (reflects no deduction for fees, expenses or taxes)  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel 60% Morningstar US Large Cap Index/40% ICE BofAML US High Yield Index (reflects no deduction for fees, expenses or taxes)
1 Year rr_AverageAnnualReturnYear01 (2.80%)
5 Years rr_AverageAnnualReturnYear05 6.86%
10 Years rr_AverageAnnualReturnYear10 12.27%
Buffalo Flexible Income Fund | Lipper Mixed-Asset Target Allocation Moderate Funds Index® (reflects no deduction for taxes)  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Lipper Mixed-Asset Target Allocation Moderate Funds Index® (reflects no deduction for taxes)
1 Year rr_AverageAnnualReturnYear01 (5.17%)
5 Years rr_AverageAnnualReturnYear05 3.85%
10 Years rr_AverageAnnualReturnYear10 8.02%
Buffalo Flexible Income Fund | Investor Class  
Prospectus [Line Items] rr_ProspectusLineItems  
Trading Symbol dei_TradingSymbol BUFBX
Shareholder Fee, Other rr_ShareholderFeeOther none
Management Fees (as a percentage of Assets) rr_ManagementFeesOverAssets 0.85%
Component1 Other Expenses rr_Component1OtherExpensesOverAssets 0.15%
Other Expenses (as a percentage of Assets): rr_OtherExpensesOverAssets 0.01% [7]
Acquired Fund Fees and Expenses rr_AcquiredFundFeesAndExpensesOverAssets 1.01%
Expense Example, with Redemption, 1 Year rr_ExpenseExampleYear01 $ 103
Expense Example, with Redemption, 3 Years rr_ExpenseExampleYear03 322
Expense Example, with Redemption, 5 Years rr_ExpenseExampleYear05 558
Expense Example, with Redemption, 10 Years rr_ExpenseExampleYear10 $ 1,236
Annual Return 2009 rr_AnnualReturn2009 31.07%
Annual Return 2010 rr_AnnualReturn2010 11.68%
Annual Return 2011 rr_AnnualReturn2011 9.63%
Annual Return 2012 rr_AnnualReturn2012 10.31%
Annual Return 2013 rr_AnnualReturn2013 16.68%
Annual Return 2014 rr_AnnualReturn2014 3.59%
Annual Return 2015 rr_AnnualReturn2015 (1.97%)
Annual Return 2016 rr_AnnualReturn2016 9.90%
Annual Return 2017 rr_AnnualReturn2017 13.21%
Annual Return 2018 rr_AnnualReturn2018 (7.00%)
Label rr_AverageAnnualReturnLabel Return Before Taxes
1 Year rr_AverageAnnualReturnYear01 (7.00%)
5 Years rr_AverageAnnualReturnYear05 3.28%
10 Years rr_AverageAnnualReturnYear10 9.27%
Buffalo Flexible Income Fund | Investor Class | After Taxes on Distributions  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Return After Taxes on Distributions
1 Year rr_AverageAnnualReturnYear01 (8.22%)
5 Years rr_AverageAnnualReturnYear05 2.24%
10 Years rr_AverageAnnualReturnYear10 8.27%
Buffalo Flexible Income Fund | Investor Class | After Taxes on Distributions and Sales  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Return After Taxes on Distributions and Sale of Fund Shares
1 Year rr_AverageAnnualReturnYear01 (3.20%)
5 Years rr_AverageAnnualReturnYear05 2.47%
10 Years rr_AverageAnnualReturnYear10 7.42%
Buffalo Flexible Income Fund | Institutional Class  
Prospectus [Line Items] rr_ProspectusLineItems  
Trading Symbol dei_TradingSymbol BUIBX
Shareholder Fee, Other rr_ShareholderFeeOther none
Management Fees (as a percentage of Assets) rr_ManagementFeesOverAssets 0.85%
Component1 Other Expenses rr_Component1OtherExpensesOverAssets none
Other Expenses (as a percentage of Assets): rr_OtherExpensesOverAssets 0.01% [7]
Acquired Fund Fees and Expenses rr_AcquiredFundFeesAndExpensesOverAssets 0.86%
Expense Example, with Redemption, 1 Year rr_ExpenseExampleYear01 $ 88
Expense Example, with Redemption, 3 Years rr_ExpenseExampleYear03 274
Expense Example, with Redemption, 5 Years rr_ExpenseExampleYear05 477
Expense Example, with Redemption, 10 Years rr_ExpenseExampleYear10 $ 1,061
Buffalo Growth Fund  
Prospectus [Line Items] rr_ProspectusLineItems  
Risk/Return [Heading] rr_RiskReturnHeading BUFFALO GROWTH FUND
Objective [Heading] rr_ObjectiveHeading INVESTMENT OBJECTIVE
Objective, Primary [Text Block] rr_ObjectivePrimaryTextBlock
The investment objective of the Buffalo Growth Fund (“Growth Fund” or the “Fund”) is long-term growth of capital.

Expense [Heading] rr_ExpenseHeading FEES AND EXPENSES OF THE FUND
Expense Narrative [Text Block] rr_ExpenseNarrativeTextBlock
This table describes the fees and expenses that you may pay if you buy and hold shares of the Fund.
Shareholder Fees Caption [Text] rr_ShareholderFeesCaption Shareholder Fees (fees paid directly from your investment)
Operating Expenses Caption [Text] rr_OperatingExpensesCaption Annual Fund Operating Expenses (expenses that you pay each year as a percentage of the value of your investment)
Portfolio Turnover [Heading] rr_PortfolioTurnoverHeading Portfolio Turnover.
Portfolio Turnover [Text Block] rr_PortfolioTurnoverTextBlock
The Fund pays transaction costs, such as commissions, when it buys and sells securities (or “turns over” its portfolio). A higher portfolio turnover rate may indicate higher transaction costs and may result in higher taxes when Fund shares are held in a taxable account. These costs, which are not reflected in annual fund operating expenses or in the example, affect the Fund’s performance. During the most recent fiscal year, the Fund’s portfolio turnover rate was 16% of the average value of its portfolio.
Portfolio Turnover, Rate rr_PortfolioTurnoverRate 16.00%
Expense Example [Heading] rr_ExpenseExampleHeading Example.
Expense Example Narrative [Text Block] rr_ExpenseExampleNarrativeTextBlock
This example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. The example assumes that you invest $10,000 in the Fund for the time periods indicated and then redeem all of your shares at the end of those periods. The example also assumes that your investment has a 5% return each year and that the Fund’s operating expenses remain the same.
Expense Example by, Year, Caption [Text] rr_ExpenseExampleByYearCaption Although your actual costs may be higher or lower, based on these assumptions your costs would be:
Strategy [Heading] rr_StrategyHeading PRINCIPAL INVESTMENT STRATEGIES
Strategy Narrative [Text Block] rr_StrategyNarrativeTextBlock
The Growth Fund invests in common stocks and other equity securities, including preferred stock, convertible securities, warrants and rights, with a goal of maintaining at least 75% of the Fund’s portfolio in companies with market capitalizations greater than the median of the Morningstar US Growth Index or $5 billion, whichever is lower. The capitalization of the Morningstar US Growth Index changes due to market conditions and changes with the composition of the index. As of March 31, 2019, the median market capitalization of companies in the Morningstar US Growth Index was approximately $5.906 billion. With respect to the remaining 25% of the equity weighting of the Fund’s portfolio, the Fund may invest in companies of any size, including, but not limited to, those with market capitalizations less than the lower of the median of the Morningstar US Growth Index or $5 billion. In addition to the Fund’s investments in domestic securities, the Fund may invest up to 20% of its net assets in sponsored or unsponsored ADRs and securities of foreign companies that are traded on U.S. stock exchanges. The Fund may invest in companies in any sector. The Fund may have significant investments in the information technology sector.

The Advisor seeks to identify companies for the Growth Fund’s portfolio that are expected to experience growth based on the identification of long-term, measurable secular trends, and which, as a result, the Advisor believes may have potential revenue growth in excess of the gross domestic product growth rate. Companies are screened using in-depth, in-house research to identify those which the Advisor believes have favorable attributes, including attractive valuation, strong management, conservative debt, free cash flow, scalable business models, and competitive advantages. The Advisor may sell the Growth Fund’s investments to secure gains, limit losses or reinvest in more promising investment opportunities
Risk [Heading] rr_RiskHeading PRINCIPAL RISKS
Risk Narrative [Text Block] rr_RiskNarrativeTextBlock
The Growth Fund cannot guarantee that it will achieve its investment objective. As with any mutual fund, the value of the Growth Fund’s investments may fluctuate. If the value of the Growth Fund’s investments decreases, the value of the Fund’s shares will also decrease and you may lose money. The risks associated with the principal investment strategies of the Growth Fund are:

Market Risk – The value of the Growth Fund’s shares will fluctuate as a result of the movement of the overall stock market and/or bond market of the value of the individual securities held by the Growth Fund, and you could lose money. Adverse market events may also lead to increased shareholder redemptions, which could cause the Fund to experience a loss or difficulty in selling investments to meet such redemptions.

Management Risk – Management risk means that your investment in the Growth Fund varies with the success and failure of the Advisor’s investment strategies and the Advisor’s research, analysis and determination of portfolio securities.

Equity Market Risk – Equity securities held by the Growth Fund may experience sudden, unpredictable drops in value or long periods of decline in value due to general stock market fluctuations, decisions by management or related factors.

Common Stocks. Common Stocks are susceptible to general stock market fluctuations and to volatile increases and decreases in value as market confidence in and perceptions of their issuers change. Common stock is generally subject to greater risk than preferred stocks and debt obligations because holders of common stock generally have inferior rights to receive payments from issuers in comparison with the rights of the holders of other securities, bondholders and other creditors.

Preferred Stock. Preferred stock is subject to the risk that the dividend on the stock may be changed or omitted by the issuer, and that participation in the growth of an issuer may be limited.

Convertible Securities. A convertible security is a fixed-income security (a debt instrument or a preferred stock) which may be converted at a stated price within a specified period of time into a certain quantity of the common stock of the same or a different issuer. The market value of a convertible security performs like that of a regular debt security, that is, if market interest rates rise, the value of the convertible security falls.

Warrants. Investments in warrants involve certain risks, including the possible lack of a liquid market for resale of the warrants, potential price fluctuations as a result of speculation or other factors, and failure of the price of the underlying security to reach or have reasonable prospects of reaching a level at which the warrant can be prudently exercised (in which event the warrant may expire without being exercised, resulting in a loss of a Fund’s entire investment therein).

Rights. The purchase of rights involves the risk that a fund could lose the purchase value of a right if the right is not exercised prior to its expiration. Also, the purchase of rights involves the risk that the effective price paid for the right added to the subscription price of the related security may exceed the value of the subscribed security’s market price.

Sector Risk – Companies with similar characteristics, such as those within the same industry, may be grouped together in broad categories called sectors. To the extent the Fund invests its assets in a particular sector, the Fund’s performance may be more susceptible to any economic, business, or other developments that generally affect that sector.

Information Technology Company Risk – Information technology companies often face unusually high price volatility, both in terms of gains and losses. To the extent that the Fund makes investments in such companies, its share price is likely to be more volatile. The potential for wide variations in performance is based on special risks common to information technology companies. Information technology companies may have limited product lines, markets or financial resources. Information technology companies are affected by worldwide technological developments and their products and services may quickly become outdated. Given these risks, an investment in the Fund may be more suitable for long-term investors, who are willing to withstand the Fund’s potential for volatility.

Large-Cap Company Risk – Larger, more established companies may be unable to respond quickly to new competitive challenges and are sometimes unable to attain the high growth rates of successful, smaller companies during periods of economic expansion.

Mid-Cap Company Risk – Investing in mid-cap companies may involve greater risk than investing in large-cap companies due to less management experience, fewer financial resources, less product diversification and fewer competitive strengths. Therefore, such securities may be more volatile and less liquid than large-cap companies. In addition, mid-cap companies may be particularly affected by interest rate increases, as they may find it more difficult to borrow money to continue or expand operations, or may have difficulty in repaying any loans.

Small-Cap Company Risk – Investing in small-cap companies may involve greater risk than investing in large- or mid-cap companies due to less management experience, fewer financial resources, less product diversification and fewer competitive strengths. Therefore, such securities may be more volatile and less liquid than mid- and large-cap companies. In addition, small-cap companies may be particularly affected by interest rate increases, as they may find it more difficult to borrow money to continue or expand operations, or may have difficulty in repaying any loans.

Micro-Cap Company Risk – Investing in micro-cap companies may involve greater risk than investing in companies with larger capitalization due to less management experience, fewer financial resources, less product diversification and fewer competitive strengths. Therefore, such securities may be more volatile and less liquid than companies with larger capitalization. In addition, micro-cap companies may be particularly affected by interest rate increases, as they may find it more difficult to borrow money to continue or expand operations, or may have difficulty in repaying any loans.

Money Market Funds Risk – An investment in a money market fund is not a bank deposit and is not insured or guaranteed by any bank, the Federal Deposit Insurance Corporation (FDIC) or any other government agency. Although money market funds seek to preserve the value of investments at $1.00 per share, it is possible for the Fund to lose money if shares of money market funds in which it invests fall below $1.00 per share.

Foreign Risk – Investing in securities of foreign corporations involves additional risks relating to: political, social, religious and economic developments abroad; market instability; fluctuations in foreign exchange rates; different regulatory requirements, market practices, accounting standards and practices; and less publicly available information about foreign issuers. Additionally, these investments may be subject to foreign withholding taxes, may be less liquid, carry higher brokerage commissions and other fees, and procedures and regulations governing transactions and custody in foreign markets also may involve delays in payment, delivery or recovery of money or investments. Investments in common stocks of U.S. companies with international operations, and the purchase of sponsored or unsponsored ADRs carry similar risks.

American Depositary Receipts – Unsponsored ADRs held by the Fund are frequently under no obligation to distribute shareholder communications received from the underlying issuer. For this and other reasons, there is less information available about unsponsored ADRs than sponsored ADRs. Unsponsored ADRs are also not obligated to pass through voting rights to the Fund. Investing in foreign companies, even indirectly through ADRs, may involve the same inherent risks as investing in securities of foreign issuers, as described above.

Cybersecurity Risk – With the increased use of technologies such as the Internet to conduct business, the Fund is susceptible to operational, information security, and related risks. Cyber incidents affecting the Fund or its service providers may cause disruptions and impact business operations, potentially resulting in financial losses, interference with the Fund’s ability to calculate its NAV, impediments to trading, the inability of shareholders to transact business, violations of applicable privacy and other laws, regulatory fines, penalties, reputational damage, reimbursement or other compensation costs, or additional compliance costs.
Risk Lose Money [Text] rr_RiskLoseMoney If the value of the Growth Fund’s investments decreases, the value of the Fund’s shares will also decrease and you may lose money.
Risk Not Insured Depository Institution [Text] rr_RiskNotInsuredDepositoryInstitution An investment in a money market fund is not a bank deposit and is not insured or guaranteed by any bank, the Federal Deposit Insurance Corporation (FDIC) or any other government agency.
Bar Chart and Performance Table [Heading] rr_BarChartAndPerformanceTableHeading PERFORMANCE
Performance Narrative [Text Block] rr_PerformanceNarrativeTextBlock
The performance information provides some indication of the risks of investing in the Growth Fund by showing changes in the Fund’s performance from year to year and by showing how the Fund’s average annual returns for one, five and ten years compare with those of a broad measure of market performance and the returns of an additional index of a Lipper peer group (a group of mutual funds with investment objectives similar to that of the Fund). The performance information, before and after taxes, is not necessarily an indication of how the Fund will perform in the future. Updated performance information is available on the Fund’s website at http://www.buffalofunds.com/performance.html, or by calling the Fund toll-free at 1-800-49-BUFFALO (1-800-492-8332).
Performance Information Illustrates Variability of Returns [Text] rr_PerformanceInformationIllustratesVariabilityOfReturns The performance information provides some indication of the risks of investing in the Growth Fund by showing changes in the Fund’s performance from year to year and by showing how the Fund’s average annual returns for one, five and ten years compare with those of a broad measure of market performance and the returns of an additional index of a Lipper peer group (a group of mutual funds with investment objectives similar to that of the Fund).
Performance Availability Phone [Text] rr_PerformanceAvailabilityPhone 1-800-492-8332
Performance Availability Website Address [Text] rr_PerformanceAvailabilityWebSiteAddress http://www.buffalofunds.com/performance.html
Performance Past Does Not Indicate Future [Text] rr_PerformancePastDoesNotIndicateFuture The performance information, before and after taxes, is not necessarily an indication of how the Fund will perform in the future.
Bar Chart [Heading] rr_BarChartHeading Investor Class(1) Annual Total Return as of December 31 of Each Year
Bar Chart Footnotes [Text Block] rr_BarChartFootnotesTextBlock
(1) 
The returns shown in the bar chart are for Investor Class shares of the Fund. Institutional Class shares would have substantially similar annual returns because the shares are invested in the same portfolio of securities and the annual returns would differ only to the extent that the classes do not have the same expenses.
Bar Chart Closing [Text Block] rr_BarChartClosingTextBlock
Calendar Year-to-Date Return – Investor Class (through March 31, 2019) = 15.30%
Best Quarter: June 30, 2009 = 20.57%
Worst Quarter: September 30, 2011 = -16.04%
Year to Date Return, Label rr_YearToDateReturnLabel Calendar Year-to-Date Return
Bar Chart, Year to Date Return, Date rr_BarChartYearToDateReturnDate Mar. 31, 2019
Bar Chart, Year to Date Return rr_BarChartYearToDateReturn 15.30%
Highest Quarterly Return, Label rr_HighestQuarterlyReturnLabel Best Quarter
Highest Quarterly Return, Date rr_BarChartHighestQuarterlyReturnDate Jun. 30, 2009
Highest Quarterly Return rr_BarChartHighestQuarterlyReturn 20.57%
Lowest Quarterly Return, Label rr_LowestQuarterlyReturnLabel Worst Quarter
Lowest Quarterly Return, Date rr_BarChartLowestQuarterlyReturnDate Sep. 30, 2011
Lowest Quarterly Return rr_BarChartLowestQuarterlyReturn (16.04%)
Performance Table Heading rr_PerformanceTableHeading Average Annual Total Returns for the periods ended December 31, 2018
Index No Deduction for Fees, Expenses, Taxes [Text] rr_IndexNoDeductionForFeesExpensesTaxes (reflects no deduction for fees, expenses or taxes)
Performance Table Uses Highest Federal Rate rr_PerformanceTableUsesHighestFederalRate After-tax returns are calculated using the highest historical individual federal marginal income tax rates and do not reflect the impact of state or local taxes.
Performance Table Not Relevant to Tax Deferred rr_PerformanceTableNotRelevantToTaxDeferred Actual after-tax returns depend on each investor’s individual tax situation and may differ from those shown in the table. The after-tax returns shown are not relevant to investors who own the Growth Fund in a tax-deferred arrangement, such as an individual retirement account (“IRA”) or a 401(k) plan.
Performance Table One Class of after Tax Shown [Text] rr_PerformanceTableOneClassOfAfterTaxShown Returns are shown for Investor Class shares only and will vary for Institutional Class shares.
Performance Table Explanation after Tax Higher rr_PerformanceTableExplanationAfterTaxHigher In certain cases, the figure representing “Return After Taxes on Distributions and Sale of Fund Shares” may be higher than the other return figures for the same period, since a higher after-tax return results when a capital loss occurs upon redemption and provides an assumed tax deduction that benefits the investor.
Performance Table Closing [Text Block] rr_PerformanceTableClosingTextBlock
The Lipper Large-Cap Growth Funds Index® is an unmanaged, equally weighted performance index of the 30 largest qualifying mutual funds (based on net assets) in the Lipper Large-Cap classification.

Returns are shown for Investor Class shares only and will vary for Institutional Class shares. After-tax returns are calculated using the highest historical individual federal marginal income tax rates and do not reflect the impact of state or local taxes. Actual after-tax returns depend on each investor’s individual tax situation and may differ from those shown in the table. The after-tax returns shown are not relevant to investors who own the Growth Fund in a tax-deferred arrangement, such as an individual retirement account (“IRA”) or a 401(k) plan. In certain cases, the figure representing “Return After Taxes on Distributions and Sale of Fund Shares” may be higher than the other return figures for the same period, since a higher after-tax return results when a capital loss occurs upon redemption and provides an assumed tax deduction that benefits the investor.
Buffalo Growth Fund | Morningstar US Growth Index (reflects no deduction for taxes)  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Morningstar US Growth Index (reflects no deduction for taxes)
1 Year rr_AverageAnnualReturnYear01 0.78%
5 Years rr_AverageAnnualReturnYear05 9.87%
10 Years rr_AverageAnnualReturnYear10 15.50%
Buffalo Growth Fund | Lipper Large Cap Growth Funds Index® (reflects no deduction for taxes)  
Prospectus [Line Items] rr_ProspectusLineItems  
1 Year rr_AverageAnnualReturnYear01 (0.47%)
5 Years rr_AverageAnnualReturnYear05 8.98%
10 Years rr_AverageAnnualReturnYear10 14.09%
Buffalo Growth Fund | Lipper Large-Cap Growth Funds Index® (reflects no deduction for taxes)  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Lipper Large-Cap Growth Funds Index® (reflects no deduction for taxes)
Buffalo Growth Fund | Investor Class  
Prospectus [Line Items] rr_ProspectusLineItems  
Trading Symbol dei_TradingSymbol BUFGX
Shareholder Fee, Other rr_ShareholderFeeOther none
Management Fees (as a percentage of Assets) rr_ManagementFeesOverAssets 0.75%
Component1 Other Expenses rr_Component1OtherExpensesOverAssets 0.15%
Other Expenses (as a percentage of Assets): rr_OtherExpensesOverAssets 0.01% [8]
Acquired Fund Fees and Expenses rr_AcquiredFundFeesAndExpensesOverAssets 0.01% [8]
Expenses (as a percentage of Assets) rr_ExpensesOverAssets 0.92% [9]
Expense Example, with Redemption, 1 Year rr_ExpenseExampleYear01 $ 94
Expense Example, with Redemption, 3 Years rr_ExpenseExampleYear03 293
Expense Example, with Redemption, 5 Years rr_ExpenseExampleYear05 509
Expense Example, with Redemption, 10 Years rr_ExpenseExampleYear10 $ 1,131
Annual Return 2009 rr_AnnualReturn2009 33.34%
Annual Return 2010 rr_AnnualReturn2010 23.28%
Annual Return 2011 rr_AnnualReturn2011 (0.06%)
Annual Return 2012 rr_AnnualReturn2012 11.86%
Annual Return 2013 rr_AnnualReturn2013 35.40%
Annual Return 2014 rr_AnnualReturn2014 8.88%
Annual Return 2015 rr_AnnualReturn2015 2.64%
Annual Return 2016 rr_AnnualReturn2016 4.86%
Annual Return 2017 rr_AnnualReturn2017 22.81%
Annual Return 2018 rr_AnnualReturn2018 0.51%
Label rr_AverageAnnualReturnLabel Return Before Taxes
1 Year rr_AverageAnnualReturnYear01 0.51%
5 Years rr_AverageAnnualReturnYear05 7.66%
10 Years rr_AverageAnnualReturnYear10 13.67%
Buffalo Growth Fund | Investor Class | After Taxes on Distributions  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Return After Taxes on Distributions
1 Year rr_AverageAnnualReturnYear01 (5.62%)
5 Years rr_AverageAnnualReturnYear05 3.75%
10 Years rr_AverageAnnualReturnYear10 11.34%
Buffalo Growth Fund | Investor Class | After Taxes on Distributions and Sales  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Return After Taxes on Distributions and Sale of Fund Shares
1 Year rr_AverageAnnualReturnYear01 4.72%
5 Years rr_AverageAnnualReturnYear05 5.72%
10 Years rr_AverageAnnualReturnYear10 11.27%
Buffalo Growth Fund | Institutional Class  
Prospectus [Line Items] rr_ProspectusLineItems  
Trading Symbol dei_TradingSymbol BIIGX
Shareholder Fee, Other rr_ShareholderFeeOther none
Management Fees (as a percentage of Assets) rr_ManagementFeesOverAssets 0.75%
Component1 Other Expenses rr_Component1OtherExpensesOverAssets none
Other Expenses (as a percentage of Assets): rr_OtherExpensesOverAssets 0.01% [8]
Acquired Fund Fees and Expenses rr_AcquiredFundFeesAndExpensesOverAssets 0.01% [8]
Expenses (as a percentage of Assets) rr_ExpensesOverAssets 0.77% [9]
Expense Example, with Redemption, 1 Year rr_ExpenseExampleYear01 $ 79
Expense Example, with Redemption, 3 Years rr_ExpenseExampleYear03 246
Expense Example, with Redemption, 5 Years rr_ExpenseExampleYear05 428
Expense Example, with Redemption, 10 Years rr_ExpenseExampleYear10 $ 954
Buffalo High Yield Fund  
Prospectus [Line Items] rr_ProspectusLineItems  
Risk/Return [Heading] rr_RiskReturnHeading BUFFALO HIGH YIELD FUND
Objective [Heading] rr_ObjectiveHeading INVESTMENT OBJECTIVE
Objective, Primary [Text Block] rr_ObjectivePrimaryTextBlock
The investment objective of the Buffalo High Yield Fund (“High Yield Fund” or the “Fund”) is current income,
Objective, Secondary [Text Block] rr_ObjectiveSecondaryTextBlock
with long-term growth of capital as a secondary objective.
Expense [Heading] rr_ExpenseHeading FEES AND EXPENSES OF THE FUND
Expense Narrative [Text Block] rr_ExpenseNarrativeTextBlock
This table describes the fees and expenses that you may pay if you buy and hold shares of the Fund.

Shareholder Fees Caption [Text] rr_ShareholderFeesCaption Shareholder Fees (fees paid directly from your investment)
Operating Expenses Caption [Text] rr_OperatingExpensesCaption Annual Fund Operating Expenses (expenses that you pay each year as a percentage of the value of your investment)
Portfolio Turnover [Heading] rr_PortfolioTurnoverHeading Portfolio Turnover.
Portfolio Turnover [Text Block] rr_PortfolioTurnoverTextBlock
The Fund pays transaction costs, such as commissions, when it buys and sells securities (or “turns over” its portfolio). A higher portfolio turnover rate may indicate higher transaction costs and may result in higher taxes when Fund shares are held in a taxable account. These costs, which are not reflected in annual fund operating expenses or in the example, affect the Fund’s performance. During the most recent fiscal year, the Fund’s portfolio turnover rate was 22% of the average value of its portfolio.
Portfolio Turnover, Rate rr_PortfolioTurnoverRate 22.00%
Expense Example [Heading] rr_ExpenseExampleHeading Example.
Expense Example Narrative [Text Block] rr_ExpenseExampleNarrativeTextBlock
This example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. The example assumes that you invest $10,000 in the Fund for the time periods indicated and then redeem all of your shares at the end of those periods. The example also assumes that your investment has a 5% return each year and that the Fund’s operating expenses remain the same.
Expense Example by, Year, Caption [Text] rr_ExpenseExampleByYearCaption Although your actual costs may be higher or lower, based on these assumptions your costs would be:
Strategy [Heading] rr_StrategyHeading PRINCIPAL INVESTMENT STRATEGIES
Strategy Narrative [Text Block] rr_StrategyNarrativeTextBlock
The High Yield Fund normally invests at least 80% of its net assets in higher-yielding, higher-risk debt securities rated below investment grade by the major rating agencies (or in similar unrated securities), commonly known as “junk bonds”. Debt securities can include fixed and floating rate bonds as well as bank debt and convertible debt securities. While the Fund maintains flexibility to invest in bonds of varying maturities, the Fund generally holds bonds with intermediate-term maturities. With respect to the remaining 20% of the Fund’s net assets, the High Yield Fund may invest in securities such as investment grade debt securities, U.S. Treasury Securities (typically with maturities of 60 days or less), money market funds, and equity investments, including dividend paying stocks and convertible preferred stocks. The Fund may invest up to 20% of its net assets in sponsored or unsponsored ADRs and securities of foreign companies that are traded on U.S. stock exchanges and U.S. over-the-counter markets. The Fund may invest in companies in any sector.

The Fund maintains a flexible investment policy which allows it to invest in debt securities with varying maturities. However, it is anticipated that the dollar-weighted average maturity of debt securities that the Fund purchases will not exceed 15 years and that the average maturity of all securities that the Fund holds at any given time will be 10 years or less. The lowest rated debt security that the Fund will hold is D quality (defaulted securities). Although the Fund will not purchase D quality debt securities, the Fund may continue to hold these securities and will sell them at the Advisor’s discretion. The Fund has no limitation on principal, interest or reset terms on debt securities held in the Fund.

The Advisor performs extensive fundamental investment research to identify investment opportunities for the Fund. When evaluating investments and the credit quality of rated and unrated securities, the Advisor looks at a number of past, present and estimated future factors, including: (1) financial strength of the issuer; (2) cash flow; (3) management; (4) borrowing requirements; (5) sensitivity to changes in interest rates and business conditions; and (6) relative value. The High Yield Fund relies on the Advisor to undertake a careful analysis to determine the creditworthiness of the issuers of rated debt (on debt ratings by Moody’s or S&P), as well as the issuers of debt not rated by Moody’s or S&P. The Advisor may sell the High Yield Fund’s investments to secure gains, limit losses or reinvest in more promising investment opportunities.

Risk [Heading] rr_RiskHeading PRINCIPAL RISKS
Risk Narrative [Text Block] rr_RiskNarrativeTextBlock
The High Yield Fund cannot guarantee that it will achieve its investment objective. As with any mutual fund, the value of the High Yield Fund’s investments may fluctuate. If the value of the High Yield Fund’s investments decreases, the value of the Fund’s shares will also decrease and you may lose money. The risks associated with the High Yield Fund’s principal investment strategies are:

High Yield Risk – The High Yield Fund invests in higher-yielding, high-risk bonds commonly known as junk bonds. These lower-rated bonds have a greater degree of default risk. Lower-rated securities may be issued by companies that are restructuring, are smaller and less credit worthy or are highly indebted, and tend to be less liquid and react more poorly to adverse economic and political changes, unfavorable investor perceptions and negative corporate developments.

Market Risk – The value of the High Yield Fund’s shares will fluctuate as a result of the movement of the overall stock or credit markets or of the value of the individual securities held by the High Yield Fund, and you could lose money. Adverse market events may also lead to increased shareholder redemptions, which could cause the Fund to experience a loss or difficulty in selling investments to meet such redemptions.

Management Risk – Management risk means that your investment in the High Yield Fund varies with the success and failure of the Advisor’s investment strategies and the Advisor’s research, analysis and determination of portfolio securities.

Debt Securities Risk – Interest rates may go up resulting in a decrease in the value of the debt securities held by the Fund. As of the date of this prospectus, interest rates are near historic lows, but may rise significantly or rapidly in the future, potentially resulting in significant losses to the Fund. Investments in debt securities include credit risk, which is the risk that an issuer will not make timely payments of principal and interest. There is also the risk that a bond issuer may “call,” or repay, its high yielding bonds before their maturity dates. Debt securities subject to prepayment can offer less potential for gains during a declining interest rate environment and similar or greater potential for loss in a rising interest rate environment. Limited trading opportunities for certain debt securities may make it more difficult to sell or buy a security at a favorable price or time.

Bank Loan Risk - The High Yield Fund’s investments in secured and unsecured participations in bank loans and assignments of such loans may create substantial risk. In making investments in such loans, which banks or other financial intermediaries make to borrowers, the Fund will depend primarily upon the creditworthiness of the borrower for payment of principal and interest. If the Fund does not receive scheduled interest or principal payments on such indebtedness, the Fund’s share price could be adversely affected. The High Yield Fund may invest in loan participations that are rated by a nationally recognized statistical rating organization or are unrated, and may invest in loan participations of any credit quality, including loans to “distressed” companies with respect to which there is a substantial risk of losing the entire amount invested. In addition, certain bank loans in which the Fund may invest may be illiquid and, therefore, difficult to value and/or sell at a price that is beneficial to the Fund.

U.S. Government Obligations Risk – The Fund may invest in securities issued, sponsored or guaranteed by the U.S. government, its agencies and instrumentalities. However, no assurance can be given that the U.S. government will provide financial support to U.S. government-sponsored agencies or instrumentalities where it is not obligated to do so by law.

U.S. Treasury Securities Risk – A security backed by the U.S. Treasury or the full faith and credit of the United States is guaranteed only as to the timely payment of interest and principal when held to maturity, but the market prices for such securities are not guaranteed and will fluctuate.

Money Market Funds Risk – An investment in a money market fund is not a bank deposit and is not insured or guaranteed by any bank, the Federal Deposit Insurance Corporation (FDIC) or any other government agency. Although money market funds seek to preserve the value of investments at $1.00 per share, it is possible for the High Yield Fund to lose money if shares of money market funds in which it invests fall below $1.00 per share.

Common Stock Risk – Common Stocks are susceptible to general stock market fluctuations and to volatile increases and decreases in value as market confidence in and perceptions of their issuers change. Common stock is generally subject to greater risk than preferred stocks and debt obligations because holders of common stock generally have inferior rights to receive payments from issuers in comparison with the rights of the holders of other securities, bondholders and other creditors.

Preferred Stock Risk – Equity securities may experience sudden, unpredictable drops in value or long periods of decline in value due to general stock market fluctuations, increases in production costs, decisions by management or related factors. Preferred stock, specifically, is subject to the risk that the dividend on the stock may be changed or omitted by the issuer, and that participation in the growth of an issuer may be limited.

Convertible Securities Risk – Convertible securities generally offer lower interest or dividend yields than non-convertible debt securities of similar quality. The value of a convertible security is influenced by changes in interest rates, with investment value declining as interest rates increase and increasing as interest rates decline. The credit standing of the company and other factors also may have an effect on a convertible security’s investment value.

Sector Risk – Companies with similar characteristics, such as those within the same industry, may be grouped together in broad categories called sectors. To the extent the Fund invests its assets in a particular sector, the Fund’s performance may be more susceptible to any economic, business, or other developments that generally affect that sector.

Foreign Risk – Investing in securities of foreign corporations involves additional risks relating to: political, social, religious and economic developments abroad; market instability; fluctuations in foreign exchange rates; different regulatory requirements, market practices, accounting standards and practices; and less publicly available information about foreign issuers. Additionally, these investments may be subject to foreign withholding taxes, may be less liquid, carry higher brokerage commissions and other fees, and procedures and regulations governing transactions and custody in foreign markets also may involve delays in payment, delivery or recovery of money or investments. Investments in common stocks of U.S. companies with international operations, and the purchase of sponsored or unsponsored ADRs carry similar risks.

American Depositary Receipts – Unsponsored ADRs held by the Fund are frequently under no obligation to distribute shareholder communications received from the underlying issuer. For this and other reasons, there is less information available about unsponsored ADRs than sponsored ADRs. Unsponsored ADRs are also not obligated to pass through voting rights to the Fund. Investing in foreign companies, even indirectly through ADRs, may involve the same inherent risks as investing in securities of foreign issuers, as described above.

Cybersecurity Risk – With the increased use of technologies such as the Internet to conduct business, the Fund is susceptible to operational, information security, and related risks. Cyber incidents affecting the Fund or its service providers may cause disruptions and impact business operations, potentially resulting in financial losses, interference with the Fund’s ability to calculate its NAV, impediments to trading, the inability of shareholders to transact business, violations of applicable privacy and other laws, regulatory fines, penalties, reputational damage, reimbursement or other compensation costs, or additional compliance costs.
Risk Lose Money [Text] rr_RiskLoseMoney If the value of the High Yield Fund’s investments decreases, the value of the Fund’s shares will also decrease and you may lose money.
Risk Not Insured Depository Institution [Text] rr_RiskNotInsuredDepositoryInstitution An investment in a money market fund is not a bank deposit and is not insured or guaranteed by any bank, the Federal Deposit Insurance Corporation (FDIC) or any other government agency.
Bar Chart and Performance Table [Heading] rr_BarChartAndPerformanceTableHeading PERFORMANCE
Performance Narrative [Text Block] rr_PerformanceNarrativeTextBlock
The performance information provides some indication of the risks of investing in the High Yield Fund by showing changes in the Fund’s performance from year to year and by showing how the Fund’s average annual returns for one, five and ten years compare with those of a broad measure of market performance and the returns of an additional index of a Lipper peer group (a group of mutual funds with investment objectives similar to that of the Fund). The performance information, before and after taxes, is not necessarily an indication of how the Fund will perform in the future. Updated performance information is available on the Fund’s website at http://www.buffalofunds.com/performance.html, or by calling the Fund toll-free at 1-800-49-BUFFALO (1-800-492-8332).
Performance Information Illustrates Variability of Returns [Text] rr_PerformanceInformationIllustratesVariabilityOfReturns The performance information provides some indication of the risks of investing in the High Yield Fund by showing changes in the Fund’s performance from year to year and by showing how the Fund’s average annual returns for one, five and ten years compare with those of a broad measure of market performance and the returns of an additional index of a Lipper peer group (a group of mutual funds with investment objectives similar to that of the Fund).
Performance Availability Phone [Text] rr_PerformanceAvailabilityPhone 1-800-492-8332
Performance Availability Website Address [Text] rr_PerformanceAvailabilityWebSiteAddress http://www.buffalofunds.com/performance.html
Performance Past Does Not Indicate Future [Text] rr_PerformancePastDoesNotIndicateFuture The performance information, before and after taxes, is not necessarily an indication of how the Fund will perform in the future.
Bar Chart [Heading] rr_BarChartHeading Investor Class(1) Annual Total Return as of December 31 of Each Year
Bar Chart Footnotes [Text Block] rr_BarChartFootnotesTextBlock
(1) 
The returns shown in the bar chart are for Investor Class shares of the Fund. Institutional Class shares would have substantially similar annual returns because the shares are invested in the same portfolio of securities and the annual returns would differ only to the extent that the classes do not have the same expenses.
Bar Chart Closing [Text Block] rr_BarChartClosingTextBlock
Calendar Year-to-Date Return – Investor Class (through March 31, 2019) = 5.28%
Best Quarter: June 30, 2009 = 16.98%
Worst Quarter: September 30, 2011 = -4.88%
Year to Date Return, Label rr_YearToDateReturnLabel Calendar Year-to-Date Return
Bar Chart, Year to Date Return, Date rr_BarChartYearToDateReturnDate Mar. 31, 2019
Bar Chart, Year to Date Return rr_BarChartYearToDateReturn 5.28%
Highest Quarterly Return, Label rr_HighestQuarterlyReturnLabel Best Quarter
Highest Quarterly Return, Date rr_BarChartHighestQuarterlyReturnDate Jun. 30, 2009
Highest Quarterly Return rr_BarChartHighestQuarterlyReturn 16.98%
Lowest Quarterly Return, Label rr_LowestQuarterlyReturnLabel Worst Quarter
Lowest Quarterly Return, Date rr_BarChartLowestQuarterlyReturnDate Sep. 30, 2011
Lowest Quarterly Return rr_BarChartLowestQuarterlyReturn (4.88%)
Performance Table Heading rr_PerformanceTableHeading Average Annual Total Returns for the periods ended December 31, 2018
Index No Deduction for Fees, Expenses, Taxes [Text] rr_IndexNoDeductionForFeesExpensesTaxes (reflects no deduction for fees, expenses or taxes)
Performance Table Uses Highest Federal Rate rr_PerformanceTableUsesHighestFederalRate After-tax returns are calculated using the highest historical individual federal marginal income tax rates and do not reflect the impact of state or local taxes.
Performance Table Not Relevant to Tax Deferred rr_PerformanceTableNotRelevantToTaxDeferred Actual after-tax returns depend on each investor’s individual tax situation and may differ from those shown in the table. The after-tax returns shown are not relevant to investors who own the High Yield Fund in a tax-deferred arrangement, such as an individual retirement account (“IRA”) or a 401(k) plan.
Performance Table One Class of after Tax Shown [Text] rr_PerformanceTableOneClassOfAfterTaxShown Returns are shown for Investor Class shares only and will vary for Institutional Class shares.
Performance Table Explanation after Tax Higher rr_PerformanceTableExplanationAfterTaxHigher In certain cases, the figure representing “Return After Taxes on Distributions and Sale of Fund Shares” may be higher than the other return figures for the same period, since a higher after-tax return results when a capital loss occurs upon redemption and provides an assumed tax deduction that benefits the investor.
Performance Table Closing [Text Block] rr_PerformanceTableClosingTextBlock
The Lipper High Yield Bond Funds Index® is a widely recognized index of the 30 largest mutual funds that invest primarily in high yield bonds.

Returns are shown for Investor Class shares only and will vary for Institutional Class shares. After-tax returns are calculated using the highest historical individual federal marginal income tax rates and do not reflect the impact of state or local taxes. Actual after-tax returns depend on each investor’s individual tax situation and may differ from those shown in the table. The after-tax returns shown are not relevant to investors who own the High Yield Fund in a tax-deferred arrangement, such as an individual retirement account (“IRA”) or a 401(k) plan. In certain cases, the figure representing “Return After Taxes on Distributions and Sale of Fund Shares” may be higher than the other return figures for the same period, since a higher after-tax return results when a capital loss occurs upon redemption and provides an assumed tax deduction that benefits the investor.
Buffalo High Yield Fund | ICE BofAML U.S. High Yield Index® (reflects no deduction for fees, expenses or taxes)  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel ICE BofAML U.S. High Yield Index® (reflects no deduction for fees, expenses or taxes)
1 Year rr_AverageAnnualReturnYear01 (2.26%)
5 Years rr_AverageAnnualReturnYear05 3.82%
10 Years rr_AverageAnnualReturnYear10 10.99%
Buffalo High Yield Fund | Lipper High Yield Bond Funds Index® (reflects no deduction for taxes)  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Lipper High Yield Bond Funds Index® (reflects no deduction for taxes)
1 Year rr_AverageAnnualReturnYear01 (2.98%)
5 Years rr_AverageAnnualReturnYear05 3.05%
10 Years rr_AverageAnnualReturnYear10 9.82%
Buffalo High Yield Fund | Investor Class  
Prospectus [Line Items] rr_ProspectusLineItems  
Trading Symbol dei_TradingSymbol BUFHX
Shareholder Fee, Other rr_ShareholderFeeOther none
Management Fees (as a percentage of Assets) rr_ManagementFeesOverAssets 0.85%
Component1 Other Expenses rr_Component1OtherExpensesOverAssets 0.15%
Other Expenses (as a percentage of Assets): rr_OtherExpensesOverAssets 0.02% [10]
Expenses (as a percentage of Assets) rr_ExpensesOverAssets 1.02%
Expense Example, with Redemption, 1 Year rr_ExpenseExampleYear01 $ 104
Expense Example, with Redemption, 3 Years rr_ExpenseExampleYear03 325
Expense Example, with Redemption, 5 Years rr_ExpenseExampleYear05 563
Expense Example, with Redemption, 10 Years rr_ExpenseExampleYear10 $ 1,248
Annual Return 2009 rr_AnnualReturn2009 44.01%
Annual Return 2010 rr_AnnualReturn2010 12.45%
Annual Return 2011 rr_AnnualReturn2011 3.54%
Annual Return 2012 rr_AnnualReturn2012 10.35%
Annual Return 2013 rr_AnnualReturn2013 9.40%
Annual Return 2014 rr_AnnualReturn2014 1.96%
Annual Return 2015 rr_AnnualReturn2015 1.80%
Annual Return 2016 rr_AnnualReturn2016 6.65%
Annual Return 2017 rr_AnnualReturn2017 5.98%
Annual Return 2018 rr_AnnualReturn2018 (2.26%)
Label rr_AverageAnnualReturnLabel Return Before Taxes
1 Year rr_AverageAnnualReturnYear01 (2.26%)
5 Years rr_AverageAnnualReturnYear05 2.78%
10 Years rr_AverageAnnualReturnYear10 8.78%
Buffalo High Yield Fund | Investor Class | After Taxes on Distributions  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Return After Taxes on Distributions
1 Year rr_AverageAnnualReturnYear01 (4.14%)
5 Years rr_AverageAnnualReturnYear05 0.75%
10 Years rr_AverageAnnualReturnYear10 6.59%
Buffalo High Yield Fund | Investor Class | After Taxes on Distributions and Sales  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Return After Taxes on Distributions and Sale of Fund Shares
1 Year rr_AverageAnnualReturnYear01 (1.25%)
5 Years rr_AverageAnnualReturnYear05 1.34%
10 Years rr_AverageAnnualReturnYear10 6.20%
Buffalo High Yield Fund | Institutional Class  
Prospectus [Line Items] rr_ProspectusLineItems  
Trading Symbol dei_TradingSymbol BUIHX
Shareholder Fee, Other rr_ShareholderFeeOther none
Management Fees (as a percentage of Assets) rr_ManagementFeesOverAssets 0.85%
Component1 Other Expenses rr_Component1OtherExpensesOverAssets none
Other Expenses (as a percentage of Assets): rr_OtherExpensesOverAssets 0.02% [10]
Expenses (as a percentage of Assets) rr_ExpensesOverAssets 0.87%
Expense Example, with Redemption, 1 Year rr_ExpenseExampleYear01 $ 89
Expense Example, with Redemption, 3 Years rr_ExpenseExampleYear03 278
Expense Example, with Redemption, 5 Years rr_ExpenseExampleYear05 482
Expense Example, with Redemption, 10 Years rr_ExpenseExampleYear10 $ 1,073
Buffalo International Fund  
Prospectus [Line Items] rr_ProspectusLineItems  
Risk/Return [Heading] rr_RiskReturnHeading BUFFALO INTERNATIONAL FUND
Objective [Heading] rr_ObjectiveHeading INVESTMENT OBJECTIVE
Objective, Primary [Text Block] rr_ObjectivePrimaryTextBlock
The investment objective of the Buffalo International Fund (“International Fund” or the “Fund”) is long-term growth of capital.
Expense [Heading] rr_ExpenseHeading FEES AND EXPENSES OF THE FUND
Expense Narrative [Text Block] rr_ExpenseNarrativeTextBlock
This table describes the fees and expenses that you may pay if you buy and hold shares of the Fund.
Shareholder Fees Caption [Text] rr_ShareholderFeesCaption Shareholder Fees (fees paid directly from your investment)
Operating Expenses Caption [Text] rr_OperatingExpensesCaption Annual Fund Operating Expenses (expenses that you pay each year as a percentage of the value of your investment)
Portfolio Turnover [Heading] rr_PortfolioTurnoverHeading Portfolio Turnover.
Portfolio Turnover [Text Block] rr_PortfolioTurnoverTextBlock
The Fund pays transaction costs, such as commissions, when it buys and sells securities (or “turns over” its portfolio). A higher portfolio turnover rate may indicate higher transaction costs and may result in higher taxes when Fund shares are held in a taxable account. These costs, which are not reflected in annual fund operating expenses or in the example, affect the Fund’s performance. During the most recent fiscal year, the Fund’s portfolio turnover rate was 16% of the average value of its portfolio.
Portfolio Turnover, Rate rr_PortfolioTurnoverRate 16.00%
Expenses Not Correlated to Ratio Due to Acquired Fund Fees [Text] rr_ExpensesNotCorrelatedToRatioDueToAcquiredFundFees Acquired Fund Fees and Expenses represent the indirect costs of the Fund’s investments in other investment companies. The Total Annual Fund Operating Expenses for the Fund do not correlate to the ratio of expenses to average net assets listed in the Fund’s financial highlights, which reflects the operating expenses of the Fund and does not include the amount of the Fund’s proportionate share of the fees and expenses of other investment companies in which the Fund invests.
Expense Example [Heading] rr_ExpenseExampleHeading Example.
Expense Example Narrative [Text Block] rr_ExpenseExampleNarrativeTextBlock
This example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. The example assumes that you invest $10,000 in the Fund for the time periods indicated and then redeem all of your shares at the end of those periods. The example also assumes that your investment has a 5% return each year and that the Fund’s operating expenses remain the same.
Expense Example by, Year, Caption [Text] rr_ExpenseExampleByYearCaption Although your actual costs may be higher or lower, based on these assumptions your costs would be:
Strategy [Heading] rr_StrategyHeading PRINCIPAL INVESTMENT STRATEGIES
Strategy Narrative [Text Block] rr_StrategyNarrativeTextBlock
The International Fund invests primarily in equity securities of established companies that are economically tied to various countries throughout the world (excluding the U.S.). The Fund may invest directly or indirectly in foreign securities or foreign currencies of both developed and developing countries. For purposes of the International Fund’s investments, “foreign securities” means those securities issued by companies:

•
that are organized under the laws of, or with a principal office in, a country other than the U.S. and issue securities for which the principal trading market is in a country other than the U.S.; or
•
that derive at least 50% of their revenues or profits from goods produced or sold, investments made, or services provided in a country other than the U.S., or have at least 50% of their assets in a country other than the U.S.

Under normal circumstances, the International Fund does not expect its investments in emerging markets to exceed 35% of its net assets. Equity securities in which the International Fund will invest include common stocks, preferred stocks, convertible securities, warrants, rights and depositary receipts. The Fund’s investments in depositary receipts may include sponsored or unsponsored ADRs, European Depositary Receipts (“EDRs”) or Global Depositary Receipts (“GDRs”). The International Fund may invest in securities of companies of any size and in any sector.

In selecting securities for the International Fund, the Advisor uses a bottom-up approach in choosing investments. The Advisor seeks to identify companies for the International Fund’s portfolio that are expected to experience growth based on the identification of long-term, measurable industry, technological, global or other trends. Companies are screened using in-depth, in-house research to identify those which the Advisor believes have favorable attributes, including attractive valuation, strong management, conservative debt, free cash flow, scalable business models, and competitive advantages. In making portfolio selections for the International Fund, the Advisor will also consider the economic, political and market conditions of the various countries in which the Fund may invest. The Advisor may sell the International Fund’s investments to secure gains, limit losses or reinvest in more promising investment opportunities.

Risk [Heading] rr_RiskHeading PRINCIPAL RISKS
Risk Narrative [Text Block] rr_RiskNarrativeTextBlock
The International Fund cannot guarantee that it will achieve its investment objective. As with any mutual fund, the value of the Fund’s investments may fluctuate. If the value of the International Fund’s investments decreases, the value of the Fund’s shares will also decrease and you may lose money. The risks associated with the International Fund’s principal investment strategies are:

Market Risk – The value of the Fund’s shares will fluctuate as a result of the movement of the overall stock market or of the value of the individual securities held by the Fund, and you could lose money. Adverse market events may also lead to increased shareholder redemptions, which could cause the Fund to experience a loss or difficulty in selling investments to meet such redemptions.

Management Risk – Management risk means that your investment in the Fund varies with the success and failure of the Advisor’s investment strategies and the Advisor’s research, analysis and determination of portfolio securities.

Equity Market Risk – Equity securities held by the International Fund may experience sudden, unpredictable drops in value or long periods of decline in value due to general stock market fluctuations, increases in production costs, decisions by management or related factors.

Common Stocks. Common stocks are susceptible to general stock market fluctuations and to volatile increases and decreases in value as market confidence in and perceptions of their issuers change. Common stock is generally subject to greater risk than preferred stocks and debt obligations because holders of common stock generally have inferior rights to receive payments from issuers in comparison with the rights of the holders of other securities, bondholders and other creditors.

Preferred Stock. Preferred stock is subject to the risk that the dividend on the stock may be changed or omitted by the issuer, and that participation in the growth of an issuer may be limited.

Convertible Securities. A convertible security is a fixed-income security (a debt instrument or a preferred stock) which may be converted at a stated price within a specified period of time into a certain quantity of the common stock of the same or a different issuer. The market value of a convertible security performs like that of a regular debt security, that is, if market interest rates rise, the value of the convertible security falls.

Warrants. Investments in warrants involve certain risks, including the possible lack of a liquid market for resale of the warrants, potential price fluctuations as a result of speculation or other factors, and failure of the price of the underlying security to reach or have reasonable prospects of reaching a level at which the warrant can be prudently exercised (in which event the warrant may expire without being exercised, resulting in a loss of the Fund’s entire investment therein).

Rights. The purchase of rights involves the risk that the Fund could lose the purchase value of a right if the right is not exercised prior to its expiration. Also, the purchase of rights involves the risk that the effective price paid for the right added to the subscription price of the related security may exceed the value of the subscribed security’s market price.

Sector Risk – Companies with similar characteristics, such as those within the same industry, may be grouped together in broad categories called sectors. To the extent the Fund invests its assets in a particular sector, the Fund’s performance may be more susceptible to any economic, business, or other developments that generally affect that sector.

Large-Cap Company Risk – Larger, more established companies may be unable to respond quickly to new competitive challenges and are sometimes unable to attain the high growth rates of successful, smaller companies during periods of economic expansion.

Mid-Cap Company Risk – Investing in mid-cap companies may involve greater risk than investing in large-cap companies due to less management experience, fewer financial resources, less product diversification and fewer competitive strengths. Therefore, such securities may be more volatile and less liquid than large-cap companies. In addition, mid-cap companies may be particularly affected by interest rate increases, as they may find it more difficult to borrow money to continue or expand operations, or may have difficulty in repaying any loans.

Small-Cap Company Risk – Investing in small-cap companies may involve greater risk than investing in large- or mid-cap companies due to less management experience, fewer financial resources, less product diversification and fewer competitive strengths. Therefore, such securities may be more volatile and less liquid than mid- and large-cap companies. In addition, small-cap companies may be particularly affected by interest rate increases, as they may find it more difficult to borrow money to continue or expand operations, or may have difficulty in repaying any loans.

Money Market Funds Risk – An investment in a money market fund is not a bank deposit and is not insured or guaranteed by any bank, the Federal Deposit Insurance Corporation (FDIC) or any other government agency. Although money market funds seek to preserve the value of investments at $1.00 per share, it is possible for the Fund to lose money if shares of money market funds in which it invests fall below $1.00 per share.

Foreign Risk – Investing in securities of foreign corporations involves additional risks relating to: political, social, religious and economic developments abroad; market instability; fluctuations in foreign exchange rates; different regulatory requirements, market practices, accounting standards and practices; and less publicly available information about foreign issuers. Additionally, these investments may be subject to foreign withholding taxes, may be less liquid, carry higher brokerage commissions and other fees, and procedures and regulations governing transactions and custody in foreign markets also may involve delays in payment, delivery or recovery of money or investments. Investments in common stocks of U.S. companies with international operations, and the purchase of sponsored or unsponsored ADRs, EDRs and GDRs carry similar risks.

American Depositary Receipts – Unsponsored ADRs held by the Fund are frequently under no obligation to distribute shareholder communications received from the underlying issuer. For this and other reasons, there is less information available about unsponsored ADRs than sponsored ADRs. Unsponsored ADRs are also not obligated to pass through voting rights to the Fund. Investing in foreign companies, even indirectly through ADRs, may involve the same inherent risks as investing in securities of foreign issuers, as described above.

Emerging Markets Risk – Emerging markets are markets of countries, such as China, the Philippines and India, in the initial stages of industrialization and that generally have low per capita income. In addition to the risks of foreign securities in general, emerging markets are generally more volatile, have relatively unstable governments, social and legal systems that do not protect shareholders, economies based on only a few industries and securities markets that are substantially smaller, less liquid and more volatile with less government oversight than more developed countries. Emerging markets securities or companies may be subject to the risk of nationalization or may be subject to the control of the country in which such companies are domiciled. Additionally, the Fund may have investments in companies located in China.  Risks associated with investments in China include risks related to governmental policies and risks to the economy from trade or political disputes with China’s trading partners.

Currency Risk – When the International Fund buys or sells securities on a foreign stock exchange, the transaction is undertaken in the local currency rather than in U.S. dollars, which carries the risk that the value of the foreign currency will increase or decrease, which may impact the value of the Fund’s portfolio holdings and your investment. China and other countries may adopt economic policies and/or currency exchange controls that affect its currency valuations in a disadvantageous manner for U.S. investors and companies and restrict or prohibit the Fund’s ability to repatriate both investment capital and income, which could place the International Fund’s assets at risk of total loss.

Convertible Securities Risk – Convertible securities generally offer lower interest or dividend yields than non-convertible debt securities of similar quality. The value of a convertible security is influenced by changes in interest rates, with investment value declining as interest rates increase and increasing as interest rates decline. The credit standing of the company and other factors also may have an effect on a convertible security’s investment value.

Cybersecurity Risk – With the increased use of technologies such as the Internet to conduct business, the Fund is susceptible to operational, information security, and related risks. Cyber incidents affecting the Fund or its service providers may cause disruptions and impact business operations, potentially resulting in financial losses, interference with the Fund’s ability to calculate its NAV, impediments to trading, the inability of shareholders to transact business, violations of applicable privacy and other laws, regulatory fines, penalties, reputational damage, reimbursement or other compensation costs, or additional compliance costs.
Risk Lose Money [Text] rr_RiskLoseMoney If the value of the International Fund’s investments decreases, the value of the Fund’s shares will also decrease and you may lose money.
Risk Not Insured Depository Institution [Text] rr_RiskNotInsuredDepositoryInstitution An investment in a money market fund is not a bank deposit and is not insured or guaranteed by any bank, the Federal Deposit Insurance Corporation (FDIC) or any other government agency.
Bar Chart and Performance Table [Heading] rr_BarChartAndPerformanceTableHeading PERFORMANCE
Performance Narrative [Text Block] rr_PerformanceNarrativeTextBlock
The performance information provides some indication of the risks of investing in the International Fund by showing changes in the Fund’s performance from year to year and by showing how the Fund’s average annual returns for one, five and ten years compare with those of a broad measure of market performance and the returns of an additional index of a Lipper peer group (a group of mutual funds with investment objectives similar to that of the Fund). The performance information, before and after taxes, is not necessarily an indication of how the Fund will perform in the future. Updated performance information is available on the Fund’s website at http://www.buffalofunds.com/performance.html, or by calling the Fund toll-free at 1-800-49-BUFFALO (1-800-492-8332).

Performance Information Illustrates Variability of Returns [Text] rr_PerformanceInformationIllustratesVariabilityOfReturns The performance information provides some indication of the risks of investing in the International Fund by showing changes in the Fund’s performance from year to year and by showing how the Fund’s average annual returns for one, five and ten years compare with those of a broad measure of market performance and the returns of an additional index of a Lipper peer group (a group of mutual funds with investment objectives similar to that of the Fund).
Performance Availability Phone [Text] rr_PerformanceAvailabilityPhone 1-800-492-8332
Performance Availability Website Address [Text] rr_PerformanceAvailabilityWebSiteAddress http://www.buffalofunds.com/performance.html
Performance Past Does Not Indicate Future [Text] rr_PerformancePastDoesNotIndicateFuture The performance information, before and after taxes, is not necessarily an indication of how the Fund will perform in the future.
Bar Chart [Heading] rr_BarChartHeading Investor Class(1) Annual Total Return as of December 31 of Each Year
Bar Chart Footnotes [Text Block] rr_BarChartFootnotesTextBlock
(1) 
The returns shown in the bar chart are for Investor Class shares of the Fund. Institutional Class shares would have substantially similar annual returns because the shares are invested in the same portfolio of securities and the annual returns would differ only to the extent that the classes do not have the same expenses.
Bar Chart Closing [Text Block] rr_BarChartClosingTextBlock
Calendar Year-to-Date Return – Investor Class (through March 31, 2019) = 11.23%
Best Quarter: June 30, 2009 = 31.64%
Worst Quarter: September 30, 2011 = -21.53%
Year to Date Return, Label rr_YearToDateReturnLabel Calendar Year-to-Date Return
Bar Chart, Year to Date Return, Date rr_BarChartYearToDateReturnDate Mar. 31, 2019
Bar Chart, Year to Date Return rr_BarChartYearToDateReturn 11.23%
Highest Quarterly Return, Label rr_HighestQuarterlyReturnLabel Best Quarter
Highest Quarterly Return, Date rr_BarChartHighestQuarterlyReturnDate Jun. 30, 2009
Highest Quarterly Return rr_BarChartHighestQuarterlyReturn 31.64%
Lowest Quarterly Return, Label rr_LowestQuarterlyReturnLabel Worst Quarter
Lowest Quarterly Return, Date rr_BarChartLowestQuarterlyReturnDate Sep. 30, 2011
Lowest Quarterly Return rr_BarChartLowestQuarterlyReturn (21.53%)
Performance Table Heading rr_PerformanceTableHeading Average Annual Total Returns for the periods ended December 31, 2018
Index No Deduction for Fees, Expenses, Taxes [Text] rr_IndexNoDeductionForFeesExpensesTaxes (reflects no deduction for fees, expenses or taxes)
Performance Table Uses Highest Federal Rate rr_PerformanceTableUsesHighestFederalRate After-tax returns are calculated using the highest historical individual federal marginal income tax rates and do not reflect the impact of state or local taxes.
Performance Table Not Relevant to Tax Deferred rr_PerformanceTableNotRelevantToTaxDeferred Actual after-tax returns depend on each investor’s individual tax situation and may differ from those shown in the table. The after-tax returns shown are not relevant to investors who own the International Fund in a tax-deferred arrangement, such as an individual retirement account (“IRA”) or a 401(k) plan.
Performance Table One Class of after Tax Shown [Text] rr_PerformanceTableOneClassOfAfterTaxShown Returns are shown for Investor Class shares only and will vary for Institutional Class shares.
Performance Table Explanation after Tax Higher rr_PerformanceTableExplanationAfterTaxHigher In certain cases, the figure representing “Return After Taxes on Distributions and Sale of Fund Shares” may be higher than the other return figures for the same period, since a higher after-tax return results when a capital loss occurs upon redemption and provides an assumed tax deduction that benefits the investor.
Performance Table Closing [Text Block] rr_PerformanceTableClosingTextBlock
The Lipper International Funds Index® measures the performance of the 30 largest mutual funds in the international equity fund objective, as determined by Lipper, Inc.

Returns are shown for Investor Class shares only and will vary for Institutional Class shares. After-tax returns are calculated using the highest historical individual federal marginal income tax rates and do not reflect the impact of state or local taxes. Actual after-tax returns depend on each investor’s individual tax situation and may differ from those shown in the table. The after-tax returns shown are not relevant to investors who own the International Fund in a tax-deferred arrangement, such as an individual retirement account (“IRA”) or a 401(k) plan. In certain cases, the figure representing “Return After Taxes on Distributions and Sale of Fund Shares” may be higher than the other return figures for the same period, since a higher after-tax return results when a capital loss occurs upon redemption and provides an assumed tax deduction that benefits the investor.

Buffalo International Fund | Morningstar Global Markets ex-US Index (reflects no deduction for fees, expenses or taxes)  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Morningstar Global Markets ex-US Index (reflects no deduction for fees, expenses or taxes)
1 Year rr_AverageAnnualReturnYear01 (14.17%)
5 Years rr_AverageAnnualReturnYear05 1.37%
10 Years rr_AverageAnnualReturnYear10 7.37%
Buffalo International Fund | Lipper International Funds Index® (reflects no deduction for taxes)  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Lipper International Funds Index® (reflects no deduction for taxes)
1 Year rr_AverageAnnualReturnYear01 (14.94%)
5 Years rr_AverageAnnualReturnYear05 0.70%
10 Years rr_AverageAnnualReturnYear10 6.80%
Buffalo International Fund | Investor Class  
Prospectus [Line Items] rr_ProspectusLineItems  
Trading Symbol dei_TradingSymbol BUFIX
Shareholder Fee, Other rr_ShareholderFeeOther none
Management Fees (as a percentage of Assets) rr_ManagementFeesOverAssets 0.85%
Component1 Other Expenses rr_Component1OtherExpensesOverAssets 0.15%
Other Expenses (as a percentage of Assets): rr_OtherExpensesOverAssets 0.04% [11]
Acquired Fund Fees and Expenses rr_AcquiredFundFeesAndExpensesOverAssets 0.02% [11]
Expenses (as a percentage of Assets) rr_ExpensesOverAssets 1.06% [12]
Expense Example, with Redemption, 1 Year rr_ExpenseExampleYear01 $ 108
Expense Example, with Redemption, 3 Years rr_ExpenseExampleYear03 337
Expense Example, with Redemption, 5 Years rr_ExpenseExampleYear05 585
Expense Example, with Redemption, 10 Years rr_ExpenseExampleYear10 $ 1,294
Annual Return 2009 rr_AnnualReturn2009 46.45%
Annual Return 2010 rr_AnnualReturn2010 13.73%
Annual Return 2011 rr_AnnualReturn2011 (13.82%)
Annual Return 2012 rr_AnnualReturn2012 19.01%
Annual Return 2013 rr_AnnualReturn2013 19.29%
Annual Return 2014 rr_AnnualReturn2014 (2.04%)
Annual Return 2015 rr_AnnualReturn2015 (0.45%)
Annual Return 2016 rr_AnnualReturn2016 3.19%
Annual Return 2017 rr_AnnualReturn2017 29.33%
Annual Return 2018 rr_AnnualReturn2018 (8.85%)
Label rr_AverageAnnualReturnLabel Return Before Taxes
1 Year rr_AverageAnnualReturnYear01 (8.85%)
5 Years rr_AverageAnnualReturnYear05 3.48%
10 Years rr_AverageAnnualReturnYear10 9.23%
Buffalo International Fund | Investor Class | After Taxes on Distributions  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Return After Taxes on Distributions
1 Year rr_AverageAnnualReturnYear01 (9.17%)
5 Years rr_AverageAnnualReturnYear05 3.40%
10 Years rr_AverageAnnualReturnYear10 9.22%
Buffalo International Fund | Investor Class | After Taxes on Distributions and Sales  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Return After Taxes on Distributions and Sale of Fund Shares
1 Year rr_AverageAnnualReturnYear01 (4.68%)
5 Years rr_AverageAnnualReturnYear05 2.84%
10 Years rr_AverageAnnualReturnYear10 7.76%
Buffalo International Fund | Institutional Class  
Prospectus [Line Items] rr_ProspectusLineItems  
Trading Symbol dei_TradingSymbol BUIIX
Shareholder Fee, Other rr_ShareholderFeeOther none
Management Fees (as a percentage of Assets) rr_ManagementFeesOverAssets 0.85%
Component1 Other Expenses rr_Component1OtherExpensesOverAssets none
Other Expenses (as a percentage of Assets): rr_OtherExpensesOverAssets 0.04% [11]
Acquired Fund Fees and Expenses rr_AcquiredFundFeesAndExpensesOverAssets 0.02% [11]
Expenses (as a percentage of Assets) rr_ExpensesOverAssets 0.91% [12]
Expense Example, with Redemption, 1 Year rr_ExpenseExampleYear01 $ 93
Expense Example, with Redemption, 3 Years rr_ExpenseExampleYear03 290
Expense Example, with Redemption, 5 Years rr_ExpenseExampleYear05 504
Expense Example, with Redemption, 10 Years rr_ExpenseExampleYear10 $ 1,120
Buffalo Large Cap Fund  
Prospectus [Line Items] rr_ProspectusLineItems  
Risk/Return [Heading] rr_RiskReturnHeading BUFFALO LARGE CAP FUND
Objective [Heading] rr_ObjectiveHeading INVESTMENT OBJECTIVE
Objective, Primary [Text Block] rr_ObjectivePrimaryTextBlock
The investment objective of the Buffalo Large Cap Fund (“Large Cap Fund” or the “Fund”) is long-term growth of capital.
Expense [Heading] rr_ExpenseHeading FEES AND EXPENSES OF THE FUND
Expense Narrative [Text Block] rr_ExpenseNarrativeTextBlock
This table describes the fees and expenses that you may pay if you buy and hold shares of the Fund.
Shareholder Fees Caption [Text] rr_ShareholderFeesCaption Shareholder Fees (fees paid directly from your investment)
Operating Expenses Caption [Text] rr_OperatingExpensesCaption Annual Fund Operating Expenses (expenses that you pay each year as a percentage of the value of your investment)
Portfolio Turnover [Heading] rr_PortfolioTurnoverHeading Portfolio Turnover.
Portfolio Turnover [Text Block] rr_PortfolioTurnoverTextBlock
The Fund pays transaction costs, such as commissions, when it buys and sells securities (or “turns over” its portfolio). A higher portfolio turnover rate may indicate higher transaction costs and may result in higher taxes when Fund shares are held in a taxable account. These costs, which are not reflected in annual fund operating expenses or in the example, affect the Fund’s performance. During the most recent fiscal year, the Fund’s portfolio turnover rate was 10% of the average value of its portfolio.
Portfolio Turnover, Rate rr_PortfolioTurnoverRate 10.00%
Expenses Not Correlated to Ratio Due to Acquired Fund Fees [Text] rr_ExpensesNotCorrelatedToRatioDueToAcquiredFundFees Acquired Fund Fees and Expenses represent the indirect costs of the Fund’s investments in other investment companies. The Total Annual Fund Operating Expenses for the Fund do not correlate to the ratio of expenses to average net assets listed in the Fund’s financial highlights, which reflects the operating expenses of the Fund and does not include the amount of the Fund’s proportionate share of the fees and expenses of other investment companies in which the Fund invests.
Expense Example [Heading] rr_ExpenseExampleHeading Example.
Expense Example Narrative [Text Block] rr_ExpenseExampleNarrativeTextBlock
This example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. The example assumes that you invest $10,000 in the Fund for the time periods indicated and then redeem all of your shares at the end of those periods. The example also assumes that your investment has a 5% return each year and that the Fund’s operating expenses remain the same.
Expense Example by, Year, Caption [Text] rr_ExpenseExampleByYearCaption Although your actual costs may be higher or lower, based on these assumptions your costs would be:
Strategy [Heading] rr_StrategyHeading PRINCIPAL INVESTMENT STRATEGIES
Strategy Narrative [Text Block] rr_StrategyNarrativeTextBlock
The Large Cap Fund normally invests at least 80% of its net assets in equity securities, consisting of common stocks, preferred stocks, convertible securities, warrants and rights of large capitalization (“large-cap”) companies. The Large Cap Fund considers a company to be a large-cap company if, at time of purchase by the Fund, it has a market capitalization greater than or equal to the lesser of (1) $10 billion, or (2) the median market capitalization of companies in the Morningstar US Large Growth Index. The capitalization of the Morningstar US Large Growth Index changes due to market conditions and changes with the composition of the Morningstar US Large Growth Index. As of March 31, 2019, the median market capitalization of companies in the Morningstar US Large Growth Index was approximately $50.791 billion. In addition to the Fund’s investments in domestic securities, the Fund may invest up to 20% of its net assets in sponsored or unsponsored ADRs and securities of foreign companies that are traded on U.S. stock exchanges. The Fund may invest in companies in any sector.

The Advisor seeks to identify companies for the Large Cap Fund’s portfolio that are expected to experience growth based on the identification of long-term, measurable secular trends, and which, as a result, the Advisor believes may have potential revenue growth in excess of the gross domestic product growth rate. Companies are screened using in-depth, in-house research to identify those which the Advisor believes have favorable attributes, including attractive valuation, strong management, conservative debt, free cash flow, scalable business models, and competitive advantages. The Advisor may sell the Large Cap Fund’s investments to secure gains, limit losses or reinvest in more promising investment opportunities.

Risk [Heading] rr_RiskHeading PRINCIPAL RISKS
Risk Narrative [Text Block] rr_RiskNarrativeTextBlock
The Large Cap Fund cannot guarantee that it will achieve its investment objective. As with any mutual fund, the value of the Large Cap Fund’s investments may fluctuate. If the value of the Large Cap Fund’s investments decreases, the value of the Fund’s shares will also decrease and you may lose money. The risks associated with the Large Cap Fund’s principal investment strategies are:

Market Risk – The value of the Large Cap Fund’s shares will fluctuate as a result of the movement of the overall stock market or of the value of the individual securities held by the Large Cap Fund, and you could lose money. Adverse market events may also lead to increased shareholder redemptions, which could cause the Fund to experience a loss or difficulty in selling investments to meet such redemptions.

Management Risk – Management risk means that your investment in the Large Cap Fund varies with the success and failure of the Advisor’s investment strategies and the Advisor’s research, analysis and determination of portfolio securities.

Equity Market Risk – Equity securities held by the Large Cap Fund may experience sudden, unpredictable drops in value or long periods of decline in value due to general stock market fluctuations, increases in production costs, decisions by management or related factors.

Common Stocks. Common stocks are susceptible to general stock market fluctuations and to volatile increases and decreases in value as market confidence in and perceptions of their issuers change. Common stock is generally subject to greater risk than preferred stocks and debt obligations because holders of common stock generally have inferior rights to receive payments from issuers in comparison with the rights of the holders of other securities, bondholders and other creditors.

Preferred Stock. Preferred stock is subject to the risk that the dividend on the stock may be changed or omitted by the issuer, and that participation in the growth of an issuer may be limited.

Convertible Securities. A convertible security is a fixed-income security (a debt instrument or a preferred stock) which may be converted at a stated price within a specified period of time into a certain quantity of the common stock of the same or a different issuer. The market value of a convertible security performs like that of a regular debt security, that is, if market interest rates rise, the value of the convertible security falls.

Warrants. Investments in warrants involve certain risks, including the possible lack of a liquid market for resale of the warrants, potential price fluctuations as a result of speculation or other factors, and failure of the price of the underlying security to reach or have reasonable prospects of reaching a level at which the warrant can be prudently exercised (in which event the warrant may expire without being exercised, resulting in a loss of the Fund’s entire investment therein).

Rights. The purchase of rights involves the risk that the Fund could lose the purchase value of a right if the right is not exercised prior to its expiration. Also, the purchase of rights involves the risk that the effective price paid for the right added to the subscription price of the related security may exceed the value of the subscribed security’s market price.

Sector Risk – Companies with similar characteristics, such as those within the same industry, may be grouped together in broad categories called sectors. To the extent the Fund invests its assets in a particular sector, the Fund’s performance may be more susceptible to any economic, business, or other developments that generally affect that sector.

Large-Cap Company Risk – Larger, more established companies may be unable to respond quickly to new competitive challenges and are sometimes unable to attain the high growth rates of successful smaller companies during periods of economic expansion.

Mid-Cap Company Risk – Investing in mid-cap companies may involve greater risk than investing in large-cap companies due to less management experience, fewer financial resources, less product diversification and fewer competitive strengths. Therefore, such securities may be more volatile and less liquid than large-cap companies. In addition, mid-cap companies may be particularly affected by interest rate increases, as they may find it more difficult to borrow money to continue or expand operations, or may have difficulty in repaying any loans.

Small-Cap Company Risk – Investing in small-cap companies may involve greater risk than investing in large- or mid-cap companies due to less management experience, fewer financial resources, less product diversification and fewer competitive strengths. Therefore, such securities may be more volatile and less liquid than mid- and large-cap companies. In addition, small-cap companies may be particularly affected by interest rate increases, as they may find it more difficult to borrow money to continue or expand operations, or may have difficulty in repaying any loans.

Money Market Funds Risk – An investment in a money market fund is not a bank deposit and is not insured or guaranteed by any bank, the Federal Deposit Insurance Corporation (FDIC) or any other government agency. Although money market funds seek to preserve the value of investments at $1.00 per share, it is possible for the Fund to lose money if shares of money market funds in which it invests fall below $1.00 per share.

Foreign Risk – Investing in securities of foreign corporations involves additional risks relating to: political, social, religious and economic developments abroad; market instability; fluctuations in foreign exchange rates; different regulatory requirements, market practices, accounting standards and practices; and less publicly available information about foreign issuers. Additionally, these investments may be subject to foreign withholding taxes, may be less liquid, carry higher brokerage commissions and other fees, and procedures and regulations governing transactions and custody in foreign markets also may involve delays in payment, delivery or recovery of money or investments. Investments in common stocks of U.S. companies with international operations, and the purchase of sponsored or unsponsored ADRs carry similar risks.

American Depositary Receipts – Unsponsored ADRs held by the Fund are frequently under no obligation to distribute shareholder communications received from the underlying issuer. For this and other reasons, there is less information available about unsponsored ADRs than sponsored ADRs. Unsponsored ADRs are also not obligated to pass through voting rights to the Fund. Investing in foreign companies, even indirectly through ADRs, may involve the same inherent risks as investing in securities of foreign issuers, as described above.

Cybersecurity Risk – With the increased use of technologies such as the Internet to conduct business, the Fund is susceptible to operational, information security, and related risks. Cyber incidents affecting the Fund or its service providers may cause disruptions and impact business operations, potentially resulting in financial losses, interference with the Fund’s ability to calculate its NAV, impediments to trading, the inability of shareholders to transact business, violations of applicable privacy and other laws, regulatory fines, penalties, reputational damage, reimbursement or other compensation costs, or additional compliance costs.

Risk Lose Money [Text] rr_RiskLoseMoney If the value of the Large Cap Fund’s investments decreases, the value of the Fund’s shares will also decrease and you may lose money.
Risk Not Insured Depository Institution [Text] rr_RiskNotInsuredDepositoryInstitution An investment in a money market fund is not a bank deposit and is not insured or guaranteed by any bank, the Federal Deposit Insurance Corporation (FDIC) or any other government agency.
Bar Chart and Performance Table [Heading] rr_BarChartAndPerformanceTableHeading PERFORMANCE
Performance Narrative [Text Block] rr_PerformanceNarrativeTextBlock
The performance information provides some indication of the risks of investing in the Large Cap Fund by showing changes in the Fund’s performance from year to year and by showing how the Fund’s average annual returns for one, five and ten years compare with those of a broad measure of market performance and the returns of an additional index of a Lipper peer group (a group of mutual funds with investment objectives similar to that of the Fund). The performance information, before and after taxes, is not necessarily an indication of how the Fund will perform in the future. Updated performance information is available on the Fund’s website at http://www.buffalofunds.com/performance.html, or by calling the Fund toll-free at 1-800-49-BUFFALO (1-800-492-8332).
Performance Information Illustrates Variability of Returns [Text] rr_PerformanceInformationIllustratesVariabilityOfReturns The performance information provides some indication of the risks of investing in the Large Cap Fund by showing changes in the Fund’s performance from year to year and by showing how the Fund’s average annual returns for one, five and ten years compare with those of a broad measure of market performance and the returns of an additional index of a Lipper peer group (a group of mutual funds with investment objectives similar to that of the Fund).
Performance Availability Phone [Text] rr_PerformanceAvailabilityPhone 1-800-492-8332
Performance Availability Website Address [Text] rr_PerformanceAvailabilityWebSiteAddress http://www.buffalofunds.com/performance.html
Performance Past Does Not Indicate Future [Text] rr_PerformancePastDoesNotIndicateFuture The performance information, before and after taxes, is not necessarily an indication of how the Fund will perform in the future.
Bar Chart [Heading] rr_BarChartHeading Investor Class(1) Annual Total Return as of December 31 of Each Year
Bar Chart Footnotes [Text Block] rr_BarChartFootnotesTextBlock
(1) 
The returns shown in the bar chart are for Investor Class shares of the Fund. Institutional Class shares would have substantially similar annual returns because the shares are invested in the same portfolio of securities and the annual returns would differ only to the extent that the classes do not have the same expenses.

Bar Chart Closing [Text Block] rr_BarChartClosingTextBlock
Calendar Year-to-Date Return – Investor Class (through March 31, 2019) = 15.02%
Best Quarter: September 30, 2009 = 20.77%
Worst Quarter: September 30, 2011 = -18.29%
Year to Date Return, Label rr_YearToDateReturnLabel Calendar Year-to-Date Return
Bar Chart, Year to Date Return, Date rr_BarChartYearToDateReturnDate Mar. 31, 2019
Bar Chart, Year to Date Return rr_BarChartYearToDateReturn 15.02%
Highest Quarterly Return, Label rr_HighestQuarterlyReturnLabel Best Quarter
Highest Quarterly Return, Date rr_BarChartHighestQuarterlyReturnDate Sep. 30, 2009
Highest Quarterly Return rr_BarChartHighestQuarterlyReturn 20.77%
Lowest Quarterly Return, Label rr_LowestQuarterlyReturnLabel Worst Quarter
Lowest Quarterly Return, Date rr_BarChartLowestQuarterlyReturnDate Sep. 30, 2011
Lowest Quarterly Return rr_BarChartLowestQuarterlyReturn (18.29%)
Performance Table Heading rr_PerformanceTableHeading Average Annual Total Returns for the periods ended December 31, 2018
Index No Deduction for Fees, Expenses, Taxes [Text] rr_IndexNoDeductionForFeesExpensesTaxes (reflects no deduction for fees, expenses or taxes)
Performance Table Uses Highest Federal Rate rr_PerformanceTableUsesHighestFederalRate After-tax returns are calculated using the highest historical individual federal marginal income tax rates and do not reflect the impact of state or local taxes.
Performance Table Not Relevant to Tax Deferred rr_PerformanceTableNotRelevantToTaxDeferred Actual after-tax returns depend on each investor’s individual tax situation and may differ from those shown in the table. The after-tax returns shown are not relevant to investors who own the Large Cap Fund in a tax-deferred arrangement, such as an individual retirement account (“IRA”) or a 401(k) plan.
Performance Table One Class of after Tax Shown [Text] rr_PerformanceTableOneClassOfAfterTaxShown Returns are shown for Investor Class shares only and will vary for Institutional Class shares.
Performance Table Explanation after Tax Higher rr_PerformanceTableExplanationAfterTaxHigher In certain cases, the figure representing “Return After Taxes on Distributions and Sale of Fund Shares” may be higher than the other return figures for the same period, since a higher after-tax return results when a capital loss occurs upon redemption and provides an assumed tax deduction that benefits the investor.
Performance Table Closing [Text Block] rr_PerformanceTableClosingTextBlock
The Lipper Large-Cap Growth Funds Index® is an unmanaged, equally weighted performance index of the 30 largest qualifying mutual funds (based on net assets) in the Lipper Large-Cap classification.

Returns are shown for Investor Class shares only and will vary for Institutional Class shares. After-tax returns are calculated using the highest historical individual federal marginal income tax rates and do not reflect the impact of state or local taxes. Actual after-tax returns depend on each investor’s individual tax situation and may differ from those shown in the table. The after-tax returns shown are not relevant to investors who own the Large Cap Fund in a tax-deferred arrangement, such as an individual retirement account (“IRA”) or a 401(k) plan. In certain cases, the figure representing “Return After Taxes on Distributions and Sale of Fund Shares” may be higher than the other return figures for the same period, since a higher after-tax return results when a capital loss occurs upon redemption and provides an assumed tax deduction that benefits the investor.
Buffalo Large Cap Fund | Morningstar US Large Growth Index (reflects no deduction for fees, expenses or taxes)  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Morningstar US Large Growth Index (reflects no deduction for fees, expenses or taxes)
1 Year rr_AverageAnnualReturnYear01 2.94%
5 Years rr_AverageAnnualReturnYear05 11.10%
10 Years rr_AverageAnnualReturnYear10 15.92%
Buffalo Large Cap Fund | Lipper Large-Cap Growth Funds Index® (reflects no deduction for taxes)  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Lipper Large-Cap Growth Funds Index® (reflects no deduction for taxes)
1 Year rr_AverageAnnualReturnYear01 (0.47%)
5 Years rr_AverageAnnualReturnYear05 8.98%
10 Years rr_AverageAnnualReturnYear10 14.09%
Buffalo Large Cap Fund | Investor Class  
Prospectus [Line Items] rr_ProspectusLineItems  
Trading Symbol dei_TradingSymbol BUFEX
Shareholder Fee, Other rr_ShareholderFeeOther none
Management Fees (as a percentage of Assets) rr_ManagementFeesOverAssets 0.75%
Component1 Other Expenses rr_Component1OtherExpensesOverAssets 0.15%
Other Expenses (as a percentage of Assets): rr_OtherExpensesOverAssets 0.03% [13]
Acquired Fund Fees and Expenses rr_AcquiredFundFeesAndExpensesOverAssets 0.01% [13]
Expenses (as a percentage of Assets) rr_ExpensesOverAssets 0.94% [14]
Expense Example, with Redemption, 1 Year rr_ExpenseExampleYear01 $ 96
Expense Example, with Redemption, 3 Years rr_ExpenseExampleYear03 300
Expense Example, with Redemption, 5 Years rr_ExpenseExampleYear05 520
Expense Example, with Redemption, 10 Years rr_ExpenseExampleYear10 $ 1,155
Label rr_AverageAnnualReturnLabel Return Before Taxes
1 Year rr_AverageAnnualReturnYear01 (1.63%)
5 Years rr_AverageAnnualReturnYear05 9.67%
10 Years rr_AverageAnnualReturnYear10 14.92%
Buffalo Large Cap Fund | Investor Class | After Taxes on Distributions  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Return After Taxes on Distributions
1 Year rr_AverageAnnualReturnYear01 (2.99%)
5 Years rr_AverageAnnualReturnYear05 7.88%
10 Years rr_AverageAnnualReturnYear10 13.46%
Buffalo Large Cap Fund | Investor Class | After Taxes on Distributions and Sales  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Return After Taxes on Distributions and Sale of Fund Shares
1 Year rr_AverageAnnualReturnYear01 (0.06%)
5 Years rr_AverageAnnualReturnYear05 7.27%
10 Years rr_AverageAnnualReturnYear10 12.30%
Buffalo Large Cap Fund | Institutional Class  
Prospectus [Line Items] rr_ProspectusLineItems  
Trading Symbol dei_TradingSymbol BUIEX
Shareholder Fee, Other rr_ShareholderFeeOther none
Management Fees (as a percentage of Assets) rr_ManagementFeesOverAssets 0.75%
Component1 Other Expenses rr_Component1OtherExpensesOverAssets none
Other Expenses (as a percentage of Assets): rr_OtherExpensesOverAssets 0.03% [13]
Acquired Fund Fees and Expenses rr_AcquiredFundFeesAndExpensesOverAssets 0.01% [13]
Expenses (as a percentage of Assets) rr_ExpensesOverAssets 0.79% [14]
Expense Example, with Redemption, 1 Year rr_ExpenseExampleYear01 $ 81
Expense Example, with Redemption, 3 Years rr_ExpenseExampleYear03 252
Expense Example, with Redemption, 5 Years rr_ExpenseExampleYear05 439
Expense Example, with Redemption, 10 Years rr_ExpenseExampleYear10 $ 978
Annual Return 2009 rr_AnnualReturn2009 50.74%
Annual Return 2010 rr_AnnualReturn2010 14.32%
Annual Return 2011 rr_AnnualReturn2011 (5.60%)
Annual Return 2012 rr_AnnualReturn2012 17.23%
Annual Return 2013 rr_AnnualReturn2013 32.76%
Annual Return 2014 rr_AnnualReturn2014 12.76%
Annual Return 2015 rr_AnnualReturn2015 7.15%
Annual Return 2016 rr_AnnualReturn2016 6.90%
Annual Return 2017 rr_AnnualReturn2017 24.86%
Annual Return 2018 rr_AnnualReturn2018 (1.63%)
Buffalo Mid Cap Fund  
Prospectus [Line Items] rr_ProspectusLineItems  
Risk/Return [Heading] rr_RiskReturnHeading BUFFALO MID CAP FUND
Objective [Heading] rr_ObjectiveHeading INVESTMENT OBJECTIVE
Objective, Primary [Text Block] rr_ObjectivePrimaryTextBlock
The investment objective of the Buffalo Mid Cap Fund (“Mid Cap Fund” or the “Fund”) is long-term growth of capital.
Expense [Heading] rr_ExpenseHeading FEES AND EXPENSES OF THE FUND
Expense Narrative [Text Block] rr_ExpenseNarrativeTextBlock
This table describes the fees and expenses that you may pay if you buy and hold shares of the Fund.
Shareholder Fees Caption [Text] rr_ShareholderFeesCaption Shareholder Fees (fees paid directly from your investment)
Operating Expenses Caption [Text] rr_OperatingExpensesCaption Annual Fund Operating Expenses (expenses that you pay each year as a percentage of the value of your investment)
Portfolio Turnover [Heading] rr_PortfolioTurnoverHeading Portfolio Turnover.
Portfolio Turnover [Text Block] rr_PortfolioTurnoverTextBlock
The Fund pays transaction costs, such as commissions, when it buys and sells securities (or “turns over” its portfolio). A higher portfolio turnover rate may indicate higher transaction costs and may result in higher taxes when Fund shares are held in a taxable account. These costs, which are not reflected in annual fund operating expenses or in the example, affect the Fund’s performance. During the most recent fiscal year, the Fund’s portfolio turnover rate was 36% of the average value of its portfolio.

Portfolio Turnover, Rate rr_PortfolioTurnoverRate 36.00%
Expense Example [Heading] rr_ExpenseExampleHeading Example.
Expense Example Narrative [Text Block] rr_ExpenseExampleNarrativeTextBlock
This example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. The example assumes that you invest $10,000 in the Fund for the time periods indicated and then redeem all of your shares at the end of those periods. The example also assumes that your investment has a 5% return each year and that the Fund’s operating expenses remain the same.
Expense Example by, Year, Caption [Text] rr_ExpenseExampleByYearCaption Although your actual costs may be higher or lower, based on these assumptions your costs would be:
Strategy [Heading] rr_StrategyHeading PRINCIPAL INVESTMENT STRATEGIES
Strategy Narrative [Text Block] rr_StrategyNarrativeTextBlock
The Mid Cap Fund normally invests at least 80% of its net assets in equity securities, consisting of common stocks, preferred stocks, convertible preferred stocks, warrants and rights of medium capitalization (“mid-cap”) companies. The Mid Cap Fund defines mid-cap companies as those companies, at the time of purchase, with market capitalizations within the range of the Morningstar US Mid Growth Index. As of March 31, 2019 the range of market capitalizations of the Morningstar US Mid Growth Index was $2.429 billion to $42.491 billion. In addition to the Fund’s investments in domestic securities, the Fund may invest up to 20% of its net assets in sponsored or unsponsored ADRs and securities of foreign companies that are traded on U.S. stock exchanges. The Fund may invest in companies in any sector.

The Advisor seeks to identify companies for the Mid Cap Fund’s portfolio that are expected to experience growth based on the identification of long-term, measurable secular trends, and which, as a result, the Advisor believes may have potential revenue growth in excess of the gross domestic product growth rate. Companies are screened using in-depth, in-house research to identify those which the Advisor believes have favorable attributes, including attractive valuation, strong management, conservative debt, free cash flow, scalable business models, and competitive advantages. The Advisor may sell the Mid Cap Fund’s investments to secure gains, limit losses or reinvest in more promising investment opportunities.
Risk [Heading] rr_RiskHeading PRINCIPAL RISKS
Risk Narrative [Text Block] rr_RiskNarrativeTextBlock
The Mid Cap Fund cannot guarantee that it will achieve its investment objective. As with any mutual fund, the value of the Mid Cap Fund’s investments may fluctuate. If the value of the Mid Cap Fund’s investments decreases, the value of the Fund’s shares will also decrease and you may lose money. The risks associated with the Mid Cap Fund’s principal investment strategies are:

Market Risk – The value of the Mid Cap Fund’s shares will fluctuate as a result of the movement of the overall stock market or of the value of the individual securities held by the Mid Cap Fund, and you could lose money. Adverse market events may also lead to increased shareholder redemptions, which could cause the Fund to experience a loss or difficulty in selling investments to meet such redemptions.

Management Risk – Management risk means that your investment in the Mid Cap Fund varies with the success and failure of the Advisor’s investment strategies and the Advisor’s research, analysis and determination of portfolio securities.

Equity Market Risk – Equity securities held by the Mid Cap Fund may experience sudden, unpredictable drops in value or long periods of decline in value due to general stock market fluctuations, increases in production costs, decisions by management or related factors.

Common Stocks. Common stocks are susceptible to general stock market fluctuations and to volatile increases and decreases in value as market confidence in and perceptions of their issuers change. Common stock is generally subject to greater risk than preferred stocks and debt obligations because holders of common stock generally have inferior rights to receive payments from issuers in comparison with the rights of the holders of other securities, bondholders and other creditors.

Preferred Stock. Preferred stock is subject to the risk that the dividend on the stock may be changed or omitted by the issuer, and that participation in the growth of an issuer may be limited.

Convertible Securities. A convertible security is a fixed-income security (a debt instrument or a preferred stock) which may be converted at a stated price within a specified period of time into a certain quantity of the common stock of the same or a different issuer. The market value of a convertible security performs like that of a regular debt security, that is, if market interest rates rise, the value of the convertible security falls.

Warrants. Investments in warrants involve certain risks, including the possible lack of a liquid market for resale of the warrants, potential price fluctuations as a result of speculation or other factors, and failure of the price of the underlying security to reach or have reasonable prospects of reaching a level at which the warrant can be prudently exercised (in which event the warrant may expire without being exercised, resulting in a loss of the Fund’s entire investment therein).

Rights. The purchase of rights involves the risk that the Fund could lose the purchase value of a right if the right is not exercised prior to its expiration. Also, the purchase of rights involves the risk that the effective price paid for the right added to the subscription price of the related security may exceed the value of the subscribed security’s market price.

Sector Risk – Companies with similar characteristics, such as those within the same industry, may be grouped together in broad categories called sectors. To the extent the Fund invests its assets in a particular sector, the Fund’s performance may be more susceptible to any economic, business, or other developments that generally affect that sector.

Mid-Cap Company Risk – Investing in mid-cap companies may involve greater risk than investing in large-cap companies due to less management experience, fewer financial resources, less product diversification and fewer competitive strengths. Therefore, such securities may be more volatile and less liquid than large-cap companies. In addition, mid-cap companies may be particularly affected by interest rate increases, as they may find it more difficult to borrow money to continue or expand operations, or may have difficulty in repaying any loans.

Money Market Funds Risk – An investment in a money market fund is not a bank deposit and is not insured or guaranteed by any bank, the Federal Deposit Insurance Corporation (FDIC) or any other government agency. Although money market funds seek to preserve the value of investments at $1.00 per share, it is possible for the Fund to lose money if shares of money market funds in which it invests fall below $1.00 per share.

Foreign Risk – Investing in securities of foreign corporations involves additional risks relating to: political, social, religious and economic developments abroad; market instability; fluctuations in foreign exchange rates; different regulatory requirements, market practices, accounting standards and practices; and less publicly available information about foreign issuers. Additionally, these investments may be subject to foreign withholding taxes, may be less liquid, carry higher brokerage commissions and other fees, and procedures and regulations governing transactions and custody in foreign markets also may involve delays in payment, delivery or recovery of money or investments. Investments in common stocks of U.S. companies with international operations, and the purchase of sponsored or unsponsored ADRs carry similar risks.

American Depositary Receipts – Unsponsored ADRs held by the Fund are frequently under no obligation to distribute shareholder communications received from the underlying issuer. For this and other reasons, there is less information available about unsponsored ADRs than sponsored ADRs. Unsponsored ADRs are also not obligated to pass through voting rights to the Fund. Investing in foreign companies, even indirectly through ADRs, may involve the same inherent risks as investing in securities of foreign issuers, as described above.

Cybersecurity Risk – With the increased use of technologies such as the Internet to conduct business, the Fund is susceptible to operational, information security, and related risks. Cyber incidents affecting the Fund or its service providers may cause disruptions and impact business operations, potentially resulting in financial losses, interference with the Fund’s ability to calculate its NAV, impediments to trading, the inability of shareholders to transact business, violations of applicable privacy and other laws, regulatory fines, penalties, reputational damage, reimbursement or other compensation costs, or additional compliance costs.
Risk Lose Money [Text] rr_RiskLoseMoney If the value of the Mid Cap Fund’s investments decreases, the value of the Fund’s shares will also decrease and you may lose money.
Risk Not Insured Depository Institution [Text] rr_RiskNotInsuredDepositoryInstitution An investment in a money market fund is not a bank deposit and is not insured or guaranteed by any bank, the Federal Deposit Insurance Corporation (FDIC) or any other government agency.
Bar Chart and Performance Table [Heading] rr_BarChartAndPerformanceTableHeading PERFORMANCE
Performance Narrative [Text Block] rr_PerformanceNarrativeTextBlock
The performance information provides some indication of the risks of investing in the Mid Cap Fund by showing changes in the Fund’s performance from year to year and by showing how the Fund’s average annual returns for one, five and ten years compare with those of a broad measure of market performance and the returns of an additional index of a Lipper peer group (a group of mutual funds with investment objectives similar to that of the Fund). The performance information, before and after taxes, is not necessarily an indication of how the Fund will perform in the future. Updated performance information is available on the Fund’s website at http://www.buffalofunds.com/performance.html, or by calling the Fund toll-free at 1-800-49-BUFFALO (1-800-492-8332).

Performance Information Illustrates Variability of Returns [Text] rr_PerformanceInformationIllustratesVariabilityOfReturns The performance information provides some indication of the risks of investing in the Mid Cap Fund by showing changes in the Fund’s performance from year to year and by showing how the Fund’s average annual returns for one, five and ten years compare with those of a broad measure of market performance and the returns of an additional index of a Lipper peer group (a group of mutual funds with investment objectives similar to that of the Fund).
Performance Availability Phone [Text] rr_PerformanceAvailabilityPhone 1-800-492-8332
Performance Availability Website Address [Text] rr_PerformanceAvailabilityWebSiteAddress http://www.buffalofunds.com/performance.html
Performance Past Does Not Indicate Future [Text] rr_PerformancePastDoesNotIndicateFuture The performance information, before and after taxes, is not necessarily an indication of how the Fund will perform in the future.
Bar Chart [Heading] rr_BarChartHeading Investor Class(1) Annual Total Return as of December 31 of Each Year
Bar Chart Footnotes [Text Block] rr_BarChartFootnotesTextBlock
(1) 
The returns shown in the bar chart are for Investor Class shares of the Fund. Institutional Class shares would have substantially similar annual returns because the shares are invested in the same portfolio of securities and the annual returns would differ only to the extent that the classes do not have the same expenses.
Bar Chart Closing [Text Block] rr_BarChartClosingTextBlock
Calendar Year-to-Date Return – Investor Class (through March 31, 2019) = 20.20%
Best Quarter: June 30, 2009 = 19.31%
Worst Quarter: September 30, 2011 = -19.08%
Year to Date Return, Label rr_YearToDateReturnLabel Calendar Year-to-Date Return
Bar Chart, Year to Date Return, Date rr_BarChartYearToDateReturnDate Mar. 31, 2019
Bar Chart, Year to Date Return rr_BarChartYearToDateReturn 20.20%
Highest Quarterly Return, Label rr_HighestQuarterlyReturnLabel Best Quarter
Highest Quarterly Return, Date rr_BarChartHighestQuarterlyReturnDate Jun. 30, 2009
Highest Quarterly Return rr_BarChartHighestQuarterlyReturn 19.31%
Lowest Quarterly Return, Label rr_LowestQuarterlyReturnLabel Worst Quarter
Lowest Quarterly Return, Date rr_BarChartLowestQuarterlyReturnDate Sep. 30, 2011
Lowest Quarterly Return rr_BarChartLowestQuarterlyReturn (19.08%)
Performance Table Heading rr_PerformanceTableHeading Average Annual Total Returns for the periods ended December 31, 2018
Index No Deduction for Fees, Expenses, Taxes [Text] rr_IndexNoDeductionForFeesExpensesTaxes (reflects no deduction for fees, expenses or taxes)
Performance Table Uses Highest Federal Rate rr_PerformanceTableUsesHighestFederalRate After-tax returns are calculated using the highest historical individual federal marginal income tax rates and do not reflect the impact of state or local taxes.
Performance Table Not Relevant to Tax Deferred rr_PerformanceTableNotRelevantToTaxDeferred Actual after-tax returns depend on each investor’s individual tax situation and may differ from those shown in the table. The after-tax returns shown are not relevant to investors who own the Mid Cap Fund in a tax-deferred arrangement, such as an individual retirement account (“IRA”) or a 401(k) plan.
Performance Table One Class of after Tax Shown [Text] rr_PerformanceTableOneClassOfAfterTaxShown Returns are shown for Investor Class shares only and will vary for Institutional Class shares.
Performance Table Explanation after Tax Higher rr_PerformanceTableExplanationAfterTaxHigher In certain cases, the figure representing “Return After Taxes on Distributions and Sale of Fund Shares” may be higher than the other return figures for the same period, since a higher after-tax return results when a capital loss occurs upon redemption and provides an assumed tax deduction that benefits the investor.
Performance Table Closing [Text Block] rr_PerformanceTableClosingTextBlock
The Lipper Mid-Cap Growth Funds Index® is an unmanaged, equally weighted performance index of the 30 largest qualifying mutual funds (based on net assets) in the Lipper Mid-Cap classification.

Returns are shown for Investor Class shares only and will vary for Institutional Class shares. After-tax returns are calculated using the highest historical individual federal marginal income tax rates and do not reflect the impact of state or local taxes. Actual after-tax returns depend on each investor’s individual tax situation and may differ from those shown in the table. The after-tax returns shown are not relevant to investors who own the Mid Cap Fund in a tax-deferred arrangement, such as an individual retirement account (“IRA”) or a 401(k) plan. In certain cases, the figure representing “Return After Taxes on Distributions and Sale of Fund Shares” may be higher than the other return figures for the same period, since a higher after-tax return results when a capital loss occurs upon redemption and provides an assumed tax deduction that benefits the investor.
Buffalo Mid Cap Fund | Morningstar US Mid Growth Index (reflects no deduction for fees, expenses or taxes)  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Morningstar US Mid Growth Index (reflects no deduction for fees, expenses or taxes)
1 Year rr_AverageAnnualReturnYear01 (3.16%)
5 Years rr_AverageAnnualReturnYear05 7.15%
10 Years rr_AverageAnnualReturnYear10 14.54%
Buffalo Mid Cap Fund | Lipper Mid-Cap Growth Funds Index® (reflects no deduction for taxes)  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Lipper Mid-Cap Growth Funds Index® (reflects no deduction for taxes)
1 Year rr_AverageAnnualReturnYear01 (3.53%)
5 Years rr_AverageAnnualReturnYear05 6.64%
10 Years rr_AverageAnnualReturnYear10 13.74%
Buffalo Mid Cap Fund | Investor Class  
Prospectus [Line Items] rr_ProspectusLineItems  
Trading Symbol dei_TradingSymbol BUFMX
Shareholder Fee, Other rr_ShareholderFeeOther none
Management Fees (as a percentage of Assets) rr_ManagementFeesOverAssets 0.85%
Component1 Other Expenses rr_Component1OtherExpensesOverAssets 0.15%
Other Expenses (as a percentage of Assets): rr_OtherExpensesOverAssets 0.02% [15]
Expenses (as a percentage of Assets) rr_ExpensesOverAssets 1.02%
Expense Example, with Redemption, 1 Year rr_ExpenseExampleYear01 $ 104
Expense Example, with Redemption, 3 Years rr_ExpenseExampleYear03 325
Expense Example, with Redemption, 5 Years rr_ExpenseExampleYear05 563
Expense Example, with Redemption, 10 Years rr_ExpenseExampleYear10 $ 1,248
Annual Return 2009 rr_AnnualReturn2009 48.80%
Annual Return 2010 rr_AnnualReturn2010 24.34%
Annual Return 2011 rr_AnnualReturn2011 (5.83%)
Annual Return 2012 rr_AnnualReturn2012 13.93%
Annual Return 2013 rr_AnnualReturn2013 29.25%
Annual Return 2014 rr_AnnualReturn2014 5.85%
Annual Return 2015 rr_AnnualReturn2015 (0.52%)
Annual Return 2016 rr_AnnualReturn2016 5.93%
Annual Return 2017 rr_AnnualReturn2017 13.66%
Annual Return 2018 rr_AnnualReturn2018 (7.30%)
Label rr_AverageAnnualReturnLabel Return Before Taxes
1 Year rr_AverageAnnualReturnYear01 (7.30%)
5 Years rr_AverageAnnualReturnYear05 3.28%
10 Years rr_AverageAnnualReturnYear10 11.67%
Buffalo Mid Cap Fund | Investor Class | After Taxes on Distributions  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Return After Taxes on Distributions
1 Year rr_AverageAnnualReturnYear01 (8.24%)
5 Years rr_AverageAnnualReturnYear05 0.39%
10 Years rr_AverageAnnualReturnYear10 9.60%
Buffalo Mid Cap Fund | Investor Class | After Taxes on Distributions and Sales  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Return After Taxes on Distributions and Sale of Fund Shares
1 Year rr_AverageAnnualReturnYear01 (3.64%)
5 Years rr_AverageAnnualReturnYear05 2.36%
10 Years rr_AverageAnnualReturnYear10 9.60%
Buffalo Mid Cap Fund | Institutional Class  
Prospectus [Line Items] rr_ProspectusLineItems  
Trading Symbol dei_TradingSymbol BUIMX
Shareholder Fee, Other rr_ShareholderFeeOther none
Management Fees (as a percentage of Assets) rr_ManagementFeesOverAssets 0.85%
Component1 Other Expenses rr_Component1OtherExpensesOverAssets none
Other Expenses (as a percentage of Assets): rr_OtherExpensesOverAssets 0.02% [15]
Expenses (as a percentage of Assets) rr_ExpensesOverAssets 0.87%
Expense Example, with Redemption, 1 Year rr_ExpenseExampleYear01 $ 89
Expense Example, with Redemption, 3 Years rr_ExpenseExampleYear03 278
Expense Example, with Redemption, 5 Years rr_ExpenseExampleYear05 482
Expense Example, with Redemption, 10 Years rr_ExpenseExampleYear10 $ 1,073
Buffalo Small Cap Fund  
Prospectus [Line Items] rr_ProspectusLineItems  
Risk/Return [Heading] rr_RiskReturnHeading BUFFALO SMALL CAP FUND
Objective [Heading] rr_ObjectiveHeading INVESTMENT OBJECTIVE
Objective, Primary [Text Block] rr_ObjectivePrimaryTextBlock
The investment objective of the Buffalo Small Cap Fund (“Small Cap Fund” or the “Fund”) is long-term growth of capital.
Expense [Heading] rr_ExpenseHeading FEES AND EXPENSES OF THE FUND
Expense Narrative [Text Block] rr_ExpenseNarrativeTextBlock
This table describes the fees and expenses that you may pay if you buy and hold shares of the Fund.
Shareholder Fees Caption [Text] rr_ShareholderFeesCaption Shareholder Fees (fees paid directly from your investment)
Operating Expenses Caption [Text] rr_OperatingExpensesCaption Annual Fund Operating Expenses (expenses that you pay each year as a percentage of the value of your investment)
Portfolio Turnover [Heading] rr_PortfolioTurnoverHeading Portfolio Turnover.
Portfolio Turnover [Text Block] rr_PortfolioTurnoverTextBlock
The Fund pays transaction costs, such as commissions, when it buys and sells securities (or “turns over” its portfolio). A higher portfolio turnover rate may indicate higher transaction costs and may result in higher taxes when Fund shares are held in a taxable account. These costs, which are not reflected in annual fund operating expenses or in the example, affect the Fund’s performance. During the most recent fiscal year, the Fund’s portfolio turnover rate was 57% of the average value of its portfolio.
Portfolio Turnover, Rate rr_PortfolioTurnoverRate 57.00%
Expense Example [Heading] rr_ExpenseExampleHeading Example.
Expense Example Narrative [Text Block] rr_ExpenseExampleNarrativeTextBlock
This example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. The example assumes that you invest $10,000 in the Fund for the time periods indicated and then redeem all of your shares at the end of those periods. The example also assumes that your investment has a 5% return each year and that the Fund’s operating expenses remain the same.
Expense Example by, Year, Caption [Text] rr_ExpenseExampleByYearCaption Although your actual costs may be higher or lower, based on these assumptions your costs would be:
Strategy [Heading] rr_StrategyHeading PRINCIPAL INVESTMENT STRATEGIES
Strategy Narrative [Text Block] rr_StrategyNarrativeTextBlock
The Small Cap Fund normally invests at least 80% of its net assets in equity securities, consisting of common stocks, preferred stocks, convertible preferred stocks, warrants and rights of small capitalization (“small-cap”) companies. The Small Cap Fund defines small-cap companies as those companies, at the time of purchase, with market capitalizations within the range of the Morningstar US Small Growth Index. As of March 31, 2019 the range of market capitalizations of the Morningstar US Small Growth Index was $433 million to $15.759 billion. In addition to the Fund’s investments in domestic securities, the Fund may invest up to 20% of its net assets in sponsored or unsponsored ADRs and securities of foreign companies that are traded on U.S. stock exchanges. The Fund may invest in companies in any sector. The Fund may have significant investments in the information technology sector.

The Advisor seeks to identify companies for the Small Cap Fund’s portfolio that are expected to experience growth based on the identification of long-term, measurable secular trends, and which, as a result, the Advisor believes may have potential revenue growth in excess of the gross domestic product growth rate. Companies are screened using in-depth, in-house research to identify those which the Advisor believes have favorable attributes, including attractive valuation, strong management, conservative debt, free cash flow, scalable business models, and competitive advantages. The Advisor may sell the Small-Cap Fund’s investments to secure gains, limit losses or reinvest in more promising investment opportunities.

Risk [Heading] rr_RiskHeading PRINCIPAL RISKS
Risk Narrative [Text Block] rr_RiskNarrativeTextBlock
The Small Cap Fund cannot guarantee that it will achieve its investment objective. As with any mutual fund, the value of the Fund’s investments may fluctuate. If the value of the Small Cap Fund’s investments decreases, the value of the Fund’s shares will also decrease and you may lose money. The risks associated with the Small Cap Fund’s principal investment strategies are:

Market Risk – The value of the Small Cap Fund’s shares will fluctuate as a result of the movement of the overall stock market or of the value of the individual securities held by the Small Cap Fund, and you could lose money. Adverse market events may also lead to increased shareholder redemptions, which could cause the Fund to experience a loss or difficulty in selling investments to meet such redemptions.

Management Risk – Management risk means that your investment in the Small Cap Fund varies with the success and failure of the Advisor’s investment strategies and the Advisor’s research, analysis and determination of portfolio securities.

Equity Market Risk – Equity securities held by the Small Cap Fund may experience sudden, unpredictable drops in value or long periods of decline in value due to general stock market fluctuations, increases in production costs, decisions by management or related factors.

Common Stocks. Common Stocks are susceptible to general stock market fluctuations and to volatile increases and decreases in value as market confidence in and perceptions of their issuers change. Common stock is generally subject to greater risk than preferred stocks and debt obligations because holders of common stock generally have inferior rights to receive payments from issuers in comparison with the rights of the holders of other securities, bondholders and other creditors.

Preferred Stock. Preferred stock is subject to the risk that the dividend on the stock may be changed or omitted by the issuer, and that participation in the growth of an issuer may be limited.

Convertible Securities. A convertible security is a fixed-income security (a debt instrument or a preferred stock) which may be converted at a stated price within a specified period of time into a certain quantity of the common stock of the same or a different issuer. The market value of a convertible security performs like that of a regular debt security, that is, if market interest rates rise, the value of the convertible security falls.

Warrants. Investments in warrants involve certain risks, including the possible lack of a liquid market for resale of the warrants, potential price fluctuations as a result of speculation or other factors, and failure of the price of the underlying security to reach or have reasonable prospects of reaching a level at which the warrant can be prudently exercised (in which event the warrant may expire without being exercised, resulting in a loss of the Fund’s entire investment therein).

Rights. The purchase of rights involves the risk that the Fund could lose the purchase value of a right if the right is not exercised prior to its expiration. Also, the purchase of rights involves the risk that the effective price paid for the right added to the subscription price of the related security may exceed the value of the subscribed security’s market price.

Sector Risk – Companies with similar characteristics, such as those within the same industry, may be grouped together in broad categories called sectors. To the extent the Fund invests its assets in a particular sector, the Fund’s performance may be more susceptible to any economic, business, or other developments that generally affect that sector.

Information Technology Company Risk – Information technology companies often face unusually high price volatility, both in terms of gains and losses. To the extent that the Fund makes investments in such companies, its share price is likely to be more volatile. The potential for wide variations in performance is based on special risks common to information technology companies. Information technology companies may have limited product lines, markets or financial resources. Information technology companies are affected by worldwide technological developments and their products and services may quickly become outdated. Given these risks, an investment in the Fund may be more suitable for long-term investors, who are willing to withstand the Fund’s potential for volatility.

Small-Cap Company Risk – Investing in small-cap companies may involve greater risk than investing in large- or mid-cap companies due to less management experience, fewer financial resources, less product diversification and fewer competitive strengths. Therefore, such securities may be more volatile and less liquid than mid- and large-cap companies. In addition, small-cap companies may be particularly affected by interest rate increases, as they may find it more difficult to borrow money to continue or expand operations, or may have difficulty in repaying any loans.

Micro-Cap Company Risk – Investing in micro-cap companies may involve greater risk than investing in companies with larger capitalization due to less management experience, fewer financial resources, less product diversification and fewer competitive strengths. Therefore, such securities may be more volatile and less liquid than companies with larger capitalization. In addition, micro-cap companies may be particularly affected by interest rate increases, as they may find it more difficult to borrow money to continue or expand operations, or may have difficulty in repaying any loans. The trading volume of securities of smaller capitalization companies is normally less than that of larger capitalization companies, and therefore may disproportionately affect their market price, tending to make them fall more in response to selling pressure than is the case with larger capitalization companies. These risks are enhanced for micro-cap securities. Many micro-cap companies tend to be new and have no proven track record. Some of these companies have no assets or operations, while others have products and services that are still in development or have yet to be tested in the market. As any size of trade can have a large percentage impact on the price of a micro-cap stock, the Fund will be more susceptible to sudden and significant losses. In addition, micro-cap company stocks will also be bought and sold less often than other stocks, making them less liquid than other securities.

Money Market Funds Risk – An investment in a money market fund is not a bank deposit and is not insured or guaranteed by any bank, the Federal Deposit Insurance Corporation (FDIC) or any other government agency. Although money market funds seek to preserve the value of investments at $1.00 per share, it is possible for the Fund to lose money if shares of money market funds in which it invests fall below $1.00 per share.

Foreign Risk – Investing in securities of foreign corporations involves additional risks relating to: political, social, religious and economic developments abroad; market instability; fluctuations in foreign exchange rates; different regulatory requirements, market practices, accounting standards and practices; and less publicly available information about foreign issuers. Additionally, these investments may be subject to foreign withholding taxes, may be less liquid, carry higher brokerage commissions and other fees, and procedures and regulations governing transactions and custody in foreign markets also may involve delays in payment, delivery or recovery of money or investments. Investments in common stocks of U.S. companies with international operations, and the purchase of sponsored or unsponsored ADRs carry similar risks.

American Depositary Receipts – Unsponsored ADRs held by the Fund are frequently under no obligation to distribute shareholder communications received from the underlying issuer. For this and other reasons, there is less information available about unsponsored ADRs than sponsored ADRs. Unsponsored ADRs are also not obligated to pass through voting rights to the Fund. Investing in foreign companies, even indirectly through ADRs, may involve the same inherent risks as investing in securities of foreign issuers, as described above.

Cybersecurity Risk – With the increased use of technologies such as the Internet to conduct business, the Fund is susceptible to operational, information security, and related risks. Cyber incidents affecting the Fund or its service providers may cause disruptions and impact business operations, potentially resulting in financial losses, interference with the Fund’s ability to calculate its NAV, impediments to trading, the inability of shareholders to transact business, violations of applicable privacy and other laws, regulatory fines, penalties, reputational damage, reimbursement or other compensation costs, or additional compliance costs.
Risk Lose Money [Text] rr_RiskLoseMoney If the value of the Small Cap Fund’s investments decreases, the value of the Fund’s shares will also decrease and you may lose money.
Risk Not Insured Depository Institution [Text] rr_RiskNotInsuredDepositoryInstitution An investment in a money market fund is not a bank deposit and is not insured or guaranteed by any bank, the Federal Deposit Insurance Corporation (FDIC) or any other government agency.
Bar Chart and Performance Table [Heading] rr_BarChartAndPerformanceTableHeading PERFORMANCE
Performance Narrative [Text Block] rr_PerformanceNarrativeTextBlock
The performance information provides some indication of the risks of investing in the Small Cap Fund by showing changes in the Fund’s performance from year to year and by showing how the Fund’s average annual returns for one, five and ten years compare with those of a broad measure of market performance and the returns of an additional index of a Lipper peer group (a group of mutual funds with investment objectives similar to that of the Fund). The performance information, before and after taxes, is not necessarily an indication of how the Fund will perform in the future. Updated performance information is available on the Fund’s website at http://www.buffalofunds.com/performance.html, or by calling the Fund toll-free at 1-800-49-BUFFALO (1-800-492-8332).
Performance Information Illustrates Variability of Returns [Text] rr_PerformanceInformationIllustratesVariabilityOfReturns The performance information provides some indication of the risks of investing in the Small Cap Fund by showing changes in the Fund’s performance from year to year and by showing how the Fund’s average annual returns for one, five and ten years compare with those of a broad measure of market performance and the returns of an additional index of a Lipper peer group (a group of mutual funds with investment objectives similar to that of the Fund).
Performance Availability Phone [Text] rr_PerformanceAvailabilityPhone 1-800-492-8332
Performance Availability Website Address [Text] rr_PerformanceAvailabilityWebSiteAddress http://www.buffalofunds.com/performance.html
Performance Past Does Not Indicate Future [Text] rr_PerformancePastDoesNotIndicateFuture The performance information, before and after taxes, is not necessarily an indication of how the Fund will perform in the future.
Bar Chart [Heading] rr_BarChartHeading Investor Class(1) Annual Total Return as of December 31 of Each Year
Bar Chart Footnotes [Text Block] rr_BarChartFootnotesTextBlock
(1) 
The returns shown in the bar chart are for Investor Class shares of the Fund. Institutional Class shares would have substantially similar annual returns because the shares are invested in the same portfolio of securities and the annual returns would differ only to the extent that the classes do not have the same expenses.
Bar Chart Closing [Text Block] rr_BarChartClosingTextBlock
Calendar Year-to-Date Return – Investor Class (through March 31, 2019) =21.83%
Best Quarter: June 30, 2009 = 20.60%
Worst Quarter: December 31, 2018 = -24.60%
Year to Date Return, Label rr_YearToDateReturnLabel Calendar Year-to-Date Return
Bar Chart, Year to Date Return, Date rr_BarChartYearToDateReturnDate Mar. 31, 2019
Bar Chart, Year to Date Return rr_BarChartYearToDateReturn 21.83%
Highest Quarterly Return, Label rr_HighestQuarterlyReturnLabel Best Quarter
Highest Quarterly Return, Date rr_BarChartHighestQuarterlyReturnDate Jun. 30, 2009
Highest Quarterly Return rr_BarChartHighestQuarterlyReturn 20.60%
Lowest Quarterly Return, Label rr_LowestQuarterlyReturnLabel Worst Quarter
Lowest Quarterly Return, Date rr_BarChartLowestQuarterlyReturnDate Dec. 31, 2018
Lowest Quarterly Return rr_BarChartLowestQuarterlyReturn (24.60%)
Performance Table Heading rr_PerformanceTableHeading Average Annual Total Returns for the periods ended December 31, 2018
Index No Deduction for Fees, Expenses, Taxes [Text] rr_IndexNoDeductionForFeesExpensesTaxes (reflects no deduction for fees, expenses or taxes)
Performance Table Uses Highest Federal Rate rr_PerformanceTableUsesHighestFederalRate After-tax returns are calculated using the highest historical individual federal marginal income tax rates and do not reflect the impact of state or local taxes.
Performance Table Not Relevant to Tax Deferred rr_PerformanceTableNotRelevantToTaxDeferred Actual after-tax returns depend on each investor’s individual tax situation and may differ from those shown in the table. The after-tax returns shown are not relevant to investors who own the Small Cap Fund in a tax-deferred arrangement, such as an individual retirement account (“IRA”) or a 401(k) plan.
Performance Table One Class of after Tax Shown [Text] rr_PerformanceTableOneClassOfAfterTaxShown Returns are shown for Investor Class shares only and will vary for Institutional Class shares.
Performance Table Explanation after Tax Higher rr_PerformanceTableExplanationAfterTaxHigher In certain cases, the figure representing “Return After Taxes on Distributions and Sale of Fund Shares” may be higher than the other return figures for the same period, since a higher after-tax return results when a capital loss occurs upon redemption and provides an assumed tax deduction that benefits the investor.
Performance Table Closing [Text Block] rr_PerformanceTableClosingTextBlock
The Lipper Small-Cap Growth Funds Index® is an unmanaged, equally weighted performance index of the 30 largest qualifying mutual funds (based on net assets) in the Lipper Small-Cap classification.

Returns are shown for Investor Class shares only and will vary for Institutional Class shares. After-tax returns are calculated using the highest historical individual federal marginal income tax rates and do not reflect the impact of state or local taxes. Actual after-tax returns depend on each investor’s individual tax situation and may differ from those shown in the table. The after-tax returns shown are not relevant to investors who own the Small Cap Fund in a tax-deferred arrangement, such as an individual retirement account (“IRA”) or a 401(k) plan. In certain cases, the figure representing “Return After Taxes on Distributions and Sale of Fund Shares” may be higher than the other return figures for the same period, since a higher after-tax return results when a capital loss occurs upon redemption and provides an assumed tax deduction that benefits the investor.
Buffalo Small Cap Fund | Morningstar US Small Growth Index (reflects no deduction for fees, expenses or taxes)  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Morningstar US Small Growth Index (reflects no deduction for fees, expenses or taxes)
1 Year rr_AverageAnnualReturnYear01 (5.67%)
5 Years rr_AverageAnnualReturnYear05 5.53%
10 Years rr_AverageAnnualReturnYear10 13.89%
Buffalo Small Cap Fund | Lipper Small-Cap Growth Funds Index® (reflects no deduction for taxes)  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Lipper Small-Cap Growth Funds Index® (reflects no deduction for taxes)
1 Year rr_AverageAnnualReturnYear01 (3.93%)
5 Years rr_AverageAnnualReturnYear05 5.51%
10 Years rr_AverageAnnualReturnYear10 13.55%
Buffalo Small Cap Fund | Investor Class  
Prospectus [Line Items] rr_ProspectusLineItems  
Trading Symbol dei_TradingSymbol BUFSX
Shareholder Fee, Other rr_ShareholderFeeOther none
Management Fees (as a percentage of Assets) rr_ManagementFeesOverAssets 0.85%
Component1 Other Expenses rr_Component1OtherExpensesOverAssets 0.15%
Other Expenses (as a percentage of Assets): rr_OtherExpensesOverAssets 0.01% [16]
Expenses (as a percentage of Assets) rr_ExpensesOverAssets 1.01%
Expense Example, with Redemption, 1 Year rr_ExpenseExampleYear01 $ 103
Expense Example, with Redemption, 3 Years rr_ExpenseExampleYear03 322
Expense Example, with Redemption, 5 Years rr_ExpenseExampleYear05 558
Expense Example, with Redemption, 10 Years rr_ExpenseExampleYear10 $ 1,236
Annual Return 2009 rr_AnnualReturn2009 37.49%
Annual Return 2010 rr_AnnualReturn2010 16.59%
Annual Return 2011 rr_AnnualReturn2011 (4.66%)
Annual Return 2012 rr_AnnualReturn2012 19.93%
Annual Return 2013 rr_AnnualReturn2013 44.15%
Annual Return 2014 rr_AnnualReturn2014 (6.55%)
Annual Return 2015 rr_AnnualReturn2015 (4.46%)
Annual Return 2016 rr_AnnualReturn2016 6.22%
Annual Return 2017 rr_AnnualReturn2017 27.07%
Annual Return 2018 rr_AnnualReturn2018 (5.78%)
Label rr_AverageAnnualReturnLabel Return Before Taxes
1 Year rr_AverageAnnualReturnYear01 (5.78%)
5 Years rr_AverageAnnualReturnYear05 2.57%
10 Years rr_AverageAnnualReturnYear10 11.61%
Buffalo Small Cap Fund | Investor Class | After Taxes on Distributions  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Return After Taxes on Distributions
1 Year rr_AverageAnnualReturnYear01 (11.07%)
5 Years rr_AverageAnnualReturnYear05 (3.28%)
10 Years rr_AverageAnnualReturnYear10 8.06%
Buffalo Small Cap Fund | Investor Class | After Taxes on Distributions and Sales  
Prospectus [Line Items] rr_ProspectusLineItems  
Label rr_AverageAnnualReturnLabel Return After Taxes on Distributions and Sale of Fund Shares
1 Year rr_AverageAnnualReturnYear01 0.39%
5 Years rr_AverageAnnualReturnYear05 1.46%
10 Years rr_AverageAnnualReturnYear10 9.35%
Buffalo Small Cap Fund | Institutional Class  
Prospectus [Line Items] rr_ProspectusLineItems  
Trading Symbol dei_TradingSymbol BUISX
Shareholder Fee, Other rr_ShareholderFeeOther none
Management Fees (as a percentage of Assets) rr_ManagementFeesOverAssets 0.85%
Component1 Other Expenses rr_Component1OtherExpensesOverAssets none
Other Expenses (as a percentage of Assets): rr_OtherExpensesOverAssets 0.01% [16]
Expenses (as a percentage of Assets) rr_ExpensesOverAssets 0.86%
Expense Example, with Redemption, 1 Year rr_ExpenseExampleYear01 $ 88
Expense Example, with Redemption, 3 Years rr_ExpenseExampleYear03 274
Expense Example, with Redemption, 5 Years rr_ExpenseExampleYear05 477
Expense Example, with Redemption, 10 Years rr_ExpenseExampleYear10 $ 1,061
[1] Because Institutional Class shares are new, Other Expenses and Acquired Fund Fees and Expenses for the Institutional Class are based on estimated amounts for the fiscal year ended March 31, 2019.
[2] Acquired Fund Fees and Expenses represent the indirect costs of the Fund’s investments in other investment companies. The Total Annual Fund Operating Expenses for the Fund do not correlate to the ratio of expenses to average net assets listed in the Fund’s financial highlights, which reflects the operating expenses of the Fund and does not include the amount of the Fund’s proportionate share of the fees and expenses of other investment companies in which the Fund invests.
[3] Because Institutional Class shares are new, Other Expenses and Acquired Fund Fees and Expenses for the Institutional Class are based on estimated amounts for the fiscal year ended March 31, 2019.
[4] Acquired Fund Fees and Expenses represent the indirect costs of the Fund’s investments in other investment companies. The Total Annual Fund Operating Expenses for the Fund do not correlate to the ratio of expenses to average net assets listed in the Fund’s financial highlights, which reflects the operating expenses of the Fund and does not include the amount of the Fund’s proportionate share of the fees and expenses of other investment companies in which the Fund invests.
[5] Because Institutional Class shares are new, Other Expenses and Acquired Fund Fees and Expenses for the Institutional Class are based on estimated amounts for the fiscal year ended March 31, 2019.
[6] Acquired Fund Fees and Expenses represent the indirect costs of the Fund’s investments in other investment companies. The Total Annual Fund Operating Expenses for the Fund do not correlate to the ratio of expenses to average net assets listed in the Fund’s financial highlights, which reflects the operating expenses of the Fund and does not include the amount of the Fund’s proportionate share of the fees and expenses of other investment companies in which the Fund invests.
[7] Because Institutional Class shares are new, Other Expenses for the Institutional Class are based on estimated amounts for the fiscal year ended March 31, 2019.
[8] Because Institutional Class shares are new, Other Expenses and Acquired Fund Fees and Expenses for the Institutional Class are based on estimated amounts for the fiscal year ended March 31, 2019.
[9] Acquired Fund Fees and Expenses represent the indirect costs of the Fund’s investments in other investment companies. The Total Annual Fund Operating Expenses for the Fund do not correlate to the ratio of expenses to average net assets listed in the Fund’s financial highlights, which reflects the operating expenses of the Fund and does not include the amount of the Fund’s proportionate share of the fees and expenses of other investment companies in which the Fund invests.
[10] Because Institutional Class shares are new, Other Expenses for the Institutional Class are based on estimated amounts for the fiscal year ended March 31, 2019.
[11] Because Institutional Class shares are new, Other Expenses and Acquired Fund Fees and Expenses for the Institutional Class are based on estimated amounts for the fiscal year ended March 31, 2019.
[12] Acquired Fund Fees and Expenses represent the indirect costs of the Fund’s investments in other investment companies. The Total Annual Fund Operating Expenses for the Fund do not correlate to the ratio of expenses to average net assets listed in the Fund’s financial highlights, which reflects the operating expenses of the Fund and does not include the amount of the Fund’s proportionate share of the fees and expenses of other investment companies in which the Fund invests.
[13] Because Institutional Class shares are new, Other Expenses and Acquired Fund Fees and Expenses for the Institutional Class are based on estimated amounts for the fiscal year ended March 31, 2019.
[14] Acquired Fund Fees and Expenses represent the indirect costs of the Fund’s investments in other investment companies. The Total Annual Fund Operating Expenses for the Fund do not correlate to the ratio of expenses to average net assets listed in the Fund’s financial highlights, which reflects the operating expenses of the Fund and does not include the amount of the Fund’s proportionate share of the fees and expenses of other investment companies in which the Fund invests.
[15] Because Institutional Class shares are new, Other Expenses for the Institutional Class are based on estimated amounts for the fiscal year ended March 31, 2019.
[16] Because Institutional Class shares are new, Other Expenses for the Institutional Class are based on estimated amounts for the fiscal year ended March 31, 2019.