<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2023"
  xmlns:dgcmf="http://www.dreyfus.com/20250317"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:oef="http://xbrl.sec.gov/oef/2023"
  xmlns:us-gaap="http://fasb.org/us-gaap/2023"
  xmlns:utr="http://www.xbrl.org/2009/utr"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="dgcmf-20250317.xsd" xlink:type="simple"/>
    <context id="DefaultContext">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
        </entity>
        <period>
            <startDate>2024-02-01</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000000286Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000286Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-02-01</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000000287Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000287Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-02-01</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000000288Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000288Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-02-01</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000000289Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000289Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-02-01</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000000290Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000290Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-02-01</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000000291Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000291Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-02-01</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000000292Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000292Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-02-01</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000000293Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000293Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-02-01</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000223301Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000223301Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-02-01</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000223302Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000223302Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-02-01</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000233952Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000233952Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-02-01</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000243326Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000243326Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-02-01</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000250287Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000250287Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-02-01</startDate>
            <endDate>2025-01-31</endDate>
        </period>
    </context>
    <context id="TI20250131_C000000286Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000286Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000286Member_NetOtherAssetsAndLiabilitiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">dgcmf:NetOtherAssetsAndLiabilitiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000286Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000286Member_RepurchaseAgreementsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:RepurchaseAgreementsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000286Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000286Member_USGovernmentCorporationsAndAgenciesSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USGovernmentCorporationsAndAgenciesSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000286Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000286Member_USTreasuryBillSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USTreasuryBillSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000286Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000286Member_USTreasuryFloatingRateNotesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">dgcmf:USTreasuryFloatingRateNotesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000286Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000286Member_USTreasuryNotesSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USTreasuryNotesSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000286Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000287Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000287Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000287Member_NetOtherAssetsAndLiabilitiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">dgcmf:NetOtherAssetsAndLiabilitiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000287Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000287Member_RepurchaseAgreementsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:RepurchaseAgreementsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000287Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000287Member_USGovernmentCorporationsAndAgenciesSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USGovernmentCorporationsAndAgenciesSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000287Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000287Member_USTreasuryBillSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USTreasuryBillSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000287Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000287Member_USTreasuryFloatingRateNotesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">dgcmf:USTreasuryFloatingRateNotesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000287Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000287Member_USTreasuryNotesSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USTreasuryNotesSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000287Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000288Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000288Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000288Member_NetOtherAssetsAndLiabilitiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">dgcmf:NetOtherAssetsAndLiabilitiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000288Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000288Member_RepurchaseAgreementsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:RepurchaseAgreementsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000288Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000288Member_USGovernmentCorporationsAndAgenciesSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USGovernmentCorporationsAndAgenciesSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000288Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000288Member_USTreasuryBillSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USTreasuryBillSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000288Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000288Member_USTreasuryFloatingRateNotesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">dgcmf:USTreasuryFloatingRateNotesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000288Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000288Member_USTreasuryNotesSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USTreasuryNotesSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000288Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000289Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000289Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000289Member_NetOtherAssetsAndLiabilitiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">dgcmf:NetOtherAssetsAndLiabilitiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000289Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000289Member_RepurchaseAgreementsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:RepurchaseAgreementsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000289Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000289Member_USGovernmentCorporationsAndAgenciesSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USGovernmentCorporationsAndAgenciesSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000289Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000289Member_USTreasuryBillSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USTreasuryBillSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000289Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000289Member_USTreasuryFloatingRateNotesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">dgcmf:USTreasuryFloatingRateNotesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000289Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000289Member_USTreasuryNotesSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USTreasuryNotesSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000289Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000290Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000290Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000290Member_NetOtherAssetsAndLiabilitiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">dgcmf:NetOtherAssetsAndLiabilitiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000290Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000290Member_USGovernmentCorporationsAndAgenciesSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USGovernmentCorporationsAndAgenciesSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000290Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000290Member_USTreasuryBillSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USTreasuryBillSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000290Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000290Member_USTreasuryFloatingRateNotesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">dgcmf:USTreasuryFloatingRateNotesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000290Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000290Member_USTreasuryNotesSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USTreasuryNotesSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000290Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000291Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000291Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000291Member_NetOtherAssetsAndLiabilitiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">dgcmf:NetOtherAssetsAndLiabilitiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000291Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000291Member_USGovernmentCorporationsAndAgenciesSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USGovernmentCorporationsAndAgenciesSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000291Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000291Member_USTreasuryBillSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USTreasuryBillSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000291Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000291Member_USTreasuryFloatingRateNotesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">dgcmf:USTreasuryFloatingRateNotesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000291Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000291Member_USTreasuryNotesSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USTreasuryNotesSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000291Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000292Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000292Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000292Member_NetOtherAssetsAndLiabilitiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">dgcmf:NetOtherAssetsAndLiabilitiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000292Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000292Member_USGovernmentCorporationsAndAgenciesSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USGovernmentCorporationsAndAgenciesSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000292Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000292Member_USTreasuryBillSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USTreasuryBillSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000292Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000292Member_USTreasuryFloatingRateNotesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">dgcmf:USTreasuryFloatingRateNotesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000292Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000292Member_USTreasuryNotesSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USTreasuryNotesSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000292Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000293Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000293Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000293Member_NetOtherAssetsAndLiabilitiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">dgcmf:NetOtherAssetsAndLiabilitiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000293Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000293Member_USGovernmentCorporationsAndAgenciesSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USGovernmentCorporationsAndAgenciesSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000293Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000293Member_USTreasuryBillSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USTreasuryBillSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000293Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000293Member_USTreasuryFloatingRateNotesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">dgcmf:USTreasuryFloatingRateNotesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000293Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000000293Member_USTreasuryNotesSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USTreasuryNotesSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000000293Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000223301Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000223301Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000223301Member_NetOtherAssetsAndLiabilitiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">dgcmf:NetOtherAssetsAndLiabilitiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000223301Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000223301Member_RepurchaseAgreementsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:RepurchaseAgreementsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000223301Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000223301Member_USGovernmentCorporationsAndAgenciesSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USGovernmentCorporationsAndAgenciesSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000223301Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000223301Member_USTreasuryBillSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USTreasuryBillSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000223301Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000223301Member_USTreasuryFloatingRateNotesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">dgcmf:USTreasuryFloatingRateNotesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000223301Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000223301Member_USTreasuryNotesSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USTreasuryNotesSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000223301Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000223302Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000223302Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000223302Member_NetOtherAssetsAndLiabilitiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">dgcmf:NetOtherAssetsAndLiabilitiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000223302Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000223302Member_RepurchaseAgreementsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:RepurchaseAgreementsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000223302Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000223302Member_USGovernmentCorporationsAndAgenciesSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USGovernmentCorporationsAndAgenciesSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000223302Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000223302Member_USTreasuryBillSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USTreasuryBillSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000223302Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000223302Member_USTreasuryFloatingRateNotesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">dgcmf:USTreasuryFloatingRateNotesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000223302Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000223302Member_USTreasuryNotesSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USTreasuryNotesSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000223302Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000233952Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000233952Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000233952Member_NetOtherAssetsAndLiabilitiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">dgcmf:NetOtherAssetsAndLiabilitiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000233952Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000233952Member_RepurchaseAgreementsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:RepurchaseAgreementsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000233952Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000233952Member_USGovernmentCorporationsAndAgenciesSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USGovernmentCorporationsAndAgenciesSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000233952Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000233952Member_USTreasuryBillSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USTreasuryBillSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000233952Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000233952Member_USTreasuryFloatingRateNotesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">dgcmf:USTreasuryFloatingRateNotesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000233952Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000233952Member_USTreasuryNotesSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USTreasuryNotesSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000233952Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000243326Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000243326Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000243326Member_NetOtherAssetsAndLiabilitiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">dgcmf:NetOtherAssetsAndLiabilitiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000243326Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000243326Member_RepurchaseAgreementsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:RepurchaseAgreementsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000243326Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000243326Member_USGovernmentCorporationsAndAgenciesSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USGovernmentCorporationsAndAgenciesSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000243326Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000243326Member_USTreasuryBillSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USTreasuryBillSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000243326Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000243326Member_USTreasuryFloatingRateNotesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">dgcmf:USTreasuryFloatingRateNotesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000243326Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000243326Member_USTreasuryNotesSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USTreasuryNotesSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000243326Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000250287Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000250287Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000250287Member_NetOtherAssetsAndLiabilitiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">dgcmf:NetOtherAssetsAndLiabilitiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000250287Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000250287Member_RepurchaseAgreementsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:RepurchaseAgreementsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000250287Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000250287Member_USGovernmentCorporationsAndAgenciesSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USGovernmentCorporationsAndAgenciesSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000250287Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000250287Member_USTreasuryBillSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USTreasuryBillSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000250287Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000250287Member_USTreasuryFloatingRateNotesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">dgcmf:USTreasuryFloatingRateNotesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000250287Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <context id="TI20250131_C000250287Member_USTreasuryNotesSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000740766</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:USTreasuryNotesSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">dgcmf:C000250287Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-01-31</instant>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="USD_shares">
        <divide>
            <unitNumerator>
                <measure>iso4217:USD</measure>
            </unitNumerator>
            <unitDenominator>
                <measure>shares</measure>
            </unitDenominator>
        </divide>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="shares">
        <measure>shares</measure>
    </unit>
    <unit id="Day">
        <measure>utr:D</measure>
    </unit>
    <unit id="Holding">
        <measure>dgcmf:Holding</measure>
    </unit>
    <oef:PctOfNav
      contextRef="TI20250131_C000000286Member_NetOtherAssetsAndLiabilitiesMember"
      decimals="4"
      id="h_040c5101_d65c_43f8_8d10_3d283701af5c"
      unitRef="pure">0.060</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000288Member_NetOtherAssetsAndLiabilitiesMember"
      decimals="4"
      id="h_075d792b_20bf_4d2f_af7f_ac06fa3c8539"
      unitRef="pure">0.060</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000250287Member_NetOtherAssetsAndLiabilitiesMember"
      decimals="4"
      id="h_0c761a60_2202_4566_8ae0_d423e87efbd9"
      unitRef="pure">0.060</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000233952Member_RepurchaseAgreementsMember"
      decimals="4"
      id="h_0c90fd26_f4d9_48c0_826d_d77e5abab631"
      unitRef="pure">0.410</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000287Member_RepurchaseAgreementsMember"
      decimals="4"
      id="h_1_03479053-2681-a358-effe-eb74a7a1f00f"
      unitRef="pure">0.410</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000292Member_USTreasuryNotesSecuritiesMember"
      decimals="4"
      id="h_12f015ce_21d7_47a3_9393_d785b8c5c0a1"
      unitRef="pure">0.010</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000233952Member_USTreasuryNotesSecuritiesMember"
      decimals="4"
      id="h_157ad0cc_b67b_4ac0_b32a_f17e8dab2e93"
      unitRef="pure">0.011</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000223301Member_NetOtherAssetsAndLiabilitiesMember"
      decimals="4"
      id="h_1aaecafe_ef39_4244_9e9c_461af59d9e83"
      unitRef="pure">0.060</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000250287Member_USTreasuryBillSecuritiesMember"
      decimals="4"
      id="h_1bafeec6_27a8_4306_b373_b732a141bd00"
      unitRef="pure">0.279</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000287Member_USTreasuryBillSecuritiesMember"
      decimals="4"
      id="h_2_cee37d8d-dcd5-2026-4571-3dcf0b6f1f8b"
      unitRef="pure">0.279</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000233952Member_USTreasuryBillSecuritiesMember"
      decimals="4"
      id="h_23341d90_c312_4cc0_adb6_bc03f4b2fe1d"
      unitRef="pure">0.279</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000288Member_USTreasuryFloatingRateNotesMember"
      decimals="4"
      id="h_26fb2e1d_504e_44c7_ab32_b9912a4f9a3f"
      unitRef="pure">0.077</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000243326Member_USGovernmentCorporationsAndAgenciesSecuritiesMember"
      decimals="4"
      id="h_27fd8452_f6db_4405_ba6b_01938094b6ef"
      unitRef="pure">0.163</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000250287Member_USTreasuryFloatingRateNotesMember"
      decimals="4"
      id="h_2b7021f0_4d96_428a_b5b1_d068e73304a4"
      unitRef="pure">0.077</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000223301Member_USTreasuryBillSecuritiesMember"
      decimals="4"
      id="h_2d77617a_f327_4e7c_8ccd_2389c00a6f5c"
      unitRef="pure">0.279</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000292Member_USGovernmentCorporationsAndAgenciesSecuritiesMember"
      decimals="4"
      id="h_2d9a3f41_3675_4868_8e4b_74b8101d53d5"
      unitRef="pure">0.205</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000286Member_USGovernmentCorporationsAndAgenciesSecuritiesMember"
      decimals="4"
      id="h_2f2e9313_92da_4089_84c9_e8770122e7a8"
      unitRef="pure">0.163</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000287Member_USGovernmentCorporationsAndAgenciesSecuritiesMember"
      decimals="4"
      id="h_3_21df118d-22d4-05c7-731d-0b1dd4e38e31"
      unitRef="pure">0.163</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000290Member_USTreasuryNotesSecuritiesMember"
      decimals="4"
      id="h_3601b9f0_16bd_4f71_b6dd_ed6f3d285091"
      unitRef="pure">0.010</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000233952Member_NetOtherAssetsAndLiabilitiesMember"
      decimals="4"
      id="h_3993b6a4_a96c_4a01_a4e5_c69179b951d1"
      unitRef="pure">0.060</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000290Member_NetOtherAssetsAndLiabilitiesMember"
      decimals="4"
      id="h_3f3b803b_0ae0_4504_aa1b_6b15a297123a"
      unitRef="pure">0.014</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000291Member_USTreasuryBillSecuritiesMember"
      decimals="4"
      id="h_3fe7445b_bb8a_443c_b806_d78fae90490a"
      unitRef="pure">0.665</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000287Member_USTreasuryFloatingRateNotesMember"
      decimals="4"
      id="h_4_802d8218-e467-a3bd-c477-021ae2d2111c"
      unitRef="pure">0.077</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000250287Member_RepurchaseAgreementsMember"
      decimals="4"
      id="h_46a00cf2_ba8e_45c8_bb27_cee84d872453"
      unitRef="pure">0.410</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000287Member_USTreasuryNotesSecuritiesMember"
      decimals="4"
      id="h_5_88a72e54-0292-d07c-a5e3-ee8afcffe112"
      unitRef="pure">0.011</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000292Member_USTreasuryFloatingRateNotesMember"
      decimals="4"
      id="h_52502227_c333_4688_b929_18b459aaa9a1"
      unitRef="pure">0.106</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000250287Member_USGovernmentCorporationsAndAgenciesSecuritiesMember"
      decimals="4"
      id="h_57a580f5_98e8_4c7f_875e_0a571fe1a760"
      unitRef="pure">0.163</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000287Member_NetOtherAssetsAndLiabilitiesMember"
      decimals="4"
      id="h_6_1aa6c9e2-c243-ff1b-0efe-608f31c1b48b"
      unitRef="pure">0.060</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000223301Member_USTreasuryFloatingRateNotesMember"
      decimals="4"
      id="h_604e0f2f_420b_4a43_b288_5abca7cc1a7d"
      unitRef="pure">0.077</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000286Member_USTreasuryNotesSecuritiesMember"
      decimals="4"
      id="h_8856de5d_9a71_4f85_a237_d13fa43d74e9"
      unitRef="pure">0.011</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000288Member_USTreasuryNotesSecuritiesMember"
      decimals="4"
      id="h_8a783200_e8b2_45fc_9efc_e675e1edcdfc"
      unitRef="pure">0.011</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000293Member_USTreasuryBillSecuritiesMember"
      decimals="4"
      id="h_8af8fab4_b42c_48a6_afc7_c9d2f8363b00"
      unitRef="pure">0.665</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000288Member_USTreasuryBillSecuritiesMember"
      decimals="4"
      id="h_8de1b46f_6120_4907_a82f_a1c31d57a297"
      unitRef="pure">0.279</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000243326Member_RepurchaseAgreementsMember"
      decimals="4"
      id="h_952adba4_bc28_4574_8433_f50e42fca792"
      unitRef="pure">0.410</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000288Member_USGovernmentCorporationsAndAgenciesSecuritiesMember"
      decimals="4"
      id="h_a086f1cd_08b1_4c4c_a4da_66f7b0307900"
      unitRef="pure">0.163</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000243326Member_USTreasuryNotesSecuritiesMember"
      decimals="4"
      id="h_a92a8c8a_9672_4b21_824d_d9d84b9cb682"
      unitRef="pure">0.011</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000286Member_USTreasuryBillSecuritiesMember"
      decimals="4"
      id="h_ae606583_80b1_46f7_bb12_37865c1b9d30"
      unitRef="pure">0.279</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000223301Member_USTreasuryNotesSecuritiesMember"
      decimals="4"
      id="h_afb14cab_24e5_42d5_b519_cd8b35667f72"
      unitRef="pure">0.011</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000233952Member_USGovernmentCorporationsAndAgenciesSecuritiesMember"
      decimals="4"
      id="h_b647d97b_38a8_4960_a379_bc2c97124352"
      unitRef="pure">0.163</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000286Member_USTreasuryFloatingRateNotesMember"
      decimals="4"
      id="h_b9456349_771b_41a9_9142_a87585613f76"
      unitRef="pure">0.077</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000233952Member_USTreasuryFloatingRateNotesMember"
      decimals="4"
      id="h_b9825563_f010_4875_8142_de6481611d71"
      unitRef="pure">0.077</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000288Member_RepurchaseAgreementsMember"
      decimals="4"
      id="h_c6314b24_bc9e_4848_8b7a_f596550bae5b"
      unitRef="pure">0.410</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000223301Member_USGovernmentCorporationsAndAgenciesSecuritiesMember"
      decimals="4"
      id="h_c85aa698_7e0a_492b_a1de_2d1d52121d2e"
      unitRef="pure">0.163</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000243326Member_USTreasuryBillSecuritiesMember"
      decimals="4"
      id="h_c884b1fe_5a39_43c0_b0e5_c45e469a93b0"
      unitRef="pure">0.279</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000292Member_NetOtherAssetsAndLiabilitiesMember"
      decimals="4"
      id="h_cb2b2c70_6edc_449a_8ad7_dd249126bf18"
      unitRef="pure">0.014</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000292Member_USTreasuryBillSecuritiesMember"
      decimals="4"
      id="h_cc4da6d9_95dc_4a3b_9d62_9fde5e8499b9"
      unitRef="pure">0.665</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000250287Member_USTreasuryNotesSecuritiesMember"
      decimals="4"
      id="h_cd2ea462_03d1_4aac_a09c_3530ca2d666f"
      unitRef="pure">0.011</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000223301Member_RepurchaseAgreementsMember"
      decimals="4"
      id="h_cf1314ea_8623_4f9a_b1ec_fec01cc30589"
      unitRef="pure">0.410</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000290Member_USTreasuryBillSecuritiesMember"
      decimals="4"
      id="h_d770af84_a8e1_40db_b4d0_b442f09af7d1"
      unitRef="pure">0.665</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000291Member_USTreasuryNotesSecuritiesMember"
      decimals="4"
      id="h_e43320ad_aa39_4ec3_9748_bae114805736"
      unitRef="pure">0.010</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000243326Member_NetOtherAssetsAndLiabilitiesMember"
      decimals="4"
      id="h_e8face38_0fbb_47a9_80f9_78eb6d291632"
      unitRef="pure">0.060</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000290Member_USGovernmentCorporationsAndAgenciesSecuritiesMember"
      decimals="4"
      id="h_ea1aea53_448f_4bef_a213_ec8fd6dabc46"
      unitRef="pure">0.205</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000286Member_RepurchaseAgreementsMember"
      decimals="4"
      id="h_eedc8cb2_fbf3_42dd_bc19_21392386929d"
      unitRef="pure">0.410</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000291Member_USGovernmentCorporationsAndAgenciesSecuritiesMember"
      decimals="4"
      id="h_f00ad286_a335_43d8_87b1_0735fb8c677e"
      unitRef="pure">0.205</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000243326Member_USTreasuryFloatingRateNotesMember"
      decimals="4"
      id="h_f96c9d1c_9cc4_457e_bc75_41c46c3cd1fe"
      unitRef="pure">0.077</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000290Member_USTreasuryFloatingRateNotesMember"
      decimals="4"
      id="h_faf988d2_86ff_4035_815c_36873eb3a306"
      unitRef="pure">0.106</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000291Member_USTreasuryFloatingRateNotesMember"
      decimals="4"
      id="h_fe180167_7e03_488d_8e5b_88589ed76033"
      unitRef="pure">0.106</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000291Member_NetOtherAssetsAndLiabilitiesMember"
      decimals="4"
      id="h_ffa4c768_c773_4ffc_93d0_eeb76613d443"
      unitRef="pure">0.014</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000223302Member_RepurchaseAgreementsMember"
      decimals="4"
      id="h_080e8940_774e_4421_b841_db651d7722c7"
      unitRef="pure">0.410</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000223302Member_NetOtherAssetsAndLiabilitiesMember"
      decimals="4"
      id="h_0b3932f1_32ac_4653_978d_0f78194e578e"
      unitRef="pure">0.060</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000223302Member_USTreasuryNotesSecuritiesMember"
      decimals="4"
      id="h_15f354ce_9495_4d45_97b6_b98c356e41b4"
      unitRef="pure">0.011</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000223302Member_USTreasuryBillSecuritiesMember"
      decimals="4"
      id="h_1b8e0aac_3a91_4866_9ed5_6bfa96577844"
      unitRef="pure">0.279</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000289Member_RepurchaseAgreementsMember"
      decimals="4"
      id="h_359b7f50_1581_497e_9ee1_61c0f358a90f"
      unitRef="pure">0.410</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000289Member_USTreasuryFloatingRateNotesMember"
      decimals="4"
      id="h_38e17b6f_c9a7_4c03_a31c_efdae6502897"
      unitRef="pure">0.077</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000293Member_NetOtherAssetsAndLiabilitiesMember"
      decimals="4"
      id="h_4f66ab34_bfb7_42de_befd_bccd454ff46e"
      unitRef="pure">0.014</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000289Member_USTreasuryBillSecuritiesMember"
      decimals="4"
      id="h_52759a50_1118_447f_8b85_fda0818a96bb"
      unitRef="pure">0.279</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000289Member_USTreasuryNotesSecuritiesMember"
      decimals="4"
      id="h_59a229f0_2ef2_4aea_b823_b25306b25187"
      unitRef="pure">0.011</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000293Member_USTreasuryNotesSecuritiesMember"
      decimals="4"
      id="h_6fb43b0b_a7b1_42a1_8a0d_66d8b52716d2"
      unitRef="pure">0.010</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000289Member_NetOtherAssetsAndLiabilitiesMember"
      decimals="4"
      id="h_93c01e82_149b_4018_8951_19cc809be86f"
      unitRef="pure">0.060</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000293Member_USGovernmentCorporationsAndAgenciesSecuritiesMember"
      decimals="4"
      id="h_96aff118_69be_411e_896d_a0e028157c77"
      unitRef="pure">0.205</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000293Member_USTreasuryFloatingRateNotesMember"
      decimals="4"
      id="h_99eea8d2_28e7_4367_8c6b_149f9aa4880c"
      unitRef="pure">0.106</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000223302Member_USGovernmentCorporationsAndAgenciesSecuritiesMember"
      decimals="4"
      id="h_a0f21190_aae3_4255_9feb_6799a02ca3b6"
      unitRef="pure">0.163</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000223302Member_USTreasuryFloatingRateNotesMember"
      decimals="4"
      id="h_e72a9fb1_34d2_4f16_af0d_23d4cae2a8cd"
      unitRef="pure">0.077</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20250131_C000000289Member_USGovernmentCorporationsAndAgenciesSecuritiesMember"
      decimals="4"
      id="h_f8477ab2_f409_453e_a1a8_c862d82329a0"
      unitRef="pure">0.163</oef:PctOfNav>
    <dei:EntityCentralIndexKey
      contextRef="DefaultContext"
      id="h1_9c8f9af9_49ac_450a_82b9_05857d1bba1e">0000740766</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="DefaultContext"
      id="h3_657c7880_b68c_4f95_bf6a_dac6af6d943d">false</dei:AmendmentFlag>
    <dei:EntityInvCompanyType
      contextRef="DefaultContext"
      id="h_1_0c3e5e68-6171-e64f-6595-57fe83e31da3">N-1A</dei:EntityInvCompanyType>
    <dei:DocumentType
      contextRef="DefaultContext"
      id="t_1_46a81f4c_e87d_dca4_8818_816089614ced">N-CSR</dei:DocumentType>
    <dei:EntityRegistrantName
      contextRef="DefaultContext"
      id="t_2_7babaf13_1c20_c06f_3d97_76f77ca6cc12">Dreyfus Government Cash Management Funds</dei:EntityRegistrantName>
    <dei:DocumentPeriodEndDate
      contextRef="DefaultContext"
      id="t_3_a711d28b_99a5_f30f_3113_4c2f4a9a7f34">2025-01-31</dei:DocumentPeriodEndDate>
    <oef:FundName
      contextRef="FY2025_C000000287Member"
      id="t_1_f34f7bf8_891d_a37e_1ec4_811067d7023d">Dreyfus Government Cash Management</oef:FundName>
    <oef:ClassName
      contextRef="FY2025_C000000287Member"
      id="t_2_eea5c11c_4cd2_2363_aad6_a9c62c2d1b66">Institutional Shares</oef:ClassName>
    <dei:TradingSymbol
      contextRef="FY2025_C000000287Member"
      id="t_3_d6abbabd_6bba_390d_ce0d_52cab7d3db70">DGCXX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="FY2025_C000000287Member"
      id="t_5_a54c2907_91bc_0e0c_a3fe_ee97c1440ce4">This annual shareholder report contains important information about Dreyfus Government Cash Management (the &#x201c;Fund&#x201d;) for the period of February 1, 2024 to January 31, 2025.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="FY2025_C000000287Member"
      id="t_4_71f7e9b2_af22_47d7_f594_47f9dfb8cf5a">annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="FY2025_C000000287Member"
      id="t_6_82d4b78a_5433_ff01_671c_5749329d61ad">You can find additional information about the Fund at &lt;span style="color:rgb(0, 0, 0);text-decoration-line:none;font-family:'times new roman';font-size:10pt;line-height:11pt"&gt;www.dreyfus.com/products/mm.html#overview&lt;/span&gt;. You can also request this information by calling 1-800-373-9387 (inside the U.S. only) or by sending an e-mail request to info@bny.com.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="FY2025_C000000287Member"
      id="t_7_68d982d7_db96_9f60_46a7_1b7730db2c6d">www.dreyfus.com/products/mm.html#overview</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="FY2025_C000000287Member"
      id="t_8_efa4a15d_518d_14d0_f77c_4712ae7cfed3">1-800-373-9387</oef:AddlInfoPhoneNumber>
    <oef:AddlInfoEmail
      contextRef="FY2025_C000000287Member"
      id="t_9_3cd8fe85_e3f0_ab42_676f_19fb9c7fae25">info@bny.com</oef:AddlInfoEmail>
    <oef:ExpensesTextBlock
      contextRef="FY2025_C000000287Member"
      id="t_10_e72f55f8_5f7d_36c5_d036_2e798aa75669">&lt;div style="margin-top:0px;font-family:'cambria';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-bottom:2pt;"&gt; &lt;b&gt;What were the Fund&#x2019;s costs for the last &lt;/b&gt; &lt;b&gt;year&lt;/b&gt; &lt;b&gt;?&lt;/b&gt; &lt;/div&gt;&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:10pt;line-height:11pt;margin-bottom:3pt;"&gt;(based on a hypothetical $10,000 investment)&lt;/div&gt;&lt;table style="width:100%;border-collapse:collapse;break-inside:avoid-page"&gt;
&lt;tr style="border-bottom-style:none;border-bottom-width:initial;break-inside:avoid-page;background-color:rgb(0, 72, 94);height:auto;border-bottom-color:initial"&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: left; width: 25%;"&gt;Share Class&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: center; width: 30%;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: center; width: 40%;"&gt;Costs paid as a percentage of a $10,000 investment&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="border-bottom-width:initial;border-bottom-style:none;break-inside:avoid-page;border-bottom-color:initial;background-color:rgb(227, 235, 237);height:19pt"&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 6pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: left; vertical-align: top; text-indent: -6pt;"&gt;Institutional &lt;span style="white-space:nowrap"&gt;Shares&lt;sup style="vertical-align:baseline;position:relative;top:-0.7em;font-size:5pt"&gt;*&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;17&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; white-space: nowrap; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top;"&gt;0.17&lt;span&gt;%&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;&lt;table style="width:100%;border-collapse:collapse;break-inside:avoid-page;margin-bottom:22pt"&gt;
&lt;tr style="border-bottom-width:initial;border-bottom-style:none;break-inside:avoid-page;height:auto;border-bottom-color:initial"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 5pt; line-height: normal; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; width: 10pt; text-align: left; vertical-align: super;"&gt;*&lt;/td&gt;
&lt;td style="break-inside: avoid-page; text-align: right; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: normal; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; vertical-align: top;"&gt;
&lt;div style="margin-top:0px;font-family:'cambria';color:rgb(0, 0, 0);font-size:9pt;line-height:normal;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;text-align:left;margin-bottom:0px;"&gt;During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="FY2025_C000000287Member"
      decimals="INF"
      id="h_1_0861f335_6aef_48fd_a046_93b0cddae4f4"
      unitRef="USD">17</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="FY2025_C000000287Member"
      decimals="4"
      id="h_2_8acebfc9_cf37_4b9f_a765_8dd3832e2eb5"
      unitRef="pure">0.0017</oef:ExpenseRatioPct>
    <oef:AddlFundStatisticsTextBlock
      contextRef="FY2025_C000000287Member"
      id="t_11_945e8368_bdf8_cdf7_c0b3_ca2dabb83d32">&lt;div style="font-family:'cambria';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-top:0px;margin-bottom:0px;"&gt; &lt;b&gt;KEY FUND STATISTICS (AS OF &lt;/b&gt; &lt;b&gt;1/31/25&lt;/b&gt; &lt;b&gt;)&lt;/b&gt; &lt;/div&gt;&lt;table style="width:100%;border-collapse:collapse;break-inside:avoid-page"&gt;
&lt;tr style="border-bottom-style:none;border-bottom-width:initial;break-inside:avoid-page;background-color:rgb(0, 72, 94);height:auto;border-bottom-color:initial"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; padding-top: 1pt; padding-bottom: 10pt; padding-left: 3pt; padding-right: 3pt; text-align: center; width: 170pt; vertical-align: top;"&gt;&lt;br/&gt; Fund Size (Millions)&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; padding-top: 1pt; padding-bottom: 10pt; padding-left: 3pt; padding-right: 3pt; text-align: center; width: 170pt; vertical-align: top;"&gt;&lt;br/&gt; Number of Holdings&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; padding-top: 1pt; padding-bottom: 10pt; padding-left: 3pt; padding-right: 3pt; text-align: center; width: 170pt; vertical-align: top;"&gt;Total Advisory Fee Paid During&lt;br/&gt; Period&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="border-bottom-width:initial;border-bottom-style:none;break-inside:avoid-page;border-bottom-color:initial;background-color:rgb(227, 235, 237);height:19pt"&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;138,651&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal;"&gt;169&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;198,150,413&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;&lt;table cellpadding="0" cellspacing="0" style="width: 60%; border-collapse: collapse"&gt;
&lt;tr style="vertical-align: top"&gt;
&lt;td style="width: 100%; border: Black 1pt solid; font: 11pt/107% Calibri, Helvetica, Sans-Serif; padding-right: 5.4pt; padding-bottom: 8pt; padding-left: 5.4pt; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 12pt; line-height: 107%"&gt;Not FDIC Insured. Not Bank-Guaranteed. May Lose Value &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20250131_C000000287Member"
      decimals="INF"
      id="h_3_12e7c8f2_b641_4b95_a1c1_09a06a5ce63a"
      unitRef="USD">138651000000</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20250131_C000000287Member"
      decimals="INF"
      id="h_4_ad7e46b9_2f04_4297_8344_a6707f7aee3c"
      unitRef="Holding">169</oef:HoldingsCount>
    <oef:AdvisoryFeesPaidAmt
      contextRef="FY2025_C000000287Member"
      decimals="INF"
      id="h_5_cc4baf4f_1e9a_4f41_b6cf_7b1519592f4b"
      unitRef="USD">198150413</oef:AdvisoryFeesPaidAmt>
    <oef:HoldingsTableTextBlock
      contextRef="FY2025_C000000287Member"
      id="t_12_cd854036_dbec_80ef_47f2_327d54158c91">&lt;div style="margin-top:0px;font-family:'cambria';color:rgb(0, 0, 0);letter-spacing:0px;text-transform:uppercase;font-size:9pt;margin-bottom:3pt;font-weight:bold;"&gt; &lt;b&gt;Portfolio Holdings (as of &lt;/b&gt; &lt;b&gt;1/31/25&lt;/b&gt; &lt;b&gt;)&lt;/b&gt; &lt;/div&gt;&lt;div style="margin-top:0px;font-family:'cambria';color:rgb(0, 0, 0);letter-spacing:0px;font-size:9pt;font-weight:bold;margin-bottom:0px;text-transform:none;"&gt; &lt;b&gt;Allocation of Holdings (Based on Net Assets)&lt;/b&gt; &lt;/div&gt;&lt;div style="width:540pt;margin-left:18pt;margin-bottom:12pt;"&gt; &lt;img alt="Graphical Representation - Top N Holdings Chart" src="chartimages_9562326.jpg" style="margin-left: 50pt; width: 437pt;"/&gt;  &lt;/div&gt;</oef:HoldingsTableTextBlock>
    <oef:FundName
      contextRef="FY2025_C000000286Member"
      id="t_1_b18eb66f_dba8_f6af_fbf0_5b26d75d2b53">Dreyfus Government Cash Management</oef:FundName>
    <oef:ClassName
      contextRef="FY2025_C000000286Member"
      id="t_2_b2ece3cb_8b5b_4869_3a96_15ea219f0dae">Investor Shares</oef:ClassName>
    <dei:TradingSymbol
      contextRef="FY2025_C000000286Member"
      id="t_3_ab3d8112_1fa2_464f_75c1_e9eeb894cb32">DGVXX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="FY2025_C000000286Member"
      id="t_4_efc6814f_ebc7_1304_f7fb_9f986f93178b">This annual shareholder report contains important information about Dreyfus Government Cash Management (the &#x201c;Fund&#x201d;) for the period of February 1, 2024 to January 31, 2025.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="FY2025_C000000286Member"
      id="t_5_755acc66_f32e_96a1_20c8_d6ecee1c8951">annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="FY2025_C000000286Member"
      id="t_6_7dd9664a_9820_3128_aa33_61587b3541ba">You can find additional information about the Fund at &lt;span style="color:rgb(0, 0, 0);text-decoration-line:none;font-family:'times new roman';font-size:10pt;line-height:11pt"&gt;www.dreyfus.com/products/mm.html#overview&lt;/span&gt;. You can also request this information by calling 1-800-373-9387 (inside the U.S. only) or by sending an e-mail request to info@bny.com.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="FY2025_C000000286Member"
      id="t_7_ee1454ee_7e23_49d1_5dec_bae2fa65ab74">www.dreyfus.com/products/mm.html#overview</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="FY2025_C000000286Member"
      id="t_8_a138c560_012e_cfc2_6697_eb8f5aab8a86">1-800-373-9387</oef:AddlInfoPhoneNumber>
    <oef:AddlInfoEmail
      contextRef="FY2025_C000000286Member"
      id="t_9_ecfd3b3f_d621_75c5_0268_ae0cff56c542">info@bny.com</oef:AddlInfoEmail>
    <oef:ExpensesTextBlock
      contextRef="FY2025_C000000286Member"
      id="t_10_9bbc2449_a7ea_f6b7_60b5_5e265ddbcbd9">&lt;div style="margin-top:0px;font-family:'cambria';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-bottom:2pt;"&gt; &lt;b&gt;What were the Fund&#x2019;s costs for the last &lt;/b&gt; &lt;b&gt;year&lt;/b&gt; &lt;b&gt;?&lt;/b&gt; &lt;/div&gt;&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:10pt;line-height:11pt;margin-bottom:3pt;"&gt;(based on a hypothetical $10,000 investment)&lt;/div&gt;&lt;table style="width:100%;border-collapse:collapse;break-inside:avoid-page"&gt;
&lt;tr style="border-bottom-style:none;border-bottom-width:initial;break-inside:avoid-page;background-color:rgb(0, 72, 94);height:auto;border-bottom-color:initial"&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: left; width: 25%;"&gt;Share Class&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: center; width: 30%;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: center; width: 40%;"&gt;Costs paid as a percentage of a $10,000 investment&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="border-bottom-width:initial;border-bottom-style:none;break-inside:avoid-page;border-bottom-color:initial;background-color:rgb(227, 235, 237);height:19pt"&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 6pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: left; vertical-align: top; text-indent: -6pt;"&gt;Investor &lt;span style="white-space:nowrap"&gt;Shares&lt;sup style="vertical-align:baseline;position:relative;top:-0.7em;font-size:5pt"&gt;*&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;43&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; white-space: nowrap; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top;"&gt;0.42&lt;span&gt;%&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;&lt;table style="width:100%;border-collapse:collapse;break-inside:avoid-page;margin-bottom:22pt"&gt;
&lt;tr style="border-bottom-width:initial;border-bottom-style:none;break-inside:avoid-page;height:auto;border-bottom-color:initial"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 5pt; line-height: normal; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; width: 10pt; text-align: left; vertical-align: super;"&gt;*&lt;/td&gt;
&lt;td style="break-inside: avoid-page; text-align: right; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: normal; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; vertical-align: top;"&gt;
&lt;div style="margin-top:0px;font-family:'cambria';color:rgb(0, 0, 0);font-size:9pt;line-height:normal;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;text-align:left;margin-bottom:0px;"&gt;During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="FY2025_C000000286Member"
      decimals="INF"
      id="h_6_2497de28_8bb1_4832_a452_4b26148be060"
      unitRef="USD">43</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="FY2025_C000000286Member"
      decimals="4"
      id="h_7_13286f05_2896_4173_bc45_5c77c4d27fce"
      unitRef="pure">0.0042</oef:ExpenseRatioPct>
    <oef:AddlFundStatisticsTextBlock
      contextRef="FY2025_C000000286Member"
      id="t_11_22c39c0d_7eab_957a_db1c_5c3257bfa939">&lt;div style="font-family:'cambria';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-top:0px;margin-bottom:0px;"&gt; &lt;b&gt;KEY FUND STATISTICS (AS OF &lt;/b&gt; &lt;b&gt;1/31/25&lt;/b&gt; &lt;b&gt;)&lt;/b&gt; &lt;/div&gt;&lt;table style="width:100%;border-collapse:collapse;break-inside:avoid-page"&gt;
&lt;tr style="border-bottom-style:none;border-bottom-width:initial;break-inside:avoid-page;background-color:rgb(0, 72, 94);height:auto;border-bottom-color:initial"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; padding-top: 1pt; padding-bottom: 10pt; padding-left: 3pt; padding-right: 3pt; text-align: center; width: 170pt; vertical-align: top;"&gt;&lt;br/&gt; Fund Size (Millions)&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; padding-top: 1pt; padding-bottom: 10pt; padding-left: 3pt; padding-right: 3pt; text-align: center; width: 170pt; vertical-align: top;"&gt;&lt;br/&gt; Number of Holdings&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; padding-top: 1pt; padding-bottom: 10pt; padding-left: 3pt; padding-right: 3pt; text-align: center; width: 170pt; vertical-align: top;"&gt;Total Advisory Fee Paid During&lt;br/&gt; Period&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="border-bottom-width:initial;border-bottom-style:none;break-inside:avoid-page;border-bottom-color:initial;background-color:rgb(227, 235, 237);height:19pt"&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;138,651&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal;"&gt;169&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;198,150,413&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;&lt;table cellpadding="0" cellspacing="0" style="width: 60%; border-collapse: collapse"&gt;
&lt;tr style="vertical-align: top"&gt;
&lt;td style="width: 100%; border: Black 1pt solid; font: 11pt/107% Calibri, Helvetica, Sans-Serif; padding-right: 5.4pt; padding-bottom: 8pt; padding-left: 5.4pt; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 12pt; line-height: 107%"&gt;Not FDIC Insured. Not Bank-Guaranteed. May Lose Value &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20250131_C000000286Member"
      decimals="INF"
      id="h_8_2b5be9d0_b865_4dff_8059_7c4e31d5582f"
      unitRef="USD">138651000000</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20250131_C000000286Member"
      decimals="INF"
      id="h_9_3abd27a5_3951_4b77_a35c_2dc1f054b347"
      unitRef="Holding">169</oef:HoldingsCount>
    <oef:AdvisoryFeesPaidAmt
      contextRef="FY2025_C000000286Member"
      decimals="INF"
      id="h_10_8031b874_220a_4f38_b36d_818a126be8dd"
      unitRef="USD">198150413</oef:AdvisoryFeesPaidAmt>
    <oef:HoldingsTableTextBlock
      contextRef="FY2025_C000000286Member"
      id="t_12_cfae7ebd_9e44_b307_2267_9a08f84d0c4b">&lt;div style="margin-top:0px;font-family:'cambria';color:rgb(0, 0, 0);letter-spacing:0px;text-transform:uppercase;font-size:9pt;margin-bottom:3pt;font-weight:bold;"&gt; &lt;b&gt;Portfolio Holdings (as of &lt;/b&gt; &lt;b&gt;1/31/25&lt;/b&gt; &lt;b&gt;)&lt;/b&gt; &lt;/div&gt;&lt;div style="margin-top:0px;font-family:'cambria';color:rgb(0, 0, 0);letter-spacing:0px;font-size:9pt;font-weight:bold;margin-bottom:0px;text-transform:none;"&gt; &lt;b&gt;Allocation of Holdings (Based on Net Assets)&lt;/b&gt; &lt;/div&gt;&lt;div style="width:540pt;margin-left:18pt;margin-bottom:12pt;"&gt; &lt;img alt="Graphical Representation - Top N Holdings Chart" src="chartimages_9562328.jpg" style="margin-left: 50pt; width: 437pt;"/&gt;  &lt;/div&gt;</oef:HoldingsTableTextBlock>
    <oef:FundName
      contextRef="FY2025_C000000288Member"
      id="t_1_106e6025_7a57_189f_7497_0f8d746b372f">Dreyfus Government Cash Management</oef:FundName>
    <oef:ClassName
      contextRef="FY2025_C000000288Member"
      id="t_2_c520c422_fbd8_7853_702a_6268ea9e903e">Administrative Shares</oef:ClassName>
    <dei:TradingSymbol
      contextRef="FY2025_C000000288Member"
      id="t_3_ab589005_e325_d981_8d00_6d9a8fbb9307">DAGXX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="FY2025_C000000288Member"
      id="t_4_6ebcf895_a3cb_05b5_d609_6be83bd333f3">This annual shareholder report contains important information about Dreyfus Government Cash Management (the &#x201c;Fund&#x201d;) for the period of February 1, 2024 to January 31, 2025.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="FY2025_C000000288Member"
      id="t_5_3d2f00b0_c425_7022_f219_adba5c0b122a">annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="FY2025_C000000288Member"
      id="t_6_a3488f32_3eb2_f771_2033_9b42b9fea840">You can find additional information about the Fund at &lt;span style="color: #000000; text-decoration-line: none; font-family: 'times new roman'; font-size: 10pt; line-height: 11pt;"&gt;www.dreyfus.com/products/mm.html#overview&lt;/span&gt;. You can also request this information by calling 1-800-373-9387 (inside the U.S. only) or by sending an e-mail request to info@bny.com.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="FY2025_C000000288Member"
      id="t_7_0825a95b_3859_cb3d_eb3a_1a64a8f49401">www.dreyfus.com/products/mm.html#overview</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="FY2025_C000000288Member"
      id="t_8_f7416b71_1581_2077_0f2a_3128697a78f3">1-800-373-9387</oef:AddlInfoPhoneNumber>
    <oef:AddlInfoEmail
      contextRef="FY2025_C000000288Member"
      id="t_9_d3bb2eeb_0b34_2388_c1c7_765f5c9ff140">info@bny.com</oef:AddlInfoEmail>
    <oef:ExpensesTextBlock
      contextRef="FY2025_C000000288Member"
      id="t_12_c74af2a9_6aff_00cc_cfca_b8b00310c2a1">&lt;div style="margin-top: 0px; font-family: 'cambria'; color: #000000; font-size: 11pt; font-weight: bold; margin-bottom: 2pt;"&gt;&lt;b&gt;What were the Fund&#x2019;s costs for the last &lt;/b&gt; &lt;b&gt;year&lt;/b&gt; &lt;b&gt;?&lt;/b&gt;&lt;/div&gt;&lt;div style="margin-top: 0px; font-family: 'times new roman'; color: #000000; font-size: 10pt; line-height: 11pt; margin-bottom: 3pt;"&gt;(based on a hypothetical $10,000 investment)&lt;/div&gt;&lt;table style="width: 100%; border-collapse: collapse; break-inside: avoid-page;"&gt;

&lt;tr style="border-bottom-style: none; border-bottom-width: initial; break-inside: avoid-page; background-color: #00485e; height: auto; border-bottom-color: initial;"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #ffffff; font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: left; width: 25%; padding: 1pt 3pt 10pt 3pt;"&gt;Share Class&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #ffffff; font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: center; width: 30%; padding: 1pt 3pt 10pt 3pt;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #ffffff; font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: center; width: 40%; padding: 1pt 3pt 10pt 3pt;"&gt;Costs paid as a percentage of a $10,000 investment&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="border-bottom-width: initial; border-bottom-style: none; break-inside: avoid-page; border-bottom-color: initial; background-color: #e3ebed; height: 19pt;"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: 9pt; text-align: left; vertical-align: top; text-indent: -6pt; padding: 1pt 3pt 3pt 6pt;"&gt;Administrative &lt;span style="white-space: nowrap;"&gt;Shares&lt;sup style="vertical-align: baseline; position: relative; top: -0.7em; font-size: 5pt;"&gt;*&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top; padding: 1pt 3pt 3pt 3pt;"&gt;&lt;span style="float: none;"&gt;$&lt;/span&gt;28&lt;/td&gt;
&lt;td style="break-inside: avoid-page; white-space: nowrap; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top; padding: 1pt 3pt 3pt 3pt;"&gt;0.27&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;&lt;table style="width: 100%; border-collapse: collapse; break-inside: avoid-page; margin-bottom: 22pt;"&gt;

&lt;tr style="border-bottom-width: initial; border-bottom-style: none; break-inside: avoid-page; height: auto; border-bottom-color: initial;"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #000000; font-size: 5pt; line-height: normal; width: 10pt; text-align: left; vertical-align: super; padding: 0;"&gt;*&lt;/td&gt;
&lt;td style="break-inside: avoid-page; text-align: right; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: normal; vertical-align: top; padding: 0;"&gt;
&lt;div style="margin-top: 0px; font-family: 'cambria'; color: #000000; font-size: 9pt; line-height: normal; text-align: left; margin-bottom: 0px; padding: 0px;"&gt;During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="FY2025_C000000288Member"
      decimals="INF"
      id="h_11_8615cd7f_ff45_434c_85e2_7812c8c91b4a"
      unitRef="USD">28</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="FY2025_C000000288Member"
      decimals="4"
      id="h_12_4a16d983_5c6f_4fae_8233_b255325e404f"
      unitRef="pure">0.0027</oef:ExpenseRatioPct>
    <oef:AddlFundStatisticsTextBlock
      contextRef="FY2025_C000000288Member"
      id="t_11_8a2b8500_25d4_c2f9_fe37_b4ef9b0c425d">
&lt;div style="font-family: 'cambria'; color: #000000; font-size: 11pt; font-weight: bold; margin-top: 0px; margin-bottom: 0px;"&gt;&lt;b&gt;KEY FUND STATISTICS (AS OF &lt;/b&gt; &lt;b&gt;1/31/25&lt;/b&gt; &lt;b&gt;)&lt;/b&gt;&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; break-inside: avoid-page;"&gt;

&lt;tr style="border-bottom-style: none; border-bottom-width: initial; break-inside: avoid-page; background-color: #00485e; height: auto; border-bottom-color: initial;"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #ffffff; font-size: 9pt; line-height: 9pt; font-weight: bold; text-align: center; width: 170pt; vertical-align: top; padding: 1pt 3pt 10pt 3pt;"&gt;&lt;br/&gt;Fund Size (Millions)&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #ffffff; font-size: 9pt; line-height: 9pt; font-weight: bold; text-align: center; width: 170pt; vertical-align: top; padding: 1pt 3pt 10pt 3pt;"&gt;&lt;br/&gt;Number of Holdings&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #ffffff; font-size: 9pt; line-height: 9pt; font-weight: bold; text-align: center; width: 170pt; vertical-align: top; padding: 1pt 3pt 10pt 3pt;"&gt;Total Advisory Fee Paid During&lt;br/&gt;Period&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="border-bottom-width: initial; border-bottom-style: none; break-inside: avoid-page; border-bottom-color: initial; background-color: #e3ebed; height: 19pt;"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal; padding: 1pt 3pt 3pt 3pt;"&gt;&lt;span style="float: none;"&gt;$&lt;/span&gt;138,651&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal; padding: 1pt 3pt 3pt 3pt;"&gt;169&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal; padding: 1pt 3pt 3pt 3pt;"&gt;&lt;span style="float: none;"&gt;$&lt;/span&gt;198,150,413&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;&lt;table cellpadding="0" cellspacing="0" style="width: 60%; border-collapse: collapse"&gt;
&lt;tr style="vertical-align: top"&gt;
&lt;td style="width: 100%; border: Black 1pt solid; font: 11pt/107% Calibri, Helvetica, Sans-Serif; padding-right: 5.4pt; padding-bottom: 8pt; padding-left: 5.4pt; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 12pt; line-height: 107%"&gt;Not FDIC Insured. Not Bank-Guaranteed. May Lose Value &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;

</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20250131_C000000288Member"
      decimals="INF"
      id="h_13_a012892d_d4ef_4b59_a3a1_9fcfa2b45925"
      unitRef="USD">138651000000</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20250131_C000000288Member"
      decimals="INF"
      id="h_14_27f588ac_65da_4287_95d0_9961af2b88b5"
      unitRef="Holding">169</oef:HoldingsCount>
    <oef:AdvisoryFeesPaidAmt
      contextRef="FY2025_C000000288Member"
      decimals="INF"
      id="h_15_c11dd80c_aa13_473e_926b_aa4804c6dc31"
      unitRef="USD">198150413</oef:AdvisoryFeesPaidAmt>
    <oef:HoldingsTableTextBlock
      contextRef="FY2025_C000000288Member"
      id="t_13_d0669245_1112_b610_6cfc_4295d4168267">&lt;div style="margin-top: 0px; font-family: 'cambria'; color: #000000; letter-spacing: 0px; text-transform: uppercase; font-size: 9pt; margin-bottom: 3pt; font-weight: bold;"&gt;&lt;b&gt;Portfolio Holdings (as of &lt;/b&gt; &lt;b&gt;1/31/25&lt;/b&gt; &lt;b&gt;)&lt;/b&gt;&lt;/div&gt;&lt;div style="margin-top: 0px; font-family: 'cambria'; color: #000000; letter-spacing: 0px; font-size: 9pt; font-weight: bold; margin-bottom: 0px; text-transform: none;"&gt;&lt;b&gt;Allocation of Holdings (Based on Net Assets)&lt;/b&gt;&lt;/div&gt;&lt;div style="width: 540pt; margin-left: 18pt; margin-bottom: 12pt;"&gt;&lt;img alt="Graphical Representation - Top N Holdings Chart" src="chartimages_9562325.jpg" style="margin-left: 50pt; width: 437pt;"/&gt; &lt;/div&gt;</oef:HoldingsTableTextBlock>
    <oef:FundName
      contextRef="FY2025_C000000289Member"
      id="t_1_7bc6a2f5_56fd_e104_271c_f5c4c7497327">Dreyfus Government Cash Management</oef:FundName>
    <oef:ClassName
      contextRef="FY2025_C000000289Member"
      id="t_11_195f6bda_4700_1f2a_5d1e_d7c573511826">Participant Shares</oef:ClassName>
    <dei:TradingSymbol
      contextRef="FY2025_C000000289Member"
      id="t_12_35be01be_c91e_9f63_e65c_2afc781d42e8">DPGXX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="FY2025_C000000289Member"
      id="t_3_7230b505_439c_901f_a266_fd4645de7add">This annual shareholder report contains important information about Dreyfus Government Cash Management (the &#x201c;Fund&#x201d;) for the period of February 1, 2024 to January 31, 2025.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="FY2025_C000000289Member"
      id="t_2_b6ac2b80_b029_ed62_8df0_ad4c33e7c9fd">annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="FY2025_C000000289Member"
      id="t_4_b224cac5_2148_4abc_cc6a_052af2135bb8">You can find additional information about the Fund at &lt;span style="color:rgb(0, 0, 0);text-decoration-line:none;font-family:'times new roman';font-size:10pt;line-height:11pt"&gt;www.dreyfus.com/products/mm.html#overview&lt;/span&gt;. You can also request this information by calling 1-800-373-9387 (inside the U.S. only) or by sending an e-mail request to info@bny.com.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="FY2025_C000000289Member"
      id="t_5_af5e93be_8306_bdf9_6097_3e7103ee728f">www.dreyfus.com/products/mm.html#overview</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="FY2025_C000000289Member"
      id="t_6_b3278904_d950_9ebd_adb6_f80124f0c498">1-800-373-9387</oef:AddlInfoPhoneNumber>
    <oef:AddlInfoEmail
      contextRef="FY2025_C000000289Member"
      id="t_7_5897b768_191c_87b7_c436_9a8a269f4161">info@bny.com</oef:AddlInfoEmail>
    <oef:ExpensesTextBlock
      contextRef="FY2025_C000000289Member"
      id="t_8_265115df_dd9a_0274_9105_fba60793df70">&lt;div style="margin-top:0px;font-family:'cambria';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-bottom:2pt;"&gt; &lt;b&gt;What were the Fund&#x2019;s costs for the last &lt;/b&gt; &lt;b&gt;year&lt;/b&gt; &lt;b&gt;?&lt;/b&gt; &lt;/div&gt;&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:10pt;line-height:11pt;margin-bottom:3pt;"&gt;(based on a hypothetical $10,000 investment)&lt;/div&gt;&lt;table style="width:100%;border-collapse:collapse;break-inside:avoid-page"&gt;
&lt;tr style="border-bottom-style:none;border-bottom-width:initial;break-inside:avoid-page;background-color:rgb(0, 72, 94);height:auto;border-bottom-color:initial"&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: left; width: 25%;"&gt;Share Class&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: center; width: 30%;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: center; width: 40%;"&gt;Costs paid as a percentage of a $10,000 investment&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="border-bottom-width:initial;border-bottom-style:none;break-inside:avoid-page;border-bottom-color:initial;background-color:rgb(227, 235, 237);height:19pt"&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 6pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: left; vertical-align: top; text-indent: -6pt;"&gt;Participant &lt;span style="white-space:nowrap"&gt;Shares&lt;sup style="vertical-align:baseline;position:relative;top:-0.7em;font-size:5pt"&gt;*&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;58&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; white-space: nowrap; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top;"&gt;0.57&lt;span&gt;%&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;&lt;table style="width:100%;border-collapse:collapse;break-inside:avoid-page;margin-bottom:22pt"&gt;
&lt;tr style="border-bottom-width:initial;border-bottom-style:none;break-inside:avoid-page;height:auto;border-bottom-color:initial"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 5pt; line-height: normal; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; width: 10pt; text-align: left; vertical-align: super;"&gt;*&lt;/td&gt;
&lt;td style="break-inside: avoid-page; text-align: right; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: normal; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; vertical-align: top;"&gt;
&lt;div style="margin-top:0px;font-family:'cambria';color:rgb(0, 0, 0);font-size:9pt;line-height:normal;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;text-align:left;margin-bottom:0px;"&gt;During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="FY2025_C000000289Member"
      decimals="INF"
      id="h_16_abaea1b5_693a_4472_8db4_42d8ac8b82de"
      unitRef="USD">58</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="FY2025_C000000289Member"
      decimals="4"
      id="h_17_24069ce5_501b_42b1_8d66_674cb7a11c7c"
      unitRef="pure">0.0057</oef:ExpenseRatioPct>
    <oef:AddlFundStatisticsTextBlock
      contextRef="FY2025_C000000289Member"
      id="t_9_a99c3baa_80b1_5382_e704_da8d53f1355e">&lt;div style="font-family:'cambria';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-top:0px;margin-bottom:0px;"&gt; &lt;b&gt;KEY FUND STATISTICS (AS OF &lt;/b&gt; &lt;b&gt;1/31/25&lt;/b&gt; &lt;b&gt;)&lt;/b&gt; &lt;/div&gt;&lt;table style="width:100%;border-collapse:collapse;break-inside:avoid-page"&gt;
&lt;tr style="border-bottom-style:none;border-bottom-width:initial;break-inside:avoid-page;background-color:rgb(0, 72, 94);height:auto;border-bottom-color:initial"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; padding-top: 1pt; padding-bottom: 10pt; padding-left: 3pt; padding-right: 3pt; text-align: center; width: 170pt; vertical-align: top;"&gt;&lt;br/&gt; Fund Size (Millions)&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; padding-top: 1pt; padding-bottom: 10pt; padding-left: 3pt; padding-right: 3pt; text-align: center; width: 170pt; vertical-align: top;"&gt;&lt;br/&gt; Number of Holdings&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; padding-top: 1pt; padding-bottom: 10pt; padding-left: 3pt; padding-right: 3pt; text-align: center; width: 170pt; vertical-align: top;"&gt;Total Advisory Fee Paid During&lt;br/&gt; Period&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="border-bottom-width:initial;border-bottom-style:none;break-inside:avoid-page;border-bottom-color:initial;background-color:rgb(227, 235, 237);height:19pt"&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;138,651&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal;"&gt;169&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;198,150,413&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;&lt;table cellpadding="0" cellspacing="0" style="width: 60%; border-collapse: collapse"&gt;
&lt;tr style="vertical-align: top"&gt;
&lt;td style="width: 100%; border: Black 1pt solid; font: 11pt/107% Calibri, Helvetica, Sans-Serif; padding-right: 5.4pt; padding-bottom: 8pt; padding-left: 5.4pt; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 12pt; line-height: 107%"&gt;Not FDIC Insured. Not Bank-Guaranteed. May Lose Value &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20250131_C000000289Member"
      decimals="INF"
      id="h_18_bf979c79_3748_49af_928f_09fe6341735d"
      unitRef="USD">138651000000</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20250131_C000000289Member"
      decimals="INF"
      id="h_19_aa3508c0_fa57_4895_9846_43410b5979e8"
      unitRef="Holding">169</oef:HoldingsCount>
    <oef:AdvisoryFeesPaidAmt
      contextRef="FY2025_C000000289Member"
      decimals="INF"
      id="h_20_7c287db0_b996_49c3_9ee9_05bd5d12ac4a"
      unitRef="USD">198150413</oef:AdvisoryFeesPaidAmt>
    <oef:HoldingsTableTextBlock
      contextRef="FY2025_C000000289Member"
      id="t_10_44e001a0_66a6_8b45_cb22_6785685e3f6b">&lt;div style="margin-top:0px;font-family:'cambria';color:rgb(0, 0, 0);letter-spacing:0px;text-transform:uppercase;font-size:9pt;margin-bottom:3pt;font-weight:bold;"&gt; &lt;b&gt;Portfolio Holdings (as of &lt;/b&gt; &lt;b&gt;1/31/25&lt;/b&gt; &lt;b&gt;)&lt;/b&gt; &lt;/div&gt;&lt;div style="margin-top:0px;font-family:'cambria';color:rgb(0, 0, 0);letter-spacing:0px;font-size:9pt;font-weight:bold;margin-bottom:0px;text-transform:none;"&gt; &lt;b&gt;Allocation of Holdings (Based on Net Assets)&lt;/b&gt; &lt;/div&gt;&lt;div style="width:540pt;margin-left:18pt;margin-bottom:12pt;"&gt; &lt;img alt="Graphical Representation - Top N Holdings Chart" src="chartimages_9562329.jpg" style="margin-left: 50pt; width: 437pt;"/&gt;  &lt;/div&gt;</oef:HoldingsTableTextBlock>
    <oef:FundName
      contextRef="FY2025_C000223302Member"
      id="t_1_7440c916_61be_9fe5_d346_d9a030d62d2f">Dreyfus Government Cash Management</oef:FundName>
    <oef:ClassName
      contextRef="FY2025_C000223302Member"
      id="t_2_b7d53317_7ce7_abc5_2e89_d7994c949c98">Wealth Shares</oef:ClassName>
    <dei:TradingSymbol
      contextRef="FY2025_C000223302Member"
      id="t_3_b345fb53_9d56_20c4_845d_ea7225873f06">DGQXX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="FY2025_C000223302Member"
      id="t_5_410f1a70_a9f2_2961_843c_c94c3afef1f6">This annual shareholder report contains important information about Dreyfus Government Cash Management (the &#x201c;Fund&#x201d;) for the period of February 1, 2024 to January 31, 2025.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="FY2025_C000223302Member"
      id="t_4_75adc2af_1199_6914_1d2f_388d6c59a263">annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="FY2025_C000223302Member"
      id="t_6_5f115356_13e4_8502_7457_dc04218cff2e">You can find additional information about the Fund at &lt;span style="color:rgb(0, 0, 0);text-decoration-line:none;font-family:'times new roman';font-size:10pt;line-height:11pt"&gt;www.dreyfus.com/products/mm.html#overview&lt;/span&gt;. You can also request this information by calling 1-800-373-9387 (inside the U.S. only) or by sending an e-mail request to info@bny.com.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="FY2025_C000223302Member"
      id="t_7_30d75474_c76d_7953_bab7_fefa0117b16e">www.dreyfus.com/products/mm.html#overview</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="FY2025_C000223302Member"
      id="t_8_f133b529_e65b_631d_721b_813e998765ea">1-800-373-9387</oef:AddlInfoPhoneNumber>
    <oef:AddlInfoEmail
      contextRef="FY2025_C000223302Member"
      id="t_9_70051716_f0c3_6e46_39c7_8c045cc4af2b">info@bny.com</oef:AddlInfoEmail>
    <oef:ExpensesTextBlock
      contextRef="FY2025_C000223302Member"
      id="t_10_78058d53_6e48_4f17_19e7_6542a11cd440">&lt;div style="margin-top:0px;font-family:'cambria';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-bottom:2pt;"&gt; &lt;b&gt;What were the Fund&#x2019;s costs for the last &lt;/b&gt; &lt;b&gt;year&lt;/b&gt; &lt;b&gt;?&lt;/b&gt; &lt;/div&gt;&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:10pt;line-height:11pt;margin-bottom:3pt;"&gt;(based on a hypothetical $10,000 investment)&lt;/div&gt;&lt;table style="width:100%;border-collapse:collapse;break-inside:avoid-page"&gt;
&lt;tr style="border-bottom-style:none;border-bottom-width:initial;break-inside:avoid-page;background-color:rgb(0, 72, 94);height:auto;border-bottom-color:initial"&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: left; width: 25%;"&gt;Share Class&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: center; width: 30%;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: center; width: 40%;"&gt;Costs paid as a percentage of a $10,000 investment&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="border-bottom-width:initial;border-bottom-style:none;break-inside:avoid-page;border-bottom-color:initial;background-color:rgb(227, 235, 237);height:19pt"&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 6pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: left; vertical-align: top; text-indent: -6pt;"&gt;Wealth &lt;span style="white-space:nowrap"&gt;Shares&lt;sup style="vertical-align:baseline;position:relative;top:-0.7em;font-size:5pt"&gt;*&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;43&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; white-space: nowrap; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top;"&gt;0.42&lt;span&gt;%&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;&lt;table style="width:100%;border-collapse:collapse;break-inside:avoid-page;margin-bottom:22pt"&gt;
&lt;tr style="border-bottom-width:initial;border-bottom-style:none;break-inside:avoid-page;height:auto;border-bottom-color:initial"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 5pt; line-height: normal; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; width: 10pt; text-align: left; vertical-align: super;"&gt;*&lt;/td&gt;
&lt;td style="break-inside: avoid-page; text-align: right; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: normal; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; vertical-align: top;"&gt;
&lt;div style="margin-top:0px;font-family:'cambria';color:rgb(0, 0, 0);font-size:9pt;line-height:normal;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;text-align:left;margin-bottom:0px;"&gt;During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="FY2025_C000223302Member"
      decimals="INF"
      id="h_21_809488e5_c9dc_4f3b_8cbf_cb555b85bc3a"
      unitRef="USD">43</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="FY2025_C000223302Member"
      decimals="4"
      id="h_22_963696fd_ac16_4df2_ab9e_5806f50e0531"
      unitRef="pure">0.0042</oef:ExpenseRatioPct>
    <oef:AddlFundStatisticsTextBlock
      contextRef="FY2025_C000223302Member"
      id="t_11_3955971d_477e_d389_4cf8_ca1cce080cf4">&lt;div style="font-family:'cambria';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-top:0px;margin-bottom:0px;"&gt; &lt;b&gt;KEY FUND STATISTICS (AS OF &lt;/b&gt; &lt;b&gt;1/31/25&lt;/b&gt; &lt;b&gt;)&lt;/b&gt; &lt;/div&gt;&lt;table style="width:100%;border-collapse:collapse;break-inside:avoid-page"&gt;
&lt;tr style="border-bottom-style:none;border-bottom-width:initial;break-inside:avoid-page;background-color:rgb(0, 72, 94);height:auto;border-bottom-color:initial"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; padding-top: 1pt; padding-bottom: 10pt; padding-left: 3pt; padding-right: 3pt; text-align: center; width: 170pt; vertical-align: top;"&gt;&lt;br/&gt; Fund Size (Millions)&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; padding-top: 1pt; padding-bottom: 10pt; padding-left: 3pt; padding-right: 3pt; text-align: center; width: 170pt; vertical-align: top;"&gt;&lt;br/&gt; Number of Holdings&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; padding-top: 1pt; padding-bottom: 10pt; padding-left: 3pt; padding-right: 3pt; text-align: center; width: 170pt; vertical-align: top;"&gt;Total Advisory Fee Paid During&lt;br/&gt; Period&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="border-bottom-width:initial;border-bottom-style:none;break-inside:avoid-page;border-bottom-color:initial;background-color:rgb(227, 235, 237);height:19pt"&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;138,651&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal;"&gt;169&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;198,150,413&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;&lt;table cellpadding="0" cellspacing="0" style="width: 60%; border-collapse: collapse"&gt;
&lt;tr style="vertical-align: top"&gt;
&lt;td style="width: 100%; border: Black 1pt solid; font: 11pt/107% Calibri, Helvetica, Sans-Serif; padding-right: 5.4pt; padding-bottom: 8pt; padding-left: 5.4pt; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 12pt; line-height: 107%"&gt;Not FDIC Insured. Not Bank-Guaranteed. May Lose Value &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20250131_C000223302Member"
      decimals="INF"
      id="h_23_4e545c9d_47e2_42a5_8de9_666f68831a4c"
      unitRef="USD">138651000000</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20250131_C000223302Member"
      decimals="INF"
      id="h_24_3d9c5f05_7dac_4830_9910_ed59825a44b4"
      unitRef="Holding">169</oef:HoldingsCount>
    <oef:AdvisoryFeesPaidAmt
      contextRef="FY2025_C000223302Member"
      decimals="INF"
      id="h_25_e725d4ce_6290_4cf8_b08b_d0f35d532574"
      unitRef="USD">198150413</oef:AdvisoryFeesPaidAmt>
    <oef:HoldingsTableTextBlock
      contextRef="FY2025_C000223302Member"
      id="t_12_205aac71_0676_0ecf_17ee_cf0cd7aa9629">&lt;div style="margin-top:0px;font-family:'cambria';color:rgb(0, 0, 0);letter-spacing:0px;text-transform:uppercase;font-size:9pt;margin-bottom:3pt;font-weight:bold;"&gt; &lt;b&gt;Portfolio Holdings (as of &lt;/b&gt; &lt;b&gt;1/31/25&lt;/b&gt; &lt;b&gt;)&lt;/b&gt; &lt;/div&gt;&lt;div style="margin-top:0px;font-family:'cambria';color:rgb(0, 0, 0);letter-spacing:0px;font-size:9pt;font-weight:bold;margin-bottom:0px;text-transform:none;"&gt; &lt;b&gt;Allocation of Holdings (Based on Net Assets)&lt;/b&gt; &lt;/div&gt;&lt;div style="width:540pt;margin-left:18pt;margin-bottom:12pt;"&gt; &lt;img alt="Graphical Representation - Top N Holdings Chart" src="chartimages_9562332.jpg" style="margin-left: 50pt; width: 437pt;"/&gt;  &lt;/div&gt;</oef:HoldingsTableTextBlock>
    <oef:FundName
      contextRef="FY2025_C000223301Member"
      id="t_1_575edd7c_ebfd_7121_0de8_e95abf50dfda">Dreyfus Government Cash Management</oef:FundName>
    <oef:ClassName
      contextRef="FY2025_C000223301Member"
      id="t_2_9acc7ea0_ec51_206b_edc3_b421b9432f53">Service Shares</oef:ClassName>
    <dei:TradingSymbol
      contextRef="FY2025_C000223301Member"
      id="t_3_411c8c8f_12c4_4557_26db_85c605a0ff1d">DGUXX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="FY2025_C000223301Member"
      id="t_5_fb332bb0_f772_3138_ae61_1388d012841f">This annual shareholder report contains important information about Dreyfus Government Cash Management (the &#x201c;Fund&#x201d;) for the period of February 1, 2024 to January 31, 2025.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="FY2025_C000223301Member"
      id="t_4_1c2c16c3_cd31_74a5_3d10_1bb70baa2210">annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="FY2025_C000223301Member"
      id="t_9_64376910_f9d9_15c7_872b_2cf9dd216926">You can find additional information about the Fund at &lt;span style="color:rgb(0, 0, 0);text-decoration-line:none;font-family:'times new roman';font-size:10pt;line-height:11pt"&gt;www.dreyfus.com/products/mm.html#overview&lt;/span&gt;. You can also request this information by calling 1-800-373-9387 (inside the U.S. only) or by sending an e-mail request to info@bny.com.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="FY2025_C000223301Member"
      id="t_6_658f9edc_8e48_3abe_6df8_f1f252b72ee6">www.dreyfus.com/products/mm.html#overview</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="FY2025_C000223301Member"
      id="t_7_619efe2e_8232_dbcc_03b2_88b6245744ef">1-800-373-9387</oef:AddlInfoPhoneNumber>
    <oef:AddlInfoEmail
      contextRef="FY2025_C000223301Member"
      id="t_8_49af7bb2_93e7_8d0f_3451_a6f7c63f6584">info@bny.com</oef:AddlInfoEmail>
    <oef:ExpensesTextBlock
      contextRef="FY2025_C000223301Member"
      id="t_10_6b7fa3ac_e1b7_7c59_0fd9_46461b4a4e11">&lt;div style="margin-top:0px;font-family:'cambria';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-bottom:2pt;"&gt; &lt;b&gt;What were the Fund&#x2019;s costs for the last &lt;/b&gt; &lt;b&gt;year&lt;/b&gt; &lt;b&gt;?&lt;/b&gt; &lt;/div&gt;&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:10pt;line-height:11pt;margin-bottom:3pt;"&gt;(based on a hypothetical $10,000 investment)&lt;/div&gt;&lt;table style="width:100%;border-collapse:collapse;break-inside:avoid-page"&gt;
&lt;tr style="border-bottom-style:none;border-bottom-width:initial;break-inside:avoid-page;background-color:rgb(0, 72, 94);height:auto;border-bottom-color:initial"&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: left; width: 25%;"&gt;Share Class&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: center; width: 30%;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: center; width: 40%;"&gt;Costs paid as a percentage of a $10,000 investment&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="border-bottom-width:initial;border-bottom-style:none;break-inside:avoid-page;border-bottom-color:initial;background-color:rgb(227, 235, 237);height:19pt"&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 6pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: left; vertical-align: top; text-indent: -6pt;"&gt;Service &lt;span style="white-space:nowrap"&gt;Shares&lt;sup style="vertical-align:baseline;position:relative;top:-0.7em;font-size:5pt"&gt;*&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;99&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; white-space: nowrap; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top;"&gt;0.97&lt;span&gt;%&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;&lt;table style="width:100%;border-collapse:collapse;break-inside:avoid-page;margin-bottom:22pt"&gt;
&lt;tr style="border-bottom-width:initial;border-bottom-style:none;break-inside:avoid-page;height:auto;border-bottom-color:initial"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 5pt; line-height: normal; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; width: 10pt; text-align: left; vertical-align: super;"&gt;*&lt;/td&gt;
&lt;td style="break-inside: avoid-page; text-align: right; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: normal; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; vertical-align: top;"&gt;
&lt;div style="margin-top:0px;font-family:'cambria';color:rgb(0, 0, 0);font-size:9pt;line-height:normal;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;text-align:left;margin-bottom:0px;"&gt;During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="FY2025_C000223301Member"
      decimals="INF"
      id="h_26_130e63a4_5c1e_48a6_9214_c9c53df734b1"
      unitRef="USD">99</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="FY2025_C000223301Member"
      decimals="4"
      id="h_27_5c3a5e7c_abf5_4406_821d_c08994377e81"
      unitRef="pure">0.0097</oef:ExpenseRatioPct>
    <oef:AddlFundStatisticsTextBlock
      contextRef="FY2025_C000223301Member"
      id="t_11_b22e0dca_3f63_20ed_a761_4eec799dd9e8">&lt;div style="font-family:'cambria';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-top:0px;margin-bottom:0px;"&gt; &lt;b&gt;KEY FUND STATISTICS (AS OF &lt;/b&gt; &lt;b&gt;1/31/25&lt;/b&gt; &lt;b&gt;)&lt;/b&gt; &lt;/div&gt;&lt;table style="width:100%;border-collapse:collapse;break-inside:avoid-page"&gt;
&lt;tr style="border-bottom-style:none;border-bottom-width:initial;break-inside:avoid-page;background-color:rgb(0, 72, 94);height:auto;border-bottom-color:initial"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; padding-top: 1pt; padding-bottom: 10pt; padding-left: 3pt; padding-right: 3pt; text-align: center; width: 170pt; vertical-align: top;"&gt;&lt;br/&gt; Fund Size (Millions)&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; padding-top: 1pt; padding-bottom: 10pt; padding-left: 3pt; padding-right: 3pt; text-align: center; width: 170pt; vertical-align: top;"&gt;&lt;br/&gt; Number of Holdings&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; padding-top: 1pt; padding-bottom: 10pt; padding-left: 3pt; padding-right: 3pt; text-align: center; width: 170pt; vertical-align: top;"&gt;Total Advisory Fee Paid During&lt;br/&gt; Period&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="border-bottom-width:initial;border-bottom-style:none;break-inside:avoid-page;border-bottom-color:initial;background-color:rgb(227, 235, 237);height:19pt"&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;138,651&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal;"&gt;169&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;198,150,413&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;&lt;table cellpadding="0" cellspacing="0" style="width: 60%; border-collapse: collapse"&gt;
&lt;tr style="vertical-align: top"&gt;
&lt;td style="width: 100%; border: Black 1pt solid; font: 11pt/107% Calibri, Helvetica, Sans-Serif; padding-right: 5.4pt; padding-bottom: 8pt; padding-left: 5.4pt; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 12pt; line-height: 107%"&gt;Not FDIC Insured. Not Bank-Guaranteed. May Lose Value &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20250131_C000223301Member"
      decimals="INF"
      id="h_28_93f7c4e4_e7cd_4804_9d06_bfa2154c8153"
      unitRef="USD">138651000000</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20250131_C000223301Member"
      decimals="INF"
      id="h_29_ba2bd2c7_d942_45c4_87c6_a462c0bd36d6"
      unitRef="Holding">169</oef:HoldingsCount>
    <oef:AdvisoryFeesPaidAmt
      contextRef="FY2025_C000223301Member"
      decimals="INF"
      id="h_30_f237a770_150e_4bf3_b876_b63cdbe29650"
      unitRef="USD">198150413</oef:AdvisoryFeesPaidAmt>
    <oef:HoldingsTableTextBlock
      contextRef="FY2025_C000223301Member"
      id="t_12_bbb67e41_4324_2485_7dc4_c8e0873bae66">&lt;div style="margin-top:0px;font-family:'cambria';color:rgb(0, 0, 0);letter-spacing:0px;text-transform:uppercase;font-size:9pt;margin-bottom:3pt;font-weight:bold;"&gt; &lt;b&gt;Portfolio Holdings (as of &lt;/b&gt; &lt;b&gt;1/31/25&lt;/b&gt; &lt;b&gt;)&lt;/b&gt; &lt;/div&gt;&lt;div style="margin-top:0px;font-family:'cambria';color:rgb(0, 0, 0);letter-spacing:0px;font-size:9pt;font-weight:bold;margin-bottom:0px;text-transform:none;"&gt; &lt;b&gt;Allocation of Holdings (Based on Net Assets)&lt;/b&gt; &lt;/div&gt;&lt;div style="width:540pt;margin-left:18pt;margin-bottom:12pt;"&gt; &lt;img alt="Graphical Representation - Top N Holdings Chart" src="chartimages_9562330.jpg" style="margin-left: 50pt; width: 437pt;"/&gt;  &lt;/div&gt;</oef:HoldingsTableTextBlock>
    <oef:FundName
      contextRef="FY2025_C000233952Member"
      id="t_1_7c47348e_1168_f614_685d_dc01c11f0d53">Dreyfus Government Cash Management</oef:FundName>
    <oef:ClassName
      contextRef="FY2025_C000233952Member"
      id="t_2_115101a8_4279_a66c_b8b4_6fd91ea350cf">BOLD&#xae; Shares</oef:ClassName>
    <dei:TradingSymbol
      contextRef="FY2025_C000233952Member"
      id="t_3_08c6d648_27d7_5c58_8a4a_fe433fe66579">DBLXX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="FY2025_C000233952Member"
      id="t_5_d56e33e4_a27c_cf44_3f10_cfb12905ad15">This annual shareholder report contains important information about Dreyfus Government Cash Management (the &#x201c;Fund&#x201d;) for the period of February 1, 2024 to January 31, 2025.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="FY2025_C000233952Member"
      id="t_4_2afe204f_68cb_d505_63ee_10608e0942e3">annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="FY2025_C000233952Member"
      id="t_9_812f409e_c80a_0c5c_3fa1_61cdaee4f541">You can find additional information about the Fund at &lt;span style="color: #000000; text-decoration-line: none; font-family: 'times new roman'; font-size: 10pt; line-height: 11pt;"&gt;www.dreyfus.com/products/mm.html#overview&lt;/span&gt;. You can also request this information by calling 1-800-373-9387 (inside the U.S. only) or by sending an e-mail request to info@bny.com.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="FY2025_C000233952Member"
      id="t_6_e7081638_730c_deab_c0d9_e71000635c0f">www.dreyfus.com/products/mm.html#overview</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="FY2025_C000233952Member"
      id="t_7_4b67b065_41d0_05eb_1653_d56e9c86f924">1-800-373-9387</oef:AddlInfoPhoneNumber>
    <oef:AddlInfoEmail
      contextRef="FY2025_C000233952Member"
      id="t_8_719c2d6e_d815_f8e0_cef3_d44d1927a638">info@bny.com</oef:AddlInfoEmail>
    <oef:ExpensesTextBlock
      contextRef="FY2025_C000233952Member"
      id="t_10_8dba7bfb_b58c_61b4_09d8_1ac32141e9d7">
&lt;div style="margin-top: 0px; font-family: 'cambria'; color: #000000; font-size: 11pt; font-weight: bold; margin-bottom: 2pt;"&gt;&lt;b&gt;What were the Fund&#x2019;s costs for the last &lt;/b&gt; &lt;b&gt;year&lt;/b&gt; &lt;b&gt;?&lt;/b&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'times new roman'; color: #000000; font-size: 10pt; line-height: 11pt; margin-bottom: 3pt;"&gt;(based on a hypothetical $10,000 investment)&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; break-inside: avoid-page;"&gt;

&lt;tr style="border-bottom-style: none; border-bottom-width: initial; break-inside: avoid-page; background-color: #00485e; height: auto; border-bottom-color: initial;"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #ffffff; font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: left; width: 25%; padding: 1pt 3pt 10pt 3pt;"&gt;Share Class&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #ffffff; font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: center; width: 30%; padding: 1pt 3pt 10pt 3pt;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #ffffff; font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: center; width: 40%; padding: 1pt 3pt 10pt 3pt;"&gt;Costs paid as a percentage of a $10,000 investment&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="border-bottom-width: initial; border-bottom-style: none; break-inside: avoid-page; border-bottom-color: initial; background-color: #e3ebed; height: 19pt;"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: 9pt; text-align: left; vertical-align: top; text-indent: -6pt; padding: 1pt 3pt 3pt 6pt;"&gt;BOLD&lt;sup style="vertical-align: baseline; position: relative; top: -0.7em; font-size: 5pt;"&gt;&#xae;&lt;/sup&gt;&lt;span style="white-space: nowrap;"&gt;Shares&lt;sup style="vertical-align: baseline; position: relative; top: -0.7em; font-size: 5pt;"&gt;*&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top; padding: 1pt 3pt 3pt 3pt;"&gt;&lt;span style="float: none;"&gt;$&lt;/span&gt;17&lt;/td&gt;
&lt;td style="break-inside: avoid-page; white-space: nowrap; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top; padding: 1pt 3pt 3pt 3pt;"&gt;0.17&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;

&lt;table style="width: 100%; border-collapse: collapse; break-inside: avoid-page; margin-bottom: 22pt;"&gt;

&lt;tr style="border-bottom-width: initial; border-bottom-style: none; break-inside: avoid-page; height: auto; border-bottom-color: initial;"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #000000; font-size: 5pt; line-height: normal; width: 10pt; text-align: left; vertical-align: super; padding: 0;"&gt;*&lt;/td&gt;
&lt;td style="break-inside: avoid-page; text-align: right; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: normal; vertical-align: top; padding: 0;"&gt;
&lt;div style="margin-top: 0px; font-family: 'cambria'; color: #000000; font-size: 9pt; line-height: normal; text-align: left; margin-bottom: 0px; padding: 0px;"&gt;During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="FY2025_C000233952Member"
      decimals="INF"
      id="h_31_82b61994_1936_486f_9bc4_c2f5586fd620"
      unitRef="USD">17</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="FY2025_C000233952Member"
      decimals="4"
      id="h_32_8e2e01b0_3c5a_4ce7_ac1f_ff70a1a80131"
      unitRef="pure">0.0017</oef:ExpenseRatioPct>
    <oef:AddlFundStatisticsTextBlock
      contextRef="FY2025_C000233952Member"
      id="t_11_79acbae2_450e_5f18_27e2_2861a668f318">
&lt;div style="font-family: 'cambria'; color: #000000; font-size: 11pt; font-weight: bold; margin-top: 0px; margin-bottom: 0px;"&gt;&lt;b&gt;KEY FUND STATISTICS (AS OF &lt;/b&gt; &lt;b&gt;1/31/25&lt;/b&gt; &lt;b&gt;)&lt;/b&gt;&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; break-inside: avoid-page;"&gt;

&lt;tr style="border-bottom-style: none; border-bottom-width: initial; break-inside: avoid-page; background-color: #00485e; height: auto; border-bottom-color: initial;"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #ffffff; font-size: 9pt; line-height: 9pt; font-weight: bold; text-align: center; width: 170pt; vertical-align: top; padding: 1pt 3pt 10pt 3pt;"&gt;&lt;br/&gt;Fund Size (Millions)&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #ffffff; font-size: 9pt; line-height: 9pt; font-weight: bold; text-align: center; width: 170pt; vertical-align: top; padding: 1pt 3pt 10pt 3pt;"&gt;&lt;br/&gt;Number of Holdings&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #ffffff; font-size: 9pt; line-height: 9pt; font-weight: bold; text-align: center; width: 170pt; vertical-align: top; padding: 1pt 3pt 10pt 3pt;"&gt;Total Advisory Fee Paid During&lt;br/&gt;Period&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="border-bottom-width: initial; border-bottom-style: none; break-inside: avoid-page; border-bottom-color: initial; background-color: #e3ebed; height: 19pt;"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal; padding: 1pt 3pt 3pt 3pt;"&gt;&lt;span style="float: none;"&gt;$&lt;/span&gt;138,651&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal; padding: 1pt 3pt 3pt 3pt;"&gt;169&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal; padding: 1pt 3pt 3pt 3pt;"&gt;&lt;span style="float: none;"&gt;$&lt;/span&gt;198,150,413&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;&lt;table cellpadding="0" cellspacing="0" style="width: 60%; border-collapse: collapse"&gt;
&lt;tr style="vertical-align: top"&gt;
&lt;td style="width: 100%; border: Black 1pt solid; font: 11pt/107% Calibri, Helvetica, Sans-Serif; padding-right: 5.4pt; padding-bottom: 8pt; padding-left: 5.4pt; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 12pt; line-height: 107%"&gt;Not FDIC Insured. Not Bank-Guaranteed. May Lose Value &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;

</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20250131_C000233952Member"
      decimals="INF"
      id="h_33_5a705beb_0ae0_450f_95b4_d645ced04b86"
      unitRef="USD">138651000000</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20250131_C000233952Member"
      decimals="INF"
      id="h_34_b4cbb79d_0f1d_4e2f_92c7_64307815cdbe"
      unitRef="Holding">169</oef:HoldingsCount>
    <oef:AdvisoryFeesPaidAmt
      contextRef="FY2025_C000233952Member"
      decimals="INF"
      id="h_35_2af78bcc_2823_433a_816d_2a1618c6224a"
      unitRef="USD">198150413</oef:AdvisoryFeesPaidAmt>
    <oef:HoldingsTableTextBlock
      contextRef="FY2025_C000233952Member"
      id="t_12_753e872c_3154_4f30_10e6_309e25a8ab11">
&lt;div style="margin-top: 0px; font-family: 'cambria'; color: #000000; letter-spacing: 0px; text-transform: uppercase; font-size: 9pt; margin-bottom: 3pt; font-weight: bold;"&gt;&lt;b&gt;Portfolio Holdings (as of &lt;/b&gt; &lt;b&gt;1/31/25&lt;/b&gt; &lt;b&gt;)&lt;/b&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'cambria'; color: #000000; letter-spacing: 0px; font-size: 9pt; font-weight: bold; margin-bottom: 0px; text-transform: none;"&gt;&lt;b&gt;Allocation of Holdings (Based on Net Assets)&lt;/b&gt;&lt;/div&gt;

&lt;div style="width: 540pt; margin-left: 18pt; margin-bottom: 12pt;"&gt;&lt;img alt="Graphical Representation - Top N Holdings Chart" src="chartimages_9562327.jpg" style="margin-left: 50pt; width: 437pt;"/&gt; &lt;/div&gt;
</oef:HoldingsTableTextBlock>
    <oef:FundName
      contextRef="FY2025_C000243326Member"
      id="t_1_81473a55_c0a1_eba0_d7ec_bb85a1fd05d4">Dreyfus Government Cash Management</oef:FundName>
    <oef:ClassName
      contextRef="FY2025_C000243326Member"
      id="t_2_6763f41b_c74b_dcac_bbfd_238bb6af0ba8">SPARK&#x2120; Shares</oef:ClassName>
    <dei:TradingSymbol
      contextRef="FY2025_C000243326Member"
      id="t_3_d2f66d68_2392_8d15_a67d_b524b3615d19">SPKXX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="FY2025_C000243326Member"
      id="t_5_63cb1606_672f_5a8a_94e6_88ea25c6c2a9">This annual shareholder report contains important information about Dreyfus Government Cash Management (the &#x201c;Fund&#x201d;) for the period of February 1, 2024 to January 31, 2025.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="FY2025_C000243326Member"
      id="t_4_1522a1ab_2d3e_45bc_854c_fcb2e8edbaef">annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="FY2025_C000243326Member"
      id="t_6_23ccd2fc_7832_94bc_342e_cf68d391a690">You can find additional information about the Fund at &lt;span style="color: #000000; text-decoration-line: none; font-family: 'times new roman'; font-size: 10pt; line-height: 11pt;"&gt;www.dreyfus.com/products/mm.html#overview&lt;/span&gt;. You can also request this information by calling 1-800-373-9387 (inside the U.S. only) or by sending an e-mail request to info@bny.com.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="FY2025_C000243326Member"
      id="t_7_3cdad6cd_a953_412f_c509_b8995fac2e9a">www.dreyfus.com/products/mm.html#overview</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="FY2025_C000243326Member"
      id="t_8_3132e795_fffb_19fb_4613_58879804b651">1-800-373-9387</oef:AddlInfoPhoneNumber>
    <oef:AddlInfoEmail
      contextRef="FY2025_C000243326Member"
      id="t_9_a6318a8a_e57c_c97c_0ff3_ca486d999828">info@bny.com</oef:AddlInfoEmail>
    <oef:ExpensesTextBlock
      contextRef="FY2025_C000243326Member"
      id="t_13_147f43e2_7c53_a9cf_2e9d_8bbef0591181">&lt;div style="margin-top: 0px; font-family: 'cambria'; color: #000000; font-size: 11pt; font-weight: bold; margin-bottom: 2pt;"&gt;&lt;b&gt;What were the Fund&#x2019;s costs for the last &lt;/b&gt; &lt;b&gt;year&lt;/b&gt; &lt;b&gt;?&lt;/b&gt;&lt;/div&gt;&lt;div style="margin-top: 0px; font-family: 'times new roman'; color: #000000; font-size: 10pt; line-height: 11pt; margin-bottom: 3pt;"&gt;(based on a hypothetical $10,000 investment)&lt;/div&gt;&lt;table style="width: 100%; border-collapse: collapse; break-inside: avoid-page;"&gt;

&lt;tr style="border-bottom-style: none; border-bottom-width: initial; break-inside: avoid-page; background-color: #00485e; height: auto; border-bottom-color: initial;"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #ffffff; font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: left; width: 25%; padding: 1pt 3pt 10pt 3pt;"&gt;Share Class&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #ffffff; font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: center; width: 30%; padding: 1pt 3pt 10pt 3pt;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #ffffff; font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: center; width: 40%; padding: 1pt 3pt 10pt 3pt;"&gt;Costs paid as a percentage of a $10,000 investment&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="border-bottom-width: initial; border-bottom-style: none; break-inside: avoid-page; border-bottom-color: initial; background-color: #e3ebed; height: 19pt;"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: 9pt; text-align: left; vertical-align: top; text-indent: -6pt; padding: 1pt 3pt 3pt 6pt;"&gt;SPARK&#x2120; &lt;span style="white-space: nowrap;"&gt;Shares&lt;sup style="vertical-align: baseline; position: relative; top: -0.7em; font-size: 5pt;"&gt;*&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top; padding: 1pt 3pt 3pt 3pt;"&gt;&lt;span style="float: none;"&gt;$&lt;/span&gt;18&lt;/td&gt;
&lt;td style="break-inside: avoid-page; white-space: nowrap; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top; padding: 1pt 3pt 3pt 3pt;"&gt;0.18&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;&lt;table style="width: 100%; border-collapse: collapse; break-inside: avoid-page; margin-bottom: 22pt;"&gt;

&lt;tr style="border-bottom-width: initial; border-bottom-style: none; break-inside: avoid-page; height: auto; border-bottom-color: initial;"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #000000; font-size: 5pt; line-height: normal; width: 10pt; text-align: left; vertical-align: super; padding: 0;"&gt;*&lt;/td&gt;
&lt;td style="break-inside: avoid-page; text-align: right; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: normal; vertical-align: top; padding: 0;"&gt;
&lt;div style="margin-top: 0px; font-family: 'cambria'; color: #000000; font-size: 9pt; line-height: normal; text-align: left; margin-bottom: 0px; padding: 0px;"&gt;During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="FY2025_C000243326Member"
      decimals="INF"
      id="h_36_5e67d798_678d_419f_99a3_ba57515acf05"
      unitRef="USD">18</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="FY2025_C000243326Member"
      decimals="4"
      id="h_37_f10d26b8_a717_4105_a284_57d4558417a0"
      unitRef="pure">0.0018</oef:ExpenseRatioPct>
    <oef:AddlFundStatisticsTextBlock
      contextRef="FY2025_C000243326Member"
      id="t_11_727de456_3e5b_c776_f8b1_3ace07098eac">
&lt;div style="font-family: 'cambria'; color: #000000; font-size: 11pt; font-weight: bold; margin-top: 0px; margin-bottom: 0px;"&gt;&lt;b&gt;KEY FUND STATISTICS (AS OF &lt;/b&gt; &lt;b&gt;1/31/25&lt;/b&gt; &lt;b&gt;)&lt;/b&gt;&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; break-inside: avoid-page;"&gt;

&lt;tr style="border-bottom-style: none; border-bottom-width: initial; break-inside: avoid-page; background-color: #00485e; height: auto; border-bottom-color: initial;"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #ffffff; font-size: 9pt; line-height: 9pt; font-weight: bold; text-align: center; width: 170pt; vertical-align: top; padding: 1pt 3pt 10pt 3pt;"&gt;&lt;br/&gt;Fund Size (Millions)&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #ffffff; font-size: 9pt; line-height: 9pt; font-weight: bold; text-align: center; width: 170pt; vertical-align: top; padding: 1pt 3pt 10pt 3pt;"&gt;&lt;br/&gt;Number of Holdings&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #ffffff; font-size: 9pt; line-height: 9pt; font-weight: bold; text-align: center; width: 170pt; vertical-align: top; padding: 1pt 3pt 10pt 3pt;"&gt;Total Advisory Fee Paid During&lt;br/&gt;Period&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="border-bottom-width: initial; border-bottom-style: none; break-inside: avoid-page; border-bottom-color: initial; background-color: #e3ebed; height: 19pt;"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal; padding: 1pt 3pt 3pt 3pt;"&gt;&lt;span style="float: none;"&gt;$&lt;/span&gt;138,651&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal; padding: 1pt 3pt 3pt 3pt;"&gt;169&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal; padding: 1pt 3pt 3pt 3pt;"&gt;&lt;span style="float: none;"&gt;$&lt;/span&gt;198,150,413&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;&lt;table cellpadding="0" cellspacing="0" style="width: 60%; border-collapse: collapse"&gt;
&lt;tr style="vertical-align: top"&gt;
&lt;td style="width: 100%; border: Black 1pt solid; font: 11pt/107% Calibri, Helvetica, Sans-Serif; padding-right: 5.4pt; padding-bottom: 8pt; padding-left: 5.4pt; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 12pt; line-height: 107%"&gt;Not FDIC Insured. Not Bank-Guaranteed. May Lose Value &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;

</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20250131_C000243326Member"
      decimals="INF"
      id="h_38_930d4d25_1f40_4701_89e0_3ebcf1011652"
      unitRef="USD">138651000000</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20250131_C000243326Member"
      decimals="INF"
      id="h_39_76e57ebd_9711_476a_9ee5_b38e5caa91cd"
      unitRef="Holding">169</oef:HoldingsCount>
    <oef:AdvisoryFeesPaidAmt
      contextRef="FY2025_C000243326Member"
      decimals="INF"
      id="h_40_a681aad1_e3fa_4833_8e87_c85aef500a44"
      unitRef="USD">198150413</oef:AdvisoryFeesPaidAmt>
    <oef:HoldingsTableTextBlock
      contextRef="FY2025_C000243326Member"
      id="t_12_12c80d67_d191_b5e3_b70a_8eca523240dc">
&lt;div style="margin-top: 0px; font-family: 'cambria'; color: #000000; letter-spacing: 0px; text-transform: uppercase; font-size: 9pt; margin-bottom: 3pt; font-weight: bold;"&gt;&lt;b&gt;Portfolio Holdings (as of &lt;/b&gt; &lt;b&gt;1/31/25&lt;/b&gt; &lt;b&gt;)&lt;/b&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'cambria'; color: #000000; letter-spacing: 0px; font-size: 9pt; font-weight: bold; margin-bottom: 0px; text-transform: none;"&gt;&lt;b&gt;Allocation of Holdings (Based on Net Assets)&lt;/b&gt;&lt;/div&gt;

&lt;div style="width: 540pt; margin-left: 18pt; margin-bottom: 12pt;"&gt;&lt;img alt="Graphical Representation - Top N Holdings Chart" src="chartimages_9562331.jpg" style="margin-left: 50pt; width: 437pt;"/&gt; &lt;/div&gt;
</oef:HoldingsTableTextBlock>
    <oef:FundName
      contextRef="FY2025_C000250287Member"
      id="t_1_6b0f2e0f_cf41_1d20_30b7_e12c489defbd">Dreyfus Government Cash Management</oef:FundName>
    <oef:ClassName
      contextRef="FY2025_C000250287Member"
      id="t_2_7401f335_208b_0cd8_5fa2_26e3c831e853">BOLD&#xae; Future Shares</oef:ClassName>
    <dei:TradingSymbol
      contextRef="FY2025_C000250287Member"
      id="t_3_5ff25660_f223_825b_757e_6aaa1bb8d4d4">DBFXX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="FY2025_C000250287Member"
      id="t_5_fefba2de_1e7c_55ce_ddef_99bb71b20854">This annual shareholder report contains important information about Dreyfus Government Cash Management (the &#x201c;Fund&#x201d;) for the period of June 4, 2024, the commencement of the Fund&#x2019;s BOLD&lt;sup style="vertical-align: bottom; font-size: 16pt;"&gt;&#xae;&lt;/sup&gt; Future Shares, to January 31, 2025.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="FY2025_C000250287Member"
      id="t_4_7ff15438_56fa_3de5_79b8_b2cda1b3bb99">annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="FY2025_C000250287Member"
      id="t_6_17e7ded0_ec1f_7a24_a6eb_5e1ee29779ca">You can find additional information about the Fund at &lt;span style="color: #000000; text-decoration-line: none; font-family: 'times new roman'; font-size: 10pt; line-height: 11pt;"&gt;www.dreyfus.com/products/mm.html#overview&lt;/span&gt;. You can also request this information by calling 1-800-373-9387 (inside the U.S. only) or by sending an e-mail request to info@bny.com.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="FY2025_C000250287Member"
      id="t_7_6b136be1_6670_190b_4160_9456a936448d">www.dreyfus.com/products/mm.html#overview</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="FY2025_C000250287Member"
      id="t_8_fdb7bd0a_db9e_1504_f9df_17757f762ded">1-800-373-9387</oef:AddlInfoPhoneNumber>
    <oef:AddlInfoEmail
      contextRef="FY2025_C000250287Member"
      id="t_9_34de5010_1ace_40a7_c751_40ea5fb7919f">info@bny.com</oef:AddlInfoEmail>
    <oef:MaterialFundChngNoticeTextBlock
      contextRef="FY2025_C000250287Member"
      id="t_10_0ba2aedd_ee5b_16fe_0fe5_29e1bc86c8fc">
&lt;div style="margin-top: 0px; font-family: 'times new roman'; color: #000000; font-size: 10pt; line-height: 11pt; margin-bottom: 8pt;" title="oef:MaterialFundChngNoticeTextBlock"&gt;&lt;b&gt;This report describes changes to the Fund that occurred during the reporting period.&lt;/b&gt;&lt;/div&gt;
</oef:MaterialFundChngNoticeTextBlock>
    <oef:ExpensesTextBlock
      contextRef="FY2025_C000250287Member"
      id="t_11_eaed3fb8_47f0_c184_c40a_b70a1384382e">
&lt;div style="margin-top: 0px; font-family: 'cambria'; color: #000000; font-size: 11pt; font-weight: bold; margin-bottom: 2pt;"&gt;&lt;b&gt;What were the Fund&#x2019;s costs for the last &lt;/b&gt; &lt;b&gt;year&lt;/b&gt; &lt;b&gt;?&lt;/b&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'times new roman'; color: #000000; font-size: 10pt; line-height: 11pt; margin-bottom: 3pt;"&gt;(based on a hypothetical $10,000 investment)&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; break-inside: avoid-page;"&gt;

&lt;tr style="border-bottom-style: none; border-bottom-width: initial; break-inside: avoid-page; background-color: #00485e; height: auto; border-bottom-color: initial;"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #ffffff; font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: left; width: 25%; padding: 1pt 3pt 10pt 3pt;"&gt;Share Class&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #ffffff; font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: center; width: 30%; padding: 1pt 3pt 10pt 3pt;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #ffffff; font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: center; width: 40%; padding: 1pt 3pt 10pt 3pt;"&gt;Costs paid as a percentage of a $10,000 investment&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="border-bottom-width: initial; border-bottom-style: none; break-inside: avoid-page; border-bottom-color: initial; background-color: #e3ebed; height: 19pt;"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: 9pt; text-align: left; vertical-align: top; text-indent: -6pt; padding: 1pt 3pt 3pt 6pt;"&gt;BOLD&lt;sup style="vertical-align: baseline; position: relative; top: -0.7em; font-size: 5pt;"&gt;&#xae;&lt;/sup&gt; Future &lt;span style="white-space: nowrap;"&gt;Shares&lt;sup style="vertical-align: baseline; position: relative; top: -0.7em; font-size: 5pt;"&gt;*&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top; padding: 1pt 3pt 3pt 3pt;"&gt;&lt;span style="float: none;"&gt;$&lt;/span&gt;32&lt;/td&gt;
&lt;td style="break-inside: avoid-page; white-space: nowrap; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top; padding: 1pt 3pt 3pt 3pt;"&gt;0.47&lt;span&gt;%&lt;/span&gt;&lt;sup style="vertical-align: baseline; position: relative; top: -0.7em; font-size: 5pt;"&gt;**&lt;/sup&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;

&lt;table style="width: 100%; border-collapse: collapse; break-inside: avoid-page; margin-bottom: 22pt;"&gt;

&lt;tr style="border-bottom-width: initial; border-bottom-style: none; break-inside: avoid-page; height: auto; border-bottom-color: initial;"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #000000; font-size: 5pt; line-height: normal; width: 10pt; text-align: left; vertical-align: super; padding: 0;"&gt;*&lt;/td&gt;
&lt;td style="break-inside: avoid-page; text-align: right; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: normal; vertical-align: top; padding: 0;"&gt;
&lt;div style="margin-top: 0px; font-family: 'cambria'; color: #000000; font-size: 9pt; line-height: normal; text-align: left; margin-bottom: 0px; padding: 0px;"&gt;During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="border-bottom-width: initial; border-bottom-style: none; break-inside: avoid-page; height: auto; border-bottom-color: initial;"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #000000; font-size: 5pt; line-height: normal; width: 10pt; text-align: left; vertical-align: super; padding: 0;"&gt;**&lt;/td&gt;
&lt;td style="break-inside: avoid-page; text-align: right; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: normal; vertical-align: top; padding: 0;"&gt;
&lt;div style="margin-top: 0px; font-family: 'cambria'; color: #000000; font-size: 9pt; line-height: normal; text-align: left; margin-bottom: 0px; padding: 0px;"&gt;Annualized.&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="FY2025_C000250287Member"
      decimals="INF"
      id="h_41_db83e980_d08d_47ec_9acc_0806f905e2b6"
      unitRef="USD">32</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="FY2025_C000250287Member"
      decimals="4"
      id="h_42_9c9a82e5_66f1_4c1c_925b_76f93619ad1b"
      unitRef="pure">0.0047</oef:ExpenseRatioPct>
    <oef:AddlFundStatisticsTextBlock
      contextRef="FY2025_C000250287Member"
      id="t_12_781a00e7_6e31_d624_4dee_0df1de21ee90">
&lt;div style="font-family: 'cambria'; color: #000000; font-size: 11pt; font-weight: bold; margin-top: 0px; margin-bottom: 0px;"&gt;&lt;b&gt;KEY FUND STATISTICS (AS OF &lt;/b&gt; &lt;b&gt;1/31/25&lt;/b&gt; &lt;b&gt;)&lt;/b&gt;&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; break-inside: avoid-page;"&gt;

&lt;tr style="border-bottom-style: none; border-bottom-width: initial; break-inside: avoid-page; background-color: #00485e; height: auto; border-bottom-color: initial;"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #ffffff; font-size: 9pt; line-height: 9pt; font-weight: bold; text-align: center; width: 170pt; vertical-align: top; padding: 1pt 3pt 10pt 3pt;"&gt;&lt;br/&gt;Fund Size (Millions)&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #ffffff; font-size: 9pt; line-height: 9pt; font-weight: bold; text-align: center; width: 170pt; vertical-align: top; padding: 1pt 3pt 10pt 3pt;"&gt;&lt;br/&gt;Number of Holdings&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #ffffff; font-size: 9pt; line-height: 9pt; font-weight: bold; text-align: center; width: 170pt; vertical-align: top; padding: 1pt 3pt 10pt 3pt;"&gt;Total Advisory Fee Paid During&lt;br/&gt;Period&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="border-bottom-width: initial; border-bottom-style: none; break-inside: avoid-page; border-bottom-color: initial; background-color: #e3ebed; height: 19pt;"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal; padding: 1pt 3pt 3pt 3pt;"&gt;&lt;span style="float: none;"&gt;$&lt;/span&gt;138,651&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal; padding: 1pt 3pt 3pt 3pt;"&gt;169&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal; padding: 1pt 3pt 3pt 3pt;"&gt;&lt;span style="float: none;"&gt;$&lt;/span&gt;198,150,413&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;&lt;table cellpadding="0" cellspacing="0" style="width: 60%; border-collapse: collapse"&gt;
&lt;tr style="vertical-align: top"&gt;
&lt;td style="width: 100%; border: Black 1pt solid; font: 11pt/107% Calibri, Helvetica, Sans-Serif; padding-right: 5.4pt; padding-bottom: 8pt; padding-left: 5.4pt; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 12pt; line-height: 107%"&gt;Not FDIC Insured. Not Bank-Guaranteed. May Lose Value &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;

</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20250131_C000250287Member"
      decimals="INF"
      id="h_43_fe75bed3_e0d7_4a56_96bf_50eb8931f0e9"
      unitRef="USD">138651000000</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20250131_C000250287Member"
      decimals="INF"
      id="h_44_9d313f51_6455_4658_9dbc_63e69ed79850"
      unitRef="Holding">169</oef:HoldingsCount>
    <oef:AdvisoryFeesPaidAmt
      contextRef="FY2025_C000250287Member"
      decimals="INF"
      id="h_45_15f27e8e_fed6_4b23_b08a_b7157fea2f7d"
      unitRef="USD">198150413</oef:AdvisoryFeesPaidAmt>
    <oef:HoldingsTableTextBlock
      contextRef="FY2025_C000250287Member"
      id="t_13_84c3f312_34ea_3ce1_655f_21b41cca3f95">
&lt;div style="margin-top: 0px; font-family: 'cambria'; color: #000000; letter-spacing: 0px; text-transform: uppercase; font-size: 9pt; margin-bottom: 3pt; font-weight: bold;"&gt;&lt;b&gt;Portfolio Holdings (as of &lt;/b&gt; &lt;b&gt;1/31/25&lt;/b&gt; &lt;b&gt;)&lt;/b&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'cambria'; color: #000000; letter-spacing: 0px; font-size: 9pt; font-weight: bold; margin-bottom: 0px; text-transform: none;"&gt;&lt;b&gt;Allocation of Holdings (Based on Net Assets)&lt;/b&gt;&lt;/div&gt;

&lt;div style="width: 540pt; margin-left: 18pt; margin-bottom: 12pt;"&gt;&lt;img alt="Graphical Representation - Top N Holdings Chart" src="chartimages_9682693.jpg" style="margin-left: 50pt; width: 437pt;"/&gt; &lt;/div&gt;
</oef:HoldingsTableTextBlock>
    <oef:MaterialFundChngTextBlock
      contextRef="FY2025_C000250287Member"
      id="t_14_55b2c6e5_945c_8348_b9f8_c25087563d43">
&lt;div style="margin-bottom: 9pt; width: 540pt; margin-left: 18pt;"&gt;
&lt;div style="break-inside: avoid;"&gt;
&lt;div style="font-family: 'cambria'; color: #000000; font-size: 11pt; font-weight: bold; margin-bottom: 4pt; margin-top: 0px;"&gt;&lt;b&gt;How has the Fund changed?&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;ul style="break-inside: avoid; padding: 0; margin: 0;"&gt;
&lt;li style="padding-left: 3pt; margin-left: 7pt; font-family: 'Times New Roman'; color: #000000; font-size: 10pt; line-height: 11pt; list-style-type: disc; margin-bottom: 3pt;"&gt;
&lt;div style="margin-top: 0px; margin-bottom: 8pt;"&gt;On June 4, 2024, the Fund commenced offering BOLD&lt;sup style="vertical-align: bottom; font-size: 16pt;"&gt;&#xae;&lt;/sup&gt; Future Shares.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;


&lt;div style="margin-top: 0px; font-family: 'times new roman'; color: #000000; font-size: 10pt; line-height: 11pt; margin-bottom: 10pt;"&gt;&lt;b&gt;This is a summary of certain changes to the Fund since &lt;/b&gt; &lt;b&gt;June 4, 2024&lt;/b&gt; &lt;b&gt;. For more complete information, you may review the Fund&#x2019;s &lt;/b&gt; &lt;b&gt;next prospectus, which we expect to be available by &lt;/b&gt; &lt;b&gt;May 31, 2025&lt;/b&gt; &lt;b&gt; at &lt;/b&gt; &lt;span style="color: #000000; text-decoration-line: none; font-family: 'times new roman'; font-size: 10pt; line-height: 11pt;"&gt;www.dreyfus.com/products/mm.html#overview&lt;/span&gt; &lt;b&gt; &#160;&lt;/b&gt; &lt;b&gt;or upon request at 1-800-373-9387.&lt;/b&gt;&lt;/div&gt;

</oef:MaterialFundChngTextBlock>
    <oef:SummaryOfChngLegendTextBlock
      contextRef="FY2025_C000250287Member"
      id="t_15_cd974243_1418_9d9d_c492_89545c8ac059">
&lt;div style="margin-top: 0px; font-family: 'times new roman'; color: #000000; font-size: 10pt; line-height: 11pt; margin-bottom: 10pt;"&gt;&lt;b&gt;This is a summary of certain changes to the Fund since &lt;/b&gt; &lt;b&gt;June 4, 2024&lt;/b&gt; &lt;b&gt;. For more complete information, you may review the Fund&#x2019;s &lt;/b&gt; &lt;b&gt;next prospectus, which we expect to be available by &lt;/b&gt; &lt;b&gt;May 31, 2025&lt;/b&gt; &lt;b&gt; at &lt;/b&gt; &lt;span style="color: #000000; text-decoration-line: none; font-family: 'times new roman'; font-size: 10pt; line-height: 11pt;"&gt;www.dreyfus.com/products/mm.html#overview&lt;/span&gt; &lt;b&gt; &#160;&lt;/b&gt; &lt;b&gt;or upon request at 1-800-373-9387.&lt;/b&gt;&lt;/div&gt;
</oef:SummaryOfChngLegendTextBlock>
    <oef:UpdProspectusWebAddress
      contextRef="FY2025_C000250287Member"
      id="t_16_537a9316_074b_45a4_ece5_598f530f3ff8">www.dreyfus.com/products/mm.html#overview</oef:UpdProspectusWebAddress>
    <oef:UpdProspectusPhoneNumber
      contextRef="FY2025_C000250287Member"
      id="t_17_aa6c47dc_c75e_edea_9c5e_2a3892fba225">1-800-373-9387</oef:UpdProspectusPhoneNumber>
    <oef:FundName
      contextRef="FY2025_C000000291Member"
      id="t_1_1748407e_df32_1922_e8b8_5e9c86388ae3">Dreyfus Government Securities Cash Management</oef:FundName>
    <oef:ClassName
      contextRef="FY2025_C000000291Member"
      id="t_2_d6e46ef6_2e7f_d900_e570_17ddf56c24d9">Institutional Shares</oef:ClassName>
    <dei:TradingSymbol
      contextRef="FY2025_C000000291Member"
      id="t_3_1cc29383_c262_a4da_d410_4c48428bbaa8">DIPXX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="FY2025_C000000291Member"
      id="t_4_20c499be_34f9_68a3_9327_5d5630faad81">This annual shareholder report contains important information about Dreyfus Government Securities Cash Management (the &#x201c;Fund&#x201d;) for the period of February 1, 2024 to January 31, 2025.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="FY2025_C000000291Member"
      id="t_5_7bff1bed_6bc9_2752_a26d_280450086286">annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="FY2025_C000000291Member"
      id="t_6_be991e0a_4926_b3ac_8f78_7bd2a6d7ddcc">You can find additional information about the Fund at &lt;span style="color:rgb(0, 0, 0);text-decoration-line:none;font-family:'times new roman';font-size:10pt;line-height:11pt"&gt;www.dreyfus.com/products/mm.html#overview&lt;/span&gt;. You can also request this information by calling 1-800-373-9387 (inside the U.S. only) or by sending an e-mail request to info@bny.com.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="FY2025_C000000291Member"
      id="t_7_a6c9b039_3485_5535_8701_557d7fb21da8">www.dreyfus.com/products/mm.html#overview</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="FY2025_C000000291Member"
      id="t_8_11846a3c_153a_9890_8ace_97c5f73c6ed2">1-800-373-9387</oef:AddlInfoPhoneNumber>
    <oef:AddlInfoEmail
      contextRef="FY2025_C000000291Member"
      id="t_9_60662805_26d5_3c5f_67fa_5cd82f918c42">info@bny.com</oef:AddlInfoEmail>
    <oef:ExpensesTextBlock
      contextRef="FY2025_C000000291Member"
      id="t_10_5df8377f_69f8_96db_33a4_65feb2aa8059">&lt;div style="margin-top:0px;font-family:'cambria';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-bottom:2pt;"&gt; &lt;b&gt;What were the Fund&#x2019;s costs for the last &lt;/b&gt; &lt;b&gt;year&lt;/b&gt; &lt;b&gt;?&lt;/b&gt; &lt;/div&gt;&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:10pt;line-height:11pt;margin-bottom:3pt;"&gt;(based on a hypothetical $10,000 investment)&lt;/div&gt;&lt;table style="width:100%;border-collapse:collapse;break-inside:avoid-page"&gt;
&lt;tr style="border-bottom-style:none;border-bottom-width:initial;break-inside:avoid-page;background-color:rgb(0, 72, 94);height:auto;border-bottom-color:initial"&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: left; width: 25%;"&gt;Share Class&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: center; width: 30%;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: center; width: 40%;"&gt;Costs paid as a percentage of a $10,000 investment&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="border-bottom-width:initial;border-bottom-style:none;break-inside:avoid-page;border-bottom-color:initial;background-color:rgb(227, 235, 237);height:19pt"&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 6pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: left; vertical-align: top; text-indent: -6pt;"&gt;Institutional &lt;span style="white-space:nowrap"&gt;Shares&lt;sup style="vertical-align:baseline;position:relative;top:-0.7em;font-size:5pt"&gt;*&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;21&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; white-space: nowrap; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top;"&gt;0.20&lt;span&gt;%&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;&lt;table style="width:100%;border-collapse:collapse;break-inside:avoid-page;margin-bottom:22pt"&gt;
&lt;tr style="border-bottom-width:initial;border-bottom-style:none;break-inside:avoid-page;height:auto;border-bottom-color:initial"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 5pt; line-height: normal; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; width: 10pt; text-align: left; vertical-align: super;"&gt;*&lt;/td&gt;
&lt;td style="break-inside: avoid-page; text-align: right; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: normal; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; vertical-align: top;"&gt;
&lt;div style="margin-top:0px;font-family:'cambria';color:rgb(0, 0, 0);font-size:9pt;line-height:normal;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;text-align:left;margin-bottom:0px;"&gt;During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="FY2025_C000000291Member"
      decimals="INF"
      id="h_46_7492c2d6_3a72_408b_b205_e3199d13ca2e"
      unitRef="USD">21</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="FY2025_C000000291Member"
      decimals="4"
      id="h_47_82437f91_ccb6_4f09_b3aa_a889879bc6c5"
      unitRef="pure">0.0020</oef:ExpenseRatioPct>
    <oef:AddlFundStatisticsTextBlock
      contextRef="FY2025_C000000291Member"
      id="t_11_cee33303_bcd3_7b3e_32f0_550a5c893228">&lt;div style="font-family:'cambria';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-top:0px;margin-bottom:0px;"&gt; &lt;b&gt;KEY FUND STATISTICS (AS OF &lt;/b&gt; &lt;b&gt;1/31/25&lt;/b&gt; &lt;b&gt;)&lt;/b&gt; &lt;/div&gt;&lt;table style="width:100%;border-collapse:collapse;break-inside:avoid-page"&gt;
&lt;tr style="border-bottom-style:none;border-bottom-width:initial;break-inside:avoid-page;background-color:rgb(0, 72, 94);height:auto;border-bottom-color:initial"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; padding-top: 1pt; padding-bottom: 10pt; padding-left: 3pt; padding-right: 3pt; text-align: center; width: 170pt; vertical-align: top;"&gt;&lt;br/&gt; Fund Size (Millions)&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; padding-top: 1pt; padding-bottom: 10pt; padding-left: 3pt; padding-right: 3pt; text-align: center; width: 170pt; vertical-align: top;"&gt;&lt;br/&gt; Number of Holdings&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; padding-top: 1pt; padding-bottom: 10pt; padding-left: 3pt; padding-right: 3pt; text-align: center; width: 170pt; vertical-align: top;"&gt;Total Advisory Fee Paid During&lt;br/&gt; Period&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="border-bottom-width:initial;border-bottom-style:none;break-inside:avoid-page;border-bottom-color:initial;background-color:rgb(227, 235, 237);height:19pt"&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;4,375&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal;"&gt;89&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;8,002,399&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;&lt;table cellpadding="0" cellspacing="0" style="width: 60%; border-collapse: collapse"&gt;
&lt;tr style="vertical-align: top"&gt;
&lt;td style="width: 100%; border: Black 1pt solid; font: 11pt/107% Calibri, Helvetica, Sans-Serif; padding-right: 5.4pt; padding-bottom: 8pt; padding-left: 5.4pt; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 12pt; line-height: 107%"&gt;Not FDIC Insured. Not Bank-Guaranteed. May Lose Value &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20250131_C000000291Member"
      decimals="INF"
      id="h_48_4b270fb0_7ad8_4ff7_8a50_e512e9a8bafc"
      unitRef="USD">4375000000</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20250131_C000000291Member"
      decimals="INF"
      id="h_49_d860f8e1_faa0_4484_bebc_494882872b01"
      unitRef="Holding">89</oef:HoldingsCount>
    <oef:AdvisoryFeesPaidAmt
      contextRef="FY2025_C000000291Member"
      decimals="INF"
      id="h_50_fc7d0e87_3344_4125_bbef_b48bd654cb2f"
      unitRef="USD">8002399</oef:AdvisoryFeesPaidAmt>
    <oef:HoldingsTableTextBlock
      contextRef="FY2025_C000000291Member"
      id="t_12_56f3c9bf_9107_6e23_9dba_11e6cd3b35eb">&lt;div style="margin-top:0px;font-family:'cambria';color:rgb(0, 0, 0);letter-spacing:0px;text-transform:uppercase;font-size:9pt;margin-bottom:3pt;font-weight:bold;"&gt; &lt;b&gt;Portfolio Holdings (as of &lt;/b&gt; &lt;b&gt;1/31/25&lt;/b&gt; &lt;b&gt;)&lt;/b&gt; &lt;/div&gt;&lt;div style="margin-top:0px;font-family:'cambria';color:rgb(0, 0, 0);letter-spacing:0px;font-size:9pt;font-weight:bold;margin-bottom:0px;text-transform:none;"&gt; &lt;b&gt;Allocation of Holdings (Based on Net Assets)&lt;/b&gt; &lt;/div&gt;&lt;div style="width:540pt;margin-left:18pt;margin-bottom:12pt;"&gt; &lt;img alt="Graphical Representation - Top N Holdings Chart" src="chartimages_9562334.jpg" style="margin-left: 50pt; width: 437pt;"/&gt;  &lt;/div&gt;</oef:HoldingsTableTextBlock>
    <oef:FundName
      contextRef="FY2025_C000000290Member"
      id="t_1_169ee619_e2c8_d6ef_9309_f0815334c416">Dreyfus Government Securities Cash Management</oef:FundName>
    <oef:ClassName
      contextRef="FY2025_C000000290Member"
      id="t_2_a84f0f89_6a42_efa8_cfe6_03832d4741fa">Investor Shares</oef:ClassName>
    <dei:TradingSymbol
      contextRef="FY2025_C000000290Member"
      id="t_3_c0c38217_5594_6f5c_d6b6_87f8f5681699">DVPXX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="FY2025_C000000290Member"
      id="t_4_979fd197_27ad_b27a_7a97_e4f7d880ea24">This annual shareholder report contains important information about Dreyfus Government Securities Cash Management (the &#x201c;Fund&#x201d;) for the period of February 1, 2024 to January 31, 2025.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="FY2025_C000000290Member"
      id="t_6_08a60113_c2ec_d3df_1ea6_d9824dbfa6fe">annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="FY2025_C000000290Member"
      id="t_5_08114f33_817a_d32e_d026_28a744bdffc5">You can find additional information about the Fund at &lt;span style="color: #000000; text-decoration-line: none; font-family: 'times new roman'; font-size: 10pt; line-height: 11pt;"&gt;www.dreyfus.com/products/mm.html#overview&lt;/span&gt;. You can also request this information by calling 1-800-373-9387 (inside the U.S. only) or by sending an e-mail request to info@bny.com.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="FY2025_C000000290Member"
      id="t_7_2b52e2e0_646b_3ece_bad8_88e1857bf46d">www.dreyfus.com/products/mm.html#overview</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="FY2025_C000000290Member"
      id="t_8_7cefd9fa_d833_0ac6_a916_7eb865982231">1-800-373-9387</oef:AddlInfoPhoneNumber>
    <oef:AddlInfoEmail
      contextRef="FY2025_C000000290Member"
      id="t_9_590a1569_ea2a_8da1_45c0_f7e483c315f6">info@bny.com</oef:AddlInfoEmail>
    <oef:ExpensesTextBlock
      contextRef="FY2025_C000000290Member"
      id="t_13_a0d65541_7412_ecd3_c59f_7d12f210e9d5">&lt;div style="margin-top: 0px; font-family: 'cambria'; color: #000000; font-size: 11pt; font-weight: bold; margin-bottom: 2pt;"&gt;&lt;b&gt;What were the Fund&#x2019;s costs for the last &lt;/b&gt; &lt;b&gt;year&lt;/b&gt; &lt;b&gt;?&lt;/b&gt;&lt;/div&gt;&lt;div style="margin-top: 0px; font-family: 'times new roman'; color: #000000; font-size: 10pt; line-height: 11pt; margin-bottom: 3pt;"&gt;(based on a hypothetical $10,000 investment)&lt;/div&gt;&lt;table style="width: 100%; border-collapse: collapse; break-inside: avoid-page;"&gt;

&lt;tr style="border-bottom-style: none; border-bottom-width: initial; break-inside: avoid-page; background-color: #00485e; height: auto; border-bottom-color: initial;"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #ffffff; font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: left; width: 25%; padding: 1pt 3pt 10pt 3pt;"&gt;Share Class&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #ffffff; font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: center; width: 30%; padding: 1pt 3pt 10pt 3pt;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #ffffff; font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: center; width: 40%; padding: 1pt 3pt 10pt 3pt;"&gt;Costs paid as a percentage of a $10,000 investment&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="border-bottom-width: initial; border-bottom-style: none; break-inside: avoid-page; border-bottom-color: initial; background-color: #e3ebed; height: 19pt;"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: 9pt; text-align: left; vertical-align: top; text-indent: -6pt; padding: 1pt 3pt 3pt 6pt;"&gt;Investor &lt;span style="white-space: nowrap;"&gt;Shares&lt;sup style="vertical-align: baseline; position: relative; top: -0.7em; font-size: 5pt;"&gt;*&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top; padding: 1pt 3pt 3pt 3pt;"&gt;&lt;span style="float: none;"&gt;$&lt;/span&gt;46&lt;/td&gt;
&lt;td style="break-inside: avoid-page; white-space: nowrap; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top; padding: 1pt 3pt 3pt 3pt;"&gt;0.45&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;&lt;table style="width: 100%; border-collapse: collapse; break-inside: avoid-page; margin-bottom: 22pt;"&gt;

&lt;tr style="border-bottom-width: initial; border-bottom-style: none; break-inside: avoid-page; height: auto; border-bottom-color: initial;"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #000000; font-size: 5pt; line-height: normal; width: 10pt; text-align: left; vertical-align: super; padding: 0;"&gt;*&lt;/td&gt;
&lt;td style="break-inside: avoid-page; text-align: right; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: normal; vertical-align: top; padding: 0;"&gt;
&lt;div style="margin-top: 0px; font-family: 'cambria'; color: #000000; font-size: 9pt; line-height: normal; text-align: left; margin-bottom: 0px; padding: 0px;"&gt;During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="FY2025_C000000290Member"
      decimals="INF"
      id="h_51_49d4e898_f1ac_4e9a_b623_03fb4ffaec74"
      unitRef="USD">46</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="FY2025_C000000290Member"
      decimals="4"
      id="h_52_f66f3d1a_bd2f_4c44_be1a_6c44a1ae50c8"
      unitRef="pure">0.0045</oef:ExpenseRatioPct>
    <oef:AddlFundStatisticsTextBlock
      contextRef="FY2025_C000000290Member"
      id="t_11_bce7ca04_ad84_861e_64da_5a4c9379b7da">
&lt;div style="font-family: 'cambria'; color: #000000; font-size: 11pt; font-weight: bold; margin-top: 0px; margin-bottom: 0px;"&gt;&lt;b&gt;KEY FUND STATISTICS (AS OF &lt;/b&gt; &lt;b&gt;1/31/25&lt;/b&gt; &lt;b&gt;)&lt;/b&gt;&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; break-inside: avoid-page;"&gt;

&lt;tr style="border-bottom-style: none; border-bottom-width: initial; break-inside: avoid-page; background-color: #00485e; height: auto; border-bottom-color: initial;"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #ffffff; font-size: 9pt; line-height: 9pt; font-weight: bold; text-align: center; width: 170pt; vertical-align: top; padding: 1pt 3pt 10pt 3pt;"&gt;&lt;br/&gt;Fund Size (Millions)&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #ffffff; font-size: 9pt; line-height: 9pt; font-weight: bold; text-align: center; width: 170pt; vertical-align: top; padding: 1pt 3pt 10pt 3pt;"&gt;&lt;br/&gt;Number of Holdings&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #ffffff; font-size: 9pt; line-height: 9pt; font-weight: bold; text-align: center; width: 170pt; vertical-align: top; padding: 1pt 3pt 10pt 3pt;"&gt;Total Advisory Fee Paid During&lt;br/&gt;Period&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="border-bottom-width: initial; border-bottom-style: none; break-inside: avoid-page; border-bottom-color: initial; background-color: #e3ebed; height: 19pt;"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal; padding: 1pt 3pt 3pt 3pt;"&gt;&lt;span style="float: none;"&gt;$&lt;/span&gt;4,375&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal; padding: 1pt 3pt 3pt 3pt;"&gt;89&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: #000000; font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal; padding: 1pt 3pt 3pt 3pt;"&gt;&lt;span style="float: none;"&gt;$&lt;/span&gt;8,002,399&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;&lt;table cellpadding="0" cellspacing="0" style="width: 60%; border-collapse: collapse"&gt;
&lt;tr style="vertical-align: top"&gt;
&lt;td style="width: 100%; border: Black 1pt solid; font: 11pt/107% Calibri, Helvetica, Sans-Serif; padding-right: 5.4pt; padding-bottom: 8pt; padding-left: 5.4pt; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 12pt; line-height: 107%"&gt;Not FDIC Insured. Not Bank-Guaranteed. May Lose Value &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;

</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20250131_C000000290Member"
      decimals="INF"
      id="h_53_2df8b3ab_cf6a_4944_bce6_bd94cd446e4d"
      unitRef="USD">4375000000</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20250131_C000000290Member"
      decimals="INF"
      id="h_54_fe77bc29_f097_4f7b_8b68_1c0f37d62a62"
      unitRef="Holding">89</oef:HoldingsCount>
    <oef:AdvisoryFeesPaidAmt
      contextRef="FY2025_C000000290Member"
      decimals="INF"
      id="h_55_50e7326a_fef5_4896_b59e_c96104d8d0f4"
      unitRef="USD">8002399</oef:AdvisoryFeesPaidAmt>
    <oef:HoldingsTableTextBlock
      contextRef="FY2025_C000000290Member"
      id="t_12_7f86e6e3_8acb_b323_3b81_603fe8edda36">
&lt;div style="margin-top: 0px; font-family: 'cambria'; color: #000000; letter-spacing: 0px; text-transform: uppercase; font-size: 9pt; margin-bottom: 3pt; font-weight: bold;"&gt;&lt;b&gt;Portfolio Holdings (as of &lt;/b&gt; &lt;b&gt;1/31/25&lt;/b&gt; &lt;b&gt;)&lt;/b&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'cambria'; color: #000000; letter-spacing: 0px; font-size: 9pt; font-weight: bold; margin-bottom: 0px; text-transform: none;"&gt;&lt;b&gt;Allocation of Holdings (Based on Net Assets)&lt;/b&gt;&lt;/div&gt;

&lt;div style="width: 540pt; margin-left: 18pt; margin-bottom: 12pt;"&gt;&lt;img alt="Graphical Representation - Top N Holdings Chart" src="chartimages_9562335.jpg" style="margin-left: 50pt; width: 437pt;"/&gt; &lt;/div&gt;
</oef:HoldingsTableTextBlock>
    <oef:FundName
      contextRef="FY2025_C000000292Member"
      id="t_2_def85638_fe01_f686_35cd_368cab2d3147">Dreyfus Government Securities Cash Management</oef:FundName>
    <oef:ClassName
      contextRef="FY2025_C000000292Member"
      id="t_3_afc324fe_1045_3744_5e73_9b84eb9fc3f9">Administrative Shares</oef:ClassName>
    <dei:TradingSymbol
      contextRef="FY2025_C000000292Member"
      id="t_4_f3a6fe9d_797b_b643_097e_8ebf79c99843">DAPXX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="FY2025_C000000292Member"
      id="t_5_b81174c8_5248_f7bc_afc9_717943f951f9">This annual shareholder report contains important information about Dreyfus Government Securities Cash Management (the &#x201c;Fund&#x201d;) for the period of February 1, 2024 to January 31, 2025.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="FY2025_C000000292Member"
      id="t_6_53a17e14_517a_abcc_443e_9b79fd157b5f">annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="FY2025_C000000292Member"
      id="t_7_df48e124_3575_0e9d_6c34_240567b4b96e">You can find additional information about the Fund at &lt;span style="color:rgb(0, 0, 0);text-decoration-line:none;font-family:'times new roman';font-size:10pt;line-height:11pt"&gt;www.dreyfus.com/products/mm.html#overview&lt;/span&gt;. You can also request this information by calling 1-800-373-9387 (inside the U.S. only) or by sending an e-mail request to info@bny.com.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="FY2025_C000000292Member"
      id="t_8_e0215258_aa39_c5fa_6b8a_22ac8d58f576">www.dreyfus.com/products/mm.html#overview</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="FY2025_C000000292Member"
      id="t_9_9e6af961_efb6_e980_7b64_5a9cef2a78f3">1-800-373-9387</oef:AddlInfoPhoneNumber>
    <oef:AddlInfoEmail
      contextRef="FY2025_C000000292Member"
      id="t_10_2907dde6_06b1_4878_56cc_8315f720dc04">info@bny.com</oef:AddlInfoEmail>
    <oef:ExpensesTextBlock
      contextRef="FY2025_C000000292Member"
      id="t_1_63668b7d_2406_e84d_ddec_86b5e48f379f">&lt;div style="margin-top:0px;font-family:'cambria';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-bottom:2pt;"&gt; &lt;b&gt;What were the Fund&#x2019;s costs for the last &lt;/b&gt; &lt;b&gt;year&lt;/b&gt; &lt;b&gt;?&lt;/b&gt; &lt;/div&gt;&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:10pt;line-height:11pt;margin-bottom:3pt;"&gt;(based on a hypothetical $10,000 investment)&lt;/div&gt;&lt;table style="width:100%;border-collapse:collapse;break-inside:avoid-page"&gt;
&lt;tr style="border-bottom-style:none;border-bottom-width:initial;break-inside:avoid-page;background-color:rgb(0, 72, 94);height:auto;border-bottom-color:initial"&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: left; width: 25%;"&gt;Share Class&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: center; width: 30%;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: center; width: 40%;"&gt;Costs paid as a percentage of a $10,000 investment&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="border-bottom-width:initial;border-bottom-style:none;break-inside:avoid-page;border-bottom-color:initial;background-color:rgb(227, 235, 237);height:19pt"&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 6pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: left; vertical-align: top; text-indent: -6pt;"&gt;Administrative &lt;span style="white-space:nowrap"&gt;Shares&lt;sup style="vertical-align:baseline;position:relative;top:-0.7em;font-size:5pt"&gt;*&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;31&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; white-space: nowrap; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top;"&gt;0.30&lt;span&gt;%&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;&lt;table style="width:100%;border-collapse:collapse;break-inside:avoid-page;margin-bottom:22pt"&gt;
&lt;tr style="border-bottom-width:initial;border-bottom-style:none;break-inside:avoid-page;height:auto;border-bottom-color:initial"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 5pt; line-height: normal; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; width: 10pt; text-align: left; vertical-align: super;"&gt;*&lt;/td&gt;
&lt;td style="break-inside: avoid-page; text-align: right; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: normal; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; vertical-align: top;"&gt;
&lt;div style="margin-top:0px;font-family:'cambria';color:rgb(0, 0, 0);font-size:9pt;line-height:normal;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;text-align:left;margin-bottom:0px;"&gt;During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="FY2025_C000000292Member"
      decimals="INF"
      id="h_56_95ff1a7d_9f51_4635_819d_b534c14fb275"
      unitRef="USD">31</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="FY2025_C000000292Member"
      decimals="4"
      id="h_57_032587bc_f2db_4aa4_823e_565a3cb9188b"
      unitRef="pure">0.0030</oef:ExpenseRatioPct>
    <oef:AddlFundStatisticsTextBlock
      contextRef="FY2025_C000000292Member"
      id="t_11_f2fcaa5b_5f10_5a3d_50ba_2a86fc1d4fbc">&lt;div style="font-family:'cambria';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-top:0px;margin-bottom:0px;"&gt; &lt;b&gt;KEY FUND STATISTICS (AS OF &lt;/b&gt; &lt;b&gt;1/31/25&lt;/b&gt; &lt;b&gt;)&lt;/b&gt; &lt;/div&gt;&lt;table style="width:100%;border-collapse:collapse;break-inside:avoid-page"&gt;
&lt;tr style="border-bottom-style:none;border-bottom-width:initial;break-inside:avoid-page;background-color:rgb(0, 72, 94);height:auto;border-bottom-color:initial"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; padding-top: 1pt; padding-bottom: 10pt; padding-left: 3pt; padding-right: 3pt; text-align: center; width: 170pt; vertical-align: top;"&gt;&lt;br/&gt; Fund Size (Millions)&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; padding-top: 1pt; padding-bottom: 10pt; padding-left: 3pt; padding-right: 3pt; text-align: center; width: 170pt; vertical-align: top;"&gt;&lt;br/&gt; Number of Holdings&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; padding-top: 1pt; padding-bottom: 10pt; padding-left: 3pt; padding-right: 3pt; text-align: center; width: 170pt; vertical-align: top;"&gt;Total Advisory Fee Paid During&lt;br/&gt; Period&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="border-bottom-width:initial;border-bottom-style:none;break-inside:avoid-page;border-bottom-color:initial;background-color:rgb(227, 235, 237);height:19pt"&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;4,375&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal;"&gt;89&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;8,002,399&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;&lt;table cellpadding="0" cellspacing="0" style="width: 60%; border-collapse: collapse"&gt;
&lt;tr style="vertical-align: top"&gt;
&lt;td style="width: 100%; border: Black 1pt solid; font: 11pt/107% Calibri, Helvetica, Sans-Serif; padding-right: 5.4pt; padding-bottom: 8pt; padding-left: 5.4pt; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 12pt; line-height: 107%"&gt;Not FDIC Insured. Not Bank-Guaranteed. May Lose Value &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20250131_C000000292Member"
      decimals="INF"
      id="h_58_aea2e6df_3d0f_417f_8aa6_6d71649d6233"
      unitRef="USD">4375000000</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20250131_C000000292Member"
      decimals="INF"
      id="h_59_1d85fdd1_5912_4d73_b803_e0f59c87972e"
      unitRef="Holding">89</oef:HoldingsCount>
    <oef:AdvisoryFeesPaidAmt
      contextRef="FY2025_C000000292Member"
      decimals="INF"
      id="h_60_27cd2f59_53db_45c5_9ad3_435b222a19e2"
      unitRef="USD">8002399</oef:AdvisoryFeesPaidAmt>
    <oef:HoldingsTableTextBlock
      contextRef="FY2025_C000000292Member"
      id="t_12_e3ebb97b_b547_7012_3111_bea12e238d09">&lt;div style="margin-top:0px;font-family:'cambria';color:rgb(0, 0, 0);letter-spacing:0px;text-transform:uppercase;font-size:9pt;margin-bottom:3pt;font-weight:bold;"&gt; &lt;b&gt;Portfolio Holdings (as of &lt;/b&gt; &lt;b&gt;1/31/25&lt;/b&gt; &lt;b&gt;)&lt;/b&gt; &lt;/div&gt;&lt;div style="margin-top:0px;font-family:'cambria';color:rgb(0, 0, 0);letter-spacing:0px;font-size:9pt;font-weight:bold;margin-bottom:0px;text-transform:none;"&gt; &lt;b&gt;Allocation of Holdings (Based on Net Assets)&lt;/b&gt; &lt;/div&gt;&lt;div style="width:540pt;margin-left:18pt;margin-bottom:12pt;"&gt; &lt;img alt="Graphical Representation - Top N Holdings Chart" src="chartimages_9562333.jpg" style="margin-left: 50pt; width: 437pt;"/&gt;  &lt;/div&gt;</oef:HoldingsTableTextBlock>
    <oef:FundName
      contextRef="FY2025_C000000293Member"
      id="t_1_296231a3_6302_fe4b_e2aa_c85a4343792a">Dreyfus Government Securities Cash Management</oef:FundName>
    <oef:ClassName
      contextRef="FY2025_C000000293Member"
      id="t_2_381c5f40_afde_d3f1_330a_dbb76ff6a213">Participant Shares</oef:ClassName>
    <dei:TradingSymbol
      contextRef="FY2025_C000000293Member"
      id="t_3_9b436790_b62e_6915_2e9e_59d17e9a33b6">DGPXX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="FY2025_C000000293Member"
      id="t_5_d5714727_9f97_1b39_085a_0b8fc51624fc">This annual shareholder report contains important information about Dreyfus Government Securities Cash Management (the &#x201c;Fund&#x201d;) for the period of February 1, 2024 to January 31, 2025.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="FY2025_C000000293Member"
      id="t_4_849a949e_cd70_3d9f_bcd9_cbb00f7e9e46">annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="FY2025_C000000293Member"
      id="t_6_a9f65d03_cca3_83df_3cab_561f37a3c965">You can find additional information about the Fund at &lt;span style="color:rgb(0, 0, 0);text-decoration-line:none;font-family:'times new roman';font-size:10pt;line-height:11pt"&gt;www.dreyfus.com/products/mm.html#overview&lt;/span&gt;. You can also request this information by calling 1-800-373-9387 (inside the U.S. only) or by sending an e-mail request to info@bny.com.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="FY2025_C000000293Member"
      id="t_7_07f4a44e_cf2e_1fd4_3a2b_9969e7cc11e1">www.dreyfus.com/products/mm.html#overview</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="FY2025_C000000293Member"
      id="t_8_f2ead1a5_7107_139e_9fee_37c505459e33">1-800-373-9387</oef:AddlInfoPhoneNumber>
    <oef:AddlInfoEmail
      contextRef="FY2025_C000000293Member"
      id="t_9_232415d2_9c3b_03b1_b6ea_e18ba42d15d7">info@bny.com</oef:AddlInfoEmail>
    <oef:ExpensesTextBlock
      contextRef="FY2025_C000000293Member"
      id="t_10_3efa7beb_bba2_2e62_01f6_593d20176d91">&lt;div style="margin-top:0px;font-family:'cambria';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-bottom:2pt;"&gt; &lt;b&gt;What were the Fund&#x2019;s costs for the last &lt;/b&gt; &lt;b&gt;year&lt;/b&gt; &lt;b&gt;?&lt;/b&gt; &lt;/div&gt;&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:10pt;line-height:11pt;margin-bottom:3pt;"&gt;(based on a hypothetical $10,000 investment)&lt;/div&gt;&lt;table style="width:100%;border-collapse:collapse;break-inside:avoid-page"&gt;
&lt;tr style="border-bottom-style:none;border-bottom-width:initial;break-inside:avoid-page;background-color:rgb(0, 72, 94);height:auto;border-bottom-color:initial"&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: left; width: 25%;"&gt;Share Class&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: center; width: 30%;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; vertical-align: top; text-align: center; width: 40%;"&gt;Costs paid as a percentage of a $10,000 investment&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="border-bottom-width:initial;border-bottom-style:none;break-inside:avoid-page;border-bottom-color:initial;background-color:rgb(227, 235, 237);height:19pt"&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 6pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: left; vertical-align: top; text-indent: -6pt;"&gt;Participant &lt;span style="white-space:nowrap"&gt;Shares&lt;sup style="vertical-align:baseline;position:relative;top:-0.7em;font-size:5pt"&gt;*&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;61&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; white-space: nowrap; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top;"&gt;0.60&lt;span&gt;%&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;&lt;table style="width:100%;border-collapse:collapse;break-inside:avoid-page;margin-bottom:22pt"&gt;
&lt;tr style="border-bottom-width:initial;border-bottom-style:none;break-inside:avoid-page;height:auto;border-bottom-color:initial"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 5pt; line-height: normal; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; width: 10pt; text-align: left; vertical-align: super;"&gt;*&lt;/td&gt;
&lt;td style="break-inside: avoid-page; text-align: right; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: normal; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; vertical-align: top;"&gt;
&lt;div style="margin-top:0px;font-family:'cambria';color:rgb(0, 0, 0);font-size:9pt;line-height:normal;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;text-align:left;margin-bottom:0px;"&gt;During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="FY2025_C000000293Member"
      decimals="INF"
      id="h_61_c7015741_2feb_4662_b2e1_b9ec59c528b8"
      unitRef="USD">61</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="FY2025_C000000293Member"
      decimals="4"
      id="h_62_e512014e_d758_4b25_9590_3bc92330fa38"
      unitRef="pure">0.0060</oef:ExpenseRatioPct>
    <oef:AddlFundStatisticsTextBlock
      contextRef="FY2025_C000000293Member"
      id="t_11_59555e7c_5e9d_2de2_34d7_ed0188017fce">&lt;div style="font-family:'cambria';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-top:0px;margin-bottom:0px;"&gt; &lt;b&gt;KEY FUND STATISTICS (AS OF &lt;/b&gt; &lt;b&gt;1/31/25&lt;/b&gt; &lt;b&gt;)&lt;/b&gt; &lt;/div&gt;&lt;table style="width:100%;border-collapse:collapse;break-inside:avoid-page"&gt;
&lt;tr style="border-bottom-style:none;border-bottom-width:initial;break-inside:avoid-page;background-color:rgb(0, 72, 94);height:auto;border-bottom-color:initial"&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; padding-top: 1pt; padding-bottom: 10pt; padding-left: 3pt; padding-right: 3pt; text-align: center; width: 170pt; vertical-align: top;"&gt;&lt;br/&gt; Fund Size (Millions)&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; padding-top: 1pt; padding-bottom: 10pt; padding-left: 3pt; padding-right: 3pt; text-align: center; width: 170pt; vertical-align: top;"&gt;&lt;br/&gt; Number of Holdings&lt;/td&gt;
&lt;td style="break-inside: avoid-page; font-family: 'Cambria'; color: rgb(255, 255, 255); font-size: 9pt; line-height: 9pt; font-weight: bold; padding-top: 1pt; padding-bottom: 10pt; padding-left: 3pt; padding-right: 3pt; text-align: center; width: 170pt; vertical-align: top;"&gt;Total Advisory Fee Paid During&lt;br/&gt; Period&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="border-bottom-width:initial;border-bottom-style:none;break-inside:avoid-page;border-bottom-color:initial;background-color:rgb(227, 235, 237);height:19pt"&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;4,375&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal;"&gt;89&lt;/td&gt;
&lt;td style="break-inside: avoid-page; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Cambria'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; border-left-color: initial; border-left-style: none; border-left-width: initial; text-align: center; width: 170pt; font-weight: normal;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;8,002,399&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;&lt;table cellpadding="0" cellspacing="0" style="width: 60%; border-collapse: collapse"&gt;
&lt;tr style="vertical-align: top"&gt;
&lt;td style="width: 100%; border: Black 1pt solid; font: 11pt/107% Calibri, Helvetica, Sans-Serif; padding-right: 5.4pt; padding-bottom: 8pt; padding-left: 5.4pt; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 12pt; line-height: 107%"&gt;Not FDIC Insured. Not Bank-Guaranteed. May Lose Value &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20250131_C000000293Member"
      decimals="INF"
      id="h_63_a12943d6_8445_48a6_9876_b29bd22faa78"
      unitRef="USD">4375000000</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20250131_C000000293Member"
      decimals="INF"
      id="h_64_698b4ff8_7031_4a24_8cbe_a69274da4296"
      unitRef="Holding">89</oef:HoldingsCount>
    <oef:AdvisoryFeesPaidAmt
      contextRef="FY2025_C000000293Member"
      decimals="INF"
      id="h_65_6398da50_d6b0_4e07_8211_81426254bbbc"
      unitRef="USD">8002399</oef:AdvisoryFeesPaidAmt>
    <oef:HoldingsTableTextBlock
      contextRef="FY2025_C000000293Member"
      id="t_12_436d54d6_2af5_8282_ef13_b6d0ec9b80c7">&lt;div style="margin-top:0px;font-family:'cambria';color:rgb(0, 0, 0);letter-spacing:0px;text-transform:uppercase;font-size:9pt;margin-bottom:3pt;font-weight:bold;"&gt; &lt;b&gt;Portfolio Holdings (as of &lt;/b&gt; &lt;b&gt;1/31/25&lt;/b&gt; &lt;b&gt;)&lt;/b&gt; &lt;/div&gt;&lt;div style="margin-top:0px;font-family:'cambria';color:rgb(0, 0, 0);letter-spacing:0px;font-size:9pt;font-weight:bold;margin-bottom:0px;text-transform:none;"&gt; &lt;b&gt;Allocation of Holdings (Based on Net Assets)&lt;/b&gt; &lt;/div&gt;&lt;div style="width:540pt;margin-left:18pt;margin-bottom:12pt;"&gt; &lt;img alt="Graphical Representation - Top N Holdings Chart" src="chartimages_9562336.jpg" style="margin-left: 50pt; width: 437pt;"/&gt;  &lt;/div&gt;</oef:HoldingsTableTextBlock>
    <link:footnoteLink
      xlink:role="http://www.xbrl.org/2003/role/link"
      xlink:type="extended">
        <link:loc
          xlink:href="#h_1_0861f335_6aef_48fd_a046_93b0cddae4f4"
          xlink:label="h_1_0861f335_6aef_48fd_a046_93b0cddae4f4"
          xlink:type="locator"/>
        <link:footnote id="f_0001_000001" xlink:label="f_0001_000001" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_1_0861f335_6aef_48fd_a046_93b0cddae4f4"
          xlink:to="f_0001_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_11_8615cd7f_ff45_434c_85e2_7812c8c91b4a"
          xlink:label="h_11_8615cd7f_ff45_434c_85e2_7812c8c91b4a"
          xlink:type="locator"/>
        <link:footnote id="f_0005_000001" xlink:label="f_0005_000001" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_11_8615cd7f_ff45_434c_85e2_7812c8c91b4a"
          xlink:to="f_0005_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_12_4a16d983_5c6f_4fae_8233_b255325e404f"
          xlink:label="h_12_4a16d983_5c6f_4fae_8233_b255325e404f"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_12_4a16d983_5c6f_4fae_8233_b255325e404f"
          xlink:to="f_0005_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_16_abaea1b5_693a_4472_8db4_42d8ac8b82de"
          xlink:label="h_16_abaea1b5_693a_4472_8db4_42d8ac8b82de"
          xlink:type="locator"/>
        <link:footnote id="f_0007_000001" xlink:label="f_0007_000001" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_16_abaea1b5_693a_4472_8db4_42d8ac8b82de"
          xlink:to="f_0007_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_17_24069ce5_501b_42b1_8d66_674cb7a11c7c"
          xlink:label="h_17_24069ce5_501b_42b1_8d66_674cb7a11c7c"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_17_24069ce5_501b_42b1_8d66_674cb7a11c7c"
          xlink:to="f_0007_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_2_8acebfc9_cf37_4b9f_a765_8dd3832e2eb5"
          xlink:label="h_2_8acebfc9_cf37_4b9f_a765_8dd3832e2eb5"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_2_8acebfc9_cf37_4b9f_a765_8dd3832e2eb5"
          xlink:to="f_0001_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_21_809488e5_c9dc_4f3b_8cbf_cb555b85bc3a"
          xlink:label="h_21_809488e5_c9dc_4f3b_8cbf_cb555b85bc3a"
          xlink:type="locator"/>
        <link:footnote id="f_0009_000001" xlink:label="f_0009_000001" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_21_809488e5_c9dc_4f3b_8cbf_cb555b85bc3a"
          xlink:to="f_0009_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_22_963696fd_ac16_4df2_ab9e_5806f50e0531"
          xlink:label="h_22_963696fd_ac16_4df2_ab9e_5806f50e0531"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_22_963696fd_ac16_4df2_ab9e_5806f50e0531"
          xlink:to="f_0009_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_26_130e63a4_5c1e_48a6_9214_c9c53df734b1"
          xlink:label="h_26_130e63a4_5c1e_48a6_9214_c9c53df734b1"
          xlink:type="locator"/>
        <link:footnote id="f_0011_000001" xlink:label="f_0011_000001" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_26_130e63a4_5c1e_48a6_9214_c9c53df734b1"
          xlink:to="f_0011_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_27_5c3a5e7c_abf5_4406_821d_c08994377e81"
          xlink:label="h_27_5c3a5e7c_abf5_4406_821d_c08994377e81"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_27_5c3a5e7c_abf5_4406_821d_c08994377e81"
          xlink:to="f_0011_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_31_82b61994_1936_486f_9bc4_c2f5586fd620"
          xlink:label="h_31_82b61994_1936_486f_9bc4_c2f5586fd620"
          xlink:type="locator"/>
        <link:footnote id="f_0013_000001" xlink:label="f_0013_000001" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_31_82b61994_1936_486f_9bc4_c2f5586fd620"
          xlink:to="f_0013_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_32_8e2e01b0_3c5a_4ce7_ac1f_ff70a1a80131"
          xlink:label="h_32_8e2e01b0_3c5a_4ce7_ac1f_ff70a1a80131"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_32_8e2e01b0_3c5a_4ce7_ac1f_ff70a1a80131"
          xlink:to="f_0013_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_36_5e67d798_678d_419f_99a3_ba57515acf05"
          xlink:label="h_36_5e67d798_678d_419f_99a3_ba57515acf05"
          xlink:type="locator"/>
        <link:footnote id="f_0015_000001" xlink:label="f_0015_000001" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_36_5e67d798_678d_419f_99a3_ba57515acf05"
          xlink:to="f_0015_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_37_f10d26b8_a717_4105_a284_57d4558417a0"
          xlink:label="h_37_f10d26b8_a717_4105_a284_57d4558417a0"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_37_f10d26b8_a717_4105_a284_57d4558417a0"
          xlink:to="f_0015_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_41_db83e980_d08d_47ec_9acc_0806f905e2b6"
          xlink:label="h_41_db83e980_d08d_47ec_9acc_0806f905e2b6"
          xlink:type="locator"/>
        <link:footnote id="f_0017_000001" xlink:label="f_0017_000001" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_41_db83e980_d08d_47ec_9acc_0806f905e2b6"
          xlink:to="f_0017_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_42_9c9a82e5_66f1_4c1c_925b_76f93619ad1b"
          xlink:label="h_42_9c9a82e5_66f1_4c1c_925b_76f93619ad1b"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_42_9c9a82e5_66f1_4c1c_925b_76f93619ad1b"
          xlink:to="f_0017_000001"
          xlink:type="arc"/>
        <link:footnote id="f_0017_000002" xlink:label="f_0017_000002" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">Annualized.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_42_9c9a82e5_66f1_4c1c_925b_76f93619ad1b"
          xlink:to="f_0017_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_46_7492c2d6_3a72_408b_b205_e3199d13ca2e"
          xlink:label="h_46_7492c2d6_3a72_408b_b205_e3199d13ca2e"
          xlink:type="locator"/>
        <link:footnote id="f_0019_000001" xlink:label="f_0019_000001" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_46_7492c2d6_3a72_408b_b205_e3199d13ca2e"
          xlink:to="f_0019_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_47_82437f91_ccb6_4f09_b3aa_a889879bc6c5"
          xlink:label="h_47_82437f91_ccb6_4f09_b3aa_a889879bc6c5"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_47_82437f91_ccb6_4f09_b3aa_a889879bc6c5"
          xlink:to="f_0019_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_51_49d4e898_f1ac_4e9a_b623_03fb4ffaec74"
          xlink:label="h_51_49d4e898_f1ac_4e9a_b623_03fb4ffaec74"
          xlink:type="locator"/>
        <link:footnote id="f_0021_000001" xlink:label="f_0021_000001" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_51_49d4e898_f1ac_4e9a_b623_03fb4ffaec74"
          xlink:to="f_0021_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_52_f66f3d1a_bd2f_4c44_be1a_6c44a1ae50c8"
          xlink:label="h_52_f66f3d1a_bd2f_4c44_be1a_6c44a1ae50c8"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_52_f66f3d1a_bd2f_4c44_be1a_6c44a1ae50c8"
          xlink:to="f_0021_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_56_95ff1a7d_9f51_4635_819d_b534c14fb275"
          xlink:label="h_56_95ff1a7d_9f51_4635_819d_b534c14fb275"
          xlink:type="locator"/>
        <link:footnote id="f_0023_000001" xlink:label="f_0023_000001" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_56_95ff1a7d_9f51_4635_819d_b534c14fb275"
          xlink:to="f_0023_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_57_032587bc_f2db_4aa4_823e_565a3cb9188b"
          xlink:label="h_57_032587bc_f2db_4aa4_823e_565a3cb9188b"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_57_032587bc_f2db_4aa4_823e_565a3cb9188b"
          xlink:to="f_0023_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_6_2497de28_8bb1_4832_a452_4b26148be060"
          xlink:label="h_6_2497de28_8bb1_4832_a452_4b26148be060"
          xlink:type="locator"/>
        <link:footnote id="f_0003_000001" xlink:label="f_0003_000001" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_6_2497de28_8bb1_4832_a452_4b26148be060"
          xlink:to="f_0003_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_61_c7015741_2feb_4662_b2e1_b9ec59c528b8"
          xlink:label="h_61_c7015741_2feb_4662_b2e1_b9ec59c528b8"
          xlink:type="locator"/>
        <link:footnote id="f_0025_000001" xlink:label="f_0025_000001" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_61_c7015741_2feb_4662_b2e1_b9ec59c528b8"
          xlink:to="f_0025_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_62_e512014e_d758_4b25_9590_3bc92330fa38"
          xlink:label="h_62_e512014e_d758_4b25_9590_3bc92330fa38"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_62_e512014e_d758_4b25_9590_3bc92330fa38"
          xlink:to="f_0025_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_7_13286f05_2896_4173_bc45_5c77c4d27fce"
          xlink:label="h_7_13286f05_2896_4173_bc45_5c77c4d27fce"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_7_13286f05_2896_4173_bc45_5c77c4d27fce"
          xlink:to="f_0003_000001"
          xlink:type="arc"/>
    </link:footnoteLink>
</xbrl>
