<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:cik0000796251="http://www.dreyfus.com/20250131"
  xmlns:dei="http://xbrl.sec.gov/dei/2023"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:rr="http://xbrl.sec.gov/rr/2023"
  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-20250529.xsd" xlink:type="simple"/>
    <context id="Context_20250131_20250131">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_S000000112Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000796251:C000000253Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_PrincipalRisks_S000000112Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:PrincipalRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_RiskLoseMoneyMember_S000000112Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_RiskMoneyMarketFundPriceFluctuatesMember_S000000112Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskMoneyMarketFundPriceFluctuatesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_RiskMoneyMarketFundMayNotPreserveDollarMember_S000000112Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_RiskNotInsuredMember_S000000112Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_Interestraterisk_S000000112Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:InterestrateriskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_Liquidityrisk_S000000112Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:LiquidityriskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_USTreasurysecuritiesrisk_S000000112Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:USTreasurysecuritiesriskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_Repurchaseagreementcounterpartyrisk_S000000112Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:RepurchaseagreementcounterpartyriskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_Marketrisk_S000000112Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:MarketriskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_S000000112Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000796251:C000000251Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_PrincipalRisks_S000000112Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:PrincipalRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_RiskLoseMoneyMember_S000000112Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_RiskMoneyMarketFundPriceFluctuatesMember_S000000112Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskMoneyMarketFundPriceFluctuatesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_RiskMoneyMarketFundMayNotPreserveDollarMember_S000000112Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_RiskNotInsuredMember_S000000112Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_Interestraterisk_S000000112Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:InterestrateriskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_Liquidityrisk_S000000112Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:LiquidityriskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_USTreasurysecuritiesrisk_S000000112Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:USTreasurysecuritiesriskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_Repurchaseagreementcounterpartyrisk_S000000112Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:RepurchaseagreementcounterpartyriskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_Marketrisk_S000000112Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:MarketriskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_S000000112Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000796251:C000000252Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_PrincipalRisks_S000000112Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:PrincipalRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_RiskLoseMoneyMember_S000000112Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_RiskMoneyMarketFundPriceFluctuatesMember_S000000112Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskMoneyMarketFundPriceFluctuatesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_RiskMoneyMarketFundMayNotPreserveDollarMember_S000000112Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_RiskNotInsuredMember_S000000112Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_Interestraterisk_S000000112Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:InterestrateriskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_Liquidityrisk_S000000112Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:LiquidityriskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_USTreasurysecuritiesrisk_S000000112Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:USTreasurysecuritiesriskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_Repurchaseagreementcounterpartyrisk_S000000112Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:RepurchaseagreementcounterpartyriskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_Marketrisk_S000000112Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:MarketriskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_S000000112Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000796251:C000000254Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_PrincipalRisks_S000000112Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:PrincipalRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_RiskLoseMoneyMember_S000000112Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_RiskMoneyMarketFundPriceFluctuatesMember_S000000112Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskMoneyMarketFundPriceFluctuatesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_RiskMoneyMarketFundMayNotPreserveDollarMember_S000000112Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_RiskNotInsuredMember_S000000112Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_Interestraterisk_S000000112Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:InterestrateriskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_Liquidityrisk_S000000112Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:LiquidityriskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_USTreasurysecuritiesrisk_S000000112Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:USTreasurysecuritiesriskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_Repurchaseagreementcounterpartyrisk_S000000112Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:RepurchaseagreementcounterpartyriskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_Marketrisk_S000000112Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:MarketriskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_S000000112Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_C000223303Member_S000000112Member_S000000112Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000796251:C000223303Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_PrincipalRisks_S000000112Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:PrincipalRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_RiskLoseMoneyMember_S000000112Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_RiskMoneyMarketFundPriceFluctuatesMember_S000000112Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskMoneyMarketFundPriceFluctuatesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_RiskMoneyMarketFundMayNotPreserveDollarMember_S000000112Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_RiskNotInsuredMember_S000000112Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_Interestraterisk_S000000112Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:InterestrateriskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_Liquidityrisk_S000000112Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:LiquidityriskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_USTreasurysecuritiesrisk_S000000112Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:USTreasurysecuritiesriskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_Repurchaseagreementcounterpartyrisk_S000000112Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:RepurchaseagreementcounterpartyriskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_Marketrisk_S000000112Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:MarketriskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20201116_20250131_C000223303Member_S000000112Member_S000000112Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000796251:C000223303Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-11-16</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_S000000112Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_C000223304Member_S000000112Member_S000000112Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000796251:C000223304Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_PrincipalRisks_S000000112Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:PrincipalRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_RiskLoseMoneyMember_S000000112Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_RiskMoneyMarketFundPriceFluctuatesMember_S000000112Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskMoneyMarketFundPriceFluctuatesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_RiskMoneyMarketFundMayNotPreserveDollarMember_S000000112Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_RiskNotInsuredMember_S000000112Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_Interestraterisk_S000000112Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:InterestrateriskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_Liquidityrisk_S000000112Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:LiquidityriskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_USTreasurysecuritiesrisk_S000000112Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:USTreasurysecuritiesriskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_Repurchaseagreementcounterpartyrisk_S000000112Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:RepurchaseagreementcounterpartyriskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20250131_20250131_S000000112Member_Marketrisk_S000000112Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000796251:MarketriskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-31</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="Context_20201116_20250131_C000223304Member_S000000112Member_S000000112Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000796251</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000796251:S000000112Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000796251:S000000112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000796251:C000223304Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-11-16</startDate>
            <endDate>2025-01-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_20250131_20250131" id="ixv-48920">N-1A</dei:EntityInvCompanyType>
    <dei:EntityRegistrantName contextRef="Context_20250131_20250131" id="ixv-48921">Dreyfus Treasury Obligations Cash Management</dei:EntityRegistrantName>
    <dei:DocumentEffectiveDate contextRef="Context_20250131_20250131" id="ixv-48922">2025-05-30</dei:DocumentEffectiveDate>
    <rr:ProspectusDate contextRef="Context_20250131_20250131" id="ixv-48923">2025-05-30</rr:ProspectusDate>
    <dei:TradingSymbol
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      id="ixv-48924">DTAXX</dei:TradingSymbol>
    <rr:RiskReturnHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary1Member"
      id="ixv-48925">Fund 
Summary</rr:RiskReturnHeading>
    <rr:ObjectiveHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary1Member"
      id="ixv-48926">Investment Objective</rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary1Member"
      id="ixv-48927">The 
fund seeks as high a level of current income as is consistent with the preservation of capital and the 
maintenance of liquidity.</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary1Member"
      id="ixv-48928">Fees and Expenses</rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary1Member"
      id="ixv-796">&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;</rr:ExpenseNarrativeTextBlock>
    <rr:OperatingExpensesCaption
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary1Member"
      id="ixv-48929">Annual 
Fund Operating Expenses (expenses that you pay each year as a percentage of the value 
of your investment)</rr:OperatingExpensesCaption>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      decimals="INF"
      id="ixv-48931"
      unitRef="pure">0.0020</rr:ManagementFeesOverAssets>
    <rr:Component2OtherExpensesOverAssets
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      decimals="INF"
      id="ixv-48932"
      unitRef="pure">0.0010</rr:Component2OtherExpensesOverAssets>
    <rr:Component3OtherExpensesOverAssets
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      decimals="INF"
      id="ixv-48933"
      unitRef="pure">0.0001</rr:Component3OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      decimals="INF"
      id="ixv-48934"
      unitRef="pure">0.0011</rr:OtherExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      decimals="INF"
      id="ixv-48935"
      unitRef="pure">0.0031</rr:ExpensesOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      decimals="INF"
      id="_25_"
      unitRef="pure">-0.0003</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      decimals="INF"
      id="ixv-48937"
      unitRef="pure">0.0028</rr:NetExpensesOverAssets>
    <rr:ExpenseExampleHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary1Member"
      id="ixv-48938">Example</rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary1Member"
      id="ixv-864">&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 one-year example and the first year of the three-, five- and ten-years examples are 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;</rr:ExpenseExampleNarrativeTextBlock>
    <rr:ExpenseExampleYear01
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      decimals="INF"
      id="ixv-48939"
      unitRef="usd">29</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      decimals="INF"
      id="ixv-48940"
      unitRef="usd">97</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      decimals="INF"
      id="ixv-48941"
      unitRef="usd">171</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      decimals="INF"
      id="ixv-48942"
      unitRef="usd">390</rr:ExpenseExampleYear10>
    <rr:StrategyHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary1Member"
      id="ixv-48943">Principal Investment Strategy</rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary1Member"
      id="ixv-897">&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 invests in U.S. Treasury securities and 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 issuer's, guarantor's or 
counterparty's credit quality and capacity to meet its financial obligations, among other factors.  &lt;/p&gt;</rr:StrategyNarrativeTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_PrincipalRisks_S000000112Summary1Member"
      id="ixv-905">&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 following 
are the principal risks that could reduce the fund's income level and/or share price:&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary1Member"
      id="ixv-48944">Principal Risks</rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_RiskNotInsuredMember_S000000112Summary1Member"
      id="ixv-48945">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.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_RiskLoseMoneyMember_S000000112Summary1Member"
      id="ixv-48946">  You could lose money by 
investing in the fund.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_RiskMoneyMarketFundMayNotPreserveDollarMember_S000000112Summary1Member"
      id="ixv-48947">Although the fund seeks to preserve the value of your investment at $1.00 per 
share, it cannot guarantee it will do so.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_RiskMoneyMarketFundPriceFluctuatesMember_S000000112Summary1Member"
      id="ixv-48948">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.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_Interestraterisk_S000000112Summary1Member"
      id="ixv-910">&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;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;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_Liquidityrisk_S000000112Summary1Member"
      id="ixv-918">&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;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;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_USTreasurysecuritiesrisk_S000000112Summary1Member"
      id="ixv-925">&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;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;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_Repurchaseagreementcounterpartyrisk_S000000112Summary1Member"
      id="ixv-931">&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;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;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_Marketrisk_S000000112Summary1Member"
      id="ixv-937">&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; Events such as war, acts of terrorism, the spread of infectious illness or 
