<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:cik0001423799="http://www.dreyfus.com/20250430"
  xmlns:dei="http://xbrl.sec.gov/dei/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:utr="http://www.xbrl.org/2009/utr"
  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-20250825.xsd" xlink:type="simple"/>
    <context id="Context_20250430_20250430">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
        </entity>
        <period>
            <startDate>2025-04-30</startDate>
            <endDate>2025-04-30</endDate>
        </period>
    </context>
    <context id="Context_20250430_20250430_S000021490Member_S000021490Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-04-30</startDate>
            <endDate>2025-04-30</endDate>
        </period>
    </context>
    <context id="Context_20250430_20250430_C000061463Member_S000021490Member_S000021490Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061463Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-04-30</startDate>
            <endDate>2025-04-30</endDate>
        </period>
    </context>
    <context id="Context_20250430_20250430_S000021490Member_PrincipalRisks2_S000021490Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0001423799:PrincipalRisks2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-04-30</startDate>
            <endDate>2025-04-30</endDate>
        </period>
    </context>
    <context id="Context_20250430_20250430_S000021490Member_RiskLoseMoneyMember_S000021490Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-04-30</startDate>
            <endDate>2025-04-30</endDate>
        </period>
    </context>
    <context id="Context_20250430_20250430_S000021490Member_RiskMoneyMarketFundPriceFluctuatesMember_S000021490Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundPriceFluctuatesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-04-30</startDate>
            <endDate>2025-04-30</endDate>
        </period>
    </context>
    <context id="Context_20250430_20250430_S000021490Member_RiskMoneyMarketFundMayNotPreserveDollarMember_S000021490Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-04-30</startDate>
            <endDate>2025-04-30</endDate>
        </period>
    </context>
    <context id="Context_20250430_20250430_S000021490Member_RiskNotInsuredMember_S000021490Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-04-30</startDate>
            <endDate>2025-04-30</endDate>
        </period>
    </context>
    <context id="Context_20250430_20250430_S000021490Member_Interestraterisk2_S000021490Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0001423799:Interestraterisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-04-30</startDate>
            <endDate>2025-04-30</endDate>
        </period>
    </context>
    <context id="Context_20250430_20250430_S000021490Member_Liquidityrisk2_S000021490Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0001423799:Liquidityrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-04-30</startDate>
            <endDate>2025-04-30</endDate>
        </period>
    </context>
    <context id="Context_20250430_20250430_S000021490Member_USTreasurysecuritiesrisk2_S000021490Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0001423799:USTreasurysecuritiesrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-04-30</startDate>
            <endDate>2025-04-30</endDate>
        </period>
    </context>
    <context id="Context_20250430_20250430_S000021490Member_Repurchaseagreementcounterpartyrisk2_S000021490Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0001423799:Repurchaseagreementcounterpartyrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-04-30</startDate>
            <endDate>2025-04-30</endDate>
        </period>
    </context>
    <context id="Context_20250430_20250430_S000021490Member_Marketrisk2_S000021490Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0001423799:Marketrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-04-30</startDate>
            <endDate>2025-04-30</endDate>
        </period>
    </context>
    <context id="Context_20151231_20151231_C000061463Member_S000021490Member_S000021490Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061463Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-12-31</startDate>
            <endDate>2015-12-31</endDate>
        </period>
    </context>
    <context id="Context_20161231_20161231_C000061463Member_S000021490Member_S000021490Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061463Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-12-31</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="Context_20171231_20171231_C000061463Member_S000021490Member_S000021490Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061463Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-12-31</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="Context_20181231_20181231_C000061463Member_S000021490Member_S000021490Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061463Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-12-31</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="Context_20191231_20191231_C000061463Member_S000021490Member_S000021490Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061463Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-12-31</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="Context_20201231_20201231_C000061463Member_S000021490Member_S000021490Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061463Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-12-31</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="Context_20211231_20211231_C000061463Member_S000021490Member_S000021490Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061463Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-12-31</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="Context_20221231_20221231_C000061463Member_S000021490Member_S000021490Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061463Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-12-31</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="Context_20231231_20231231_C000061463Member_S000021490Member_S000021490Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061463Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-12-31</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_C000061463Member_S000021490Member_S000021490Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061463Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20240101_20241231_C000061463Member_S000021490Member_S000021490Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061463Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20200101_20241231_C000061463Member_S000021490Member_S000021490Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061463Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20150101_20241231_C000061463Member_S000021490Member_S000021490Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061463Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20250430_20250430_S000021490Member_S000021490Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-04-30</startDate>
            <endDate>2025-04-30</endDate>
        </period>
    </context>
    <context id="Context_20250430_20250430_C000061462Member_S000021490Member_S000021490Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061462Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-04-30</startDate>
            <endDate>2025-04-30</endDate>
        </period>
    </context>
    <context id="Context_20250430_20250430_S000021490Member_PrincipalRisks2_S000021490Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0001423799:PrincipalRisks2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-04-30</startDate>
            <endDate>2025-04-30</endDate>
        </period>
    </context>
    <context id="Context_20250430_20250430_S000021490Member_RiskLoseMoneyMember_S000021490Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-04-30</startDate>
            <endDate>2025-04-30</endDate>
        </period>
    </context>
    <context id="Context_20250430_20250430_S000021490Member_RiskMoneyMarketFundPriceFluctuatesMember_S000021490Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundPriceFluctuatesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-04-30</startDate>
            <endDate>2025-04-30</endDate>
        </period>
    </context>
    <context id="Context_20250430_20250430_S000021490Member_RiskMoneyMarketFundMayNotPreserveDollarMember_S000021490Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-04-30</startDate>
            <endDate>2025-04-30</endDate>
        </period>
    </context>
    <context id="Context_20250430_20250430_S000021490Member_RiskNotInsuredMember_S000021490Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-04-30</startDate>
            <endDate>2025-04-30</endDate>
        </period>
    </context>
    <context id="Context_20250430_20250430_S000021490Member_Interestraterisk2_S000021490Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0001423799:Interestraterisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-04-30</startDate>
            <endDate>2025-04-30</endDate>
        </period>
    </context>
    <context id="Context_20250430_20250430_S000021490Member_Liquidityrisk2_S000021490Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0001423799:Liquidityrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-04-30</startDate>
            <endDate>2025-04-30</endDate>
        </period>
    </context>
    <context id="Context_20250430_20250430_S000021490Member_USTreasurysecuritiesrisk2_S000021490Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0001423799:USTreasurysecuritiesrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-04-30</startDate>
            <endDate>2025-04-30</endDate>
        </period>
    </context>
    <context id="Context_20250430_20250430_S000021490Member_Repurchaseagreementcounterpartyrisk2_S000021490Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0001423799:Repurchaseagreementcounterpartyrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-04-30</startDate>
            <endDate>2025-04-30</endDate>
        </period>
    </context>
    <context id="Context_20250430_20250430_S000021490Member_Marketrisk2_S000021490Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0001423799:Marketrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-04-30</startDate>
            <endDate>2025-04-30</endDate>
        </period>
    </context>
    <context id="Context_20151231_20151231_C000061462Member_S000021490Member_S000021490Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061462Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-12-31</startDate>
            <endDate>2015-12-31</endDate>
        </period>
    </context>
    <context id="Context_20161231_20161231_C000061462Member_S000021490Member_S000021490Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061462Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-12-31</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="Context_20171231_20171231_C000061462Member_S000021490Member_S000021490Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061462Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-12-31</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="Context_20181231_20181231_C000061462Member_S000021490Member_S000021490Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061462Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-12-31</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="Context_20191231_20191231_C000061462Member_S000021490Member_S000021490Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061462Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-12-31</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="Context_20201231_20201231_C000061462Member_S000021490Member_S000021490Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061462Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-12-31</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="Context_20211231_20211231_C000061462Member_S000021490Member_S000021490Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061462Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-12-31</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="Context_20221231_20221231_C000061462Member_S000021490Member_S000021490Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061462Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-12-31</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="Context_20231231_20231231_C000061462Member_S000021490Member_S000021490Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061462Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-12-31</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_C000061462Member_S000021490Member_S000021490Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061462Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20240101_20241231_C000061462Member_S000021490Member_S000021490Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061462Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20200101_20241231_C000061462Member_S000021490Member_S000021490Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061462Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20150101_20241231_C000061462Member_S000021490Member_S000021490Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001423799</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0001423799:S000021490Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001423799:S000021490Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0001423799:C000061462Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="Years">
        <measure>utr:Y</measure>
    </unit>
    <dei:EntityInvCompanyType contextRef="Context_20250430_20250430" id="ixv-36309">N-1A</dei:EntityInvCompanyType>
    <dei:EntityRegistrantName contextRef="Context_20250430_20250430" id="ixv-36310">Dreyfus Institutional Reserves Funds</dei:EntityRegistrantName>
    <dei:DocumentEffectiveDate contextRef="Context_20250430_20250430" id="ixv-36311">2025-08-29</dei:DocumentEffectiveDate>
    <oef:ProspectusDate contextRef="Context_20250430_20250430" id="ixv-36312">2025-08-29</oef:ProspectusDate>
    <dei:TradingSymbol
      contextRef="Context_20250430_20250430_C000061463Member_S000021490Member_S000021490Summary1Member"
      id="ixv-36313">DHLXX</dei:TradingSymbol>
    <oef:RiskReturnHeading
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary1Member"
      id="ixv-36314">Fund
