<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:cik0001423799="http://www.dreyfus.com/20260331"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:fnd="http://xbrl.sec.gov/fnd/2025"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:oef="http://xbrl.sec.gov/oef/2025"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xhtml="http://www.w3.org/1999/xhtml"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="c485bpos-20260908.xsd" xlink:type="simple"/>
    <context id="Context_20260331_20260331">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
        </entity>
        <period>
            <startDate>2026-03-31</startDate>
            <endDate>2026-03-31</endDate>
        </period>
    </context>
    <context id="Context_20260331_20260331_S000021488Member_S000021488Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021488Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-31</startDate>
            <endDate>2026-03-31</endDate>
        </period>
    </context>
    <context id="Context_20260331_20260331_C000280489Member_S000021488Member_S000021488Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021488Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000280489Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-31</startDate>
            <endDate>2026-03-31</endDate>
        </period>
    </context>
    <context id="Context_20260331_20260331_S000021488Member_PrincipalRisks2_S000021488Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021488Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0001423799:PrincipalRisks2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-31</startDate>
            <endDate>2026-03-31</endDate>
        </period>
    </context>
    <context id="Context_20260331_20260331_S000021488Member_RiskLoseMoneyMember_S000021488Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021488Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-31</startDate>
            <endDate>2026-03-31</endDate>
        </period>
    </context>
    <context id="Context_20260331_20260331_S000021488Member_RiskMoneyMarketFundPriceFluctuatesMember_S000021488Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021488Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundPriceFluctuatesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-31</startDate>
            <endDate>2026-03-31</endDate>
        </period>
    </context>
    <context id="Context_20260331_20260331_S000021488Member_RiskMoneyMarketFundMayNotPreserveDollarMember_S000021488Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021488Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-31</startDate>
            <endDate>2026-03-31</endDate>
        </period>
    </context>
    <context id="Context_20260331_20260331_S000021488Member_RiskNotInsuredMember_S000021488Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021488Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-31</startDate>
            <endDate>2026-03-31</endDate>
        </period>
    </context>
    <context id="Context_20260331_20260331_S000021488Member_Interestraterisk2_S000021488Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021488Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0001423799:Interestraterisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-31</startDate>
            <endDate>2026-03-31</endDate>
        </period>
    </context>
    <context id="Context_20260331_20260331_S000021488Member_Liquidityrisk2_S000021488Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021488Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0001423799:Liquidityrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-31</startDate>
            <endDate>2026-03-31</endDate>
        </period>
    </context>
    <context id="Context_20260331_20260331_S000021488Member_USTreasurysecuritiesrisk2_S000021488Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021488Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0001423799:USTreasurysecuritiesrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-31</startDate>
            <endDate>2026-03-31</endDate>
        </period>
    </context>
    <context id="Context_20260331_20260331_S000021488Member_Governmentsecuritiesrisk2_S000021488Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021488Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0001423799:Governmentsecuritiesrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-31</startDate>
            <endDate>2026-03-31</endDate>
        </period>
    </context>
    <context id="Context_20260331_20260331_S000021488Member_Repurchaseagreementcounterpartyrisk2_S000021488Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021488Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0001423799:Repurchaseagreementcounterpartyrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-31</startDate>
            <endDate>2026-03-31</endDate>
        </period>
    </context>
    <context id="Context_20260331_20260331_S000021488Member_Marketrisk2_S000021488Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021488Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0001423799:Marketrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-31</startDate>
            <endDate>2026-03-31</endDate>
        </period>
    </context>
    <context id="Context_20161231_20161231_C000061454Member_S000021488Member_S000021488Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021488Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061454Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-12-31</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="Context_20171231_20171231_C000061454Member_S000021488Member_S000021488Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021488Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061454Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-12-31</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="Context_20181231_20181231_C000061454Member_S000021488Member_S000021488Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021488Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061454Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-12-31</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="Context_20191231_20191231_C000061454Member_S000021488Member_S000021488Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021488Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061454Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-12-31</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="Context_20201231_20201231_C000061454Member_S000021488Member_S000021488Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021488Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061454Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-12-31</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="Context_20211231_20211231_C000061454Member_S000021488Member_S000021488Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021488Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061454Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-12-31</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="Context_20221231_20221231_C000061454Member_S000021488Member_S000021488Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021488Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061454Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-12-31</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="Context_20231231_20231231_C000061454Member_S000021488Member_S000021488Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021488Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061454Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-12-31</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_C000061454Member_S000021488Member_S000021488Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021488Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061454Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20251231_20251231_C000061454Member_S000021488Member_S000021488Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021488Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061454Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20260331_20260331_C000061454Member_S000021488Member_S000021488Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021488Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061454Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-31</startDate>
            <endDate>2026-03-31</endDate>
        </period>
    </context>
    <context id="Context_20250101_20251231_C000061454Member_S000021488Member_S000021488Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021488Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061454Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20210101_20251231_C000061454Member_S000021488Member_S000021488Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021488Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061454Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20160101_20251231_C000061454Member_S000021488Member_S000021488Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021488Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061454Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <dei:EntityInvCompanyType contextRef="Context_20260331_20260331" id="ixv-36573">N-1A</dei:EntityInvCompanyType>
    <dei:EntityRegistrantName contextRef="Context_20260331_20260331" id="ixv-36574">Dreyfus Institutional Reserves Funds</dei:EntityRegistrantName>
    <oef:ProspectusDate contextRef="Context_20260331_20260331" id="ixv-36575">2026-09-08</oef:ProspectusDate>
    <dei:TradingSymbol
      contextRef="Context_20260331_20260331_C000280489Member_S000021488Member_S000021488Summary1Member"
      id="ixv-36576">BCSXX</dei:TradingSymbol>
    <oef:RiskReturnHeading
      contextRef="Context_20260331_20260331_S000021488Member_S000021488Summary1Member"
      id="ixv-36577">Fund 