other public health issue, recessions, or other events could have a significant impact on the fund and 
its investments.  Recent examples include pandemic risks related to COVID-19 and aggressive measures 
taken world-wide in response by governments, including closing borders, restricting international and 
domestic travel, and the imposition of prolonged quarantines of large populations, and by businesses, 
including changes to operations and reducing staff.  &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:BarChartAndPerformanceTableHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary1Member"
      id="ixv-48949">Performance</rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary1Member"
      id="ixv-946">&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 Administrative shares from 
year to year.  The table shows the average annual total returns of the fund's Administrative 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;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary1Member"
      id="ixv-48950">The following bar chart and table provide some indication of the risks of investing 
in the fund.</rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary1Member"
      id="ixv-48951">The fund's past performance is not necessarily an indication of how the fund will perform in the 
future.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary1Member"
      id="ixv-48952">www.dreyfus.com</rr:PerformanceAvailabilityWebSiteAddress>
    <rr:BarChartHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary1Member"
      id="ixv-48953">Year-by-Year Total Returns&#x2005;as of 12/31 each year 
(%)</rr:BarChartHeading>
    <rr:BarChartClosingTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary1Member"
      id="ixv-966">&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.30&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;2022, Q1: 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 
Administrative shares as of March 31, 2025 was 1.02%.&lt;/p&gt;</rr:BarChartClosingTextBlock>
    <rr:HighestQuarterlyReturnLabel
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      id="ixv-48954">Best Quarter</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      id="ixv-48955">2023-12-31</rr:BarChartHighestQuarterlyReturnDate>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      decimals="INF"
      id="ixv-48956"
      unitRef="pure">0.0130</rr:BarChartHighestQuarterlyReturn>
    <rr:LowestQuarterlyReturnLabel
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      id="ixv-48957">Worst Quarter</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      id="ixv-48958">2022-03-31</rr:BarChartLowestQuarterlyReturnDate>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      decimals="INF"
      id="ixv-48959"
      unitRef="pure">0.0000</rr:BarChartLowestQuarterlyReturn>
    <rr:YearToDateReturnLabel
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      id="ixv-48960">The year-to-date total return of the fund's 
Administrative shares as of</rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturnDate
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      id="ixv-48961">2025-03-31</rr:BarChartYearToDateReturnDate>
    <rr:BarChartYearToDateReturn
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      decimals="INF"
      id="ixv-48962"
      unitRef="pure">0.0102</rr:BarChartYearToDateReturn>
    <rr:AverageAnnualReturnCaption
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary1Member"
      id="ixv-48963">Average Annual Total Returns as of 
12/31/24</rr:AverageAnnualReturnCaption>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      decimals="INF"
      id="ixv-48964"
      unitRef="pure">0.0504</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      decimals="INF"
      id="ixv-48965"
      unitRef="pure">0.0232</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      decimals="INF"
      id="ixv-48966"
      unitRef="pure">0.0159</rr:AverageAnnualReturnYear10>
    <rr:PerformanceTableClosingTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary1Member"
      id="ixv-48967">For the current yield for Administrative 
shares, call toll-free 1-800-373-9387 (inside the U.S. only).  Individuals or entities for whom institutions 
may purchase or redeem shares should call the institution directly.</rr:PerformanceTableClosingTextBlock>
    <rr:MoneyMarketSevenDayYieldPhone
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary1Member"
      id="ixv-48968">1-800-373-9387</rr:MoneyMarketSevenDayYieldPhone>
    <dei:TradingSymbol
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      id="ixv-48969">DTRXX</dei:TradingSymbol>
    <rr:RiskReturnHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary2Member"
      id="ixv-48970">Fund 
Summary</rr:RiskReturnHeading>
    <rr:ObjectiveHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary2Member"
      id="ixv-48971">Investment Objective</rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary2Member"
      id="ixv-48972">The fund seeks as high a level of current income as is consistent with the preservation 
of capital and the maintenance of liquidity.</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary2Member"
      id="ixv-48973">Fees and 
Expenses</rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary2Member"
      id="ixv-3062">&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;</rr:ExpenseNarrativeTextBlock>
    <rr:OperatingExpensesCaption
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary2Member"
      id="ixv-48974">Annual Fund Operating Expenses (expenses 
that you pay each year as a percentage of the value of your investment)</rr:OperatingExpensesCaption>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      decimals="INF"
      id="ixv-48975"
      unitRef="pure">0.0020</rr:ManagementFeesOverAssets>
    <rr:Component2OtherExpensesOverAssets
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      decimals="INF"
      id="_103_"
      unitRef="pure">0.0000</rr:Component2OtherExpensesOverAssets>
    <rr:Component3OtherExpensesOverAssets
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      decimals="INF"
      id="_104_"
      unitRef="pure">0.0000</rr:Component3OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      decimals="INF"
      id="_105_"
      unitRef="pure">0.0000</rr:OtherExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      decimals="INF"
      id="ixv-48979"
      unitRef="pure">0.0020</rr:ExpensesOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      decimals="INF"
      id="_107_"
      unitRef="pure">-0.0003</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      decimals="INF"
      id="ixv-48981"
      unitRef="pure">0.0017</rr:NetExpensesOverAssets>
    <rr:ExpenseExampleHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary2Member"
      id="ixv-48982">Example</rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary2Member"
      id="ixv-3147">&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 
one-year example and the first year of the three-, five- and ten-years examples are 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;</rr:ExpenseExampleNarrativeTextBlock>
    <rr:ExpenseExampleYear01
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      decimals="INF"
      id="ixv-48983"
      unitRef="usd">17</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      decimals="INF"
      id="ixv-48984"
      unitRef="usd">61</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      decimals="INF"
      id="ixv-48985"
      unitRef="usd">110</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      decimals="INF"
      id="ixv-48986"
      unitRef="usd">252</rr:ExpenseExampleYear10>
    <rr:StrategyHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary2Member"
      id="ixv-48987">Principal Investment Strategy</rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary2Member"
      id="ixv-3180">&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 &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;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 invests in U.S. Treasury securities and 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 issuer's, guarantor's or counterparty's credit 
quality and capacity to meet its financial obligations, among other factors.&lt;/p&gt;</rr:StrategyNarrativeTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_PrincipalRisks_S000000112Summary2Member"
      id="ixv-3189">&lt;div style="border-bottom:0.25pt; border-bottom-style:solid; border-bottom-color:#000000; padding:0pt 0pt 1pt 0pt;"&gt;&lt;div style="font-size:12.0pt; font-family:Arial; text-align:left; color:#000000; font-weight:bold;"&gt;&lt;span style="font-size:12.0pt; font-family:Arial; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Principal 
Risks&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style="-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 following are the principal risks that could 
reduce the fund's income level and/or share price:&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary2Member"
      id="ixv-48988">Principal 
Risks</rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_RiskNotInsuredMember_S000000112Summary2Member"
      id="ixv-48989">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.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_RiskLoseMoneyMember_S000000112Summary2Member"
      id="ixv-48990">  You could lose money by investing in the fund.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_RiskMoneyMarketFundMayNotPreserveDollarMember_S000000112Summary2Member"
      id="ixv-48991">Although the fund seeks 
to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_RiskMoneyMarketFundPriceFluctuatesMember_S000000112Summary2Member"
      id="ixv-48992">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.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_Interestraterisk_S000000112Summary2Member"
      id="ixv-3194">&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;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;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_Liquidityrisk_S000000112Summary2Member"
      id="ixv-3202">&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;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;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_USTreasurysecuritiesrisk_S000000112Summary2Member"
      id="ixv-3209">&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;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;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_Repurchaseagreementcounterpartyrisk_S000000112Summary2Member"
      id="ixv-3215">&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;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;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_Marketrisk_S000000112Summary2Member"
      id="ixv-3221">&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; Events such as war, acts of terrorism, the spread of infectious illness or 
other public health issue, recessions, or other events could have a significant impact on the fund and 
its investments.  Recent examples include pandemic risks related to COVID-19 and aggressive measures 
taken world-wide in response by governments, including closing borders, restricting international and 
domestic travel, and the imposition of prolonged quarantines of large populations, and by businesses, 
including changes to operations and reducing staff.  &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:BarChartAndPerformanceTableHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary2Member"
      id="ixv-48993">Performance</rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary2Member"
      id="ixv-3230">&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 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 www.dreyfus.com.&lt;/p&gt;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary2Member"
      id="ixv-48994">The following bar chart and table provide some indication of the risks of investing 
in the fund.</rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary2Member"
      id="ixv-48995">The fund's past performance is not necessarily an indication of how the fund will perform in the 
future.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary2Member"
      id="ixv-48996">www.dreyfus.com</rr:PerformanceAvailabilityWebSiteAddress>
    <rr:BarChartHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary2Member"
      id="ixv-48997">Year-by-Year 