Summary</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary1Member"
      id="ixv-36315">Investment Objective</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary1Member"
      id="ixv-36316">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_20250430_20250430_S000021490Member_S000021490Summary1Member"
      id="ixv-36317">Fees and
Expenses</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary1Member"
      id="ixv-275">&lt;p style="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_20250430_20250430_S000021490Member_S000021490Summary1Member"
      id="ixv-36318">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_20250430_20250430_C000061463Member_S000021490Member_S000021490Summary1Member"
      decimals="INF"
      id="ixv-36319"
      unitRef="pure">0.0010</oef:ManagementFeesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="Context_20250430_20250430_C000061463Member_S000021490Member_S000021490Summary1Member"
      decimals="INF"
      id="ixv-36320"
      unitRef="pure">0.0005</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="Context_20250430_20250430_C000061463Member_S000021490Member_S000021490Summary1Member"
      decimals="INF"
      id="ixv-36321"
      unitRef="pure">0.0001</oef:Component3OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="Context_20250430_20250430_C000061463Member_S000021490Member_S000021490Summary1Member"
      decimals="INF"
      id="ixv-36322"
      unitRef="pure">0.0006</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="Context_20250430_20250430_C000061463Member_S000021490Member_S000021490Summary1Member"
      decimals="INF"
      id="ixv-36323"
      unitRef="pure">0.0016</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20250430_20250430_C000061463Member_S000021490Member_S000021490Summary1Member"
      decimals="INF"
      id="_25_"
      unitRef="pure">-0.0001</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="Context_20250430_20250430_C000061463Member_S000021490Member_S000021490Summary1Member"
      decimals="INF"
      id="ixv-36325"
      unitRef="pure">0.0015</oef:NetExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary1Member"
      id="ixv-36326">Example</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary1Member"
      id="ixv-343">&lt;p style="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_20250430_20250430_C000061463Member_S000021490Member_S000021490Summary1Member"
      decimals="INF"
      id="ixv-36327"
      unitRef="usd">15</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="Context_20250430_20250430_C000061463Member_S000021490Member_S000021490Summary1Member"
      decimals="INF"
      id="ixv-36328"
      unitRef="usd">48</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="Context_20250430_20250430_C000061463Member_S000021490Member_S000021490Summary1Member"
      decimals="INF"
      id="ixv-36329"
      unitRef="usd">85</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="Context_20250430_20250430_C000061463Member_S000021490Member_S000021490Summary1Member"
      decimals="INF"
      id="ixv-36330"
      unitRef="usd">192</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary1Member"
      id="ixv-36331">Principal Investment Strategy</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary1Member"
      id="ixv-376">&lt;p style="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 U.S. Treasury securities, including those