Summary</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="Context_20260331_20260331_S000021488Member_S000021488Summary1Member"
      id="ixv-36578"> Investment 
Objective</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="Context_20260331_20260331_S000021488Member_S000021488Summary1Member"
      id="ixv-36579">The fund seeks as high a level of current income 
as is consistent with the preservation of capital and the maintenance of liquidity.</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="Context_20260331_20260331_S000021488Member_S000021488Summary1Member"
      id="ixv-36580">Fees 
and Expenses</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="Context_20260331_20260331_S000021488Member_S000021488Summary1Member"
      id="ixv-278">&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;This table describes the fees and expenses 
that you may pay if you buy, hold and sell shares of the fund.  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;You may 
pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not 
reflected in the table and examples below.&lt;/span&gt;&lt;/p&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:OperatingExpensesCaption
      contextRef="Context_20260331_20260331_S000021488Member_S000021488Summary1Member"
      id="ixv-36581">Annual Fund Operating Expenses (expenses that you pay each year as a percentage of the value of your investment)</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="Context_20260331_20260331_C000280489Member_S000021488Member_S000021488Summary1Member"
      decimals="INF"
      id="ixv-36582"
      unitRef="pure">0.0010</oef:ManagementFeesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="Context_20260331_20260331_C000280489Member_S000021488Member_S000021488Summary1Member"
      decimals="INF"
      id="ixv-36583"
      unitRef="pure">0.0002</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="Context_20260331_20260331_C000280489Member_S000021488Member_S000021488Summary1Member"
      decimals="INF"
      id="_21_"
      unitRef="pure">0.0000</oef:Component3OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="Context_20260331_20260331_C000280489Member_S000021488Member_S000021488Summary1Member"
      decimals="INF"
      id="ixv-36585"
      unitRef="pure">0.0002</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="Context_20260331_20260331_C000280489Member_S000021488Member_S000021488Summary1Member"
      decimals="INF"
      id="ixv-36586"
      unitRef="pure">0.0012</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20260331_20260331_C000280489Member_S000021488Member_S000021488Summary1Member"
      decimals="INF"
      id="_24_"
      unitRef="pure">0.0000</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="Context_20260331_20260331_C000280489Member_S000021488Member_S000021488Summary1Member"
      decimals="INF"
      id="ixv-36588"
      unitRef="pure">0.0012</oef:NetExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="Context_20260331_20260331_S000021488Member_S000021488Summary1Member"
      id="ixv-36589">Example</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20260331_20260331_S000021488Member_S000021488Summary1Member"
      id="ixv-361">&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The 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 hold or 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.  The Example is based on net operating expenses, 