Total Returns&#x2005;as of 12/31 each year (%)</rr:BarChartHeading>
    <rr:BarChartClosingTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary2Member"
      id="ixv-3253">&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.32&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 March 31, 2025 was 1.05%.  &lt;/p&gt;</rr:BarChartClosingTextBlock>
    <rr:HighestQuarterlyReturnLabel
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      id="ixv-48998">Best Quarter</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      id="ixv-48999">2023-12-31</rr:BarChartHighestQuarterlyReturnDate>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      decimals="INF"
      id="ixv-49000"
      unitRef="pure">0.0132</rr:BarChartHighestQuarterlyReturn>
    <rr:LowestQuarterlyReturnLabel
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      id="ixv-49001">Worst Quarter</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      id="ixv-49002">2021-12-31</rr:BarChartLowestQuarterlyReturnDate>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      decimals="INF"
      id="ixv-49003"
      unitRef="pure">0.0000</rr:BarChartLowestQuarterlyReturn>
    <rr:YearToDateReturnLabel
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      id="ixv-49004">The year-to-date total return of the fund's 
Institutional shares as of</rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturnDate
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      id="ixv-49005">2025-03-31</rr:BarChartYearToDateReturnDate>
    <rr:BarChartYearToDateReturn
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      decimals="INF"
      id="ixv-49006"
      unitRef="pure">0.0105</rr:BarChartYearToDateReturn>
    <rr:AverageAnnualReturnCaption
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary2Member"
      id="ixv-49007">Average 
Annual Total Returns as of 12/31/24</rr:AverageAnnualReturnCaption>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      decimals="INF"
      id="ixv-49008"
      unitRef="pure">0.0515</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      decimals="INF"
      id="ixv-49009"
      unitRef="pure">0.0239</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      decimals="INF"
      id="ixv-49010"
      unitRef="pure">0.0167</rr:AverageAnnualReturnYear10>
    <rr:PerformanceTableClosingTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary2Member"
      id="ixv-3298">&lt;p style="font-size:2.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; margin-left:4.3pt; font-style:italic;"&gt;&lt;span style="font-size:9.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt;For 
the current yield for Institutional shares, call toll-free 1-800-373-9387 (inside the U.S. only).  Individuals 
or entities for whom institutions may purchase or redeem shares should call the institution directly.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceTableClosingTextBlock>
    <rr:MoneyMarketSevenDayYieldPhone
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary2Member"
      id="ixv-49011">1-800-373-9387</rr:MoneyMarketSevenDayYieldPhone>
    <dei:TradingSymbol
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      id="ixv-49012">DTVXX</dei:TradingSymbol>
    <rr:RiskReturnHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary3Member"
      id="ixv-49013">Fund 
Summary</rr:RiskReturnHeading>
    <rr:ObjectiveHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary3Member"
      id="ixv-49014">Investment Objective</rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary3Member"
      id="ixv-49015">The fund seeks as high a level of current income as is consistent with the preservation 
of capital and the maintenance of liquidity.</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary3Member"
      id="ixv-49016">Fees and 
Expenses</rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary3Member"
      id="ixv-5345">&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;</rr:ExpenseNarrativeTextBlock>
    <rr:OperatingExpensesCaption
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary3Member"
      id="ixv-49017">Annual Fund Operating Expenses (expenses 
that you pay each year as a percentage of the value of your investment)</rr:OperatingExpensesCaption>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      decimals="INF"
      id="ixv-49018"
      unitRef="pure">0.0020</rr:ManagementFeesOverAssets>
    <rr:Component2OtherExpensesOverAssets
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      decimals="INF"
      id="ixv-49019"
      unitRef="pure">0.0025</rr:Component2OtherExpensesOverAssets>
    <rr:Component3OtherExpensesOverAssets
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      decimals="INF"
      id="_186_"
      unitRef="pure">0.0000</rr:Component3OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      decimals="INF"
      id="ixv-49021"
      unitRef="pure">0.0025</rr:OtherExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      decimals="INF"
      id="ixv-49022"
      unitRef="pure">0.0045</rr:ExpensesOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      decimals="INF"
      id="_189_"
      unitRef="pure">-0.0003</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      decimals="INF"
      id="ixv-49024"
      unitRef="pure">0.0042</rr:NetExpensesOverAssets>
    <rr:ExpenseExampleHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary3Member"
      id="ixv-49025">Example</rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary3Member"
      id="ixv-5430">&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 one-year example and the first year of the three-, five- and ten-years 
examples are 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;</rr:ExpenseExampleNarrativeTextBlock>
    <rr:ExpenseExampleYear01
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      decimals="INF"
      id="ixv-49026"
      unitRef="usd">43</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      decimals="INF"
      id="ixv-49027"
      unitRef="usd">141</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      decimals="INF"
      id="ixv-49028"
      unitRef="usd">249</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      decimals="INF"
      id="ixv-49029"
      unitRef="usd">564</rr:ExpenseExampleYear10>
    <rr:StrategyHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary3Member"
      id="ixv-49030">Principal 
Investment Strategy</rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary3Member"
      id="ixv-5463">&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="-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 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="-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;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 invests in U.S. Treasury securities and 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 issuer's, guarantor's or counterparty's credit quality and capacity to meet its financial 
obligations, among other factors.  As part of this assessment, to the extent relevant information is 
available, Dreyfus also evaluates whether environmental, social and governance (ESG) factors could have 
a positive, negative or neutral impact on the entity's financial condition (including cash flows, revenues, 
and short-term debt coverage) and competitive positioning or reputation within the relevant sector.  
The relevance and significance of these ESG factors to an entity's financial condition, competitive positioning 
or reputation vary and are dependent on the specific sector in which an issuer, guarantor or counterparty 
operates.  &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;With respect to counterparties to repurchase 
agreements, relevant ESG considerations may include carbon financing and exposure, privacy and data security, 
responsible investments, corporate governance, business ethics, and financial system stability.&lt;/p&gt;&lt;span style="-sec-ix-redline:true;"&gt;&#160;&lt;/span&gt;</rr:StrategyNarrativeTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_PrincipalRisks_S000000112Summary3Member"
      id="ixv-5474">&lt;div style="border-bottom:0.25pt; border-bottom-style:solid; border-bottom-color:#000000; padding:0pt 0pt 1pt 0pt;"&gt;&lt;div style="font-size:12.0pt; font-family:Arial; text-align:left; color:#000000; font-weight:bold;"&gt;&lt;span style="font-size:12.0pt; font-family:Arial; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Principal 
Risks&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style="-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 following are the principal risks that could 
reduce the fund's income level and/or share price:&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary3Member"
      id="ixv-49031">Principal 
Risks</rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_RiskNotInsuredMember_S000000112Summary3Member"
      id="ixv-49032">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.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_RiskLoseMoneyMember_S000000112Summary3Member"
      id="ixv-49033">  You could lose money by investing in the fund.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_RiskMoneyMarketFundMayNotPreserveDollarMember_S000000112Summary3Member"
      id="ixv-49034">Although the fund seeks 
to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_RiskMoneyMarketFundPriceFluctuatesMember_S000000112Summary3Member"
      id="ixv-49035">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.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_Interestraterisk_S000000112Summary3Member"
      id="ixv-5479">&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;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;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_Liquidityrisk_S000000112Summary3Member"
      id="ixv-5487">&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;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;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_USTreasurysecuritiesrisk_S000000112Summary3Member"
      id="ixv-5494">&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;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;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_Repurchaseagreementcounterpartyrisk_S000000112Summary3Member"
      id="ixv-5500">&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;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;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_Marketrisk_S000000112Summary3Member"
      id="ixv-5506">&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; Events such as war, acts of terrorism, the spread of infectious illness or 
other public health issue, recessions, or other events could have a significant impact on the fund and 
its investments.  Recent examples include pandemic risks related to COVID-19 and aggressive measures 
taken world-wide in response by governments, including closing borders, restricting international and 
domestic travel, and the imposition of prolonged quarantines of large populations, and by businesses, 
including changes to operations and reducing staff.  &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:BarChartAndPerformanceTableHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary3Member"
      id="ixv-49036">Performance</rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary3Member"
      id="ixv-5515">&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 Investor shares from year 
to year.  The table shows the average annual total returns of the fund's Investor 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;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary3Member"
      id="ixv-49037">The following bar chart and table provide some indication of the risks of investing 
in the fund.</rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary3Member"
      id="ixv-49038">The fund's past performance is not necessarily an indication of how the fund will perform in the future.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary3Member"
      id="ixv-49039">www.dreyfus.com</rr:PerformanceAvailabilityWebSiteAddress>
    <rr:BarChartHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary3Member"
      id="ixv-49040">Year-by-Year 
Total Returns&#x2005;as of 12/31 each year (%)</rr:BarChartHeading>
    <rr:BarChartClosingTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary3Member"
      id="ixv-5538">&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.26&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;2022, Q1: 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 
Investor shares as of March 31, 2025 was 0.99%.  &lt;/p&gt;</rr:BarChartClosingTextBlock>
    <rr:HighestQuarterlyReturnLabel
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      id="ixv-49041">Best Quarter</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      id="ixv-49042">2023-12-31</rr:BarChartHighestQuarterlyReturnDate>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      decimals="INF"
      id="ixv-49043"
      unitRef="pure">0.0126</rr:BarChartHighestQuarterlyReturn>
    <rr:LowestQuarterlyReturnLabel
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      id="ixv-49044">Worst Quarter</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      id="ixv-49045">2022-03-31</rr:BarChartLowestQuarterlyReturnDate>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      decimals="INF"
      id="ixv-49046"
      unitRef="pure">0.0000</rr:BarChartLowestQuarterlyReturn>
    <rr:YearToDateReturnLabel
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      id="ixv-49047">The year-to-date total return of the fund's 
Investor shares as of</rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturnDate
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      id="ixv-49048">2025-03-31</rr:BarChartYearToDateReturnDate>
    <rr:BarChartYearToDateReturn
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      decimals="INF"
      id="ixv-49049"
      unitRef="pure">0.0099</rr:BarChartYearToDateReturn>
    <rr:AverageAnnualReturnCaption
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary3Member"
      id="ixv-49050">Average 