with floating or variable rates of interest, repurchase agreements collateralized solely by U.S. Treasury
securities and/or cash, and cash.  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, and seeks to maintain a stable share price of $1.00. &lt;/p&gt;&lt;p style="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 is required to
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 solely
by cash and/or government securities, and &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;cash.  The fund typically invests exclusively in U.S. Treasury securities and
repurchase agreements collateralized solely by U.S. Treasury securities.&lt;/p&gt;&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The
fund seeks to enter into repurchase agreements that present minimal credit risk, 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;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20250430_20250430_S000021490Member_PrincipalRisks2_S000021490Summary1Member"
      id="ixv-385">&lt;div style="border-bottom:0.25pt; border-bottom-style:solid; border-bottom-color:#000000; margin-bottom:12pt; 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="-sec-ix-redline:true;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_20250430_20250430_S000021490Member_RiskNotInsuredMember_S000021490Summary1Member"
      id="ixv-36332">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_20250430_20250430_S000021490Member_RiskLoseMoneyMember_S000021490Summary1Member"
      id="ixv-36333">  You could lose money by investing in the fund.</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20250430_20250430_S000021490Member_RiskMoneyMarketFundMayNotPreserveDollarMember_S000021490Summary1Member"
      id="ixv-36334">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_20250430_20250430_S000021490Member_RiskMoneyMarketFundPriceFluctuatesMember_S000021490Summary1Member"
      id="ixv-36335">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_20250430_20250430_S000021490Member_Interestraterisk2_S000021490Summary1Member"
      id="ixv-390">&lt;p style="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_20250430_20250430_S000021490Member_Liquidityrisk2_S000021490Summary1Member"
      id="ixv-398">&lt;p style="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_20250430_20250430_S000021490Member_USTreasurysecuritiesrisk2_S000021490Summary1Member"
      id="ixv-405">&lt;p style="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_20250430_20250430_S000021490Member_Repurchaseagreementcounterpartyrisk2_S000021490Summary1Member"
      id="ixv-411">&lt;p style="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.&lt;/span&gt;&lt;/p&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20250430_20250430_S000021490Member_Marketrisk2_S000021490Summary1Member"
      id="ixv-417">&lt;p style="-sec-ix-redline:true;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; 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;/span&gt;&lt;/p&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary1Member"
      id="ixv-36336">Performance</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary1Member"
      id="ixv-426">&lt;p style="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_20250430_20250430_S000021490Member_S000021490Summary1Member"
      id="ixv-36337">The following bar chart and table provide some indication of the risks of investing