which reflect the contractual undertaking by BNY Mellon Investment Adviser, Inc.  Although your actual 
costs may be higher or lower, based on these assumptions your costs would be:&lt;/p&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="Context_20260331_20260331_C000280489Member_S000021488Member_S000021488Summary1Member"
      decimals="INF"
      id="ixv-36590"
      unitRef="usd">12</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="Context_20260331_20260331_C000280489Member_S000021488Member_S000021488Summary1Member"
      decimals="INF"
      id="ixv-36591"
      unitRef="usd">39</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="Context_20260331_20260331_C000280489Member_S000021488Member_S000021488Summary1Member"
      decimals="INF"
      id="ixv-36592"
      unitRef="usd">68</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="Context_20260331_20260331_C000280489Member_S000021488Member_S000021488Summary1Member"
      decimals="INF"
      id="ixv-36593"
      unitRef="usd">154</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="Context_20260331_20260331_S000021488Member_S000021488Summary1Member"
      id="ixv-36594">Principal Investment Strategy</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="Context_20260331_20260331_S000021488Member_S000021488Summary1Member"
      id="ixv-394">&lt;p style="margin-top:revert; margin-bottom:revert;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The 
fund pursues its investment objective by investing only in government securities (i.e., securities issued 
or guaranteed as to principal and interest by the U.S. government or its agencies or instrumentalities, 
including those with floating or variable rates of interest), repurchase agreements collateralized fully 
by government securities and/or cash, and cash.  &lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund is a money market 
fund subject to the maturity, quality, liquidity and diversification requirements of Rule 2a-7 under 
the Investment Company Act of 1940, as amended (1940 Act), and seeks to maintain a stable share price 
of $1.00.&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund is a "government money market fund," as that term 
is defined in Rule 2a-7, and as such will invest at least 99.5% of its total assets in securities issued 
or guaranteed as to principal and interest by the U.S. government or its agencies or instrumentalities, 
repurchase agreements collateralized fully by cash and/or government securities, and cash.  &lt;/p&gt;