Annual Total Returns&#160;as of 12/31/24</rr:AverageAnnualReturnCaption>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      decimals="INF"
      id="ixv-49051"
      unitRef="pure">0.0489</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      decimals="INF"
      id="ixv-49052"
      unitRef="pure">0.0223</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      decimals="INF"
      id="ixv-49053"
      unitRef="pure">0.0149</rr:AverageAnnualReturnYear10>
    <rr:PerformanceTableClosingTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary3Member"
      id="ixv-5585">&lt;p style="font-size:9.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; margin-left:4.3pt; text-decoration:none; font-style:italic;"&gt;For 
the current yield for Investor shares, call toll-free 1-800-373-9387 (inside the U.S. only).  Individuals 
or entities for whom institutions may purchase or redeem shares should call the institution directly.&lt;/p&gt;</rr:PerformanceTableClosingTextBlock>
    <rr:MoneyMarketSevenDayYieldPhone
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary3Member"
      id="ixv-49054">1-800-373-9387</rr:MoneyMarketSevenDayYieldPhone>
    <dei:TradingSymbol
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      id="ixv-49055">DTPXX</dei:TradingSymbol>
    <rr:RiskReturnHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary4Member"
      id="ixv-49056">Fund 
Summary</rr:RiskReturnHeading>
    <rr:ObjectiveHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary4Member"
      id="ixv-49057">Investment Objective</rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary4Member"
      id="ixv-49058">The 
fund seeks as high a level of current income as is consistent with the preservation of capital and the 
maintenance of liquidity.</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary4Member"
      id="ixv-49059">Fees and Expenses</rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary4Member"
      id="ixv-7639">&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;</rr:ExpenseNarrativeTextBlock>
    <rr:OperatingExpensesCaption
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary4Member"
      id="ixv-49060">Annual 
Fund Operating Expenses (expenses that you pay each year as a percentage 
of the value of your investment)</rr:OperatingExpensesCaption>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      decimals="INF"
      id="ixv-49061"
      unitRef="pure">0.0020</rr:ManagementFeesOverAssets>
    <rr:Component1OtherExpensesOverAssets
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      decimals="INF"
      id="ixv-49062"
      unitRef="pure">0.0015</rr:Component1OtherExpensesOverAssets>
    <rr:Component2OtherExpensesOverAssets
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      decimals="INF"
      id="ixv-49063"
      unitRef="pure">0.0025</rr:Component2OtherExpensesOverAssets>
    <rr:Component3OtherExpensesOverAssets
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      decimals="INF"
      id="_269_"
      unitRef="pure">0.0000</rr:Component3OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      decimals="INF"
      id="ixv-49065"
      unitRef="pure">0.0040</rr:OtherExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      decimals="INF"
      id="ixv-49066"
      unitRef="pure">0.0060</rr:ExpensesOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      decimals="INF"
      id="_272_"
      unitRef="pure">-0.0003</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      decimals="INF"
      id="ixv-49068"
      unitRef="pure">0.0057</rr:NetExpensesOverAssets>
    <rr:ExpenseExampleHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary4Member"
      id="ixv-49069">Example</rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary4Member"
      id="ixv-7722">&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 one-year example and the first year of the three-, five- and ten-years examples are 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;</rr:ExpenseExampleNarrativeTextBlock>
    <rr:ExpenseExampleYear01
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      decimals="INF"
      id="ixv-49070"
      unitRef="usd">58</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      decimals="INF"
      id="ixv-49071"
      unitRef="usd">189</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      decimals="INF"
      id="ixv-49072"
      unitRef="usd">332</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      decimals="INF"
      id="ixv-49073"
      unitRef="usd">747</rr:ExpenseExampleYear10>
    <rr:StrategyHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary4Member"
      id="ixv-49074">Principal Investment Strategy</rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary4Member"
      id="ixv-7755">&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 invests in U.S. Treasury securities and 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 issuer's, guarantor's or counterparty's credit quality and capacity to meet its financial 
obligations, among other factors.&lt;/p&gt;</rr:StrategyNarrativeTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_PrincipalRisks_S000000112Summary4Member"
      id="ixv-7764">&lt;div style="border-bottom:0.25pt; border-bottom-style:solid; border-bottom-color:#000000; padding:0pt 0pt 1pt 0pt;"&gt;&lt;div style="font-size:12.0pt; font-family:Arial; text-align:left; color:#000000; font-weight:bold;"&gt;&lt;span style="font-size:12.0pt; font-family:Arial; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Principal Risks&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style="-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 following are the principal risks that could reduce the fund's income level and/or 
share price:&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary4Member"
      id="ixv-49075">Principal Risks</rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_RiskNotInsuredMember_S000000112Summary4Member"
      id="ixv-49076">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.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_RiskLoseMoneyMember_S000000112Summary4Member"
      id="ixv-49077"> 
 You could lose money by investing in the fund.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_RiskMoneyMarketFundMayNotPreserveDollarMember_S000000112Summary4Member"
      id="ixv-49078">Although the fund seeks to preserve the value of your 
investment at $1.00 per share, it cannot guarantee it will do so.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_RiskMoneyMarketFundPriceFluctuatesMember_S000000112Summary4Member"
      id="ixv-49079">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.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_Interestraterisk_S000000112Summary4Member"
      id="ixv-7769">&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;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;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_Liquidityrisk_S000000112Summary4Member"
      id="ixv-7777">&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;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;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_USTreasurysecuritiesrisk_S000000112Summary4Member"
      id="ixv-7784">&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;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;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_Repurchaseagreementcounterpartyrisk_S000000112Summary4Member"
      id="ixv-7790">&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;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;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_Marketrisk_S000000112Summary4Member"
      id="ixv-7796">&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; Events such as war, acts of terrorism, the spread of infectious illness or 
other public health issue, recessions, or other events could have a significant impact on the fund and 
its investments.  Recent examples include pandemic risks related to COVID-19 and aggressive measures 
taken world-wide in response by governments, including closing borders, restricting international and 
domestic travel, and the imposition of prolonged quarantines of large populations, and by businesses, 
including changes to operations and reducing staff.  &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:BarChartAndPerformanceTableHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary4Member"
      id="ixv-49080">Performance</rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary4Member"
      id="ixv-7805">&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 Participant shares from year 
to year.  The table shows the average annual total returns of the fund's Participant 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;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary4Member"
      id="ixv-49081">The following bar chart and table provide some indication of the risks of investing 
in the fund.</rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary4Member"
      id="ixv-49082">The fund's past performance is not necessarily an indication of how the fund will perform in the future.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary4Member"
      id="ixv-49083">www.dreyfus.com</rr:PerformanceAvailabilityWebSiteAddress>
    <rr:BarChartHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary4Member"
      id="ixv-49084">Year-by-Year 
Total Returns&#x2005;as of 12/31 each year (%)</rr:BarChartHeading>
    <rr:BarChartClosingTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary4Member"
      id="ixv-7828">&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.22&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;2022, Q1: 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 
Participant shares as of March 31, 2025 was 0.95%.&lt;/p&gt;</rr:BarChartClosingTextBlock>
    <rr:HighestQuarterlyReturnLabel
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      id="ixv-49085">Best Quarter</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      id="ixv-49086">2023-12-31</rr:BarChartHighestQuarterlyReturnDate>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      decimals="INF"
      id="ixv-49087"
      unitRef="pure">0.0122</rr:BarChartHighestQuarterlyReturn>
    <rr:LowestQuarterlyReturnLabel
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      id="ixv-49088">Worst Quarter</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      id="ixv-49089">2022-03-31</rr:BarChartLowestQuarterlyReturnDate>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      decimals="INF"
      id="ixv-49090"
      unitRef="pure">0.0000</rr:BarChartLowestQuarterlyReturn>
    <rr:YearToDateReturnLabel
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      id="ixv-49091">The year-to-date total return of the fund's 
Participant shares as of</rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturnDate
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      id="ixv-49092">2025-03-31</rr:BarChartYearToDateReturnDate>
    <rr:BarChartYearToDateReturn
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      decimals="INF"
      id="ixv-49093"
      unitRef="pure">0.0095</rr:BarChartYearToDateReturn>
    <rr:AverageAnnualReturnCaption
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary4Member"
      id="ixv-49094">Average 
Annual Total Returns as of 12/31/24</rr:AverageAnnualReturnCaption>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      decimals="INF"
      id="ixv-49095"
      unitRef="pure">0.0473</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      decimals="INF"
      id="ixv-49096"
      unitRef="pure">0.0215</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      decimals="INF"
      id="ixv-49097"
      unitRef="pure">0.0140</rr:AverageAnnualReturnYear10>
    <rr:PerformanceTableClosingTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary4Member"
      id="ixv-49098">For 
the current yield for Participant shares, call toll-free 1-800-373-9387 (inside the U.S. only).  Individuals 
or entities for whom institutions may purchase or redeem shares should call the institution directly.</rr:PerformanceTableClosingTextBlock>
    <rr:MoneyMarketSevenDayYieldPhone
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary4Member"
      id="ixv-49099">1-800-373-9387</rr:MoneyMarketSevenDayYieldPhone>
    <dei:TradingSymbol
      contextRef="Context_20250131_20250131_C000223303Member_S000000112Member_S000000112Summary5Member"
      id="ixv-49100">DTNXX</dei:TradingSymbol>
    <rr:RiskReturnHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary5Member"
      id="ixv-49101">Fund 
Summary</rr:RiskReturnHeading>
    <rr:ObjectiveHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary5Member"
      id="ixv-49102">Investment Objective</rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary5Member"
      id="ixv-49103">The 