in the fund.</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary1Member"
      id="ixv-36338">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_20250430_20250430_S000021490Member_S000021490Summary1Member"
      id="ixv-36339">www.dreyfus.com</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:BarChartHeading
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary1Member"
      id="ixv-36340">Year-by-Year Total Returns&#x2005;as of 12/31 each year
(%)</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary1Member"
      id="ixv-446">&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="-sec-ix-redline:true;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, 2025 was 2.12%&lt;/p&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="Context_20250430_20250430_C000061463Member_S000021490Member_S000021490Summary1Member"
      id="ixv-36341">Best Quarter</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20250430_20250430_C000061463Member_S000021490Member_S000021490Summary1Member"
      id="ixv-36342">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="Context_20250430_20250430_C000061463Member_S000021490Member_S000021490Summary1Member"
      decimals="INF"
      id="ixv-36343"
      unitRef="pure">0.0133</oef:BarChartHighestQuarterlyReturn>
    <oef:LowestQuarterlyReturnLabel
      contextRef="Context_20250430_20250430_C000061463Member_S000021490Member_S000021490Summary1Member"
      id="ixv-36344">Worst Quarter</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20250430_20250430_C000061463Member_S000021490Member_S000021490Summary1Member"
      id="ixv-36345">2021-12-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="Context_20250430_20250430_C000061463Member_S000021490Member_S000021490Summary1Member"
      decimals="INF"
      id="ixv-36346"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:YearToDateReturnLabel
      contextRef="Context_20250430_20250430_C000061463Member_S000021490Member_S000021490Summary1Member"
      id="ixv-36347">The year-to-date total return of the fund's
Hamilton shares as of</oef:YearToDateReturnLabel>
    <oef:BarChartYearToDateReturnDate
      contextRef="Context_20250430_20250430_C000061463Member_S000021490Member_S000021490Summary1Member"
      id="ixv-36348">2025-06-30</oef:BarChartYearToDateReturnDate>
    <oef:BarChartYearToDateReturn
      contextRef="Context_20250430_20250430_C000061463Member_S000021490Member_S000021490Summary1Member"
      decimals="INF"
      id="ixv-36349"
      unitRef="pure">0.0212</oef:BarChartYearToDateReturn>
    <oef:AverageAnnualReturnCaption
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary1Member"
      id="ixv-36350">Average Annual Total Returns (as of
12/31/24)</oef:AverageAnnualReturnCaption>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20240101_20241231_C000061463Member_S000021490Member_S000021490Summary1Member"
      decimals="INF"
      id="ixv-36351"
      unitRef="pure">0.0519</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20200101_20241231_C000061463Member_S000021490Member_S000021490Summary1Member"
      decimals="INF"
      id="ixv-36352"
      unitRef="pure">0.0240</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20150101_20241231_C000061463Member_S000021490Member_S000021490Summary1Member"
      decimals="INF"
      id="ixv-36353"
      unitRef="pure">0.0166</oef:AvgAnnlRtrPct>
    <oef:PerformanceTableClosingTextBlock
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary1Member"
      id="ixv-494">&lt;p style="-sec-ix-redline:true;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 (inside the