&lt;p style="margin-top:revert; margin-bottom:revert;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;Under normal circumstances, the fund will invest its assets 
so that at least 80% of its net assets (plus any borrowing for investment purposes) are invested in government 
securities and/or repurchase agreements that are collateralized fully by government securities.  The 
securities in which the fund invests include those backed by the full faith and credit of the U.S. government, 
which include U.S. Treasury securities as well as securities issued by certain agencies of the U.S. government, 
and those that are neither insured nor guaranteed by the U.S. government.&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The 
fund invests in securities issued or guaranteed as to principal and interest by the U.S. government or 
its agencies or instrumentalities and seeks to enter into repurchase agreements that present minimal 
credit risk (and are considered &#x201c;eligible securities&#x201d; as defined in Rule 2a-7 under the 1940 Act), 
based on an assessment by Dreyfus, a division of Mellon Investments Corporation, the fund's sub-adviser, 
of the counterparty's credit quality and capacity to meet its financial obligations, among other factors. 
 &lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;Shares of the fund are intended to qualify as eligible investments 
for federally chartered credit unions.  The fund intends to review changes in the applicable laws, rules 
and regulations governing eligible investments for federally chartered credit unions, and to take such 
action as may be necessary to ensure that shares of the fund qualify as eligible investments under the 
Federal Credit Union Act and the regulations thereunder.  Shares of the fund, however, may or may not 
qualify as eligible investments for particular state-chartered credit unions.  A state-chartered credit 
union should consult its legal counsel to determine whether the fund is a permissible investment under 
the laws applicable to it.&lt;/p&gt;</oef:StrategyNarrativeTextBlock>
    <fnd:NmRule35d1EightyPctInvstmntPlcyTextBlock
      contextRef="Context_20260331_20260331_S000021488Member_S000021488Summary1Member"
      id="ixv-36595">Under normal circumstances, the fund will invest its assets 
so that at least 80% of its net assets (plus any borrowing for investment purposes) are invested in government 
securities and/or repurchase agreements that are collateralized fully by government securities.</fnd:NmRule35d1EightyPctInvstmntPlcyTextBlock>
    <fnd:NmRule35d1TermDfnSmryTextBlock
      contextRef="Context_20260331_20260331_S000021488Member_S000021488Summary1Member"
      id="ixv-36596">  The 
securities in which the fund invests include those backed by the full faith and credit of the U.S. government, 
which include U.S. Treasury securities as well as securities issued by certain agencies of the U.S. government, 
and those that are neither insured nor guaranteed by the U.S. government.</fnd:NmRule35d1TermDfnSmryTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260331_20260331_S000021488Member_PrincipalRisks2_S000021488Summary1Member"
      id="ixv-405">&lt;div style="border-bottom:0.25pt; border-bottom-style:solid; border-bottom-color:#000000; padding:0pt 0pt 1pt 0pt;"&gt;&lt;div style="font-size:12.0pt; font-family:Arial; text-align:left; color:#000000; font-weight:bold;"&gt;&lt;span style="font-size:12.0pt; font-family:Arial; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Principal Risks&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style="margin-top:revert; margin-bottom:revert;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;An 
investment in the fund is not a bank account or a bank deposit.  It is not insured or guaranteed by the 
Federal Deposit Insurance Corporation (FDIC) or any other government agency.  You could lose money by 
investing in the fund.  Although the fund seeks to preserve the value of your investment at $1.00 per 
share, it cannot guarantee it will do so.  The fund's yield will fluctuate as the short-term securities 
in its portfolio mature or are sold and the proceeds are reinvested in securities with different interest 
rates.  BNY Mellon Investment Adviser, Inc. and its affiliates are not required to reimburse the fund 
for losses, and you should not expect that BNY Mellon Investment Adviser, Inc. or its affiliates will 
provide financial support to the fund at any time, including during periods of market stress.  The fund 
is subject to the following principal risks:&lt;/p&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260331_20260331_S000021488Member_RiskNotInsuredMember_S000021488Summary1Member"
      id="ixv-36597">An 
investment in the fund is not a bank account or a bank deposit.  It is not insured or guaranteed by the 
Federal Deposit Insurance Corporation (FDIC) or any other government agency.</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260331_20260331_S000021488Member_RiskLoseMoneyMember_S000021488Summary1Member"
      id="ixv-36598">  You could lose money by 
investing in the fund.</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260331_20260331_S000021488Member_RiskMoneyMarketFundMayNotPreserveDollarMember_S000021488Summary1Member"
      id="ixv-36599">Although the fund seeks to preserve the value of your investment at $1.00 per 
share, it cannot guarantee it will do so.</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260331_20260331_S000021488Member_RiskMoneyMarketFundPriceFluctuatesMember_S000021488Summary1Member"
      id="ixv-36600">The fund's yield will fluctuate as the short-term securities 
in its portfolio mature or are sold and the proceeds are reinvested in securities with different interest 
rates.</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260331_20260331_S000021488Member_Interestraterisk2_S000021488Summary1Member"
      id="ixv-410">&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; text-indent:-8.65pt; font-weight:normal; margin-left:8.65pt; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Symbol; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;&#xb7;&lt;/span&gt;&lt;span style="word-spacing:5.325pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt;Interest rate risk:&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;  This 
risk refers to the decline in the prices of fixed-income securities that may accompany a rise in the 
overall level of interest rates.  A sharp and unexpected rise in interest rates could impair the fund's 
ability to maintain a stable net &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;asset value.  A wide variety of market factors 
can cause interest rates to rise, including central bank monetary policy, rising inflation and changes 
in general economic conditions.  It is difficult to predict the pace at which central banks or monetary 
authorities may increase (or decrease) interest rates or the timing, frequency, or magnitude of such 
changes.  Changing interest rates may have unpredictable effects on markets&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;, may 
result in heightened market volatility and may detract from fund performance.  For floating and variable 
rate obligations, there may be a lag between an actual change in the underlying interest rate benchmark 
and the reset time for an interest payment of such an obligation, which could harm or benefit the fund, 
depending on the interest rate environment or other circumstances.&lt;/span&gt;&lt;/p&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260331_20260331_S000021488Member_Liquidityrisk2_S000021488Summary1Member"
      id="ixv-418">&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; text-indent:-8.65pt; font-weight:normal; margin-left:8.65pt; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Symbol; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;&#xb7;&lt;/span&gt;&lt;span style="word-spacing:5.325pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt;Liquidity 
risk:&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;When there is little or no active trading market 
for specific types of securities, it can become more difficult to sell the securities in a timely manner 
at or near their perceived value.  In such a market, the value of such securities may fall dramatically, 
potentially impairing the fund's ability to maintain a stable net asset value.&lt;/span&gt;&lt;/p&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260331_20260331_S000021488Member_USTreasurysecuritiesrisk2_S000021488Summary1Member"
      id="ixv-425">&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; text-indent:-8.65pt; font-weight:normal; margin-left:8.65pt; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Symbol; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;&#xb7;&lt;/span&gt;&lt;span style="word-spacing:5.325pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt;U.S. 
Treasury securities risk:&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;  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.&lt;/span&gt;&lt;/p&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260331_20260331_S000021488Member_Governmentsecuritiesrisk2_S000021488Summary1Member"
      id="ixv-431">&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; text-indent:-8.65pt; font-weight:normal; margin-left:8.65pt; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Symbol; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;&#xb7;&lt;/span&gt;&lt;span style="word-spacing:5.325pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt;Government securities risk:&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;  Not 
all obligations of the U.S. government, its agencies and instrumentalities are backed by the full faith 
and credit of the U.S. Treasury.  Some obligations are backed only by the credit of the issuing agency 
or instrumentality, and in some cases there may be some risk of default by the issuer.  Any guarantee 
by the U.S. government or its agencies or instrumentalities of a security held by the fund does not apply 
to the market value of such security or to shares of the fund itself.  &lt;/span&gt;&lt;/p&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260331_20260331_S000021488Member_Repurchaseagreementcounterpartyrisk2_S000021488Summary1Member"
      id="ixv-437">&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; text-indent:-8.65pt; font-weight:normal; margin-left:8.65pt; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Symbol; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;&#xb7;&lt;/span&gt;&lt;span style="word-spacing:5.325pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt;Repurchase 
agreement counterparty risk:&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;  The fund is subject to the risk that a counterparty 
in a repurchase agreement could fail to honor the terms of the agreement.  If this occurs, the fund may 
suffer a loss if the proceeds from the sale of the underlying securities are less than the repurchase 
price.&lt;/span&gt;&lt;/p&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260331_20260331_S000021488Member_Marketrisk2_S000021488Summary1Member"
      id="ixv-443">&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; text-indent:-8.65pt; font-weight:normal; margin-left:8.65pt; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Symbol; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;&#xb7;&lt;/span&gt;&lt;span style="word-spacing:5.325pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt;Market 
risk:&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;  The value of the securities in which the fund invests may be affected by political, 
regulatory, economic and social developments.&#160; In addition, turbulence in financial markets and reduced 
liquidity in fixed-income markets may negatively affect many issuers, which could adversely affect the 
fund.  Global economies and financial markets are becoming increasingly interconnected, and conditions 
and events in one country, region or financial market may adversely impact issuers in a different country, 
region or financial market. These risks may be magnified if certain events or developments adversely 
interrupt the global supply chain; in these and other circumstances, such risks might &lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; margin-left:8.65pt; text-decoration:none;"&gt;affect companies world-wide.  Local, regional or global events 
such as war, acts of terrorism, natural disasters, the spread of infectious illness or other public health 
issues, recessions, elevated levels of government debt, changes in trade regulation or economic sanctions, 
internal unrest and discord, or other events could have a significant impact on the fund and its investments.&lt;/p&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="Context_20260331_20260331_S000021488Member_S000021488Summary1Member"
      id="ixv-36601">Performance</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="Context_20260331_20260331_S000021488Member_S000021488Summary1Member"
      id="ixv-457">&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The following 
bar chart and table provide some indication of the risks of investing in the fund.  The bar chart shows 
changes in the performance of the fund's Hamilton shares from year to year.  The table shows the average 
annual total returns of the fund's Hamilton shares over time.  The fund's past performance is not necessarily 
an indication of how the fund will perform in the future.  More recent performance information may be 
available at www.dreyfus.com.&lt;/p&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20260331_20260331_S000021488Member_S000021488Summary1Member"
      id="ixv-36602">The following 
bar chart and table provide some indication of the risks of investing in the fund.</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20260331_20260331_S000021488Member_S000021488Summary1Member"
      id="ixv-36603">The fund's past performance is not necessarily 
an indication of how the fund will perform in the future.</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20260331_20260331_S000021488Member_S000021488Summary1Member"
      id="ixv-36604">www.dreyfus.com</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:BarChartHeading
      contextRef="Context_20260331_20260331_S000021488Member_S000021488Summary1Member"
      id="ixv-36605">Year-by-Year Total Returns&#x2005;as of 12/31 each year (%)</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="Context_20260331_20260331_S000021488Member_S000021488Summary1Member"
      id="ixv-478">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; font-weight:normal; text-decoration:none;"&gt;During the periods shown in the chart:&lt;/span&gt;&lt;br/&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:bold; text-decoration:none;"&gt;Best&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:bold; text-decoration:none;"&gt; Quarter&lt;/span&gt;&lt;br/&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;2023, 
Q4: 1.33&lt;/span&gt;&lt;br/&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:bold; text-decoration:none;"&gt;Worst Quarter&lt;/span&gt;&lt;br/&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;2021, Q4: 0.00&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-top:revert; margin-bottom:revert; font-size:9.0pt; font-family:Serif; text-align:left; color:#000000; text-indent:-4.3pt; font-weight:normal; margin-left:8.6pt; text-decoration:none; font-style:italic;"&gt;The year-to-date total return of the fund's 
Hamilton shares as of June 30, 2026 was 1.78%.&lt;/p&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="Context_20260331_20260331_C000061454Member_S000021488Member_S000021488Summary1Member"
      id="ixv-36606">Best Quarter</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20260331_20260331_C000061454Member_S000021488Member_S000021488Summary1Member"
      id="ixv-36607">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="Context_20260331_20260331_C000061454Member_S000021488Member_S000021488Summary1Member"
      decimals="INF"
      id="ixv-36608"
      unitRef="pure">0.0133</oef:BarChartHighestQuarterlyReturn>
    <oef:LowestQuarterlyReturnLabel
      contextRef="Context_20260331_20260331_C000061454Member_S000021488Member_S000021488Summary1Member"
      id="ixv-36609">Worst Quarter</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20260331_20260331_C000061454Member_S000021488Member_S000021488Summary1Member"
      id="ixv-36610">2021-12-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="Context_20260331_20260331_C000061454Member_S000021488Member_S000021488Summary1Member"
      decimals="INF"
      id="ixv-36611"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:YearToDateReturnLabel
      contextRef="Context_20260331_20260331_C000061454Member_S000021488Member_S000021488Summary1Member"
      id="ixv-36612">The year-to-date total return of the fund's 
Hamilton shares as of</oef:YearToDateReturnLabel>
    <oef:BarChartYearToDateReturnDate
      contextRef="Context_20260331_20260331_C000061454Member_S000021488Member_S000021488Summary1Member"
      id="ixv-36613">2026-06-30</oef:BarChartYearToDateReturnDate>
    <oef:BarChartYearToDateReturn
      contextRef="Context_20260331_20260331_C000061454Member_S000021488Member_S000021488Summary1Member"
      decimals="INF"
      id="ixv-36614"
      unitRef="pure">0.0178</oef:BarChartYearToDateReturn>
    <oef:AverageAnnualReturnCaption
      contextRef="Context_20260331_20260331_S000021488Member_S000021488Summary1Member"
      id="ixv-36615">Average 
Annual Total Returns (as of 12/31/25)</oef:AverageAnnualReturnCaption>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20250101_20251231_C000061454Member_S000021488Member_S000021488Summary1Member"
      decimals="INF"
      id="_90_"
      unitRef="pure">0.0421</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20210101_20251231_C000061454Member_S000021488Member_S000021488Summary1Member"
      decimals="INF"
      id="_91_"
      unitRef="pure">0.0319</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20160101_20251231_C000061454Member_S000021488Member_S000021488Summary1Member"
      decimals="INF"
      id="_92_"
      unitRef="pure">0.0211</oef:AvgAnnlRtrPct>
    <oef:PerformanceTableClosingTextBlock
      contextRef="Context_20260331_20260331_S000021488Member_S000021488Summary1Member"
      id="ixv-525">&lt;p style="margin-top:revert; margin-bottom:revert; font-size:9.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; margin-left:4.5pt; text-decoration:none; font-style:italic;"&gt;Institutions may call toll-free 1-800-373-9387 for the current yield of the fund's 
Capital shares.  Individuals or entities for whom institutions may purchase or redeem shares should call 
the institution directly.&lt;/p&gt;</oef:PerformanceTableClosingTextBlock>
    <oef:MoneyMarketSevenDayYieldPhone
      contextRef="Context_20260331_20260331_S000021488Member_S000021488Summary1Member"
      id="ixv-36619">1-800-373-9387</oef:MoneyMarketSevenDayYieldPhone>
    <dei:DocumentType contextRef="Context_20260331_20260331" id="ixv-36622">485BPOS</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="Context_20260331_20260331" id="ixv-36623">2026-03-31</dei:DocumentPeriodEndDate>
    <dei:EntityCentralIndexKey contextRef="Context_20260331_20260331" id="ixv-36624">0001423799</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="Context_20260331_20260331" id="ixv-36625">false</dei:AmendmentFlag>
    <dei:DocumentCreationDate contextRef="Context_20260331_20260331" id="ixv-36626">2026-09-08</dei:DocumentCreationDate>
    <oef:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20260331_20260331_S000021488Member_S000021488Summary1Member"
      id="ixv-36627">~ http://xbrl.sec.gov/rr/role/OperatingExpensesData row dei_DocumentInformationDocumentAxis compact cik0001423799_S000021488Summary1Member row dei_LegalEntityAxis compact cik0001423799_S000021488Member ~</oef:AnnualFundOperatingExpensesTableTextBlock>
    <oef:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20260331_20260331_S000021488Member_S000021488Summary1Member"
      id="ixv-36628">~ http://xbrl.sec.gov/rr/role/ExpenseExample row dei_DocumentInformationDocumentAxis compact cik0001423799_S000021488Summary1Member row dei_LegalEntityAxis compact cik0001423799_S000021488Member ~</oef:ExpenseExampleWithRedemptionTableTextBlock>
    <oef:PerformanceTableTextBlock
      contextRef="Context_20260331_20260331_S000021488Member_S000021488Summary1Member"
      id="ixv-36629">~ http://xbrl.sec.gov/rr/role/PerformanceTableData column period compact * row dei_DocumentInformationDocumentAxis compact cik0001423799_S000021488Summary1Member row dei_LegalEntityAxis compact cik0001423799_S000021488Member row oef_ClassAxis compact * row oef_PerformanceMeasureAxis compact * ~</oef:PerformanceTableTextBlock>
    <oef:AnnlRtrPct
      contextRef="Context_20161231_20161231_C000061454Member_S000021488Member_S000021488Summary1Member"
      decimals="INF"
      id="ixv-36890"
      unitRef="pure">0.0024</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20171231_20171231_C000061454Member_S000021488Member_S000021488Summary1Member"
      decimals="INF"
      id="ixv-36891"
      unitRef="pure">0.0078</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20181231_20181231_C000061454Member_S000021488Member_S000021488Summary1Member"
      decimals="INF"
      id="ixv-36892"
      unitRef="pure">0.0174</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20191231_20191231_C000061454Member_S000021488Member_S000021488Summary1Member"
      decimals="INF"
      id="ixv-36893"
      unitRef="pure">0.021</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20201231_20201231_C000061454Member_S000021488Member_S000021488Summary1Member"
      decimals="INF"
      id="ixv-36894"
      unitRef="pure">0.0035</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20211231_20211231_C000061454Member_S000021488Member_S000021488Summary1Member"
      decimals="INF"
      id="ixv-36895"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20221231_20221231_C000061454Member_S000021488Member_S000021488Summary1Member"
      decimals="INF"
      id="ixv-36896"
      unitRef="pure">0.0159</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20231231_20231231_C000061454Member_S000021488Member_S000021488Summary1Member"
      decimals="INF"
      id="ixv-36897"
      unitRef="pure">0.0506</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20241231_20241231_C000061454Member_S000021488Member_S000021488Summary1Member"
      decimals="INF"
      id="ixv-36898"
      unitRef="pure">0.0519</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20251231_20251231_C000061454Member_S000021488Member_S000021488Summary1Member"
      decimals="INF"
      id="ixv-36899"
      unitRef="pure">0.0421000003814697</oef:AnnlRtrPct>
    <cik0001423799:CustomRisksTableTextBlock
      contextRef="Context_20260331_20260331_S000021488Member_S000021488Summary1Member"
      id="ixv-36902">~ http://www.dreyfus.com/20260331/role/RRRiskTable3 ~</cik0001423799:CustomRisksTableTextBlock>
    <link:footnoteLink
      xlink:role="http://www.xbrl.org/2003/role/link"
      xlink:type="extended">
        <link:loc xlink:href="#_21_" xlink:label="_21_" xlink:type="locator"/>
        <link:footnote id="fn1_" xlink:label="fn1_" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-size:9.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;">Other 
expenses are based on estimated amounts for the current fiscal year. </xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_21_"
          xlink:to="fn1_"
          xlink:type="arc"/>
        <link:loc xlink:href="#_24_" xlink:label="_24_" xlink:type="locator"/>
        <link:footnote id="fn2_" xlink:label="fn2_" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-size:9.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;">The fund's investment adviser, 
BNY Mellon Investment Adviser, Inc., has agreed in its management agreement with the fund to pay all 
of the fund's expenses, except management fees, brokerage fees and commissions, if any, fees pursuant 
to any administration agreement or distribution or service plan adopted by the fund, fees and expenses 
of the non-interested board members and their counsel and independent counsel to the fund, and any extraordinary 
expenses.  BNY Mellon Investment Adviser, Inc. has further agreed to reduce its fee in an amount equal 
to the fund's allocable portion of the fees and expenses of the non-interested board members and the 
fees and expenses of independent counsel to the fund and to the non-interested board members.  These 
provisions in the management agreement may not be amended without the approval of the fund's shareholders. 
</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_24_"
          xlink:to="fn2_"
          xlink:type="arc"/>
        <link:loc xlink:href="#_92_" xlink:label="_92_" xlink:type="locator"/>
        <link:loc xlink:href="#_90_" xlink:label="_90_" xlink:type="locator"/>
        <link:loc xlink:href="#_91_" xlink:label="_91_" xlink:type="locator"/>
        <link:footnote id="fn3_" xlink:label="fn3_" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-size:9.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;">Reflects 
the performance of the fund's Hamilton shares, which are offered in a separate prospectus. </xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_92_"
          xlink:to="fn3_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_90_"
          xlink:to="fn3_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_91_"
          xlink:to="fn3_"
          xlink:type="arc"/>
    </link:footnoteLink>
</xbrl>