fund seeks as high a level of current income as is consistent with the preservation of capital and the 
maintenance of liquidity.</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary5Member"
      id="ixv-49104">Fees and Expenses</rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary5Member"
      id="ixv-9651">&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;</rr:ExpenseNarrativeTextBlock>
    <rr:OperatingExpensesCaption
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary5Member"
      id="ixv-49105">Annual 
Fund Operating Expenses (expenses that you pay each year as a percentage of the value 
of your investment)</rr:OperatingExpensesCaption>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20250131_20250131_C000223303Member_S000000112Member_S000000112Summary5Member"
      decimals="INF"
      id="ixv-49106"
      unitRef="pure">0.0020</rr:ManagementFeesOverAssets>
    <rr:Component1OtherExpensesOverAssets
      contextRef="Context_20250131_20250131_C000223303Member_S000000112Member_S000000112Summary5Member"
      decimals="INF"
      id="ixv-49107"
      unitRef="pure">0.0055</rr:Component1OtherExpensesOverAssets>
    <rr:Component2OtherExpensesOverAssets
      contextRef="Context_20250131_20250131_C000223303Member_S000000112Member_S000000112Summary5Member"
      decimals="INF"
      id="ixv-49108"
      unitRef="pure">0.0025</rr:Component2OtherExpensesOverAssets>
    <rr:Component3OtherExpensesOverAssets
      contextRef="Context_20250131_20250131_C000223303Member_S000000112Member_S000000112Summary5Member"
      decimals="INF"
      id="ixv-49109"
      unitRef="pure">0.0001</rr:Component3OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20250131_20250131_C000223303Member_S000000112Member_S000000112Summary5Member"
      decimals="INF"
      id="ixv-49110"
      unitRef="pure">0.0081</rr:OtherExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20250131_20250131_C000223303Member_S000000112Member_S000000112Summary5Member"
      decimals="INF"
      id="ixv-49111"
      unitRef="pure">0.0101</rr:ExpensesOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20250131_20250131_C000223303Member_S000000112Member_S000000112Summary5Member"
      decimals="INF"
      id="_355_"
      unitRef="pure">-0.0003</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20250131_20250131_C000223303Member_S000000112Member_S000000112Summary5Member"
      decimals="INF"
      id="ixv-49113"
      unitRef="pure">0.0098</rr:NetExpensesOverAssets>
    <rr:ExpenseExampleHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary5Member"
      id="ixv-49114">Example</rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary5Member"
      id="ixv-9728">&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 
one-year example and the first year of the three-, five- and ten-years examples are 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;</rr:ExpenseExampleNarrativeTextBlock>
    <rr:ExpenseExampleYear01
      contextRef="Context_20250131_20250131_C000223303Member_S000000112Member_S000000112Summary5Member"
      decimals="INF"
      id="ixv-49115"
      unitRef="usd">100</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20250131_20250131_C000223303Member_S000000112Member_S000000112Summary5Member"
      decimals="INF"
      id="ixv-49116"
      unitRef="usd">319</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20250131_20250131_C000223303Member_S000000112Member_S000000112Summary5Member"
      decimals="INF"
      id="ixv-49117"
      unitRef="usd">555</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20250131_20250131_C000223303Member_S000000112Member_S000000112Summary5Member"
      decimals="INF"
      id="ixv-49118"
      unitRef="usd">1234</rr:ExpenseExampleYear10>
    <rr:StrategyHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary5Member"
      id="ixv-49119">Principal Investment Strategy</rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary5Member"
      id="ixv-9761">&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 invests in U.S. Treasury securities and 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 issuer's, guarantor's or counterparty's credit quality and capacity to meet its financial 
obligations, among other factors.&lt;/p&gt;</rr:StrategyNarrativeTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_PrincipalRisks_S000000112Summary5Member"
      id="ixv-9770">&lt;div style="border-bottom:0.25pt; border-bottom-style:solid; border-bottom-color:#000000; padding:0pt 0pt 1pt 0pt;"&gt;&lt;div style="font-size:12.0pt; font-family:Arial; text-align:left; color:#000000; font-weight:bold;"&gt;&lt;span style="font-size:12.0pt; font-family:Arial; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Principal Risks&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style="-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 following are the principal risks that could reduce the fund's income level and/or 
share price:&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary5Member"
      id="ixv-49120">Principal Risks</rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_RiskNotInsuredMember_S000000112Summary5Member"
      id="ixv-49121">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.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_RiskLoseMoneyMember_S000000112Summary5Member"
      id="ixv-49122"> 
 You could lose money by investing in the fund.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_RiskMoneyMarketFundMayNotPreserveDollarMember_S000000112Summary5Member"
      id="ixv-49123">Although the fund seeks to preserve the value of your 
investment at $1.00 per share, it cannot guarantee it will do so.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_RiskMoneyMarketFundPriceFluctuatesMember_S000000112Summary5Member"
      id="ixv-49124">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.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_Interestraterisk_S000000112Summary5Member"
      id="ixv-9775">&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;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;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_Liquidityrisk_S000000112Summary5Member"
      id="ixv-9783">&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;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;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_USTreasurysecuritiesrisk_S000000112Summary5Member"
      id="ixv-9790">&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;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;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_Repurchaseagreementcounterpartyrisk_S000000112Summary5Member"
      id="ixv-9796">&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;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;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_Marketrisk_S000000112Summary5Member"
      id="ixv-9802">&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; Events such as war, acts of terrorism, the spread of infectious illness or 
other public health issue, recessions, or other events could have a significant impact on the fund and 
its investments.  Recent examples include pandemic risks related to COVID-19 and aggressive measures 
taken world-wide in response by governments, including closing borders, restricting international and 
domestic travel, and the imposition of prolonged quarantines of large populations, and by businesses, 
including changes to operations and reducing staff.  &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:BarChartAndPerformanceTableHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary5Member"
      id="ixv-49125">Performance</rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary5Member"
      id="ixv-9811">&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 Service shares from year to 
year.  The table shows the average annual total returns of the fund's Service 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;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary5Member"
      id="ixv-49126">The following bar chart and table provide some indication of the risks of investing 
in the fund.</rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary5Member"
      id="ixv-49127">The 
fund's past performance is not necessarily an indication of how the fund will perform in the future.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary5Member"
      id="ixv-49128">www.dreyfus.com</rr:PerformanceAvailabilityWebSiteAddress>
    <rr:BarChartHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary5Member"
      id="ixv-49129">Year-by-Year 
Total Returns&#x2005;as of 12/31 each year (%)</rr:BarChartHeading>
    <rr:BarChartClosingTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary5Member"
      id="ixv-9834">&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.12&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;2022, Q1: 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 Service shares 
as of March 31, 2025 was 0.85%.&lt;/p&gt;</rr:BarChartClosingTextBlock>
    <rr:HighestQuarterlyReturnLabel
      contextRef="Context_20250131_20250131_C000223303Member_S000000112Member_S000000112Summary5Member"
      id="ixv-49130">Best Quarter</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20250131_20250131_C000223303Member_S000000112Member_S000000112Summary5Member"
      id="ixv-49131">2023-12-31</rr:BarChartHighestQuarterlyReturnDate>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="Context_20250131_20250131_C000223303Member_S000000112Member_S000000112Summary5Member"
      decimals="INF"
      id="ixv-49132"
      unitRef="pure">0.0112</rr:BarChartHighestQuarterlyReturn>
    <rr:LowestQuarterlyReturnLabel
      contextRef="Context_20250131_20250131_C000223303Member_S000000112Member_S000000112Summary5Member"
      id="ixv-49133">Worst 
Quarter</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20250131_20250131_C000223303Member_S000000112Member_S000000112Summary5Member"
      id="ixv-49134">2022-03-31</rr:BarChartLowestQuarterlyReturnDate>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="Context_20250131_20250131_C000223303Member_S000000112Member_S000000112Summary5Member"
      decimals="INF"
      id="ixv-49135"
      unitRef="pure">0.0000</rr:BarChartLowestQuarterlyReturn>
    <rr:YearToDateReturnLabel
      contextRef="Context_20250131_20250131_C000223303Member_S000000112Member_S000000112Summary5Member"
      id="ixv-49136">The year-to-date total return of the fund's Service shares 
as of</rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturnDate
      contextRef="Context_20250131_20250131_C000223303Member_S000000112Member_S000000112Summary5Member"
      id="ixv-49137">2025-03-31</rr:BarChartYearToDateReturnDate>
    <rr:BarChartYearToDateReturn
      contextRef="Context_20250131_20250131_C000223303Member_S000000112Member_S000000112Summary5Member"
      decimals="INF"
      id="ixv-49138"
      unitRef="pure">0.0085</rr:BarChartYearToDateReturn>
    <rr:AverageAnnualReturnCaption
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary5Member"
      id="ixv-49139">Average 
Annual Total Returns as of 12/31/24</rr:AverageAnnualReturnCaption>
    <rr:AverageAnnualReturnInceptionDate
      contextRef="Context_20201116_20250131_C000223303Member_S000000112Member_S000000112Summary5Member"
      id="ixv-49140">2020-11-16</rr:AverageAnnualReturnInceptionDate>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20250131_20250131_C000223303Member_S000000112Member_S000000112Summary5Member"
      decimals="INF"
      id="ixv-49141"
      unitRef="pure">0.0432</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnSinceInception
      contextRef="Context_20201116_20250131_C000223303Member_S000000112Member_S000000112Summary5Member"
      decimals="INF"
      id="ixv-49142"
      unitRef="pure">0.0230</rr:AverageAnnualReturnSinceInception>
    <rr:PerformanceTableClosingTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary5Member"
      id="ixv-9875">&lt;p style="font-size:9.0pt; font-family:Serif; text-align:left; color:#000000; text-indent:-0.2pt; font-weight:normal; margin-left:4.5pt; text-decoration:none; font-style:italic;"&gt;For the current yield for Service shares, 