U.S. only) for the current yield of the fund's Hamilton 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_20250430_20250430_S000021490Member_S000021490Summary1Member"
      id="ixv-36354">1-800-373-9387</oef:MoneyMarketSevenDayYieldPhone>
    <dei:TradingSymbol
      contextRef="Context_20250430_20250430_C000061462Member_S000021490Member_S000021490Summary2Member"
      id="ixv-36355">DNSXX</dei:TradingSymbol>
    <oef:RiskReturnHeading
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary2Member"
      id="ixv-36356">Fund
Summary</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary2Member"
      id="ixv-36357">Investment Objective</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary2Member"
      id="ixv-36358">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_20250430_20250430_S000021490Member_S000021490Summary2Member"
      id="ixv-36359">Fees and
Expenses</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary2Member"
      id="ixv-1153">&lt;p style="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_20250430_20250430_S000021490Member_S000021490Summary2Member"
      id="ixv-36360">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_20250430_20250430_C000061462Member_S000021490Member_S000021490Summary2Member"
      decimals="INF"
      id="ixv-36361"
      unitRef="pure">0.0010</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="Context_20250430_20250430_C000061462Member_S000021490Member_S000021490Summary2Member"
      decimals="INF"
      id="ixv-36362"
      unitRef="pure">0.0001</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="Context_20250430_20250430_C000061462Member_S000021490Member_S000021490Summary2Member"
      decimals="INF"
      id="ixv-36363"
      unitRef="pure">0.0011</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20250430_20250430_C000061462Member_S000021490Member_S000021490Summary2Member"
      decimals="INF"
      id="_104_"
      unitRef="pure">-0.0001</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="Context_20250430_20250430_C000061462Member_S000021490Member_S000021490Summary2Member"
      decimals="INF"
      id="ixv-36365"
      unitRef="pure">0.0010</oef:NetExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary2Member"
      id="ixv-36366">Example</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary2Member"
      id="ixv-1207">&lt;p style="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_20250430_20250430_C000061462Member_S000021490Member_S000021490Summary2Member"
      decimals="INF"
      id="ixv-36367"
      unitRef="usd">10</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="Context_20250430_20250430_C000061462Member_S000021490Member_S000021490Summary2Member"
      decimals="INF"
      id="ixv-36368"
      unitRef="usd">32</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="Context_20250430_20250430_C000061462Member_S000021490Member_S000021490Summary2Member"
      decimals="INF"
      id="ixv-36369"
      unitRef="usd">56</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="Context_20250430_20250430_C000061462Member_S000021490Member_S000021490Summary2Member"
      decimals="INF"
      id="ixv-36370"
      unitRef="usd">128</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary2Member"
      id="ixv-36371">Principal Investment Strategy</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary2Member"
      id="ixv-1240">&lt;p style="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 U.S. Treasury securities, including those
with floating or variable rates of interest, repurchase agreements collateralized solely by U.S. Treasury
securities and/or cash, and cash.  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, and seeks to maintain a stable share price of $1.00.  &lt;/p&gt;&lt;p style="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 is required to
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 solely
by cash and/or government securities, and cash.  The fund typically invests exclusively in U.S. Treasury
securities and repurchase agreements collateralized solely by U.S. Treasury securities.&lt;/p&gt;
&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund seeks to enter into repurchase agreements that present
minimal credit risk, 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;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20250430_20250430_S000021490Member_PrincipalRisks2_S000021490Summary2Member"
      id="ixv-1248">&lt;div style="border-bottom:0.25pt; border-bottom-style:solid; border-bottom-color:#000000; margin-bottom:12pt; 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="-sec-ix-redline:true;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_20250430_20250430_S000021490Member_RiskNotInsuredMember_S000021490Summary2Member"
      id="ixv-36372">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_20250430_20250430_S000021490Member_RiskLoseMoneyMember_S000021490Summary2Member"
      id="ixv-36373">  You could lose money by
investing in the fund.</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20250430_20250430_S000021490Member_RiskMoneyMarketFundMayNotPreserveDollarMember_S000021490Summary2Member"
      id="ixv-36374">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_20250430_20250430_S000021490Member_RiskMoneyMarketFundPriceFluctuatesMember_S000021490Summary2Member"
      id="ixv-36375">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_20250430_20250430_S000021490Member_Interestraterisk2_S000021490Summary2Member"
      id="ixv-1253">&lt;p style="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_20250430_20250430_S000021490Member_Liquidityrisk2_S000021490Summary2Member"
      id="ixv-1261">&lt;p style="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_20250430_20250430_S000021490Member_USTreasurysecuritiesrisk2_S000021490Summary2Member"
      id="ixv-1268">&lt;p style="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_20250430_20250430_S000021490Member_Repurchaseagreementcounterpartyrisk2_S000021490Summary2Member"
      id="ixv-1274">&lt;p style="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.&lt;/span&gt;&lt;/p&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20250430_20250430_S000021490Member_Marketrisk2_S000021490Summary2Member"
      id="ixv-1280">&lt;p style="-sec-ix-redline:true;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; 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;/span&gt;&lt;/p&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary2Member"
      id="ixv-36376">Performance</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary2Member"
      id="ixv-1289">&lt;p style="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;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 Institutional shares from year to year.  The table
shows the average annual total returns of the fund's Institutional 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 &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:underline;"&gt;www.dreyfus.com&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;/p&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary2Member"
      id="ixv-36377">The
following bar chart and table provide some indication of the risks of investing in the fund.</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary2Member"
      id="ixv-36378">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_20250430_20250430_S000021490Member_S000021490Summary2Member"
      id="ixv-36379">www.dreyfus.com</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:BarChartHeading
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary2Member"
      id="ixv-36380">Year-by-Year Total Returns&#x2005;as
of 12/31 each year (%)</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary2Member"
      id="ixv-1312">&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.34&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="-sec-ix-redline:true;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
Institutional shares as of June 30, 2025 was 2.15%.  &lt;/p&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="Context_20250430_20250430_C000061462Member_S000021490Member_S000021490Summary2Member"
      id="ixv-36381">Best Quarter</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20250430_20250430_C000061462Member_S000021490Member_S000021490Summary2Member"
      id="ixv-36382">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="Context_20250430_20250430_C000061462Member_S000021490Member_S000021490Summary2Member"
      decimals="INF"
      id="ixv-36383"
      unitRef="pure">0.0134</oef:BarChartHighestQuarterlyReturn>
    <oef:LowestQuarterlyReturnLabel
      contextRef="Context_20250430_20250430_C000061462Member_S000021490Member_S000021490Summary2Member"
      id="ixv-36384">Worst Quarter</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20250430_20250430_C000061462Member_S000021490Member_S000021490Summary2Member"
      id="ixv-36385">2021-12-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="Context_20250430_20250430_C000061462Member_S000021490Member_S000021490Summary2Member"
      decimals="INF"
      id="ixv-36386"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:YearToDateReturnLabel
      contextRef="Context_20250430_20250430_C000061462Member_S000021490Member_S000021490Summary2Member"
      id="ixv-36387">The year-to-date total return of the fund's
Institutional shares as of</oef:YearToDateReturnLabel>
    <oef:BarChartYearToDateReturnDate
      contextRef="Context_20250430_20250430_C000061462Member_S000021490Member_S000021490Summary2Member"
      id="ixv-36388">2025-06-30</oef:BarChartYearToDateReturnDate>
    <oef:BarChartYearToDateReturn
      contextRef="Context_20250430_20250430_C000061462Member_S000021490Member_S000021490Summary2Member"
      decimals="INF"
      id="ixv-36389"
      unitRef="pure">0.0215</oef:BarChartYearToDateReturn>
    <oef:AverageAnnualReturnCaption
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary2Member"
      id="ixv-36390">Average