call toll-free 1-800-373-9387 (inside the U.S. only).&lt;/p&gt;</rr:PerformanceTableClosingTextBlock>
    <rr:MoneyMarketSevenDayYieldPhone
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary5Member"
      id="ixv-49143">1-800-373-9387</rr:MoneyMarketSevenDayYieldPhone>
    <dei:TradingSymbol
      contextRef="Context_20250131_20250131_C000223304Member_S000000112Member_S000000112Summary6Member"
      id="ixv-49144">DTKXX</dei:TradingSymbol>
    <rr:RiskReturnHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary6Member"
      id="ixv-49145">Fund 
Summary</rr:RiskReturnHeading>
    <rr:ObjectiveHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary6Member"
      id="ixv-49146">Investment Objective</rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary6Member"
      id="ixv-49147">The 
fund seeks as high a level of current income as is consistent with the preservation of capital and the 
maintenance of liquidity.</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary6Member"
      id="ixv-49148">Fees and Expenses</rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary6Member"
      id="ixv-11644">&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;</rr:ExpenseNarrativeTextBlock>
    <rr:OperatingExpensesCaption
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary6Member"
      id="ixv-49149">Annual 
Fund Operating Expenses (expenses that you pay each year as a percentage of the value 
of your investment)</rr:OperatingExpensesCaption>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20250131_20250131_C000223304Member_S000000112Member_S000000112Summary6Member"
      decimals="INF"
      id="ixv-49151"
      unitRef="pure">0.0020</rr:ManagementFeesOverAssets>
    <rr:Component2OtherExpensesOverAssets
      contextRef="Context_20250131_20250131_C000223304Member_S000000112Member_S000000112Summary6Member"
      decimals="INF"
      id="ixv-49152"
      unitRef="pure">0.0025</rr:Component2OtherExpensesOverAssets>
    <rr:Component3OtherExpensesOverAssets
      contextRef="Context_20250131_20250131_C000223304Member_S000000112Member_S000000112Summary6Member"
      decimals="INF"
      id="ixv-49153"
      unitRef="pure">0.0001</rr:Component3OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20250131_20250131_C000223304Member_S000000112Member_S000000112Summary6Member"
      decimals="INF"
      id="ixv-49154"
      unitRef="pure">0.0026</rr:OtherExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20250131_20250131_C000223304Member_S000000112Member_S000000112Summary6Member"
      decimals="INF"
      id="ixv-49155"
      unitRef="pure">0.0046</rr:ExpensesOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20250131_20250131_C000223304Member_S000000112Member_S000000112Summary6Member"
      decimals="INF"
      id="_431_"
      unitRef="pure">-0.0003</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20250131_20250131_C000223304Member_S000000112Member_S000000112Summary6Member"
      decimals="INF"
      id="ixv-49157"
      unitRef="pure">0.0043</rr:NetExpensesOverAssets>
    <rr:ExpenseExampleHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary6Member"
      id="ixv-49158">Example</rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary6Member"
      id="ixv-11712">&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 one-year example and the first year of the three-, five- and ten-years examples are 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;</rr:ExpenseExampleNarrativeTextBlock>
    <rr:ExpenseExampleYear01
      contextRef="Context_20250131_20250131_C000223304Member_S000000112Member_S000000112Summary6Member"
      decimals="INF"
      id="ixv-49159"
      unitRef="usd">44</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20250131_20250131_C000223304Member_S000000112Member_S000000112Summary6Member"
      decimals="INF"
      id="ixv-49160"
      unitRef="usd">145</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20250131_20250131_C000223304Member_S000000112Member_S000000112Summary6Member"
      decimals="INF"
      id="ixv-49161"
      unitRef="usd">255</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20250131_20250131_C000223304Member_S000000112Member_S000000112Summary6Member"
      decimals="INF"
      id="ixv-49162"
      unitRef="usd">576</rr:ExpenseExampleYear10>
    <rr:StrategyHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary6Member"
      id="ixv-49163">Principal Investment Strategy</rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary6Member"
      id="ixv-11745">&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 invests in U.S. Treasury securities and 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 issuer's, guarantor's or 
counterparty's credit quality and capacity to meet its financial obligations, among other factors.  &lt;/p&gt;</rr:StrategyNarrativeTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_PrincipalRisks_S000000112Summary6Member"
      id="ixv-11753">&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 following 
are the principal risks that could reduce the fund's income level and/or share price:&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary6Member"
      id="ixv-49164">Principal Risks</rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_RiskNotInsuredMember_S000000112Summary6Member"
      id="ixv-49165">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.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_RiskLoseMoneyMember_S000000112Summary6Member"
      id="ixv-49166">  You could lose money by 
investing in the fund.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_RiskMoneyMarketFundMayNotPreserveDollarMember_S000000112Summary6Member"
      id="ixv-49167">Although the fund seeks to preserve the value of your investment at $1.00 per 
share, it cannot guarantee it will do so.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_RiskMoneyMarketFundPriceFluctuatesMember_S000000112Summary6Member"
      id="ixv-49168">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.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_Interestraterisk_S000000112Summary6Member"
      id="ixv-11758">&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;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;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_Liquidityrisk_S000000112Summary6Member"
      id="ixv-11766">&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;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;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_USTreasurysecuritiesrisk_S000000112Summary6Member"
      id="ixv-11773">&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;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;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_Repurchaseagreementcounterpartyrisk_S000000112Summary6Member"
      id="ixv-11779">&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;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;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_Marketrisk_S000000112Summary6Member"
      id="ixv-11785">&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; Events such as war, acts of terrorism, the spread of infectious illness or 
other public health issue, recessions, or other events could have a significant impact on the fund and 
its investments.  Recent examples include pandemic risks related to COVID-19 and aggressive measures 
taken world-wide in response by governments, including closing borders, restricting international and 
domestic travel, and the imposition of prolonged quarantines of large populations, and by businesses, 
including changes to operations and reducing staff.  &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:BarChartAndPerformanceTableHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary6Member"
      id="ixv-49169">Performance</rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary6Member"
      id="ixv-11794">&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 Wealth shares from year to 
year.  The table shows the average annual total returns of the fund's Wealth 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;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary6Member"
      id="ixv-49170">The following bar chart and table provide some indication of the risks of investing 
in the fund.</rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary6Member"
      id="ixv-49171">The fund's 
past performance is not necessarily an indication of how the fund will perform in the future.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary6Member"
      id="ixv-49172">www.dreyfus.com</rr:PerformanceAvailabilityWebSiteAddress>
    <rr:BarChartHeading
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary6Member"
      id="ixv-49173">Year-by-Year Total Returns&#x2005;as of 12/31 each year 
(%)</rr:BarChartHeading>
    <rr:BarChartClosingTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary6Member"
      id="ixv-11814">&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.26&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;2022, Q1: 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 
Wealth shares as of March 31, 2025 was 0.99%.&lt;/p&gt;</rr:BarChartClosingTextBlock>
    <rr:HighestQuarterlyReturnLabel
      contextRef="Context_20250131_20250131_C000223304Member_S000000112Member_S000000112Summary6Member"
      id="ixv-49174">Best Quarter</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20250131_20250131_C000223304Member_S000000112Member_S000000112Summary6Member"
      id="ixv-49175">2023-12-31</rr:BarChartHighestQuarterlyReturnDate>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="Context_20250131_20250131_C000223304Member_S000000112Member_S000000112Summary6Member"
      decimals="INF"
      id="ixv-49176"
      unitRef="pure">0.0126</rr:BarChartHighestQuarterlyReturn>
    <rr:LowestQuarterlyReturnLabel
      contextRef="Context_20250131_20250131_C000223304Member_S000000112Member_S000000112Summary6Member"
      id="ixv-49177">Worst Quarter</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20250131_20250131_C000223304Member_S000000112Member_S000000112Summary6Member"
      id="ixv-49178">2022-03-31</rr:BarChartLowestQuarterlyReturnDate>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="Context_20250131_20250131_C000223304Member_S000000112Member_S000000112Summary6Member"
      decimals="INF"
      id="ixv-49179"
      unitRef="pure">0.0000</rr:BarChartLowestQuarterlyReturn>
    <rr:YearToDateReturnLabel
      contextRef="Context_20250131_20250131_C000223304Member_S000000112Member_S000000112Summary6Member"
      id="ixv-49180">The year-to-date total return of the fund's 
Wealth shares as of</rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturnDate
      contextRef="Context_20250131_20250131_C000223304Member_S000000112Member_S000000112Summary6Member"
      id="ixv-49181">2025-03-31</rr:BarChartYearToDateReturnDate>
    <rr:BarChartYearToDateReturn
      contextRef="Context_20250131_20250131_C000223304Member_S000000112Member_S000000112Summary6Member"
      decimals="INF"
      id="ixv-49182"
      unitRef="pure">0.0099</rr:BarChartYearToDateReturn>
    <rr:AverageAnnualReturnCaption
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary6Member"
      id="ixv-49183">Average 
Annual Total Returns as of 12/31/24</rr:AverageAnnualReturnCaption>
    <rr:AverageAnnualReturnInceptionDate
      contextRef="Context_20201116_20250131_C000223304Member_S000000112Member_S000000112Summary6Member"
      id="ixv-49184">2020-11-16</rr:AverageAnnualReturnInceptionDate>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20250131_20250131_C000223304Member_S000000112Member_S000000112Summary6Member"
      decimals="INF"
      id="ixv-49185"
      unitRef="pure">0.0489</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnSinceInception
      contextRef="Context_20201116_20250131_C000223304Member_S000000112Member_S000000112Summary6Member"
      decimals="INF"
      id="ixv-49186"
      unitRef="pure">0.0266</rr:AverageAnnualReturnSinceInception>
    <rr:PerformanceTableClosingTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary6Member"
      id="ixv-11858">&lt;p style="font-size:9.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; margin-left:4.3pt; text-decoration:none; font-style:italic;"&gt;For the current yield for Wealth shares, call toll-free 1-800-373-9387 
(inside the U.S. only).&lt;/p&gt;</rr:PerformanceTableClosingTextBlock>
    <rr:MoneyMarketSevenDayYieldPhone
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary6Member"
      id="ixv-49187">1-800-373-9387</rr:MoneyMarketSevenDayYieldPhone>
    <dei:DocumentType contextRef="Context_20250131_20250131" id="ixv-49190">485BPOS</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="Context_20250131_20250131" id="ixv-49191">2025-01-31</dei:DocumentPeriodEndDate>
    <dei:EntityCentralIndexKey contextRef="Context_20250131_20250131" id="ixv-49192">0000796251</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="Context_20250131_20250131" id="ixv-49193">false</dei:AmendmentFlag>
    <dei:DocumentCreationDate contextRef="Context_20250131_20250131" id="ixv-49194">2025-05-29</dei:DocumentCreationDate>
    <rr:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary1Member"
      id="ixv-49195">~ http://www.dreyfus.com/20250131/role/RRSchedule4 ~</rr:AnnualFundOperatingExpensesTableTextBlock>
    <rr:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary1Member"
      id="ixv-49196">~ http://www.dreyfus.com/20250131/role/RRSchedule5 ~</rr:ExpenseExampleWithRedemptionTableTextBlock>
    <rr:BarChartTableTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary1Member"
      id="ixv-49197">~ http://www.dreyfus.com/20250131/role/RRBarChart6 ~</rr:BarChartTableTextBlock>
    <rr:PerformanceTableTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary1Member"
      id="ixv-49198">~ http://www.dreyfus.com/20250131/role/RRSchedule7 ~</rr:PerformanceTableTextBlock>
    <rr:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary2Member"
      id="ixv-49199">~ http://www.dreyfus.com/20250131/role/RRSchedule11 ~</rr:AnnualFundOperatingExpensesTableTextBlock>
    <rr:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary2Member"
      id="ixv-49200">~ http://www.dreyfus.com/20250131/role/RRSchedule12 ~</rr:ExpenseExampleWithRedemptionTableTextBlock>
    <rr:BarChartTableTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary2Member"
      id="ixv-49201">~ http://www.dreyfus.com/20250131/role/RRBarChart13 ~</rr:BarChartTableTextBlock>
    <rr:PerformanceTableTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary2Member"
      id="ixv-49202">~ http://www.dreyfus.com/20250131/role/RRSchedule14 ~</rr:PerformanceTableTextBlock>
    <rr:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary3Member"
      id="ixv-49203">~ http://www.dreyfus.com/20250131/role/RRSchedule18 ~</rr:AnnualFundOperatingExpensesTableTextBlock>
    <rr:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary3Member"
      id="ixv-49204">~ http://www.dreyfus.com/20250131/role/RRSchedule19 ~</rr:ExpenseExampleWithRedemptionTableTextBlock>
    <rr:BarChartTableTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary3Member"
      id="ixv-49205">~ http://www.dreyfus.com/20250131/role/RRBarChart20 ~</rr:BarChartTableTextBlock>
    <rr:PerformanceTableTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary3Member"
      id="ixv-49206">~ http://www.dreyfus.com/20250131/role/RRSchedule21 ~</rr:PerformanceTableTextBlock>
    <rr:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary4Member"
      id="ixv-49207">~ http://www.dreyfus.com/20250131/role/RRSchedule25 ~</rr:AnnualFundOperatingExpensesTableTextBlock>
    <rr:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary4Member"
      id="ixv-49208">~ http://www.dreyfus.com/20250131/role/RRSchedule26 ~</rr:ExpenseExampleWithRedemptionTableTextBlock>
    <rr:BarChartTableTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary4Member"
      id="ixv-49209">~ http://www.dreyfus.com/20250131/role/RRBarChart27 ~</rr:BarChartTableTextBlock>
    <rr:PerformanceTableTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary4Member"
      id="ixv-49210">~ http://www.dreyfus.com/20250131/role/RRSchedule28 ~</rr:PerformanceTableTextBlock>
    <rr:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary5Member"
      id="ixv-49211">~ http://www.dreyfus.com/20250131/role/RRSchedule32 ~</rr:AnnualFundOperatingExpensesTableTextBlock>
    <rr:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary5Member"
      id="ixv-49212">~ http://www.dreyfus.com/20250131/role/RRSchedule33 ~</rr:ExpenseExampleWithRedemptionTableTextBlock>
    <rr:BarChartTableTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary5Member"
      id="ixv-49213">~ http://www.dreyfus.com/20250131/role/RRBarChart34 ~</rr:BarChartTableTextBlock>
    <rr:PerformanceTableTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary5Member"
      id="ixv-49214">~ http://www.dreyfus.com/20250131/role/RRSchedule35 ~</rr:PerformanceTableTextBlock>
    <rr:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary6Member"
      id="ixv-49215">~ http://www.dreyfus.com/20250131/role/RRSchedule39 ~</rr:AnnualFundOperatingExpensesTableTextBlock>
    <rr:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary6Member"
      id="ixv-49216">~ http://www.dreyfus.com/20250131/role/RRSchedule40 ~</rr:ExpenseExampleWithRedemptionTableTextBlock>
    <rr:BarChartTableTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary6Member"
      id="ixv-49217">~ http://www.dreyfus.com/20250131/role/RRBarChart41 ~</rr:BarChartTableTextBlock>
    <rr:PerformanceTableTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary6Member"
      id="ixv-49218">~ http://www.dreyfus.com/20250131/role/RRSchedule42 ~</rr:PerformanceTableTextBlock>
    <rr:AnnualReturn2015
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      decimals="INF"
      id="ixv-49977"
      unitRef="pure">0.0001</rr:AnnualReturn2015>
    <rr:AnnualReturn2016
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      decimals="INF"
      id="ixv-49978"
      unitRef="pure">0.001</rr:AnnualReturn2016>
    <rr:AnnualReturn2017
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      decimals="INF"
      id="ixv-49979"
      unitRef="pure">0.0065</rr:AnnualReturn2017>
    <rr:AnnualReturn2018
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      decimals="INF"
      id="ixv-49980"
      unitRef="pure">0.0162</rr:AnnualReturn2018>
    <rr:AnnualReturn2019
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      decimals="INF"
      id="ixv-49981"
      unitRef="pure">0.0196</rr:AnnualReturn2019>
    <rr:AnnualReturn2020
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      decimals="INF"
      id="ixv-49982"
      unitRef="pure">0.0029</rr:AnnualReturn2020>
    <rr:AnnualReturn2021
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      decimals="INF"
      id="ixv-49983"
      unitRef="pure">0.0002</rr:AnnualReturn2021>
    <rr:AnnualReturn2022
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      decimals="INF"
      id="ixv-49984"
      unitRef="pure">0.0148</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      decimals="INF"
      id="ixv-49985"
      unitRef="pure">0.0492</rr:AnnualReturn2023>
    <rr:AnnualReturn2024
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      decimals="INF"
      id="ixv-49986"
      unitRef="pure">0.0504</rr:AnnualReturn2024>
    <rr:AnnualReturn2015
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      decimals="INF"
      id="ixv-49987"
      unitRef="pure">0.0002</rr:AnnualReturn2015>
    <rr:AnnualReturn2016
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      decimals="INF"
      id="ixv-49988"
      unitRef="pure">0.002</rr:AnnualReturn2016>
    <rr:AnnualReturn2017
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      decimals="INF"
      id="ixv-49989"
      unitRef="pure">0.0075</rr:AnnualReturn2017>
    <rr:AnnualReturn2018
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      decimals="INF"
      id="ixv-49990"
      unitRef="pure">0.0172</rr:AnnualReturn2018>
    <rr:AnnualReturn2019
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      decimals="INF"
      id="ixv-49991"
      unitRef="pure">0.0206</rr:AnnualReturn2019>
    <rr:AnnualReturn2020
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      decimals="INF"
      id="ixv-49992"
      unitRef="pure">0.0034</rr:AnnualReturn2020>
    <rr:AnnualReturn2021
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      decimals="INF"
      id="ixv-49993"
      unitRef="pure">0.0002</rr:AnnualReturn2021>
    <rr:AnnualReturn2022
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      decimals="INF"
      id="ixv-49994"
      unitRef="pure">0.0156</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      decimals="INF"
      id="ixv-49995"
      unitRef="pure">0.0503</rr:AnnualReturn2023>
    <rr:AnnualReturn2024
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      decimals="INF"
      id="ixv-49996"
      unitRef="pure">0.0515</rr:AnnualReturn2024>
    <rr:AnnualReturn2015
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      decimals="INF"
      id="ixv-49997"
      unitRef="pure">0.0001</rr:AnnualReturn2015>
    <rr:AnnualReturn2016
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      decimals="INF"
      id="ixv-49998"
      unitRef="pure">0.0002</rr:AnnualReturn2016>
    <rr:AnnualReturn2017
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      decimals="INF"
      id="ixv-49999"
      unitRef="pure">0.005</rr:AnnualReturn2017>
    <rr:AnnualReturn2018
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      decimals="INF"
      id="ixv-50000"
      unitRef="pure">0.0147</rr:AnnualReturn2018>
    <rr:AnnualReturn2019
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      decimals="INF"
      id="ixv-50001"
      unitRef="pure">0.0181</rr:AnnualReturn2019>
    <rr:AnnualReturn2020
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      decimals="INF"
      id="ixv-50002"
      unitRef="pure">0.0024</rr:AnnualReturn2020>
    <rr:AnnualReturn2021
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      decimals="INF"
      id="ixv-50003"
      unitRef="pure">0.0002</rr:AnnualReturn2021>
    <rr:AnnualReturn2022
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      decimals="INF"
      id="ixv-50004"
      unitRef="pure">0.0137</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      decimals="INF"
      id="ixv-50005"
      unitRef="pure">0.0477</rr:AnnualReturn2023>
    <rr:AnnualReturn2024
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      decimals="INF"
      id="ixv-50006"
      unitRef="pure">0.0489</rr:AnnualReturn2024>
    <rr:AnnualReturn2015
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      decimals="INF"
      id="ixv-50007"
      unitRef="pure">0.0001</rr:AnnualReturn2015>
    <rr:AnnualReturn2016
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      decimals="INF"
      id="ixv-50008"
      unitRef="pure">0.0001</rr:AnnualReturn2016>
    <rr:AnnualReturn2017
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      decimals="INF"
      id="ixv-50009"
      unitRef="pure">0.0035</rr:AnnualReturn2017>
    <rr:AnnualReturn2018
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      decimals="INF"
      id="ixv-50010"
      unitRef="pure">0.0132</rr:AnnualReturn2018>
    <rr:AnnualReturn2019
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      decimals="INF"
      id="ixv-50011"
      unitRef="pure">0.0165</rr:AnnualReturn2019>
    <rr:AnnualReturn2020
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      decimals="INF"
      id="ixv-50012"
      unitRef="pure">0.0021</rr:AnnualReturn2020>
    <rr:AnnualReturn2021
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      decimals="INF"
      id="ixv-50013"
      unitRef="pure">0.0002</rr:AnnualReturn2021>
    <rr:AnnualReturn2022
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      decimals="INF"
      id="ixv-50014"
      unitRef="pure">0.0127</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      decimals="INF"
      id="ixv-50015"
      unitRef="pure">0.0461</rr:AnnualReturn2023>
    <rr:AnnualReturn2024
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      decimals="INF"
      id="ixv-50016"
      unitRef="pure">0.0473</rr:AnnualReturn2024>
    <rr:AnnualReturn2021
      contextRef="Context_20250131_20250131_C000223303Member_S000000112Member_S000000112Summary5Member"
      decimals="INF"
      id="ixv-50017"
      unitRef="pure">0.0002</rr:AnnualReturn2021>
    <rr:AnnualReturn2022
      contextRef="Context_20250131_20250131_C000223303Member_S000000112Member_S000000112Summary5Member"
      decimals="INF"
      id="ixv-50018"
      unitRef="pure">0.0102</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="Context_20250131_20250131_C000223303Member_S000000112Member_S000000112Summary5Member"
      decimals="INF"
      id="ixv-50019"
      unitRef="pure">0.042</rr:AnnualReturn2023>
    <rr:AnnualReturn2024
      contextRef="Context_20250131_20250131_C000223303Member_S000000112Member_S000000112Summary5Member"
      decimals="INF"
      id="ixv-50020"
      unitRef="pure">0.0432</rr:AnnualReturn2024>
    <rr:AnnualReturn2021
      contextRef="Context_20250131_20250131_C000223304Member_S000000112Member_S000000112Summary6Member"
      decimals="INF"
      id="ixv-50021"
      unitRef="pure">0.0002</rr:AnnualReturn2021>
    <rr:AnnualReturn2022
      contextRef="Context_20250131_20250131_C000223304Member_S000000112Member_S000000112Summary6Member"
      decimals="INF"
      id="ixv-50022"
      unitRef="pure">0.0137</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="Context_20250131_20250131_C000223304Member_S000000112Member_S000000112Summary6Member"
      decimals="INF"
      id="ixv-50023"
      unitRef="pure">0.0477</rr:AnnualReturn2023>
    <rr:AnnualReturn2024
      contextRef="Context_20250131_20250131_C000223304Member_S000000112Member_S000000112Summary6Member"
      decimals="INF"
      id="ixv-50024"
      unitRef="pure">0.0489</rr:AnnualReturn2024>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20250131_20250131_C000000253Member_S000000112Member_S000000112Summary1Member"
      id="ixv-50025">May 30, 2026</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20250131_20250131_C000000251Member_S000000112Member_S000000112Summary2Member"
      id="ixv-50026">May 30, 