Annual Total Returns (as of 12/31/24)</oef:AverageAnnualReturnCaption>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20240101_20241231_C000061462Member_S000021490Member_S000021490Summary2Member"
      decimals="INF"
      id="ixv-36391"
      unitRef="pure">0.0524</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20200101_20241231_C000061462Member_S000021490Member_S000021490Summary2Member"
      decimals="INF"
      id="ixv-36392"
      unitRef="pure">0.0244</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20150101_20241231_C000061462Member_S000021490Member_S000021490Summary2Member"
      decimals="INF"
      id="ixv-36393"
      unitRef="pure">0.0170</oef:AvgAnnlRtrPct>
    <oef:PerformanceTableClosingTextBlock
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary2Member"
      id="ixv-1363">&lt;p style="-sec-ix-redline:true;font-size:9.0pt; font-family:Serif; text-align:left; color:#000000; text-indent:0.4pt; font-weight:normal; margin-left:4.5pt; text-decoration:none; font-style:italic;"&gt;Institutions
may call toll-free 1-800-373-9387 (inside the U.S. only) for the current yield of the fund's Institutional
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_20250430_20250430_S000021490Member_S000021490Summary2Member"
      id="ixv-36394">1-800-373-9387</oef:MoneyMarketSevenDayYieldPhone>
    <dei:DocumentType contextRef="Context_20250430_20250430" id="ixv-36397">485BPOS</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="Context_20250430_20250430" id="ixv-36398">2025-04-30</dei:DocumentPeriodEndDate>
    <dei:EntityCentralIndexKey contextRef="Context_20250430_20250430" id="ixv-36399">0001423799</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="Context_20250430_20250430" id="ixv-36400">false</dei:AmendmentFlag>
    <dei:DocumentCreationDate contextRef="Context_20250430_20250430" id="ixv-36401">2025-08-25</dei:DocumentCreationDate>
    <oef:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary1Member"
      id="ixv-36402">~ http://xbrl.sec.gov/rr/role/OperatingExpensesData row dei_DocumentInformationDocumentAxis compact cik0001423799_S000021490Summary1Member row dei_LegalEntityAxis compact cik0001423799_S000021490Member ~</oef:AnnualFundOperatingExpensesTableTextBlock>
    <oef:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary1Member"
      id="ixv-36403">~ http://xbrl.sec.gov/rr/role/ExpenseExample row dei_DocumentInformationDocumentAxis compact cik0001423799_S000021490Summary1Member row dei_LegalEntityAxis compact cik0001423799_S000021490Member ~</oef:ExpenseExampleWithRedemptionTableTextBlock>
    <oef:PerformanceTableTextBlock
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary1Member"
      id="ixv-36404">~ http://xbrl.sec.gov/rr/role/PerformanceTableData column period compact * row dei_DocumentInformationDocumentAxis compact cik0001423799_S000021490Summary1Member row dei_LegalEntityAxis compact cik0001423799_S000021490Member row oef_ClassAxis compact * row oef_PerformanceMeasureAxis compact * ~</oef:PerformanceTableTextBlock>
    <oef:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary2Member"
      id="ixv-36405">~ http://xbrl.sec.gov/rr/role/OperatingExpensesData row dei_DocumentInformationDocumentAxis compact cik0001423799_S000021490Summary2Member row dei_LegalEntityAxis compact cik0001423799_S000021490Member ~</oef:AnnualFundOperatingExpensesTableTextBlock>
    <oef:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary2Member"
      id="ixv-36406">~ http://xbrl.sec.gov/rr/role/ExpenseExample row dei_DocumentInformationDocumentAxis compact cik0001423799_S000021490Summary2Member row dei_LegalEntityAxis compact cik0001423799_S000021490Member ~</oef:ExpenseExampleWithRedemptionTableTextBlock>
    <oef:PerformanceTableTextBlock
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary2Member"
      id="ixv-36407">~ http://xbrl.sec.gov/rr/role/PerformanceTableData column period compact * row dei_DocumentInformationDocumentAxis compact cik0001423799_S000021490Summary2Member row dei_LegalEntityAxis compact cik0001423799_S000021490Member row oef_ClassAxis compact * row oef_PerformanceMeasureAxis compact * ~</oef:PerformanceTableTextBlock>
    <oef:AnnlRtrPct
      contextRef="Context_20151231_20151231_C000061463Member_S000021490Member_S000021490Summary1Member"
      decimals="INF"
      id="ixv-36923"
      unitRef="pure">0</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20161231_20161231_C000061463Member_S000021490Member_S000021490Summary1Member"
      decimals="INF"
      id="ixv-36924"
      unitRef="pure">0.0019</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20171231_20171231_C000061463Member_S000021490Member_S000021490Summary1Member"
      decimals="INF"
      id="ixv-36925"
      unitRef="pure">0.0073</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20181231_20181231_C000061463Member_S000021490Member_S000021490Summary1Member"
      decimals="INF"
      id="ixv-36926"
      unitRef="pure">0.017</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20191231_20191231_C000061463Member_S000021490Member_S000021490Summary1Member"
      decimals="INF"
      id="ixv-36927"
      unitRef="pure">0.0203</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20201231_20201231_C000061463Member_S000021490Member_S000021490Summary1Member"
      decimals="INF"
      id="ixv-36928"
      unitRef="pure">0.0031</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20211231_20211231_C000061463Member_S000021490Member_S000021490Summary1Member"
      decimals="INF"
      id="ixv-36929"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20221231_20221231_C000061463Member_S000021490Member_S000021490Summary1Member"
      decimals="INF"
      id="ixv-36930"
      unitRef="pure">0.0157</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20231231_20231231_C000061463Member_S000021490Member_S000021490Summary1Member"
      decimals="INF"
      id="ixv-36931"
      unitRef="pure">0.0505</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20241231_20241231_C000061463Member_S000021490Member_S000021490Summary1Member"
      decimals="INF"
      id="ixv-36932"
      unitRef="pure">0.0519</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20151231_20151231_C000061462Member_S000021490Member_S000021490Summary2Member"
      decimals="INF"
      id="ixv-36933"
      unitRef="pure">0</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20161231_20161231_C000061462Member_S000021490Member_S000021490Summary2Member"
      decimals="INF"
      id="ixv-36934"
      unitRef="pure">0.0024</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20171231_20171231_C000061462Member_S000021490Member_S000021490Summary2Member"
      decimals="INF"
      id="ixv-36935"
      unitRef="pure">0.0078</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20181231_20181231_C000061462Member_S000021490Member_S000021490Summary2Member"
      decimals="INF"
      id="ixv-36936"
      unitRef="pure">0.0175</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20191231_20191231_C000061462Member_S000021490Member_S000021490Summary2Member"
      decimals="INF"
      id="ixv-36937"
      unitRef="pure">0.0208</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20201231_20201231_C000061462Member_S000021490Member_S000021490Summary2Member"
      decimals="INF"
      id="ixv-36938"
      unitRef="pure">0.0033</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20211231_20211231_C000061462Member_S000021490Member_S000021490Summary2Member"
      decimals="INF"
      id="ixv-36939"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20221231_20221231_C000061462Member_S000021490Member_S000021490Summary2Member"
      decimals="INF"
      id="ixv-36940"
      unitRef="pure">0.0161</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20231231_20231231_C000061462Member_S000021490Member_S000021490Summary2Member"
      decimals="INF"
      id="ixv-36941"
      unitRef="pure">0.0511</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20241231_20241231_C000061462Member_S000021490Member_S000021490Summary2Member"
      decimals="INF"
      id="ixv-36942"
      unitRef="pure">0.0524</oef:AnnlRtrPct>
    <cik0001423799:CustomRisksTableTextBlock
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary1Member"
      id="ixv-36947">~ http://www.dreyfus.com/20250430/role/RRRiskTable3 ~</cik0001423799:CustomRisksTableTextBlock>
    <cik0001423799:CustomRisksTableTextBlock
      contextRef="Context_20250430_20250430_S000021490Member_S000021490Summary2Member"
      id="ixv-36948">~ http://www.dreyfus.com/20250430/role/RRRiskTable5 ~</cik0001423799:CustomRisksTableTextBlock>
    <link:footnoteLink
      xlink:role="http://www.xbrl.org/2003/role/link"
      xlink:type="extended">
        <link:loc xlink:href="#_25_" xlink:label="_25_" 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;">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 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 (in the
amount of .01% for the past fiscal year).  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="_25_"
          xlink:to="fn1_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_104_"
          xlink:label="_104_"
          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 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 (in the amount of .01% for the past fiscal year).  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="_104_"
          xlink:to="fn2_"
          xlink:type="arc"/>
    </link:footnoteLink>
</xbrl>