2026</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20250131_20250131_C000000252Member_S000000112Member_S000000112Summary3Member"
      id="ixv-50027">May 30, 2026</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20250131_20250131_C000000254Member_S000000112Member_S000000112Summary4Member"
      id="ixv-50028">May 30, 2026</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20250131_20250131_C000223303Member_S000000112Member_S000000112Summary5Member"
      id="ixv-50029">May 30, 
2026</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20250131_20250131_C000223304Member_S000000112Member_S000000112Summary6Member"
      id="ixv-50030">May 30, 2026</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <cik0000796251:CustomRisksTableTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary1Member"
      id="ixv-50043">~ http://www.dreyfus.com/20250131/role/RRRiskTable8 ~</cik0000796251:CustomRisksTableTextBlock>
    <cik0000796251:CustomRisksTableTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary2Member"
      id="ixv-50044">~ http://www.dreyfus.com/20250131/role/RRRiskTable15 ~</cik0000796251:CustomRisksTableTextBlock>
    <cik0000796251:CustomRisksTableTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary3Member"
      id="ixv-50045">~ http://www.dreyfus.com/20250131/role/RRRiskTable22 ~</cik0000796251:CustomRisksTableTextBlock>
    <cik0000796251:CustomRisksTableTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary4Member"
      id="ixv-50046">~ http://www.dreyfus.com/20250131/role/RRRiskTable29 ~</cik0000796251:CustomRisksTableTextBlock>
    <cik0000796251:CustomRisksTableTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary5Member"
      id="ixv-50047">~ http://www.dreyfus.com/20250131/role/RRRiskTable36 ~</cik0000796251:CustomRisksTableTextBlock>
    <cik0000796251:CustomRisksTableTextBlock
      contextRef="Context_20250131_20250131_S000000112Member_S000000112Summary6Member"
      id="ixv-50048">~ http://www.dreyfus.com/20250131/role/RRRiskTable43 ~</cik0000796251: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 contractually agreed, until 
May 30, 2026, to waive receipt of a portion of its management fee in the amount of .03% of the value 
of the fund's average daily net assets.  On or after May 30, 2026, BNY Mellon Investment Adviser, Inc. 
may terminate this waiver agreement at any time.</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="#_103_"
          xlink:label="_103_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_104_"
          xlink:label="_104_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_105_"
          xlink:label="_105_"
          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;">  Amount 
represents less than .01%.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_103_"
          xlink:to="fn2_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_104_"
          xlink:to="fn2_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_105_"
          xlink:to="fn2_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_107_"
          xlink:label="_107_"
          xlink:type="locator"/>
        <link:footnote id="fn3_" xlink:label="fn3_" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-size:9.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;">  The 
fund's investment adviser, BNY Mellon Investment Adviser, Inc., has contractually agreed, until May 30, 
2026, to waive receipt of a portion of its management fee in the amount of .03% of the value of the fund's 
average daily net assets.  On or after May 30, 2026, BNY Mellon Investment Adviser, Inc. may terminate 
this waiver agreement at any time.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_107_"
          xlink:to="fn3_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_186_"
          xlink:label="_186_"
          xlink:type="locator"/>
        <link:footnote id="fn4_" xlink:label="fn4_" 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;">Amount 
represents less than .01%.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_186_"
          xlink:to="fn4_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_189_"
          xlink:label="_189_"
          xlink:type="locator"/>
        <link:footnote id="fn5_" xlink:label="fn5_" 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 contractually 
agreed, until May 30, 2026, to waive receipt of a portion of its management fee in the amount of .03% 
of the value of the fund's average daily net assets.  On or after May 30, 2026, BNY Mellon Investment 
Adviser, Inc. may terminate this waiver agreement at any time.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_189_"
          xlink:to="fn5_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_269_"
          xlink:label="_269_"
          xlink:type="locator"/>
        <link:footnote id="fn6_" xlink:label="fn6_" 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;">  Amount 
represents less than .01%.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_269_"
          xlink:to="fn6_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_272_"
          xlink:label="_272_"
          xlink:type="locator"/>
        <link:footnote id="fn7_" xlink:label="fn7_" 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 contractually agreed, until 
May 30, 2026, to waive receipt of a portion of its management fee in the amount of .03% of the value 
of the fund's average daily net assets.  On or after May 30, 2026, BNY Mellon Investment Adviser, Inc. 
may terminate this waiver agreement at any time.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_272_"
          xlink:to="fn7_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_355_"
          xlink:label="_355_"
          xlink:type="locator"/>
        <link:footnote id="fn8_" xlink:label="fn8_" 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 contractually agreed, until May 30, 
2026, to waive receipt of a portion of its management fee in the amount of .03% of the value of the fund's 
average daily net assets.  On or after May 30, 2026, BNY Mellon Investment Adviser, Inc. may terminate 
this waiver agreement at any time.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_355_"
          xlink:to="fn8_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_431_"
          xlink:label="_431_"
          xlink:type="locator"/>
        <link:footnote id="fn9_" xlink:label="fn9_" 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 contractually agreed, until 
May 30, 2026, to waive receipt of a portion of its management fee in the amount of .03% of the value 
of the fund's average daily net assets.  On or after May 30, 2026, BNY Mellon Investment Adviser, Inc. 
may terminate this waiver agreement at any time.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_431_"
          xlink:to="fn9_"
          xlink:type="arc"/>
    </link:footnoteLink>
</xbrl>
