<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2024"
  xmlns:gsam="http://www.gsamfunds.com/20251130"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:oef="http://xbrl.sec.gov/oef/2024q3"
  xmlns:us-gaap="http://fasb.org/us-gaap/2024"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xhtml="http://www.w3.org/1999/xhtml"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="gsam-20251130.xsd" xlink:type="simple"/>
    <context id="D_30Nov2025_30Nov2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009260">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009260_C000025302">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025302Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009260_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009260_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009260_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009260_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009260_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009260_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009260_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009260_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009260_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009260_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_C000025302_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025302Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_C000025302_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025302Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_C000025302_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025302Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_C000025302">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025302Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009261">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009261_C000025309">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009261_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009261_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009261_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009261_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009261_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009261_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009261_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009261_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009261_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009261_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_C000025309_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_C000025309_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_C000025309_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_C000025309">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009243">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009243_C000025203">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025203Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009243_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009243_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009243_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009243_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009243_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009243_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009243_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009243_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009243_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009243_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_C000025203_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025203Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_C000025203_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025203Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_C000025203_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025203Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_C000025203">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025203Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009242">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009242_C000025196">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025196Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009242_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009242_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009242_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009242_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009242_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009242_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009242_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009242_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009242_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009242_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009242_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_C000025196_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025196Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_C000025196_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025196Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_C000025196_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025196Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_C000025196">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025196Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000051190">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000051190_C000161175">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161175Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000051190_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000051190_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000051190_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000051190_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000051190_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000051190_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000051190_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000051190_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000051190_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000051190_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000051190_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_C000161175_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161175Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_C000161175_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161175Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_C000161175_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161175Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_C000161175">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161175Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000051191">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000051191_C000161182">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161182Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000051191_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000051191_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000051191_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000051191_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000051191_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000051191_BankingIndustryRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:BankingIndustryRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000051191_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000051191_ForeignRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ForeignRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000051191_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000051191_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000051191_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000051191_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000051191_MunicipalSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MunicipalSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000051191_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000051191_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_C000161182_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161182Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_C000161182_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161182Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_C000161182_29Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161182Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_C000161182">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161182Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000009244">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000009244_C000025210">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025210Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000009244_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000009244_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000009244_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000009244_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000009244_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000009244_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000009244_GeographicandSectorRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:GeographicandSectorRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000009244_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000009244_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000009244_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000009244_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000009244_MunicipalSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MunicipalSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000009244_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000009244_TaxRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:TaxRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000009244_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_C000025210_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025210Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_C000025210_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025210Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_C000025210_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025210Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_C000025210">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025210Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086404">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086404_C000251959">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251959Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086404_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086404_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086404_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086404_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086404_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086404_CaliforniaRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CaliforniaRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086404_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086404_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086404_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086404_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086404_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086404_MunicipalSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MunicipalSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086404_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086404_TaxRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:TaxRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086404_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_C000251959_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251959Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_C000251959_10Sep2024_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251959Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-09-10</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_C000251959">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251959Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086405">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086405_C000251964">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251964Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086405_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086405_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086405_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086405_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086405_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086405_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086405_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086405_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086405_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086405_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086405_MunicipalSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MunicipalSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086405_NewYorkRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:NewYorkRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086405_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086405_TaxRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:TaxRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086405_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_C000251964_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251964Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_C000251964_10Sep2024_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251964Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-09-10</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_C000251964">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251964Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009260">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009260_C000025307">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025307Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009260_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009260_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009260_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009260_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009260_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009260_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009260_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009260_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009260_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009260_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_C000025307_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025307Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_C000025307_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025307Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_C000025307_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025307Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_C000025307">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025307Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009261">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009261_C000025314">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025314Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009261_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009261_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009261_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009261_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009261_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009261_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009261_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009261_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009261_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009261_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_C000025314_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025314Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_C000025314_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025314Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_C000025314_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025314Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_C000025314">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025314Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009243">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009243_C000025208">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025208Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009243_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009243_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009243_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009243_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009243_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009243_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009243_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009243_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009243_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009243_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_C000025208_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025208Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_C000025208_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025208Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_C000025208_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025208Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_C000025208">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025208Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009242">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009242_C000025201">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025201Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009242_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009242_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009242_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009242_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009242_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009242_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009242_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009242_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009242_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009242_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009242_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_C000025201_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025201Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_C000025201_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025201Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_C000025201_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025201Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_C000025201">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025201Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000051190">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000051190_C000161180">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161180Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000051190_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000051190_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000051190_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000051190_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000051190_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000051190_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000051190_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000051190_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000051190_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000051190_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000051190_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_C000161180_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161180Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_C000161180_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161180Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_C000161180_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161180Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_C000161180">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161180Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009260">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009260_C000025304">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025304Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009260_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009260_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009260_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009260_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009260_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009260_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009260_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009260_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009260_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009260_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000025304_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025304Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000025304_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025304Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000025304_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025304Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000025304">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025304Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009261">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009261_C000025311">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025311Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009261_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009261_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009261_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009261_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009261_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009261_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009261_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009261_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009261_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009261_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000025311_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025311Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000025311_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025311Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000025311_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025311Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000025311">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025311Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009243">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009243_C000025205">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025205Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009243_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009243_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009243_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009243_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009243_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009243_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009243_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009243_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009243_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009243_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000025205_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025205Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000025205_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025205Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000025205_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025205Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000025205">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025205Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009242">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009242_C000025198">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025198Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009242_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009242_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009242_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009242_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009242_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009242_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009242_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009242_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009242_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009242_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009242_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000025198_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025198Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000025198_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025198Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000025198_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025198Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000025198">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025198Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051190">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051190_C000161177">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161177Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051190_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051190_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051190_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051190_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051190_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051190_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051190_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051190_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051190_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051190_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051190_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000161177_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161177Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000161177_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161177Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000161177_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161177Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000161177">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161177Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051191">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051191_C000172503">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000172503Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051191_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051191_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051191_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051191_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051191_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051191_BankingIndustryRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:BankingIndustryRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051191_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051191_ForeignRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ForeignRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051191_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051191_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051191_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051191_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051191_MunicipalSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MunicipalSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051191_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051191_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000172503_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000172503Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000172503_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000172503Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000172503_31May2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000172503Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000172503">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000172503Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009244">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009244_C000025212">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025212Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009244_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009244_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009244_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009244_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009244_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009244_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009244_GeographicandSectorRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:GeographicandSectorRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009244_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009244_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009244_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009244_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009244_MunicipalSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MunicipalSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009244_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009244_TaxRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:TaxRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009244_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000025212_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025212Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000025212_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025212Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000025212_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025212Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000025212">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025212Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086404">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086404_C000251958">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251958Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086404_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086404_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086404_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086404_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086404_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086404_CaliforniaRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CaliforniaRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086404_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086404_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086404_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086404_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086404_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086404_MunicipalSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MunicipalSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086404_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086404_TaxRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:TaxRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086404_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000251958_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251958Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000251958_10Sep2024_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251958Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-09-10</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000251958">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251958Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086405">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086405_C000251963">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251963Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086405_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086405_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086405_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086405_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086405_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086405_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086405_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086405_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086405_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086405_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086405_MunicipalSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MunicipalSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086405_NewYorkRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:NewYorkRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086405_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086405_TaxRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:TaxRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086405_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000251963_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251963Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000251963_10Sep2024_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251963Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-09-10</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_C000251963">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251963Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009260">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009260_C000025305">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025305Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009260_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009260_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009260_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009260_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009260_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009260_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009260_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009260_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009260_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009260_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_C000025305_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025305Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_C000025305_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025305Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_C000025305_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025305Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_C000025305">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025305Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009261">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009261_C000025312">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025312Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009261_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009261_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009261_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009261_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009261_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009261_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009261_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009261_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009261_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009261_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_C000025312_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025312Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_C000025312_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025312Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_C000025312_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025312Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_C000025312">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025312Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009243">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009243_C000025206">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025206Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009243_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009243_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009243_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009243_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009243_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009243_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009243_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009243_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009243_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009243_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_C000025206_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025206Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_C000025206_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025206Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_C000025206_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025206Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_C000025206">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025206Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009242">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009242_C000025199">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025199Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009242_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009242_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009242_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009242_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009242_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009242_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009242_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009242_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009242_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009242_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009242_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_C000025199_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025199Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_C000025199_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025199Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_C000025199_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025199Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_C000025199">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025199Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000051190">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000051190_C000161178">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161178Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000051190_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000051190_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000051190_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000051190_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000051190_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000051190_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000051190_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000051190_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000051190_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000051190_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000051190_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_C000161178_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161178Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_C000161178_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161178Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_C000161178_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161178Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_C000161178">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161178Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009244">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009244_C000025213">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025213Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009244_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009244_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009244_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009244_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009244_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009244_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009244_GeographicandSectorRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:GeographicandSectorRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009244_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009244_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009244_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009244_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009244_MunicipalSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MunicipalSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009244_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009244_TaxRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:TaxRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009244_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_C000025213_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025213Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_C000025213_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025213Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_C000025213_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025213Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_C000025213">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025213Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086404">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086404_C000251957">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251957Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086404_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086404_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086404_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086404_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086404_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086404_CaliforniaRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CaliforniaRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086404_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086404_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086404_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086404_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086404_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086404_MunicipalSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MunicipalSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086404_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086404_TaxRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:TaxRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086404_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_C000251957_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251957Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_C000251957_10Sep2024_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251957Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-09-10</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_C000251957">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251957Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086405">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086405_C000251962">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251962Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086405_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086405_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086405_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086405_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086405_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086405_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086405_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086405_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086405_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086405_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086405_MunicipalSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MunicipalSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086405_NewYorkRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:NewYorkRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086405_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086405_TaxRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:TaxRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086405_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_C000251962_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251962Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_C000251962_10Sep2024_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251962Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-09-10</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_C000251962">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251962Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009260">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009260_C000025306">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025306Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009260_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009260_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009260_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009260_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009260_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009260_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009260_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009260_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009260_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009260_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_C000025306_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025306Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_C000025306_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025306Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_C000025306_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025306Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_C000025306">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025306Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009261">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009261_C000025313">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025313Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009261_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009261_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009261_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009261_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009261_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009261_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009261_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009261_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009261_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009261_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_C000025313_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025313Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_C000025313_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025313Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_C000025313_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025313Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_C000025313">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025313Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009243">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009243_C000025207">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025207Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009243_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009243_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009243_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009243_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009243_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009243_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009243_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009243_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009243_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009243_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_C000025207_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025207Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_C000025207_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025207Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_C000025207_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025207Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_C000025207">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025207Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009242">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009242_C000025200">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025200Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009242_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009242_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009242_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009242_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009242_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009242_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009242_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009242_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009242_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009242_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009242_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_C000025200_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025200Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_C000025200_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025200Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_C000025200_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025200Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_C000025200">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025200Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009260">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009260_C000025303">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025303Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009260_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009260_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009260_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009260_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009260_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009260_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009260_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009260_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009260_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009260_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000025303_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025303Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000025303_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025303Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000025303_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025303Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000025303">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025303Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009261">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009261_C000025310">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025310Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009261_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009261_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009261_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009261_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009261_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009261_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009261_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009261_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009261_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009261_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000025310_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025310Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000025310_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025310Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000025310_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025310Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000025310">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025310Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009243">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009243_C000025204">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025204Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009243_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009243_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009243_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009243_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009243_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009243_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009243_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009243_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009243_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009243_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000025204_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025204Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000025204_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025204Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000025204_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025204Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000025204">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025204Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009242">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009242_C000025197">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025197Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009242_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009242_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009242_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009242_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009242_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009242_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009242_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009242_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009242_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009242_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009242_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000025197_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025197Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000025197_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025197Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000025197_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025197Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000025197">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025197Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051190">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051190_C000161176">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161176Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051190_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051190_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051190_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051190_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051190_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051190_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051190_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051190_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051190_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051190_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051190_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000161176_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161176Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000161176_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161176Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000161176_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161176Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000161176">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161176Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051191">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051191_C000166002">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166002Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051191_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051191_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051191_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051191_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051191_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051191_BankingIndustryRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:BankingIndustryRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051191_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051191_ForeignRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ForeignRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051191_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051191_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051191_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051191_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051191_MunicipalSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MunicipalSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051191_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051191_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000166002_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166002Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000166002_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166002Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000166002_29Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166002Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000166002">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166002Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009244">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009244_C000025211">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025211Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009244_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009244_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009244_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009244_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009244_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009244_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009244_GeographicandSectorRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:GeographicandSectorRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009244_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009244_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009244_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009244_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009244_MunicipalSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MunicipalSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009244_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009244_TaxRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:TaxRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009244_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000025211_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025211Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000025211_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025211Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000025211_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025211Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000025211">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025211Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086404">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086404_C000251955">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251955Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086404_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086404_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086404_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086404_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086404_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086404_CaliforniaRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CaliforniaRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086404_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086404_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086404_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086404_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086404_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086404_MunicipalSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MunicipalSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086404_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086404_TaxRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:TaxRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086404_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000251955_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251955Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000251955_10Sep2024_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251955Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-09-10</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000251955">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251955Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086405">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086405_C000251960">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251960Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086405_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086405_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086405_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086405_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086405_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086405_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086405_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086405_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086405_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086405_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086405_MunicipalSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MunicipalSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086405_NewYorkRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:NewYorkRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086405_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086405_TaxRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:TaxRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086405_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000251960_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251960Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000251960_10Sep2024_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251960Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-09-10</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_C000251960">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251960Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009260">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009260_C000088821">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088821Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009260_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009260_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009260_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009260_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009260_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009260_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009260_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009260_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009260_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009260_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_C000088821_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088821Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_C000088821_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088821Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_C000088821_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088821Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_C000088821">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088821Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009261">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009261_C000088822">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088822Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009261_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009261_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009261_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009261_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009261_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009261_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009261_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009261_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009261_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009261_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_C000088822_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088822Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_C000088822_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088822Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_C000088822_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088822Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_C000088822">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088822Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009243">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009243_C000088805">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088805Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009243_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009243_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009243_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009243_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009243_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009243_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009243_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009243_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009243_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009243_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_C000088805_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088805Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_C000088805_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088805Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_C000088805_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088805Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_C000088805">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088805Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009242">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009242_C000088802">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088802Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009242_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009242_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009242_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009242_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009242_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009242_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009242_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009242_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009242_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009242_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009242_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_C000088802_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088802Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_C000088802_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088802Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_C000088802_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088802Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_C000088802">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088802Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051190">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051190_C000161786">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161786Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051190_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051190_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051190_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051190_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051190_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051190_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051190_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051190_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051190_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051190_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051190_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_C000161786_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161786Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_C000161786_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161786Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_C000161786_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161786Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_C000161786">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161786Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051191">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051191_C000172501">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000172501Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051191_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051191_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051191_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051191_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051191_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051191_BankingIndustryRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:BankingIndustryRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051191_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051191_ForeignRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ForeignRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051191_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051191_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051191_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051191_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051191_MunicipalSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MunicipalSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051191_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051191_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_C000172501_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000172501Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_C000172501_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000172501Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_C000172501_31May2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000172501Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_C000172501">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000172501Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009260">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009260_C000088819">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088819Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009260_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009260_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009260_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009260_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009260_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009260_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009260_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009260_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009260_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009260_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_C000088819_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088819Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_C000088819_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088819Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_C000088819_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088819Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_C000088819">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088819Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009261">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009261_C000088823">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088823Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009261_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009261_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009261_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009261_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009261_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009261_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009261_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009261_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009261_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009261_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_C000088823_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088823Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_C000088823_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088823Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_C000088823_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088823Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_C000088823">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088823Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009243">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009243_C000088806">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088806Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009243_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009243_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009243_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009243_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009243_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009243_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009243_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009243_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009243_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009243_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_C000088806_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088806Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_C000088806_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088806Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_C000088806_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088806Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_C000088806">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088806Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009242">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009242_C000088803">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088803Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009242_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009242_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009242_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009242_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009242_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009242_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009242_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009242_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009242_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009242_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009242_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_C000088803_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088803Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_C000088803_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088803Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_C000088803_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088803Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_C000088803">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088803Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009260">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009260_C000088820">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088820Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009260_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009260_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009260_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009260_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009260_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009260_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009260_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009260_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009260_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009260_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_C000088820_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088820Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_C000088820_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088820Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_C000088820_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088820Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_C000088820">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088820Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009242">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009242_C000088804">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088804Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009242_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009242_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009242_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009242_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009242_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009242_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009242_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009242_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009242_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009242_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009242_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_C000088804_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088804Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_C000088804_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088804Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_C000088804_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088804Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_C000088804">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088804Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="DrexelHamiltonClassSharesMember_S000009242">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:DrexelHamiltonClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="DrexelHamiltonClassSharesMember_S000009242_C000214495">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:DrexelHamiltonClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000214495Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="DrexelHamiltonClassSharesMember_S000009242_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:DrexelHamiltonClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="DrexelHamiltonClassSharesMember_S000009242_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:DrexelHamiltonClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="DrexelHamiltonClassSharesMember_S000009242_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:DrexelHamiltonClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="DrexelHamiltonClassSharesMember_S000009242_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:DrexelHamiltonClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="DrexelHamiltonClassSharesMember_S000009242_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:DrexelHamiltonClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="DrexelHamiltonClassSharesMember_S000009242_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:DrexelHamiltonClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="DrexelHamiltonClassSharesMember_S000009242_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:DrexelHamiltonClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="DrexelHamiltonClassSharesMember_S000009242_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:DrexelHamiltonClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="DrexelHamiltonClassSharesMember_S000009242_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:DrexelHamiltonClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="DrexelHamiltonClassSharesMember_S000009242_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:DrexelHamiltonClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="DrexelHamiltonClassSharesMember_S000009242_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:DrexelHamiltonClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="DrexelHamiltonClassSharesMember_C000214495_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:DrexelHamiltonClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000214495Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="DrexelHamiltonClassSharesMember_C000214495_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:DrexelHamiltonClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000214495Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="DrexelHamiltonClassSharesMember_C000214495_09Sep2019_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:DrexelHamiltonClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000214495Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-09-09</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="DrexelHamiltonClassSharesMember_C000214495">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:DrexelHamiltonClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000214495Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassR6SharesMember_S000009242">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassR6SharesMember_S000009242_C000167141">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000167141Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassR6SharesMember_S000009242_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassR6SharesMember_S000009242_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassR6SharesMember_S000009242_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassR6SharesMember_S000009242_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassR6SharesMember_S000009242_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassR6SharesMember_S000009242_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassR6SharesMember_S000009242_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassR6SharesMember_S000009242_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassR6SharesMember_S000009242_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassR6SharesMember_S000009242_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassR6SharesMember_S000009242_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassR6SharesMember_C000167141_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000167141Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassR6SharesMember_C000167141_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000167141Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassR6SharesMember_C000167141_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000167141Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassR6SharesMember_C000167141">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000167141Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009242">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009242_C000166882">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166882Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009242_C000166883">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166883Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009242_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009242_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009242_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009242_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009242_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009242_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009242_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009242_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009242_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009242_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009242_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_C000166882_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166882Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_C000166882_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166882Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_C000166882_29Feb2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166882Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-02-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_C000166882">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166882Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_C000166883_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166883Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_C000166883_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166883Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_C000166883_29Feb2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166883Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-02-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_C000166883">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166883Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000051191">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000051191_C000166000">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166000Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000051191_C000166001">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166001Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000051191_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000051191_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000051191_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000051191_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000051191_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000051191_BankingIndustryRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:BankingIndustryRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000051191_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000051191_ForeignRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ForeignRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000051191_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000051191_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000051191_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000051191_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000051191_MunicipalSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MunicipalSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000051191_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000051191_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_C000166000_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166000Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_C000166000_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166000Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_C000166000_29Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166000Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_C000166000">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166000Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_C000166001_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166001Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_C000166001_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166001Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_C000166001_29Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166001Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_C000166001">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166001Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009244">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009244_C000166884">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166884Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009244_C000166885">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166885Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009244_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009244_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009244_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009244_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009244_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009244_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009244_GeographicandSectorRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:GeographicandSectorRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009244_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009244_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009244_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009244_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009244_MunicipalSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MunicipalSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009244_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009244_TaxRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:TaxRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009244_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_C000166884_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166884Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_C000166884_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166884Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_C000166884_31Mar2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166884Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-03-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_C000166884">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166884Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_C000166885_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166885Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_C000166885_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166885Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_C000166885_31Mar2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166885Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-03-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_C000166885">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166885Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086404">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086404_C000251956">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251956Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086404_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086404_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086404_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086404_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086404_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086404_CaliforniaRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CaliforniaRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086404_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086404_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086404_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086404_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086404_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086404_MunicipalSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MunicipalSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086404_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086404_TaxRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:TaxRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086404_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_C000251956_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251956Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_C000251956_10Sep2024_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251956Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-09-10</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_C000251956">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251956Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086405">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086405_C000251961">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251961Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086405_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086405_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086405_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086405_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086405_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086405_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086405_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086405_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086405_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086405_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086405_MunicipalSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MunicipalSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086405_NewYorkRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:NewYorkRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086405_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086405_TaxRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:TaxRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086405_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_C000251961_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251961Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_C000251961_10Sep2024_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251961Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-09-10</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_C000251961">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251961Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009261">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009261_C000229777">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000229777Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009261_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009261_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009261_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009261_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009261_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009261_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009261_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009261_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009261_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009261_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_C000229777_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000229777Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_C000229777_23Aug2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000229777Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-23</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_C000229777">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000229777Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009242">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009242_C000229775">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000229775Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009242_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009242_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009242_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009242_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009242_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009242_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009242_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009242_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009242_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009242_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009242_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_C000229775_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000229775Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_C000229775_23Aug2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000229775Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-23</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_C000229775">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000229775Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009261">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009261_C000229776">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000229776Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009261_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009261_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009261_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009261_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009261_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009261_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009261_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009261_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009261_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009261_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_C000229776_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000229776Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_C000229776_23Aug2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000229776Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-23</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_C000229776">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000229776Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009242">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009242_C000229774">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000229774Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009242_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009242_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009242_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009242_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009242_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009242_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009242_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009242_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009242_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009242_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009242_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_C000229774_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000229774Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_C000229774_23Aug2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000229774Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-23</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_C000229774">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000229774Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000009261">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000009261_C000240871">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000240871Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000009261_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000009261_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000009261_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000009261_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000009261_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000009261_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000009261_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000009261_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000009261_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000009261_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_C000240871_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000240871Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_C000240871_31Jan2023_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000240871Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_C000240871">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000240871Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000009242">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000009242_C000237844">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000237844Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000009242_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000009242_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000009242_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000009242_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000009242_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000009242_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000009242_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000009242_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000009242_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000009242_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000009242_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_C000237844_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000237844Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_C000237844_22Aug2022_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000237844Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-08-22</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_C000237844">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000237844Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051190">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051190_C000240872">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000240872Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051190_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051190_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051190_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051190_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051190_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051190_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051190_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051190_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051190_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051190_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051190_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_C000240872_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000240872Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_C000240872_31Jan2023_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000240872Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_C000240872">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000240872Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051191">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051191_C000240873">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000240873Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051191_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051191_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051191_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051191_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051191_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051191_BankingIndustryRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:BankingIndustryRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051191_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051191_ForeignRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ForeignRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051191_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051191_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051191_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051191_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051191_MunicipalSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MunicipalSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051191_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051191_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_C000240873_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000240873Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_C000240873_31Jan2023_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000240873Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_C000240873">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000240873Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="TokenSharesMember_S000009261">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:TokenSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="TokenSharesMember_S000009261_C000260398">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:TokenSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000260398Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="TokenSharesMember_S000009261_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:TokenSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="TokenSharesMember_S000009261_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:TokenSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="TokenSharesMember_S000009261_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:TokenSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="TokenSharesMember_S000009261_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:TokenSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="TokenSharesMember_S000009261_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:TokenSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="TokenSharesMember_S000009261_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:TokenSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="TokenSharesMember_S000009261_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:TokenSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="TokenSharesMember_S000009261_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:TokenSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="TokenSharesMember_S000009261_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:TokenSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="TokenSharesMember_S000009261_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:TokenSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="TokenSharesMember_S000009261_C000025309">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:TokenSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="TokenSharesMember_C000025309_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:TokenSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TokenSharesMember_C000025309_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:TokenSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TokenSharesMember_C000025309_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:TokenSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TokenSharesMember_C000025309">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:TokenSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="S000096115">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000096115Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="S000096115_C000264902">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000096115Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000264902Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="S000096115_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000096115Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="S000096115_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000096115Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="S000096115_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000096115Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="S000096115_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000096115Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="S000096115_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000096115Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="S000096115_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000096115Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="S000096115_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000096115Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="S000096115_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000096115Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="S000096115_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000096115Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="S000096115_StableNAVRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000096115Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StableNAVRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="S000096115_StablecoinIssuerReservesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000096115Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StablecoinIssuerReservesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="S000096115_USTreasuryObligationsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000096115Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USTreasuryObligationsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-30</startDate>
            <endDate>2025-11-30</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051190_C000240872_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000240872Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051190_C000240872_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000240872Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000051190_C000161175_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161175Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000051190_C000161175_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161175Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000051190_C000161175_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161175Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000051190_C000161175_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161175Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000051190_C000161175_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161175Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000051190_C000161175_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161175Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000051190_C000161175_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161175Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000051190_C000161175_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161175Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000051190_C000161175_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161175Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000051190_C000161175_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161175Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000051190_C000161180_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161180Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000051190_C000161180_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161180Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000051190_C000161180_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161180Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000051190_C000161180_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161180Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000051190_C000161180_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161180Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000051190_C000161180_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161180Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000051190_C000161180_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161180Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000051190_C000161180_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161180Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000051190_C000161180_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161180Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000051190_C000161180_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161180Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051190_C000161177_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161177Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051190_C000161177_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161177Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051190_C000161177_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161177Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051190_C000161177_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161177Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051190_C000161177_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161177Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051190_C000161177_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161177Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051190_C000161177_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161177Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051190_C000161177_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161177Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051190_C000161177_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161177Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051190_C000161177_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161177Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000051190_C000161178_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161178Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000051190_C000161178_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161178Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000051190_C000161178_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161178Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000051190_C000161178_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161178Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000051190_C000161178_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161178Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000051190_C000161178_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161178Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000051190_C000161178_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161178Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000051190_C000161178_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161178Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000051190_C000161178_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161178Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000051190_C000161178_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161178Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051190_C000161176_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161176Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051190_C000161176_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161176Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051190_C000161176_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161176Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051190_C000161176_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161176Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051190_C000161176_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161176Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051190_C000161176_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161176Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051190_C000161176_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161176Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051190_C000161176_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161176Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051190_C000161176_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161176Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051190_C000161176_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161176Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051190_C000161786_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161786Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051190_C000161786_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161786Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051190_C000161786_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161786Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051190_C000161786_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161786Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051190_C000161786_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161786Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051190_C000161786_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161786Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051190_C000161786_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161786Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051190_C000161786_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161786Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051190_C000161786_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161786Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051190_C000161786_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051190Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161786Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009261_C000229777_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000229777Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009261_C000229777_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000229777Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009261_C000229777_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000229777Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009261_C000229777_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000229777Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009261_C000229776_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000229776Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009261_C000229776_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000229776Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009261_C000229776_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000229776Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009261_C000229776_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000229776Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000009261_C000240871_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000240871Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000009261_C000240871_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000240871Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TokenSharesMember_S000009261_C000025309_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:TokenSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="TokenSharesMember_S000009261_C000025309_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:TokenSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="TokenSharesMember_S000009261_C000025309_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:TokenSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="TokenSharesMember_S000009261_C000025309_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:TokenSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="TokenSharesMember_S000009261_C000025309_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:TokenSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="TokenSharesMember_S000009261_C000025309_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:TokenSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="TokenSharesMember_S000009261_C000025309_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:TokenSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="TokenSharesMember_S000009261_C000025309_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:TokenSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="TokenSharesMember_S000009261_C000025309_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:TokenSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="TokenSharesMember_S000009261_C000025309_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:TokenSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009261_C000025309_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009261_C000025309_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009261_C000025309_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009261_C000025309_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009261_C000025309_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009261_C000025309_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009261_C000025309_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009261_C000025309_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009261_C000025309_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009261_C000025309_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009261_C000025314_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025314Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009261_C000025314_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025314Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009261_C000025314_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025314Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009261_C000025314_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025314Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009261_C000025314_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025314Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009261_C000025314_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025314Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009261_C000025314_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025314Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009261_C000025314_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025314Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009261_C000025314_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025314Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009261_C000025314_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025314Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009261_C000025311_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025311Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009261_C000025311_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025311Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009261_C000025311_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025311Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009261_C000025311_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025311Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009261_C000025311_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025311Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009261_C000025311_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025311Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009261_C000025311_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025311Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009261_C000025311_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025311Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009261_C000025311_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025311Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009261_C000025311_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025311Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009261_C000025312_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025312Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009261_C000025312_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025312Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009261_C000025312_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025312Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009261_C000025312_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025312Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009261_C000025312_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025312Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009261_C000025312_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025312Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009261_C000025312_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025312Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009261_C000025312_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025312Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009261_C000025312_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025312Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009261_C000025312_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025312Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009261_C000025313_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025313Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009261_C000025313_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025313Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009261_C000025313_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025313Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009261_C000025313_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025313Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009261_C000025313_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025313Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009261_C000025313_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025313Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009261_C000025313_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025313Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009261_C000025313_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025313Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009261_C000025313_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025313Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009261_C000025313_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025313Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009261_C000025310_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025310Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009261_C000025310_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025310Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009261_C000025310_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025310Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009261_C000025310_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025310Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009261_C000025310_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025310Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009261_C000025310_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025310Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009261_C000025310_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025310Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009261_C000025310_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025310Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009261_C000025310_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025310Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009261_C000025310_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025310Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009261_C000088822_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088822Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009261_C000088822_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088822Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009261_C000088822_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088822Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009261_C000088822_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088822Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009261_C000088822_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088822Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009261_C000088822_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088822Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009261_C000088822_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088822Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009261_C000088822_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088822Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009261_C000088822_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088822Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009261_C000088822_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088822Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009261_C000088823_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088823Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009261_C000088823_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088823Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009261_C000088823_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088823Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009261_C000088823_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088823Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009261_C000088823_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088823Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009261_C000088823_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088823Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009261_C000088823_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088823Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009261_C000088823_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088823Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009261_C000088823_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088823Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009261_C000088823_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009261Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088823Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009244_C000166884_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166884Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009244_C000166884_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166884Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009244_C000166884_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166884Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009244_C000166884_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166884Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009244_C000166884_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166884Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009244_C000166884_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166884Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009244_C000166884_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166884Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009244_C000166884_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166884Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009244_C000166884_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166884Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000009244_C000025210_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025210Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000009244_C000025210_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025210Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000009244_C000025210_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025210Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000009244_C000025210_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025210Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000009244_C000025210_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025210Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000009244_C000025210_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025210Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000009244_C000025210_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025210Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000009244_C000025210_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025210Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000009244_C000025210_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025210Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000009244_C000025210_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025210Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009244_C000025212_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025212Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009244_C000025212_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025212Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009244_C000025212_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025212Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009244_C000025212_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025212Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009244_C000025212_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025212Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009244_C000025212_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025212Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009244_C000025212_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025212Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009244_C000025212_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025212Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009244_C000025212_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025212Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009244_C000025212_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025212Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009244_C000025213_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025213Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009244_C000025213_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025213Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009244_C000025213_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025213Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009244_C000025213_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025213Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009244_C000025213_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025213Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009244_C000025213_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025213Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009244_C000025213_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025213Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009244_C000025213_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025213Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009244_C000025213_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025213Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009244_C000025213_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025213Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009244_C000025211_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025211Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009244_C000025211_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025211Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009244_C000025211_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025211Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009244_C000025211_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025211Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009244_C000025211_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025211Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009244_C000025211_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025211Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009244_C000025211_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025211Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009244_C000025211_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025211Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009244_C000025211_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025211Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009244_C000025211_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009244Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025211Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086405_C000251961_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251961Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086405_C000251964_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251964Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086405_C000251963_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251963Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086405_C000251962_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251962Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086405_C000251960_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086405Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251960Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009260_C000088820_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088820Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009260_C000088820_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088820Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009260_C000088820_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088820Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009260_C000088820_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088820Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009260_C000088820_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088820Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009260_C000088820_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088820Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009260_C000088820_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088820Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009260_C000088820_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088820Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009260_C000088820_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088820Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009260_C000088820_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088820Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009260_C000025302_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025302Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009260_C000025302_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025302Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009260_C000025302_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025302Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009260_C000025302_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025302Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009260_C000025302_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025302Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009260_C000025302_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025302Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009260_C000025302_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025302Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009260_C000025302_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025302Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009260_C000025302_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025302Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009260_C000025302_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025302Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009260_C000025307_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025307Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009260_C000025307_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025307Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009260_C000025307_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025307Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009260_C000025307_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025307Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009260_C000025307_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025307Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009260_C000025307_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025307Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009260_C000025307_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025307Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009260_C000025307_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025307Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009260_C000025307_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025307Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009260_C000025307_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025307Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009260_C000025304_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025304Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009260_C000025304_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025304Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009260_C000025304_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025304Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009260_C000025304_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025304Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009260_C000025304_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025304Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009260_C000025304_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025304Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009260_C000025304_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025304Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009260_C000025304_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025304Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009260_C000025304_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025304Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009260_C000025304_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025304Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009260_C000025305_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025305Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009260_C000025305_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025305Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009260_C000025305_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025305Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009260_C000025305_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025305Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009260_C000025305_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025305Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009260_C000025305_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025305Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009260_C000025305_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025305Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009260_C000025305_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025305Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009260_C000025305_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025305Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009260_C000025305_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025305Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009260_C000025306_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025306Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009260_C000025306_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025306Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009260_C000025306_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025306Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009260_C000025306_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025306Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009260_C000025306_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025306Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009260_C000025306_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025306Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009260_C000025306_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025306Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009260_C000025306_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025306Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009260_C000025306_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025306Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009260_C000025306_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025306Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009260_C000025303_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025303Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009260_C000025303_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025303Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009260_C000025303_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025303Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009260_C000025303_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025303Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009260_C000025303_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025303Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009260_C000025303_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025303Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009260_C000025303_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025303Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009260_C000025303_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025303Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009260_C000025303_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025303Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009260_C000025303_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025303Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009260_C000088821_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088821Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009260_C000088821_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088821Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009260_C000088821_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088821Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009260_C000088821_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088821Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009260_C000088821_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088821Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009260_C000088821_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088821Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009260_C000088821_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088821Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009260_C000088821_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088821Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009260_C000088821_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088821Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009260_C000088821_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088821Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009260_C000088819_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088819Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009260_C000088819_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088819Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009260_C000088819_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088819Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009260_C000088819_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088819Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009260_C000088819_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088819Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009260_C000088819_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088819Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009260_C000088819_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088819Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009260_C000088819_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088819Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009260_C000088819_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088819Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009260_C000088819_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009260Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088819Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000051191_C000166000_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166000Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000051191_C000166000_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166000Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000051191_C000166000_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166000Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000051191_C000166000_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166000Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000051191_C000166000_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166000Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000051191_C000166000_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166000Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000051191_C000166000_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166000Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000051191_C000166000_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166000Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000051191_C000166000_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166000Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051191_C000240873_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000240873Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000051191_C000240873_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000240873Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000051191_C000161182_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161182Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000051191_C000161182_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161182Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000051191_C000161182_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161182Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000051191_C000161182_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161182Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000051191_C000161182_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161182Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000051191_C000161182_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161182Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000051191_C000161182_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161182Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000051191_C000161182_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161182Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000051191_C000161182_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161182Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051191_C000172503_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000172503Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051191_C000172503_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000172503Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051191_C000172503_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000172503Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051191_C000172503_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000172503Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051191_C000172503_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000172503Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051191_C000172503_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000172503Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051191_C000172503_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000172503Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051191_C000172503_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000172503Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000051191_C000172503_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000172503Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051191_C000166002_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166002Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051191_C000166002_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166002Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051191_C000166002_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166002Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051191_C000166002_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166002Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051191_C000166002_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166002Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051191_C000166002_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166002Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051191_C000166002_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166002Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051191_C000166002_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166002Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000051191_C000166002_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166002Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051191_C000172501_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000172501Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051191_C000172501_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000172501Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051191_C000172501_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000172501Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051191_C000172501_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000172501Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051191_C000172501_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000172501Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051191_C000172501_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000172501Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051191_C000172501_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000172501Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051191_C000172501_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000172501Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000051191_C000172501_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000051191Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000172501Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009242_C000088804_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088804Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009242_C000088804_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088804Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009242_C000088804_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088804Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009242_C000088804_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088804Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009242_C000088804_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088804Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009242_C000088804_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088804Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009242_C000088804_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088804Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009242_C000088804_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088804Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009242_C000088804_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088804Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ResourceSharesMember_S000009242_C000088804_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ResourceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088804Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="DrexelHamiltonClassSharesMember_S000009242_C000214495_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:DrexelHamiltonClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000214495Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="DrexelHamiltonClassSharesMember_S000009242_C000214495_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:DrexelHamiltonClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000214495Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="DrexelHamiltonClassSharesMember_S000009242_C000214495_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:DrexelHamiltonClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000214495Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="DrexelHamiltonClassSharesMember_S000009242_C000214495_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:DrexelHamiltonClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000214495Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="DrexelHamiltonClassSharesMember_S000009242_C000214495_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:DrexelHamiltonClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000214495Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="DrexelHamiltonClassSharesMember_S000009242_C000214495_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:DrexelHamiltonClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000214495Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassR6SharesMember_S000009242_C000167141_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000167141Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="ClassR6SharesMember_S000009242_C000167141_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000167141Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="ClassR6SharesMember_S000009242_C000167141_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000167141Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="ClassR6SharesMember_S000009242_C000167141_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000167141Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ClassR6SharesMember_S000009242_C000167141_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000167141Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ClassR6SharesMember_S000009242_C000167141_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000167141Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ClassR6SharesMember_S000009242_C000167141_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000167141Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ClassR6SharesMember_S000009242_C000167141_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000167141Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ClassR6SharesMember_S000009242_C000167141_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000167141Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassR6SharesMember_S000009242_C000167141_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000167141Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009242_C000166882_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166882Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009242_C000166882_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166882Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009242_C000166882_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166882Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009242_C000166882_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166882Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009242_C000166882_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166882Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009242_C000166882_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166882Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009242_C000166882_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166882Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009242_C000166882_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166882Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassACSharesMember_S000009242_C000166882_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000166882Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009242_C000229775_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000229775Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009242_C000229775_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000229775Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009242_C000229775_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000229775Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="LoopClassSharesMember_S000009242_C000229775_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:LoopClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000229775Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009242_C000229774_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000229774Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009242_C000229774_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000229774Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009242_C000229774_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000229774Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="SeelausClassSharesMember_S000009242_C000229774_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SeelausClassSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000229774Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000009242_C000237844_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000237844Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000009242_C000237844_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000237844Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassDSharesMember_S000009242_C000237844_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassDSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000237844Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009242_C000025196_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025196Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009242_C000025196_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025196Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009242_C000025196_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025196Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009242_C000025196_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025196Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009242_C000025196_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025196Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009242_C000025196_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025196Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009242_C000025196_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025196Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009242_C000025196_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025196Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009242_C000025196_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025196Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009242_C000025196_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025196Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009242_C000025201_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025201Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009242_C000025201_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025201Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009242_C000025201_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025201Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009242_C000025201_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025201Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009242_C000025201_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025201Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009242_C000025201_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025201Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009242_C000025201_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025201Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009242_C000025201_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025201Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009242_C000025201_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025201Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009242_C000025201_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025201Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009242_C000025198_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025198Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009242_C000025198_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025198Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009242_C000025198_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025198Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009242_C000025198_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025198Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009242_C000025198_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025198Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009242_C000025198_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025198Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009242_C000025198_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025198Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009242_C000025198_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025198Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009242_C000025198_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025198Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009242_C000025198_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025198Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009242_C000025199_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025199Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009242_C000025199_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025199Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009242_C000025199_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025199Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009242_C000025199_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025199Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009242_C000025199_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025199Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009242_C000025199_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025199Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009242_C000025199_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025199Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009242_C000025199_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025199Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009242_C000025199_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025199Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009242_C000025199_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025199Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009242_C000025200_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025200Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009242_C000025200_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025200Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009242_C000025200_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025200Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009242_C000025200_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025200Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009242_C000025200_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025200Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009242_C000025200_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025200Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009242_C000025200_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025200Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009242_C000025200_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025200Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009242_C000025200_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025200Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009242_C000025200_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025200Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009242_C000025197_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025197Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009242_C000025197_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025197Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009242_C000025197_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025197Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009242_C000025197_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025197Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009242_C000025197_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025197Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009242_C000025197_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025197Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009242_C000025197_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025197Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009242_C000025197_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025197Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009242_C000025197_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025197Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009242_C000025197_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025197Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009242_C000088802_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088802Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009242_C000088802_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088802Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009242_C000088802_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088802Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009242_C000088802_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088802Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009242_C000088802_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088802Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009242_C000088802_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088802Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009242_C000088802_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088802Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009242_C000088802_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088802Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009242_C000088802_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088802Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009242_C000088802_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088802Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009242_C000088803_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088803Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009242_C000088803_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088803Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009242_C000088803_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088803Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009242_C000088803_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088803Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009242_C000088803_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088803Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009242_C000088803_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088803Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009242_C000088803_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088803Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009242_C000088803_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088803Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009242_C000088803_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088803Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009242_C000088803_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009242Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088803Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassASharesMember_S000086404_C000251956_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassASharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251956Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassISharesMember_S000086404_C000251959_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassISharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251959Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000086404_C000251958_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251958Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000086404_C000251957_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251957Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000086404_C000251955_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000086404Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000251955Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009243_C000025203_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025203Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009243_C000025203_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025203Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009243_C000025203_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025203Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009243_C000025203_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025203Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009243_C000025203_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025203Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009243_C000025203_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025203Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009243_C000025203_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025203Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009243_C000025203_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025203Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009243_C000025203_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025203Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="InstitutionalSharesMember_S000009243_C000025203_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:InstitutionalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025203Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009243_C000025208_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025208Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009243_C000025208_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025208Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009243_C000025208_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025208Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009243_C000025208_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025208Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009243_C000025208_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025208Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009243_C000025208_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025208Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009243_C000025208_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025208Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009243_C000025208_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025208Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009243_C000025208_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025208Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="CapitalSharesMember_S000009243_C000025208_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CapitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025208Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009243_C000025205_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025205Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009243_C000025205_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025205Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009243_C000025205_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025205Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009243_C000025205_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025205Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009243_C000025205_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025205Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009243_C000025205_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025205Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009243_C000025205_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025205Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009243_C000025205_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025205Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009243_C000025205_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025205Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ServiceSharesMember_S000009243_C000025205_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ServiceSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025205Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009243_C000025206_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025206Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009243_C000025206_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025206Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009243_C000025206_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025206Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009243_C000025206_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025206Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009243_C000025206_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025206Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009243_C000025206_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025206Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009243_C000025206_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025206Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009243_C000025206_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025206Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009243_C000025206_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025206Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="PreferredSharesMember_S000009243_C000025206_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PreferredSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025206Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009243_C000025207_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025207Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009243_C000025207_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025207Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009243_C000025207_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025207Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009243_C000025207_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025207Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009243_C000025207_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025207Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009243_C000025207_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025207Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009243_C000025207_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025207Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009243_C000025207_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025207Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009243_C000025207_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025207Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="SelectSharesMember_S000009243_C000025207_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:SelectSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025207Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009243_C000025204_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025204Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009243_C000025204_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025204Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009243_C000025204_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025204Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009243_C000025204_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025204Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009243_C000025204_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025204Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009243_C000025204_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025204Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009243_C000025204_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025204Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009243_C000025204_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025204Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009243_C000025204_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025204Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="AdministrationSharesMember_S000009243_C000025204_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:AdministrationSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025204Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009243_C000088805_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088805Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009243_C000088805_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088805Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009243_C000088805_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088805Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009243_C000088805_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088805Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009243_C000088805_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088805Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009243_C000088805_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088805Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009243_C000088805_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088805Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009243_C000088805_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088805Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009243_C000088805_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088805Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="CashManagementSharesMember_S000009243_C000088805_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:CashManagementSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088805Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009243_C000088806_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088806Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009243_C000088806_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088806Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009243_C000088806_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088806Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009243_C000088806_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088806Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009243_C000088806_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088806Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009243_C000088806_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088806Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009243_C000088806_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088806Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009243_C000088806_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088806Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009243_C000088806_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088806Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="PremierSharesMember_S000009243_C000088806_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:PremierSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009243Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000088806Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:DocumentPeriodEndDate contextRef="D_30Nov2025_30Nov2025" id="apid_1">2025-11-30</dei:DocumentPeriodEndDate>
    <dei:EntityCentralIndexKey contextRef="D_30Nov2025_30Nov2025" id="apid_2">0000822977</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="D_30Nov2025_30Nov2025" id="apid_3">false</dei:AmendmentFlag>
    <dei:DocumentType contextRef="D_30Nov2025_30Nov2025" id="apid_4">485BPOS</dei:DocumentType>
    <oef:AnnlRtrPct
      contextRef="ClassDSharesMember_S000051190_C000240872_01Jan2024_31Dec2024"
      decimals="4"
      id="e80781d7-66d2-42b6-b611-bc52a0b27f73"
      unitRef="pure">0.0513</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassDSharesMember_S000051190_C000240872_01Jan2025_31Dec2025"
      decimals="4"
      id="x_8b682fda-99cd-451a-8223-079fb2e5a999"
      unitRef="pure">0.0416</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000051190_C000161175_01Jan2016_31Dec2016"
      decimals="4"
      id="x_0e0e8e24-c981-40ae-be16-2d67fafcc93b"
      unitRef="pure">0.0025</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000051190_C000161175_01Jan2017_31Dec2017"
      decimals="4"
      id="dd836b07-afe7-42f5-892d-c79e937d5148"
      unitRef="pure">0.0073</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000051190_C000161175_01Jan2018_31Dec2018"
      decimals="4"
      id="x_513d891d-0e4a-42c4-afeb-3a65e6427ce5"
      unitRef="pure">0.0171</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000051190_C000161175_01Jan2019_31Dec2019"
      decimals="4"
      id="x_7bcf2875-4caa-4981-8a2f-6cfa9cc35f26"
      unitRef="pure">0.0208</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000051190_C000161175_01Jan2020_31Dec2020"
      decimals="4"
      id="x_39c0e388-033b-4d8d-bd31-1ee5119279bf"
      unitRef="pure">0.0041</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000051190_C000161175_01Jan2021_31Dec2021"
      decimals="4"
      id="x_5dab944c-5039-44de-90c7-71c0938ada9a"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000051190_C000161175_01Jan2022_31Dec2022"
      decimals="4"
      id="bbae3525-aa13-47da-a317-324d95027391"
      unitRef="pure">0.0153</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000051190_C000161175_01Jan2023_31Dec2023"
      decimals="4"
      id="x_39279e7b-66cb-4dc4-8bba-15738f6ad792"
      unitRef="pure">0.0501</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000051190_C000161175_01Jan2024_31Dec2024"
      decimals="4"
      id="x_7862b304-b56d-4b8b-aa99-41be9468bc89"
      unitRef="pure">0.0513</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000051190_C000161175_01Jan2025_31Dec2025"
      decimals="4"
      id="x_63742c1f-b787-4abb-bb71-abd6f931a5d4"
      unitRef="pure">0.0416</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000051190_C000161180_01Jan2016_31Dec2016"
      decimals="4"
      id="x_3c4e1cd6-3a69-4b52-b30f-25197c760877"
      unitRef="pure">0.0010</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000051190_C000161180_01Jan2017_31Dec2017"
      decimals="4"
      id="x_6c180c6d-604b-42ad-8fa6-bb6b98cf2f37"
      unitRef="pure">0.0058</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000051190_C000161180_01Jan2018_31Dec2018"
      decimals="4"
      id="x_4aba3e07-0d09-48a2-95c2-357d9b2198a5"
      unitRef="pure">0.0155</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000051190_C000161180_01Jan2019_31Dec2019"
      decimals="4"
      id="x_8b30eba7-04fd-41a9-b06c-2f13860bd5c0"
      unitRef="pure">0.0193</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000051190_C000161180_01Jan2020_31Dec2020"
      decimals="4"
      id="x_723bdda5-dad2-43da-8256-3dc89018dba9"
      unitRef="pure">0.0033</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000051190_C000161180_01Jan2021_31Dec2021"
      decimals="4"
      id="ab1808cb-98bf-4952-9cb6-d76f0a86dcaf"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000051190_C000161180_01Jan2022_31Dec2022"
      decimals="4"
      id="c80c932f-54e9-41c9-9eea-891a4ca3b7f1"
      unitRef="pure">0.0140</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000051190_C000161180_01Jan2023_31Dec2023"
      decimals="4"
      id="x_3661a947-83b1-41e8-9ea5-ea06d3d2913e"
      unitRef="pure">0.0485</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000051190_C000161180_01Jan2024_31Dec2024"
      decimals="4"
      id="a8fd7cea-91f0-41db-9843-09de7337baf3"
      unitRef="pure">0.0498</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000051190_C000161180_01Jan2025_31Dec2025"
      decimals="4"
      id="x_5ddcd2ba-6688-464d-874c-06f42cc74579"
      unitRef="pure">0.0401</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000051190_C000161177_01Jan2016_31Dec2016"
      decimals="4"
      id="x_743c6384-3145-44f3-a4f1-4298012d93bb"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000051190_C000161177_01Jan2017_31Dec2017"
      decimals="4"
      id="x_883d12f6-b271-42ee-9d15-7a48443f88bc"
      unitRef="pure">0.0025</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000051190_C000161177_01Jan2018_31Dec2018"
      decimals="4"
      id="x_657f5699-6c78-481c-9ce7-0fd907513013"
      unitRef="pure">0.0120</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000051190_C000161177_01Jan2019_31Dec2019"
      decimals="4"
      id="x_1bcc6844-353b-445e-b2a4-a17d4f27690e"
      unitRef="pure">0.0157</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000051190_C000161177_01Jan2020_31Dec2020"
      decimals="4"
      id="x_3d1b430d-a949-4333-899e-dcf0b6eb8fec"
      unitRef="pure">0.0022</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000051190_C000161177_01Jan2021_31Dec2021"
      decimals="4"
      id="x_98351e4e-5e47-4114-a669-898f63d3b0dc"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000051190_C000161177_01Jan2022_31Dec2022"
      decimals="4"
      id="x_7f511ea6-39f5-48e9-8089-e25a50358682"
      unitRef="pure">0.0115</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000051190_C000161177_01Jan2023_31Dec2023"
      decimals="4"
      id="a0e607e6-a069-4d6e-b276-c38a94906c80"
      unitRef="pure">0.0449</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000051190_C000161177_01Jan2024_31Dec2024"
      decimals="4"
      id="x_26917b71-2a24-4164-b89a-196bfd657c95"
      unitRef="pure">0.0461</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000051190_C000161177_01Jan2025_31Dec2025"
      decimals="4"
      id="x_9fe6a911-a180-42b4-a166-3480b053bc9a"
      unitRef="pure">0.0364</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000051190_C000161178_01Jan2016_31Dec2016"
      decimals="4"
      id="x_95dd3d0d-a014-4a3a-9452-5d59672a6eeb"
      unitRef="pure">0.0015</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000051190_C000161178_01Jan2017_31Dec2017"
      decimals="4"
      id="e9dfae46-6161-4c18-960b-ba1200e6bd5e"
      unitRef="pure">0.0063</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000051190_C000161178_01Jan2018_31Dec2018"
      decimals="4"
      id="x_36ab7438-9675-4a6d-85f7-66c29f718894"
      unitRef="pure">0.0160</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000051190_C000161178_01Jan2019_31Dec2019"
      decimals="4"
      id="x_70a6e1ba-08ce-480b-ae1d-90ae4b898676"
      unitRef="pure">0.0198</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000051190_C000161178_01Jan2020_31Dec2020"
      decimals="4"
      id="x_8ef5220c-11e7-4a15-a60e-cbbd98d375a7"
      unitRef="pure">0.0035</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000051190_C000161178_01Jan2021_31Dec2021"
      decimals="4"
      id="x_2f17c26f-fd1a-47c0-8ccc-ccf2ff15a1da"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000051190_C000161178_01Jan2022_31Dec2022"
      decimals="4"
      id="x_8ae483e4-991c-45f7-8ce2-3fed6a59b3c4"
      unitRef="pure">0.0144</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000051190_C000161178_01Jan2023_31Dec2023"
      decimals="4"
      id="x_335ab1ee-6519-45f0-8bc3-7f018c90c510"
      unitRef="pure">0.0491</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000051190_C000161178_01Jan2024_31Dec2024"
      decimals="4"
      id="x_00b65a23-5971-439e-9c95-5c29b20d6b56"
      unitRef="pure">0.0503</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000051190_C000161178_01Jan2025_31Dec2025"
      decimals="4"
      id="x_529c0ff7-ccfd-4494-8733-9962a62ec633"
      unitRef="pure">0.0406</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000051190_C000161176_01Jan2016_31Dec2016"
      decimals="4"
      id="x_13947698-d0c3-4f8f-9924-5f0240162509"
      unitRef="pure">0.0003</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000051190_C000161176_01Jan2017_31Dec2017"
      decimals="4"
      id="x_7c1f583f-e062-4a3c-adfd-8cecca7e23ad"
      unitRef="pure">0.0048</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000051190_C000161176_01Jan2018_31Dec2018"
      decimals="4"
      id="x_39bcd5d4-99d6-465a-a565-55c4aef613f7"
      unitRef="pure">0.0145</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000051190_C000161176_01Jan2019_31Dec2019"
      decimals="4"
      id="b1fecb93-8bb8-4e8b-bcbf-22a2cc2fc075"
      unitRef="pure">0.0183</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000051190_C000161176_01Jan2020_31Dec2020"
      decimals="4"
      id="x_5e9b8204-9c06-495b-a9eb-05a13da0890a"
      unitRef="pure">0.0029</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000051190_C000161176_01Jan2021_31Dec2021"
      decimals="4"
      id="f6816e75-66a4-45db-9f6a-d6dd088e0969"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000051190_C000161176_01Jan2022_31Dec2022"
      decimals="4"
      id="c9739956-43b1-4470-888d-19b41d5a400f"
      unitRef="pure">0.0133</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000051190_C000161176_01Jan2023_31Dec2023"
      decimals="4"
      id="x_7e2b80a6-9db4-4bc0-ae4d-113a3b9b4eb5"
      unitRef="pure">0.0475</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000051190_C000161176_01Jan2024_31Dec2024"
      decimals="4"
      id="x_51a06f86-88ea-42ca-bfd3-b233dfd00f24"
      unitRef="pure">0.0487</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000051190_C000161176_01Jan2025_31Dec2025"
      decimals="4"
      id="x_3367a619-3d44-4865-a295-b8a4a1463c6d"
      unitRef="pure">0.0390</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000051190_C000161786_01Jan2016_31Dec2016"
      decimals="4"
      id="a56e5e50-23d8-45f4-9443-adad9f89e2dc"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000051190_C000161786_01Jan2017_31Dec2017"
      decimals="4"
      id="a384507c-2325-468a-8106-50ac21c87722"
      unitRef="pure">0.0006</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000051190_C000161786_01Jan2018_31Dec2018"
      decimals="4"
      id="x_14b60635-4b01-42c7-933d-3d20448a7700"
      unitRef="pure">0.0090</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000051190_C000161786_01Jan2019_31Dec2019"
      decimals="4"
      id="x_2396daf8-f390-4a52-88a5-2b049a13b09d"
      unitRef="pure">0.0127</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000051190_C000161786_01Jan2020_31Dec2020"
      decimals="4"
      id="d8dcc4fc-47e5-4fcb-a82a-0f46fbadff7e"
      unitRef="pure">0.0015</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000051190_C000161786_01Jan2021_31Dec2021"
      decimals="4"
      id="x_30a356b5-33dd-4ff0-bb8b-698e0e6d8821"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000051190_C000161786_01Jan2022_31Dec2022"
      decimals="4"
      id="e7fb9cfd-51c3-493c-9301-ef2a332df5d4"
      unitRef="pure">0.0097</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000051190_C000161786_01Jan2023_31Dec2023"
      decimals="4"
      id="x_3f0312c8-b2cd-4acc-bd5b-909225331f19"
      unitRef="pure">0.0418</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000051190_C000161786_01Jan2024_31Dec2024"
      decimals="4"
      id="x_9135bb25-c095-4500-b207-259489f172f5"
      unitRef="pure">0.0430</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000051190_C000161786_01Jan2025_31Dec2025"
      decimals="4"
      id="x_5a725459-dd83-45e3-a331-9f677f3c1489"
      unitRef="pure">0.0333</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="LoopClassSharesMember_S000009261_C000229777_01Jan2022_31Dec2022"
      decimals="4"
      id="ff1266d7-6cb7-4765-8537-0279bedb80df"
      unitRef="pure">0.0147</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="LoopClassSharesMember_S000009261_C000229777_01Jan2023_31Dec2023"
      decimals="4"
      id="ec1f6180-9697-4077-822f-24033bd69ecf"
      unitRef="pure">0.0496</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="LoopClassSharesMember_S000009261_C000229777_01Jan2024_31Dec2024"
      decimals="4"
      id="a532652c-16e7-44fd-bfea-643232c065a1"
      unitRef="pure">0.0511</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="LoopClassSharesMember_S000009261_C000229777_01Jan2025_31Dec2025"
      decimals="4"
      id="x_87598781-192b-4922-90fd-9d404c7f89c9"
      unitRef="pure">0.0415</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SeelausClassSharesMember_S000009261_C000229776_01Jan2022_31Dec2022"
      decimals="4"
      id="x_37e33372-e805-47da-b9b9-80f331a02837"
      unitRef="pure">0.0147</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SeelausClassSharesMember_S000009261_C000229776_01Jan2023_31Dec2023"
      decimals="4"
      id="ce3414f6-030e-4227-bb4b-a846720390a4"
      unitRef="pure">0.0496</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SeelausClassSharesMember_S000009261_C000229776_01Jan2024_31Dec2024"
      decimals="4"
      id="x_455d2a01-73b7-449a-bf31-d1208d549508"
      unitRef="pure">0.0511</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SeelausClassSharesMember_S000009261_C000229776_01Jan2025_31Dec2025"
      decimals="4"
      id="x_3038b2ea-df4e-434e-8ce7-eee0fa8b8499"
      unitRef="pure">0.0415</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassDSharesMember_S000009261_C000240871_01Jan2024_31Dec2024"
      decimals="4"
      id="x_75d266ef-bdde-4a3b-9392-d6d8ee034984"
      unitRef="pure">0.0511</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassDSharesMember_S000009261_C000240871_01Jan2025_31Dec2025"
      decimals="4"
      id="b192f0ae-81a2-4c82-bf9b-23add4f05d07"
      unitRef="pure">0.0415</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="TokenSharesMember_S000009261_C000025309_01Jan2016_31Dec2016"
      decimals="4"
      id="dd3693d3-9097-4af4-8001-9daed27df0bd"
      unitRef="pure">0.0020</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="TokenSharesMember_S000009261_C000025309_01Jan2017_31Dec2017"
      decimals="4"
      id="bb327fb1-9c7f-4db4-90cf-23bf0d6d1c35"
      unitRef="pure">0.0072</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="TokenSharesMember_S000009261_C000025309_01Jan2018_31Dec2018"
      decimals="4"
      id="x_1752cd51-c926-4791-98d5-e1d11270e48c"
      unitRef="pure">0.0171</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="TokenSharesMember_S000009261_C000025309_01Jan2019_31Dec2019"
      decimals="4"
      id="a8dbe915-4efd-48d9-bbea-96e05f886fe7"
      unitRef="pure">0.0205</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="TokenSharesMember_S000009261_C000025309_01Jan2020_31Dec2020"
      decimals="4"
      id="ffec2b56-dd30-4970-912b-92f65510aa13"
      unitRef="pure">0.0038</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="TokenSharesMember_S000009261_C000025309_01Jan2021_31Dec2021"
      decimals="4"
      id="a2842950-34f5-4f8e-b931-31d3bf52c8b4"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="TokenSharesMember_S000009261_C000025309_01Jan2022_31Dec2022"
      decimals="4"
      id="x_73e23fef-ee67-4e37-b659-9e5fccdfe425"
      unitRef="pure">0.0147</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="TokenSharesMember_S000009261_C000025309_01Jan2023_31Dec2023"
      decimals="4"
      id="x_97f71848-0b2d-439b-8175-095e083fc25b"
      unitRef="pure">0.0496</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="TokenSharesMember_S000009261_C000025309_01Jan2024_31Dec2024"
      decimals="4"
      id="d6c70053-5cd0-4db4-911e-92e594170915"
      unitRef="pure">0.0511</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="TokenSharesMember_S000009261_C000025309_01Jan2025_31Dec2025"
      decimals="4"
      id="x_228f323d-b08d-457a-b51b-8721df3be021"
      unitRef="pure">0.0415</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009261_C000025309_01Jan2016_31Dec2016"
      decimals="4"
      id="bad58b08-d28f-40d6-836f-34065802666f"
      unitRef="pure">0.0020</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009261_C000025309_01Jan2017_31Dec2017"
      decimals="4"
      id="bc3010cb-854b-4866-b81a-8de9c7d9e14a"
      unitRef="pure">0.0072</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009261_C000025309_01Jan2018_31Dec2018"
      decimals="4"
      id="x_65f289a4-172e-443f-8fb0-07a8616c538f"
      unitRef="pure">0.0171</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009261_C000025309_01Jan2019_31Dec2019"
      decimals="4"
      id="e0dc5cf5-b698-4cf3-a77e-ff5fd3dd5878"
      unitRef="pure">0.0205</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009261_C000025309_01Jan2020_31Dec2020"
      decimals="4"
      id="cea9abfd-8f69-4348-8885-72300c3653dd"
      unitRef="pure">0.0038</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009261_C000025309_01Jan2021_31Dec2021"
      decimals="4"
      id="f8eae70d-70a6-4071-a443-224795920dc9"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009261_C000025309_01Jan2022_31Dec2022"
      decimals="4"
      id="x_54ab24e2-1f07-4382-96e0-0f4592606f4d"
      unitRef="pure">0.0147</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009261_C000025309_01Jan2023_31Dec2023"
      decimals="4"
      id="x_93acecaa-1a19-4ebf-a364-8e724d14a1d1"
      unitRef="pure">0.0496</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009261_C000025309_01Jan2024_31Dec2024"
      decimals="4"
      id="e0e3da71-c1b1-4283-911e-49eb28f88ab2"
      unitRef="pure">0.0511</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009261_C000025309_01Jan2025_31Dec2025"
      decimals="4"
      id="f811a0b2-490d-4ef2-95ac-07c441606a42"
      unitRef="pure">0.0415</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009261_C000025314_01Jan2016_31Dec2016"
      decimals="4"
      id="x_68d2149e-565d-40cf-87ee-27e35d99ff65"
      unitRef="pure">0.0005</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009261_C000025314_01Jan2017_31Dec2017"
      decimals="4"
      id="x_14feeb37-6de3-40c5-a8b8-2b8244b8fde7"
      unitRef="pure">0.0057</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009261_C000025314_01Jan2018_31Dec2018"
      decimals="4"
      id="a475f30c-9dbb-4579-a634-7aa5a08cd0ef"
      unitRef="pure">0.0156</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009261_C000025314_01Jan2019_31Dec2019"
      decimals="4"
      id="x_1e8d63ca-73a5-4205-89a1-23802b49f81a"
      unitRef="pure">0.0190</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009261_C000025314_01Jan2020_31Dec2020"
      decimals="4"
      id="c0d81bf3-78ee-49f1-b737-6369c71b4571"
      unitRef="pure">0.0030</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009261_C000025314_01Jan2021_31Dec2021"
      decimals="4"
      id="x_70457f30-8422-43bd-870d-77aafa261da4"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009261_C000025314_01Jan2022_31Dec2022"
      decimals="4"
      id="x_18237b58-7897-430d-b3dc-766ad5b3d62b"
      unitRef="pure">0.0134</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009261_C000025314_01Jan2023_31Dec2023"
      decimals="4"
      id="x_686dae23-c914-41e0-ba39-e5e6142c628f"
      unitRef="pure">0.0480</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009261_C000025314_01Jan2024_31Dec2024"
      decimals="4"
      id="x_488c0ff2-7367-44f1-a4eb-6b7fbefa1d3a"
      unitRef="pure">0.0496</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009261_C000025314_01Jan2025_31Dec2025"
      decimals="4"
      id="ca19d420-aaf9-40bc-8e3a-2117b184234f"
      unitRef="pure">0.0399</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009261_C000025311_01Jan2016_31Dec2016"
      decimals="4"
      id="x_9a83b1b9-6edd-42c8-aea5-66e0202ac659"
      unitRef="pure">0.0000</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009261_C000025311_01Jan2017_31Dec2017"
      decimals="4"
      id="x_09e37937-2288-4ef8-9db3-801666f72034"
      unitRef="pure">0.0025</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009261_C000025311_01Jan2018_31Dec2018"
      decimals="4"
      id="x_78ef22c5-4837-47d2-8d4f-1adbc5225246"
      unitRef="pure">0.0120</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009261_C000025311_01Jan2019_31Dec2019"
      decimals="4"
      id="a5edfb80-d6d4-4b8d-b59e-6fd0e8871bf9"
      unitRef="pure">0.0154</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009261_C000025311_01Jan2020_31Dec2020"
      decimals="4"
      id="c51ad7f5-b43f-4cfb-b763-647253aebf26"
      unitRef="pure">0.0020</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009261_C000025311_01Jan2021_31Dec2021"
      decimals="4"
      id="d5c74d0d-75d2-40d6-8c7e-cfffc6f5c6fd"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009261_C000025311_01Jan2022_31Dec2022"
      decimals="4"
      id="f42f9221-dd54-44ec-8277-d48dd7680cb0"
      unitRef="pure">0.0110</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009261_C000025311_01Jan2023_31Dec2023"
      decimals="4"
      id="b343c3d6-fc34-4082-8efe-f3c519aaf580"
      unitRef="pure">0.0444</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009261_C000025311_01Jan2024_31Dec2024"
      decimals="4"
      id="x_6d9a782d-76c2-4346-af8f-bc34fb178c2e"
      unitRef="pure">0.0459</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009261_C000025311_01Jan2025_31Dec2025"
      decimals="4"
      id="b13e29f8-2821-4eb1-b8e9-9c126b28d6d9"
      unitRef="pure">0.0363</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009261_C000025312_01Jan2016_31Dec2016"
      decimals="4"
      id="x_5bbf4755-91da-4fa6-b01b-4fc1580eb267"
      unitRef="pure">0.0010</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009261_C000025312_01Jan2017_31Dec2017"
      decimals="4"
      id="d10f5b7c-5739-46a2-8e75-a8b6a2998d61"
      unitRef="pure">0.0062</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009261_C000025312_01Jan2018_31Dec2018"
      decimals="4"
      id="x_105abd13-4df8-419c-9f52-5acbfd6c4363"
      unitRef="pure">0.0161</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009261_C000025312_01Jan2019_31Dec2019"
      decimals="4"
      id="cdf37ac3-3805-4977-8e91-52310406a5c9"
      unitRef="pure">0.0195</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009261_C000025312_01Jan2020_31Dec2020"
      decimals="4"
      id="e688b2d7-94ca-4bbc-9ff8-145f603abd1f"
      unitRef="pure">0.0032</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009261_C000025312_01Jan2021_31Dec2021"
      decimals="4"
      id="cda2cbdc-1dd1-493f-938d-860ff0e51de7"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009261_C000025312_01Jan2022_31Dec2022"
      decimals="4"
      id="x_00cbf30d-577f-43fa-92f5-bb3cba99f563"
      unitRef="pure">0.0138</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009261_C000025312_01Jan2023_31Dec2023"
      decimals="4"
      id="x_39a1a76c-ce8a-410b-b635-9e45d79f4a2a"
      unitRef="pure">0.0486</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009261_C000025312_01Jan2024_31Dec2024"
      decimals="4"
      id="x_7bdc9adf-e46e-4887-b9a4-bb6b29b1f236"
      unitRef="pure">0.0501</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009261_C000025312_01Jan2025_31Dec2025"
      decimals="4"
      id="efbdbbf9-8f94-4111-981b-d3263c06db75"
      unitRef="pure">0.0404</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009261_C000025313_01Jan2016_31Dec2016"
      decimals="4"
      id="x_6ddb7b9c-9ded-4006-9e02-f60cf96500e8"
      unitRef="pure">0.0017</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009261_C000025313_01Jan2017_31Dec2017"
      decimals="4"
      id="x_4fdb6c90-8b81-4a64-9e5f-00fda198ff5e"
      unitRef="pure">0.0069</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009261_C000025313_01Jan2018_31Dec2018"
      decimals="4"
      id="x_760ea2ae-382f-4e15-8d1c-fbade032523b"
      unitRef="pure">0.0168</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009261_C000025313_01Jan2019_31Dec2019"
      decimals="4"
      id="x_86685001-d6b1-44b7-a6f8-f8c6313dc522"
      unitRef="pure">0.0202</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009261_C000025313_01Jan2020_31Dec2020"
      decimals="4"
      id="x_5ce561a7-2bf0-4f06-8dd5-92bc2690969b"
      unitRef="pure">0.0036</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009261_C000025313_01Jan2021_31Dec2021"
      decimals="4"
      id="f06ee1ef-a6c0-487c-9d17-3dbee3d516d2"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009261_C000025313_01Jan2022_31Dec2022"
      decimals="4"
      id="d5fbc3c3-2889-4314-8484-53642745fd3b"
      unitRef="pure">0.0144</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009261_C000025313_01Jan2023_31Dec2023"
      decimals="4"
      id="b549cbc0-e3c9-4319-a995-7e0ea5a49767"
      unitRef="pure">0.0493</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009261_C000025313_01Jan2024_31Dec2024"
      decimals="4"
      id="b068bdce-fb52-4b9b-a314-f2785360894c"
      unitRef="pure">0.0508</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009261_C000025313_01Jan2025_31Dec2025"
      decimals="4"
      id="x_380d9ff1-ed1d-431c-9a71-1d3fbd0e9631"
      unitRef="pure">0.0412</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009261_C000025310_01Jan2016_31Dec2016"
      decimals="4"
      id="x_1b28c6a8-a0d9-480e-84f1-9f54dc551556"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009261_C000025310_01Jan2017_31Dec2017"
      decimals="4"
      id="x_9de0efdb-d751-40a7-8fe0-4f9e94eed9a0"
      unitRef="pure">0.0047</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009261_C000025310_01Jan2018_31Dec2018"
      decimals="4"
      id="a7acaa7e-10c6-471a-b7cd-94fb87fe2758"
      unitRef="pure">0.0146</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009261_C000025310_01Jan2019_31Dec2019"
      decimals="4"
      id="f6862303-3d6d-437a-a8a2-78fd5fe848ac"
      unitRef="pure">0.0180</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009261_C000025310_01Jan2020_31Dec2020"
      decimals="4"
      id="b49532c8-d601-4a57-9bef-f10cc573f3e7"
      unitRef="pure">0.0027</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009261_C000025310_01Jan2021_31Dec2021"
      decimals="4"
      id="x_398b2329-0f52-40f1-9316-bdc3da5a00ae"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009261_C000025310_01Jan2022_31Dec2022"
      decimals="4"
      id="x_3b2bf491-31bf-484c-8959-3e95cbde114c"
      unitRef="pure">0.0127</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009261_C000025310_01Jan2023_31Dec2023"
      decimals="4"
      id="c4cfcb92-4007-48cd-a4bf-abf7438d3fea"
      unitRef="pure">0.0470</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009261_C000025310_01Jan2024_31Dec2024"
      decimals="4"
      id="x_0abf2b35-2a98-457d-9c99-36b833ea01a6"
      unitRef="pure">0.0485</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009261_C000025310_01Jan2025_31Dec2025"
      decimals="4"
      id="a64f4698-97b8-4abd-9fa2-06120ebcb192"
      unitRef="pure">0.0389</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009261_C000088822_01Jan2016_31Dec2016"
      decimals="4"
      id="x_8c97365b-b697-45be-bbf7-11eefc729f9a"
      unitRef="pure">0.0000</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009261_C000088822_01Jan2017_31Dec2017"
      decimals="4"
      id="x_439d68dc-8a1e-4e6e-ab62-0d6be0aae74e"
      unitRef="pure">0.0006</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009261_C000088822_01Jan2018_31Dec2018"
      decimals="4"
      id="x_0adc9f7b-f484-4988-89ba-e6a86d134d5d"
      unitRef="pure">0.0090</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009261_C000088822_01Jan2019_31Dec2019"
      decimals="4"
      id="db718e3f-2cf5-436f-960d-9b27fdc97bd9"
      unitRef="pure">0.0124</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009261_C000088822_01Jan2020_31Dec2020"
      decimals="4"
      id="e5930058-cbab-419b-8ade-864e2778d974"
      unitRef="pure">0.0013</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009261_C000088822_01Jan2021_31Dec2021"
      decimals="4"
      id="x_0dd367b8-2907-43fb-9be0-0d9d075041db"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009261_C000088822_01Jan2022_31Dec2022"
      decimals="4"
      id="e85803a9-4374-419e-a816-9a597dcb5b66"
      unitRef="pure">0.0092</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009261_C000088822_01Jan2023_31Dec2023"
      decimals="4"
      id="c3603e4e-aa5d-4a2c-be5b-cb2c18dbcfb6"
      unitRef="pure">0.0413</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009261_C000088822_01Jan2024_31Dec2024"
      decimals="4"
      id="x_9fdda251-4199-4ac8-8840-b82bd427815e"
      unitRef="pure">0.0428</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009261_C000088822_01Jan2025_31Dec2025"
      decimals="4"
      id="fe6e134b-62f3-4bf1-8356-f61cf191a878"
      unitRef="pure">0.0332</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009261_C000088823_01Jan2016_31Dec2016"
      decimals="4"
      id="x_54ef1f76-0152-4867-b1b3-c56d056e4866"
      unitRef="pure">0.0000</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009261_C000088823_01Jan2017_31Dec2017"
      decimals="4"
      id="x_5eec38c8-faee-47df-8cfd-a4502dd1208a"
      unitRef="pure">0.0037</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009261_C000088823_01Jan2018_31Dec2018"
      decimals="4"
      id="x_761f3056-4e17-4e51-93a8-c2736a36b3a1"
      unitRef="pure">0.0135</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009261_C000088823_01Jan2019_31Dec2019"
      decimals="4"
      id="b8f54f9b-a0aa-45e4-97cf-d43dbfe97723"
      unitRef="pure">0.0169</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009261_C000088823_01Jan2020_31Dec2020"
      decimals="4"
      id="x_6162d363-33ec-47a2-bd24-7ebcbd813abf"
      unitRef="pure">0.0024</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009261_C000088823_01Jan2021_31Dec2021"
      decimals="4"
      id="x_9111687d-58a9-48aa-b90e-93add808c141"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009261_C000088823_01Jan2022_31Dec2022"
      decimals="4"
      id="a9847ce7-ba85-4909-a8be-9b42effd6586"
      unitRef="pure">0.0120</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009261_C000088823_01Jan2023_31Dec2023"
      decimals="4"
      id="x_1c1abb07-078a-4dce-aab7-ad203e9cf819"
      unitRef="pure">0.0460</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009261_C000088823_01Jan2024_31Dec2024"
      decimals="4"
      id="b8364ace-57fe-4024-8910-a85c0fb94aee"
      unitRef="pure">0.0475</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009261_C000088823_01Jan2025_31Dec2025"
      decimals="4"
      id="x_90d80ef4-7022-41f7-900f-dbe0f62867a9"
      unitRef="pure">0.0378</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACSharesMember_S000009244_C000166884_01Jan2017_31Dec2017"
      decimals="4"
      id="x_0105c7f7-1610-40b7-ad71-7699cd2875c1"
      unitRef="pure">0.0043</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACSharesMember_S000009244_C000166884_01Jan2018_31Dec2018"
      decimals="4"
      id="dc8a9298-3ee4-4bde-b4ec-360d27a59ede"
      unitRef="pure">0.0099</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACSharesMember_S000009244_C000166884_01Jan2019_31Dec2019"
      decimals="4"
      id="x_1f45ac7a-acbc-48c1-8dad-9a4db59e70eb"
      unitRef="pure">0.0105</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACSharesMember_S000009244_C000166884_01Jan2020_31Dec2020"
      decimals="4"
      id="x_3c85ab7b-db92-4229-a6c4-8be1ede2d224"
      unitRef="pure">0.0027</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACSharesMember_S000009244_C000166884_01Jan2021_31Dec2021"
      decimals="4"
      id="x_2f76292c-8aa1-4592-aad4-e1aeff45a9bc"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACSharesMember_S000009244_C000166884_01Jan2022_31Dec2022"
      decimals="4"
      id="fa3ad4ec-bde4-4466-a0f3-0edf61514802"
      unitRef="pure">0.0080</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACSharesMember_S000009244_C000166884_01Jan2023_31Dec2023"
      decimals="4"
      id="x_0bcb9216-1f81-46cd-af32-ec0e9ea3fc35"
      unitRef="pure">0.0285</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACSharesMember_S000009244_C000166884_01Jan2024_31Dec2024"
      decimals="4"
      id="x_199ee9fa-bce6-45c8-9568-09d486f05f0a"
      unitRef="pure">0.0295</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACSharesMember_S000009244_C000166884_01Jan2025_31Dec2025"
      decimals="4"
      id="ff90ed70-9045-4a59-bdca-2bbb6d229353"
      unitRef="pure">0.0249</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassISharesMember_S000009244_C000025210_01Jan2016_31Dec2016"
      decimals="4"
      id="x_8b680a27-6719-4a45-a27c-ea9bd5d6ef1e"
      unitRef="pure">0.0032</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassISharesMember_S000009244_C000025210_01Jan2017_31Dec2017"
      decimals="4"
      id="ad139076-c54f-4658-986c-927fe878ff3c"
      unitRef="pure">0.0069</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassISharesMember_S000009244_C000025210_01Jan2018_31Dec2018"
      decimals="4"
      id="x_0eec88ba-898e-4b80-9f20-c72d3f2ad800"
      unitRef="pure">0.0124</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassISharesMember_S000009244_C000025210_01Jan2019_31Dec2019"
      decimals="4"
      id="x_986620c0-c37c-4744-a590-618c2aa77ec3"
      unitRef="pure">0.0131</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassISharesMember_S000009244_C000025210_01Jan2020_31Dec2020"
      decimals="4"
      id="x_222ce6a2-330b-4a32-b69b-fc223bd005f8"
      unitRef="pure">0.0038</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassISharesMember_S000009244_C000025210_01Jan2021_31Dec2021"
      decimals="4"
      id="x_78c8af9f-35a8-49f7-b139-c0d7674adf88"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassISharesMember_S000009244_C000025210_01Jan2022_31Dec2022"
      decimals="4"
      id="df33e1e1-0183-4ed7-a5ec-ef25d68d5bdb"
      unitRef="pure">0.0100</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassISharesMember_S000009244_C000025210_01Jan2023_31Dec2023"
      decimals="4"
      id="a6b8a418-8b6c-4ee4-b5e7-08603790088f"
      unitRef="pure">0.0311</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassISharesMember_S000009244_C000025210_01Jan2024_31Dec2024"
      decimals="4"
      id="x_55323e52-bb40-41a2-aa97-ac548c26cf1e"
      unitRef="pure">0.0321</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassISharesMember_S000009244_C000025210_01Jan2025_31Dec2025"
      decimals="4"
      id="x_966e8c35-b0d2-48d5-a178-7ee66f5e37b5"
      unitRef="pure">0.0275</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009244_C000025212_01Jan2016_31Dec2016"
      decimals="4"
      id="x_8be5277a-5d68-403c-ac14-fa4959eb3d87"
      unitRef="pure">0.0007</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009244_C000025212_01Jan2017_31Dec2017"
      decimals="4"
      id="x_4f095e51-3dd2-48b3-bea5-9175f84dc9f1"
      unitRef="pure">0.0019</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009244_C000025212_01Jan2018_31Dec2018"
      decimals="4"
      id="x_0075f05f-1234-46ea-b26a-3d2ba07c45b3"
      unitRef="pure">0.0074</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009244_C000025212_01Jan2019_31Dec2019"
      decimals="4"
      id="x_183688ac-1475-40ba-b8fb-e249e5fa7f1e"
      unitRef="pure">0.0080</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009244_C000025212_01Jan2020_31Dec2020"
      decimals="4"
      id="x_257b7d79-545b-4576-8370-7109f3994af5"
      unitRef="pure">0.0020</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009244_C000025212_01Jan2021_31Dec2021"
      decimals="4"
      id="x_103064c4-b9a8-4c81-bb0c-d0f2de368491"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009244_C000025212_01Jan2022_31Dec2022"
      decimals="4"
      id="aeed5eea-4b7c-4c61-811c-25d4a1fe81d8"
      unitRef="pure">0.0064</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009244_C000025212_01Jan2023_31Dec2023"
      decimals="4"
      id="cf5ebe41-b5c8-4dd0-9729-016c42097b4b"
      unitRef="pure">0.0260</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009244_C000025212_01Jan2024_31Dec2024"
      decimals="4"
      id="x_26cbd545-6b28-4a25-abb4-58a46c4f1560"
      unitRef="pure">0.0269</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009244_C000025212_01Jan2025_31Dec2025"
      decimals="4"
      id="b9a9fe27-c100-4b79-9c18-56e5418635fc"
      unitRef="pure">0.0224</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009244_C000025213_01Jan2016_31Dec2016"
      decimals="4"
      id="a01d57df-d30e-48d4-b5f7-c25930cfa78f"
      unitRef="pure">0.0024</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009244_C000025213_01Jan2017_31Dec2017"
      decimals="4"
      id="bfa6f6e2-a61a-4308-92c9-e120ed3c6fbf"
      unitRef="pure">0.0058</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009244_C000025213_01Jan2018_31Dec2018"
      decimals="4"
      id="x_36478de0-041f-482a-9e14-09b874dee7d6"
      unitRef="pure">0.0114</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009244_C000025213_01Jan2019_31Dec2019"
      decimals="4"
      id="f3a757a5-4ac1-41e6-b8d7-e3245c2ef9e3"
      unitRef="pure">0.0121</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009244_C000025213_01Jan2020_31Dec2020"
      decimals="4"
      id="x_136661cb-0820-486e-9e86-3304f8ffaf68"
      unitRef="pure">0.0033</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009244_C000025213_01Jan2021_31Dec2021"
      decimals="4"
      id="x_52c66c72-1b7b-486c-8209-1c81398061ab"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009244_C000025213_01Jan2022_31Dec2022"
      decimals="4"
      id="x_3b5d501d-279b-4f74-a765-15e857346edb"
      unitRef="pure">0.0092</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009244_C000025213_01Jan2023_31Dec2023"
      decimals="4"
      id="x_57229cda-cbfc-4e4f-824b-cc3547128850"
      unitRef="pure">0.0301</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009244_C000025213_01Jan2024_31Dec2024"
      decimals="4"
      id="x_3fb914a3-e354-4f76-a55e-03b4cb35543e"
      unitRef="pure">0.0310</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009244_C000025213_01Jan2025_31Dec2025"
      decimals="4"
      id="x_20f0c9b2-95aa-4298-ba4c-d4c453e753df"
      unitRef="pure">0.0265</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009244_C000025211_01Jan2016_31Dec2016"
      decimals="4"
      id="x_9c2fdcc3-c984-4f4f-a92c-9ed4cc822198"
      unitRef="pure">0.0014</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009244_C000025211_01Jan2017_31Dec2017"
      decimals="4"
      id="x_9c3254df-02e8-4da9-8031-e9f6d9f37498"
      unitRef="pure">0.0043</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009244_C000025211_01Jan2018_31Dec2018"
      decimals="4"
      id="x_12abace1-c0c4-4108-af54-01ea7f57e9f9"
      unitRef="pure">0.0099</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009244_C000025211_01Jan2019_31Dec2019"
      decimals="4"
      id="x_84a8229d-b521-453f-8714-9ba17aa39dff"
      unitRef="pure">0.0105</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009244_C000025211_01Jan2020_31Dec2020"
      decimals="4"
      id="x_8eca0b94-047c-4187-b85b-37dfd9bd4546"
      unitRef="pure">0.0027</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009244_C000025211_01Jan2021_31Dec2021"
      decimals="4"
      id="x_7fb57cce-a41a-4e88-8e71-d0f62885d76f"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009244_C000025211_01Jan2022_31Dec2022"
      decimals="4"
      id="b049b4a4-0073-4de9-af43-1d95a59c0f17"
      unitRef="pure">0.0080</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009244_C000025211_01Jan2023_31Dec2023"
      decimals="4"
      id="x_643b28d0-4149-49e9-9130-2a68e3339934"
      unitRef="pure">0.0285</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009244_C000025211_01Jan2024_31Dec2024"
      decimals="4"
      id="x_96a09bcf-e84f-48c5-8537-dfd15526a3ee"
      unitRef="pure">0.0295</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009244_C000025211_01Jan2025_31Dec2025"
      decimals="4"
      id="d7ad05fc-acb6-49dc-b1f6-ffec1c044680"
      unitRef="pure">0.0249</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassASharesMember_S000086405_C000251961_01Jan2025_31Dec2025"
      decimals="4"
      id="dee7f42e-71c2-4b93-8dd8-2be4af920fef"
      unitRef="pure">0.0242</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassISharesMember_S000086405_C000251964_01Jan2025_31Dec2025"
      decimals="4"
      id="x_24b02468-201e-4726-ae55-9ca4f3a93e60"
      unitRef="pure">0.0268</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000086405_C000251963_01Jan2025_31Dec2025"
      decimals="4"
      id="cd7e3493-22ae-4b86-913a-f6480943b47f"
      unitRef="pure">0.0217</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000086405_C000251962_01Jan2025_31Dec2025"
      decimals="4"
      id="x_6135031b-883c-4d1b-af8d-79a16edcdc29"
      unitRef="pure">0.0258</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000086405_C000251960_01Jan2025_31Dec2025"
      decimals="4"
      id="x_55189ba9-38dc-494f-a2e6-501ff506b1c7"
      unitRef="pure">0.0242</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ResourceSharesMember_S000009260_C000088820_01Jan2016_31Dec2016"
      decimals="4"
      id="x_1db947b6-38e9-47cb-afc9-309a595fe678"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ResourceSharesMember_S000009260_C000088820_01Jan2017_31Dec2017"
      decimals="4"
      id="x_1b2de7f1-0c67-47d4-bf64-4f639234e78c"
      unitRef="pure">0.0015</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ResourceSharesMember_S000009260_C000088820_01Jan2018_31Dec2018"
      decimals="4"
      id="x_1ad5d149-a904-4b63-84de-917ef9059d99"
      unitRef="pure">0.0107</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ResourceSharesMember_S000009260_C000088820_01Jan2019_31Dec2019"
      decimals="4"
      id="x_46f6867f-03f3-40ab-8fe4-a4330583fd20"
      unitRef="pure">0.0142</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ResourceSharesMember_S000009260_C000088820_01Jan2020_31Dec2020"
      decimals="4"
      id="x_6a038d1b-2bc8-4d67-9949-b997cd7bd7ef"
      unitRef="pure">0.0017</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ResourceSharesMember_S000009260_C000088820_01Jan2021_31Dec2021"
      decimals="4"
      id="x_643a7914-5aaa-4593-abf9-1eaeae470006"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ResourceSharesMember_S000009260_C000088820_01Jan2022_31Dec2022"
      decimals="4"
      id="x_2660c2d1-6b69-42d3-9aae-9b0346a06281"
      unitRef="pure">0.0111</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ResourceSharesMember_S000009260_C000088820_01Jan2023_31Dec2023"
      decimals="4"
      id="x_41198e0e-5fda-45d7-8d0f-d0a85fc796a7"
      unitRef="pure">0.0435</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ResourceSharesMember_S000009260_C000088820_01Jan2024_31Dec2024"
      decimals="4"
      id="x_441c3a6e-502b-4c61-8cd6-c74a3fda922c"
      unitRef="pure">0.0445</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ResourceSharesMember_S000009260_C000088820_01Jan2025_31Dec2025"
      decimals="4"
      id="x_839ab64b-02ce-4034-8f69-f40d298dface"
      unitRef="pure">0.0350</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009260_C000025302_01Jan2016_31Dec2016"
      decimals="4"
      id="fb633907-0efa-4a17-86b6-fbe680d1e3d8"
      unitRef="pure">0.0022</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009260_C000025302_01Jan2017_31Dec2017"
      decimals="4"
      id="f1568fa0-df06-407b-8ae4-d37368072485"
      unitRef="pure">0.0074</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009260_C000025302_01Jan2018_31Dec2018"
      decimals="4"
      id="x_6c44d3f3-b8e3-4c38-8036-3a7aa10e9633"
      unitRef="pure">0.0173</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009260_C000025302_01Jan2019_31Dec2019"
      decimals="4"
      id="d186a8f4-eca2-41a4-af9e-5a2bc4010838"
      unitRef="pure">0.0208</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009260_C000025302_01Jan2020_31Dec2020"
      decimals="4"
      id="x_307a176d-a293-4293-ad6a-fb6da209e041"
      unitRef="pure">0.0037</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009260_C000025302_01Jan2021_31Dec2021"
      decimals="4"
      id="cca1b8a8-f348-48bc-ac93-2132d95aa2a1"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009260_C000025302_01Jan2022_31Dec2022"
      decimals="4"
      id="x_28617a71-19d9-46f1-beb9-258fa840d7ee"
      unitRef="pure">0.0158</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009260_C000025302_01Jan2023_31Dec2023"
      decimals="4"
      id="a2acf080-163d-447c-9816-98dfa1eea871"
      unitRef="pure">0.0503</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009260_C000025302_01Jan2024_31Dec2024"
      decimals="4"
      id="x_23e2ce5a-5463-44c7-b78c-9505b54dbcb9"
      unitRef="pure">0.0512</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009260_C000025302_01Jan2025_31Dec2025"
      decimals="4"
      id="x_07358116-a337-4f04-9196-639b04594261"
      unitRef="pure">0.0417</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009260_C000025307_01Jan2016_31Dec2016"
      decimals="4"
      id="x_6407682e-3ce2-4022-ba4b-14faf614f4b9"
      unitRef="pure">0.0007</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009260_C000025307_01Jan2017_31Dec2017"
      decimals="4"
      id="fa0ec113-4265-4778-bd98-d2db4d354f16"
      unitRef="pure">0.0059</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009260_C000025307_01Jan2018_31Dec2018"
      decimals="4"
      id="e087be2d-cb3a-47ad-bf5b-65446418dbc6"
      unitRef="pure">0.0158</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009260_C000025307_01Jan2019_31Dec2019"
      decimals="4"
      id="x_38eaa62c-bdea-4a53-8a33-807166cbe20f"
      unitRef="pure">0.0193</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009260_C000025307_01Jan2020_31Dec2020"
      decimals="4"
      id="x_8381ecfd-0866-43e5-88ac-1047c50da4df"
      unitRef="pure">0.0029</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009260_C000025307_01Jan2021_31Dec2021"
      decimals="4"
      id="e4c222b7-7222-4bb8-bd52-5b0f4cf8139a"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009260_C000025307_01Jan2022_31Dec2022"
      decimals="4"
      id="x_2a5830ee-79fb-4698-9afa-606f7a8bc3b2"
      unitRef="pure">0.0145</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009260_C000025307_01Jan2023_31Dec2023"
      decimals="4"
      id="x_9a0e8675-1aa7-4d80-930d-ade36558e251"
      unitRef="pure">0.0487</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009260_C000025307_01Jan2024_31Dec2024"
      decimals="4"
      id="b1c1809a-a689-4674-9954-f46bb29ee5c4"
      unitRef="pure">0.0497</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009260_C000025307_01Jan2025_31Dec2025"
      decimals="4"
      id="x_7588a682-2f6b-48bc-afc6-f5d024731d17"
      unitRef="pure">0.0402</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009260_C000025304_01Jan2016_31Dec2016"
      decimals="4"
      id="x_76436252-6f5a-41cb-b9de-6ab3b577b8be"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009260_C000025304_01Jan2017_31Dec2017"
      decimals="4"
      id="x_60ad9257-2791-44a9-89ff-5d2e96612e53"
      unitRef="pure">0.0026</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009260_C000025304_01Jan2018_31Dec2018"
      decimals="4"
      id="x_878c287d-cb38-4818-bc47-75cea4bace96"
      unitRef="pure">0.0123</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009260_C000025304_01Jan2019_31Dec2019"
      decimals="4"
      id="bb1bc558-af8e-4499-8b97-d941a2179daf"
      unitRef="pure">0.0157</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009260_C000025304_01Jan2020_31Dec2020"
      decimals="4"
      id="x_31f0ae95-8b23-490f-a298-7a0eb64133e6"
      unitRef="pure">0.0020</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009260_C000025304_01Jan2021_31Dec2021"
      decimals="4"
      id="x_7c4d8792-d08d-48dc-93d5-54c9f3c1ec7b"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009260_C000025304_01Jan2022_31Dec2022"
      decimals="4"
      id="efb0d33f-fba0-4556-b023-68628e015e06"
      unitRef="pure">0.0121</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009260_C000025304_01Jan2023_31Dec2023"
      decimals="4"
      id="d7b87c24-9510-49be-90ab-9d3b09bc77ad"
      unitRef="pure">0.0450</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009260_C000025304_01Jan2024_31Dec2024"
      decimals="4"
      id="x_93ad6eea-74c4-448c-b10b-2f53d40da452"
      unitRef="pure">0.0460</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009260_C000025304_01Jan2025_31Dec2025"
      decimals="4"
      id="x_7d6f777e-0cea-40cf-990e-d24dc3879816"
      unitRef="pure">0.0366</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009260_C000025305_01Jan2016_31Dec2016"
      decimals="4"
      id="c8ec6658-c138-41b6-89b5-d3e149f68a4d"
      unitRef="pure">0.0012</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009260_C000025305_01Jan2017_31Dec2017"
      decimals="4"
      id="x_2e7afb78-fd37-455f-a1f3-63ba0ca3658c"
      unitRef="pure">0.0064</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009260_C000025305_01Jan2018_31Dec2018"
      decimals="4"
      id="fd82e804-40fd-4469-b25d-fa8930d2ee40"
      unitRef="pure">0.0163</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009260_C000025305_01Jan2019_31Dec2019"
      decimals="4"
      id="x_61ef7dd7-5e8f-4734-8ce5-70d2e3b02878"
      unitRef="pure">0.0198</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009260_C000025305_01Jan2020_31Dec2020"
      decimals="4"
      id="x_5a6cf286-a516-4336-ada5-5fef3e11825b"
      unitRef="pure">0.0031</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009260_C000025305_01Jan2021_31Dec2021"
      decimals="4"
      id="x_5b8b8a44-bd5c-4607-bde5-3fd4a0dbdb8c"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009260_C000025305_01Jan2022_31Dec2022"
      decimals="4"
      id="x_619ff0d3-ce3f-4881-a7e3-f666b618f224"
      unitRef="pure">0.0149</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009260_C000025305_01Jan2023_31Dec2023"
      decimals="4"
      id="x_1d23c6e6-7f8a-4e67-8079-0738d2822a8d"
      unitRef="pure">0.0492</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009260_C000025305_01Jan2024_31Dec2024"
      decimals="4"
      id="be6cb189-2ec5-4eed-a86d-6e57a1ba705e"
      unitRef="pure">0.0502</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009260_C000025305_01Jan2025_31Dec2025"
      decimals="4"
      id="x_7af3a150-f087-445d-b347-cfaebe69e55a"
      unitRef="pure">0.0407</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009260_C000025306_01Jan2016_31Dec2016"
      decimals="4"
      id="x_59df7296-d80a-4f5a-b9c5-669ad2a62832"
      unitRef="pure">0.0019</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009260_C000025306_01Jan2017_31Dec2017"
      decimals="4"
      id="x_20ea141e-261d-41cf-9bfe-c8024dcddd4b"
      unitRef="pure">0.0071</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009260_C000025306_01Jan2018_31Dec2018"
      decimals="4"
      id="x_9a6681b8-cc03-47d0-adfa-11fa13f9f32a"
      unitRef="pure">0.0170</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009260_C000025306_01Jan2019_31Dec2019"
      decimals="4"
      id="x_0fc0cccd-474c-4df5-a445-91847b470817"
      unitRef="pure">0.0205</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009260_C000025306_01Jan2020_31Dec2020"
      decimals="4"
      id="fd7c6790-1edb-4f4e-a73c-918c85fd9375"
      unitRef="pure">0.0035</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009260_C000025306_01Jan2021_31Dec2021"
      decimals="4"
      id="x_0a749bb8-1dd3-4043-ba51-362b3ff22841"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009260_C000025306_01Jan2022_31Dec2022"
      decimals="4"
      id="ddb0f86b-1ea6-4be6-9980-422fda04fcaa"
      unitRef="pure">0.0155</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009260_C000025306_01Jan2023_31Dec2023"
      decimals="4"
      id="x_29b63564-88dd-44ea-a8c1-157faef93846"
      unitRef="pure">0.0500</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009260_C000025306_01Jan2024_31Dec2024"
      decimals="4"
      id="e61ed1e9-718a-4814-b85a-75ffd8bda2f0"
      unitRef="pure">0.0509</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009260_C000025306_01Jan2025_31Dec2025"
      decimals="4"
      id="da683805-b8b2-4724-8696-4894772ff262"
      unitRef="pure">0.0414</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009260_C000025303_01Jan2016_31Dec2016"
      decimals="4"
      id="x_4663fb51-f40c-45c9-b4ba-eeb870bb9925"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009260_C000025303_01Jan2017_31Dec2017"
      decimals="4"
      id="x_362a9f51-5adb-41e1-aa17-24dc7fe093a1"
      unitRef="pure">0.0049</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009260_C000025303_01Jan2018_31Dec2018"
      decimals="4"
      id="x_0fc4c7aa-a042-47c8-9f29-14ce7a07c9bc"
      unitRef="pure">0.0148</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009260_C000025303_01Jan2019_31Dec2019"
      decimals="4"
      id="f49e4310-614a-4a31-a9b0-78f85ce5cf75"
      unitRef="pure">0.0183</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009260_C000025303_01Jan2020_31Dec2020"
      decimals="4"
      id="e5a269fe-eb90-4d57-8147-7799fd19b095"
      unitRef="pure">0.0025</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009260_C000025303_01Jan2021_31Dec2021"
      decimals="4"
      id="x_0dace7b7-57bd-4b27-8d56-a958f1d36b43"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009260_C000025303_01Jan2022_31Dec2022"
      decimals="4"
      id="x_50de0da9-6ffc-4101-a000-60b6be4b962a"
      unitRef="pure">0.0138</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009260_C000025303_01Jan2023_31Dec2023"
      decimals="4"
      id="x_39a05ad4-79d8-457a-bd72-7d0148c2d954"
      unitRef="pure">0.0477</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009260_C000025303_01Jan2024_31Dec2024"
      decimals="4"
      id="x_0208dce2-38af-4ffa-849d-7b4004d71fe3"
      unitRef="pure">0.0486</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009260_C000025303_01Jan2025_31Dec2025"
      decimals="4"
      id="ce0899ce-24b6-4565-a61c-235e278efcfc"
      unitRef="pure">0.0391</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009260_C000088821_01Jan2016_31Dec2016"
      decimals="4"
      id="x_10f47967-f01f-4df0-af5c-38348714c0c3"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009260_C000088821_01Jan2017_31Dec2017"
      decimals="4"
      id="ac24f760-3c46-438d-99af-242c9dff94f8"
      unitRef="pure">0.0007</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009260_C000088821_01Jan2018_31Dec2018"
      decimals="4"
      id="d148983a-265e-4793-a667-9f725bdc45b1"
      unitRef="pure">0.0092</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009260_C000088821_01Jan2019_31Dec2019"
      decimals="4"
      id="x_8dfc9920-fccf-4ae5-9345-32b89fc9b9a4"
      unitRef="pure">0.0127</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009260_C000088821_01Jan2020_31Dec2020"
      decimals="4"
      id="x_511d5054-c624-4ae3-bae2-f577b72c4932"
      unitRef="pure">0.0014</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009260_C000088821_01Jan2021_31Dec2021"
      decimals="4"
      id="bcc53314-f0b6-4a95-ba6f-d98cd50a209c"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009260_C000088821_01Jan2022_31Dec2022"
      decimals="4"
      id="b451ac79-a07d-402d-b608-35276faa650e"
      unitRef="pure">0.0103</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009260_C000088821_01Jan2023_31Dec2023"
      decimals="4"
      id="x_7f877e73-5ebc-4de2-a384-7ce03e70745e"
      unitRef="pure">0.0419</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009260_C000088821_01Jan2024_31Dec2024"
      decimals="4"
      id="x_637822d5-9f86-4e91-88fe-5cf40d7aa586"
      unitRef="pure">0.0429</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009260_C000088821_01Jan2025_31Dec2025"
      decimals="4"
      id="fac1fb87-1a39-451e-b6b2-6e938f5838b5"
      unitRef="pure">0.0335</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009260_C000088819_01Jan2016_31Dec2016"
      decimals="4"
      id="x_31851c9d-8b58-4e54-b0ad-f12457682ea9"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009260_C000088819_01Jan2017_31Dec2017"
      decimals="4"
      id="dfde2bbe-1945-4488-9e73-044573540c5e"
      unitRef="pure">0.0039</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009260_C000088819_01Jan2018_31Dec2018"
      decimals="4"
      id="x_52d21ebb-1b94-4ff0-b919-061312b7c8e8"
      unitRef="pure">0.0138</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009260_C000088819_01Jan2019_31Dec2019"
      decimals="4"
      id="x_998fcee8-acd1-4246-8596-078ea7bc93ce"
      unitRef="pure">0.0172</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009260_C000088819_01Jan2020_31Dec2020"
      decimals="4"
      id="abf5b42a-1358-48d3-aaf3-92117eba5bed"
      unitRef="pure">0.0023</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009260_C000088819_01Jan2021_31Dec2021"
      decimals="4"
      id="x_42639316-74c2-4097-bf6a-da538e242562"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009260_C000088819_01Jan2022_31Dec2022"
      decimals="4"
      id="x_3afb73b3-d90d-45df-8abe-97afa8ec858e"
      unitRef="pure">0.0131</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009260_C000088819_01Jan2023_31Dec2023"
      decimals="4"
      id="x_1244442d-d2de-458b-9adf-8cd623218a1f"
      unitRef="pure">0.0466</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009260_C000088819_01Jan2024_31Dec2024"
      decimals="4"
      id="bb682dde-f7e2-4456-8ced-1ae3f78c645a"
      unitRef="pure">0.0476</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009260_C000088819_01Jan2025_31Dec2025"
      decimals="4"
      id="x_9308a67f-37d2-4fcc-b5f4-e814eca4209a"
      unitRef="pure">0.0381</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACSharesMember_S000051191_C000166000_01Jan2017_31Dec2017"
      decimals="4"
      id="fe3bf671-33ab-401f-8900-7a3f5cc25658"
      unitRef="pure">0.0080</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACSharesMember_S000051191_C000166000_01Jan2018_31Dec2018"
      decimals="4"
      id="f83f6625-f37c-439d-b3fe-d2ac48d9b9e4"
      unitRef="pure">0.0171</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACSharesMember_S000051191_C000166000_01Jan2019_31Dec2019"
      decimals="4"
      id="x_292e538b-aafb-4f3d-aca2-ef743494cb0d"
      unitRef="pure">0.0203</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACSharesMember_S000051191_C000166000_01Jan2020_31Dec2020"
      decimals="4"
      id="x_485f4967-03d2-4e61-858a-a84ef4e496e4"
      unitRef="pure">0.0043</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACSharesMember_S000051191_C000166000_01Jan2021_31Dec2021"
      decimals="4"
      id="f9fc28fc-2a59-4482-b5b0-7709ef2d6485"
      unitRef="pure">0.0003</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACSharesMember_S000051191_C000166000_01Jan2022_31Dec2022"
      decimals="4"
      id="x_7141b085-2883-4745-ac80-7e7df736b6e0"
      unitRef="pure">0.0150</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACSharesMember_S000051191_C000166000_01Jan2023_31Dec2023"
      decimals="4"
      id="cf83a1ed-53f3-48ec-adc0-83f9d64cc103"
      unitRef="pure">0.0490</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACSharesMember_S000051191_C000166000_01Jan2024_31Dec2024"
      decimals="4"
      id="dbd74f97-de6b-4abc-81bf-d96ffcbec82c"
      unitRef="pure">0.0500</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACSharesMember_S000051191_C000166000_01Jan2025_31Dec2025"
      decimals="4"
      id="e85fe35c-27dd-4639-9ae5-ad3d43dbcad9"
      unitRef="pure">0.0405</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassDSharesMember_S000051191_C000240873_01Jan2024_31Dec2024"
      decimals="4"
      id="x_7fe2d7e6-6531-4143-bbf0-bdf880aeb701"
      unitRef="pure">0.0526</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassDSharesMember_S000051191_C000240873_01Jan2025_31Dec2025"
      decimals="4"
      id="cbd82b25-706e-4038-af94-4bdd65414e25"
      unitRef="pure">0.0431</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassISharesMember_S000051191_C000161182_01Jan2017_31Dec2017"
      decimals="4"
      id="a56e9a9f-6f21-4023-adc1-c049cc4e1c76"
      unitRef="pure">0.0105</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassISharesMember_S000051191_C000161182_01Jan2018_31Dec2018"
      decimals="4"
      id="x_769baf6d-b19f-4155-aeb6-5b73ff4d7a2a"
      unitRef="pure">0.0196</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassISharesMember_S000051191_C000161182_01Jan2019_31Dec2019"
      decimals="4"
      id="x_185911cf-003a-48ca-b87b-38471e948b25"
      unitRef="pure">0.0229</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassISharesMember_S000051191_C000161182_01Jan2020_31Dec2020"
      decimals="4"
      id="a111add4-7896-4691-bf59-11bfe322c84c"
      unitRef="pure">0.0061</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassISharesMember_S000051191_C000161182_01Jan2021_31Dec2021"
      decimals="4"
      id="d8bc0301-0223-4189-b721-a5f437a29528"
      unitRef="pure">0.0003</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassISharesMember_S000051191_C000161182_01Jan2022_31Dec2022"
      decimals="4"
      id="ce239d88-88ed-4385-86e0-de63d9aea8bc"
      unitRef="pure">0.0171</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassISharesMember_S000051191_C000161182_01Jan2023_31Dec2023"
      decimals="4"
      id="x_942f6ca6-ea75-4fd4-b87e-fb653886fcad"
      unitRef="pure">0.0517</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassISharesMember_S000051191_C000161182_01Jan2024_31Dec2024"
      decimals="4"
      id="x_165fb3fb-0d5a-4816-94d1-86398d83e9dc"
      unitRef="pure">0.0526</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassISharesMember_S000051191_C000161182_01Jan2025_31Dec2025"
      decimals="4"
      id="x_6d34e3d9-cdd1-4b32-845e-fafb4f2a6e58"
      unitRef="pure">0.0431</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000051191_C000172503_01Jan2017_31Dec2017"
      decimals="4"
      id="x_1aee469b-b50b-4e96-9a04-d8b3aef6111b"
      unitRef="pure">0.0055</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000051191_C000172503_01Jan2018_31Dec2018"
      decimals="4"
      id="b83eebf9-a407-4183-9059-d94d5c93e81e"
      unitRef="pure">0.0145</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000051191_C000172503_01Jan2019_31Dec2019"
      decimals="4"
      id="x_0a8165b0-db76-4d75-a1d3-168c2ab92121"
      unitRef="pure">0.0178</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000051191_C000172503_01Jan2020_31Dec2020"
      decimals="4"
      id="x_4e59b3fe-0a45-47b2-9dcc-3cede5725e41"
      unitRef="pure">0.0031</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000051191_C000172503_01Jan2021_31Dec2021"
      decimals="4"
      id="b90187bf-c9fe-45c3-ad27-96278ddefda6"
      unitRef="pure">0.0003</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000051191_C000172503_01Jan2022_31Dec2022"
      decimals="4"
      id="x_57507459-e3df-4ab0-acf3-3e516a6f8b63"
      unitRef="pure">0.0132</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000051191_C000172503_01Jan2023_31Dec2023"
      decimals="4"
      id="ce1f5fc4-bd0f-47f7-a8f5-41e43f88c66b"
      unitRef="pure">0.0464</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000051191_C000172503_01Jan2024_31Dec2024"
      decimals="4"
      id="x_4d493d89-469a-45cf-b167-e2a30cc9e356"
      unitRef="pure">0.0474</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000051191_C000172503_01Jan2025_31Dec2025"
      decimals="4"
      id="x_5f176a79-8a8f-4c3f-a92e-25ad5f5d5f57"
      unitRef="pure">0.0379</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000051191_C000166002_01Jan2017_31Dec2017"
      decimals="4"
      id="x_2bce83c8-97c7-489e-a2bf-44e9437db1df"
      unitRef="pure">0.0080</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000051191_C000166002_01Jan2018_31Dec2018"
      decimals="4"
      id="cd3bfecb-1f67-4c42-af9a-72ea9170345d"
      unitRef="pure">0.0171</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000051191_C000166002_01Jan2019_31Dec2019"
      decimals="4"
      id="x_818c07a0-67e9-4ef9-9e5b-207678b3613c"
      unitRef="pure">0.0203</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000051191_C000166002_01Jan2020_31Dec2020"
      decimals="4"
      id="x_85ba62d2-0ec7-472b-a056-e4b0680e0a1e"
      unitRef="pure">0.0043</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000051191_C000166002_01Jan2021_31Dec2021"
      decimals="4"
      id="b7397f5e-9c84-4977-a402-bfabdfb79ccd"
      unitRef="pure">0.0003</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000051191_C000166002_01Jan2022_31Dec2022"
      decimals="4"
      id="x_0c673252-59f0-4009-8920-8243878baecd"
      unitRef="pure">0.0150</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000051191_C000166002_01Jan2023_31Dec2023"
      decimals="4"
      id="x_65c6f742-2a99-42db-9fee-e8eb02ccc8da"
      unitRef="pure">0.0490</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000051191_C000166002_01Jan2024_31Dec2024"
      decimals="4"
      id="x_9384f3aa-bf43-4f62-aae3-66e4e74c8e4c"
      unitRef="pure">0.0500</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000051191_C000166002_01Jan2025_31Dec2025"
      decimals="4"
      id="x_68ab6aa5-ec1d-428c-bbb0-7649b65aabc2"
      unitRef="pure">0.0405</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000051191_C000172501_01Jan2017_31Dec2017"
      decimals="4"
      id="fd6a1f1a-67a0-470b-9ee9-c940c67037e1"
      unitRef="pure">0.0025</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000051191_C000172501_01Jan2018_31Dec2018"
      decimals="4"
      id="b35d91b8-fd31-4fc0-b9b6-54f305706e62"
      unitRef="pure">0.0115</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000051191_C000172501_01Jan2019_31Dec2019"
      decimals="4"
      id="eac8b08f-60c6-426e-bd04-eab25d98235a"
      unitRef="pure">0.0147</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000051191_C000172501_01Jan2020_31Dec2020"
      decimals="4"
      id="x_32b841d0-f8c2-4330-984a-6c9ee556d057"
      unitRef="pure">0.0021</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000051191_C000172501_01Jan2021_31Dec2021"
      decimals="4"
      id="x_4cdbfd56-8f93-4528-a287-54a17017ce64"
      unitRef="pure">0.0003</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000051191_C000172501_01Jan2022_31Dec2022"
      decimals="4"
      id="ba9fb9e5-5466-4656-a644-7d53785b49ca"
      unitRef="pure">0.0112</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000051191_C000172501_01Jan2023_31Dec2023"
      decimals="4"
      id="x_80c40aa5-3bfe-4b76-a755-4d8f445d1b34"
      unitRef="pure">0.0433</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000051191_C000172501_01Jan2024_31Dec2024"
      decimals="4"
      id="x_17b9cb76-b68d-46b5-b59b-f4eb1e1dc9c5"
      unitRef="pure">0.0443</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000051191_C000172501_01Jan2025_31Dec2025"
      decimals="4"
      id="x_2bb334c5-ea92-426e-a8b9-79630ba2afdb"
      unitRef="pure">0.0348</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ResourceSharesMember_S000009242_C000088804_01Jan2016_31Dec2016"
      decimals="4"
      id="x_4842bc2c-a816-4cf9-8125-0ddc6bd83e07"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ResourceSharesMember_S000009242_C000088804_01Jan2017_31Dec2017"
      decimals="4"
      id="x_81aba55f-ea69-45dc-b636-5b3e84a16c5e"
      unitRef="pure">0.0016</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ResourceSharesMember_S000009242_C000088804_01Jan2018_31Dec2018"
      decimals="4"
      id="x_7899a322-8357-4e2d-8ac3-665023887b14"
      unitRef="pure">0.0109</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ResourceSharesMember_S000009242_C000088804_01Jan2019_31Dec2019"
      decimals="4"
      id="x_3effdfe1-3b3c-4c0d-9378-506a96f46151"
      unitRef="pure">0.0146</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ResourceSharesMember_S000009242_C000088804_01Jan2020_31Dec2020"
      decimals="4"
      id="d018a41c-84bb-40d6-a74a-31c6f69ffb01"
      unitRef="pure">0.0017</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ResourceSharesMember_S000009242_C000088804_01Jan2021_31Dec2021"
      decimals="4"
      id="x_12b0fcc6-b7e4-40a6-a9c8-0f88c2184560"
      unitRef="pure">0.0003</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ResourceSharesMember_S000009242_C000088804_01Jan2022_31Dec2022"
      decimals="4"
      id="x_13898c70-7aa3-4edf-8c45-356d1ef0397f"
      unitRef="pure">0.0112</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ResourceSharesMember_S000009242_C000088804_01Jan2023_31Dec2023"
      decimals="4"
      id="x_6355f128-2807-410d-bc80-659773363d17"
      unitRef="pure">0.0436</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ResourceSharesMember_S000009242_C000088804_01Jan2024_31Dec2024"
      decimals="4"
      id="x_4ad603d0-4495-4643-9777-bb3299399de5"
      unitRef="pure">0.0449</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ResourceSharesMember_S000009242_C000088804_01Jan2025_31Dec2025"
      decimals="4"
      id="x_1ccf504e-8d69-42da-a5f5-9b8bd89283c0"
      unitRef="pure">0.0354</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="DrexelHamiltonClassSharesMember_S000009242_C000214495_01Jan2020_31Dec2020"
      decimals="4"
      id="e02c9126-b87e-415e-ac9d-97e3c3dc6e3e"
      unitRef="pure">0.0040</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="DrexelHamiltonClassSharesMember_S000009242_C000214495_01Jan2021_31Dec2021"
      decimals="4"
      id="x_485c9261-5060-43c3-9f7f-61299f34a011"
      unitRef="pure">0.0003</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="DrexelHamiltonClassSharesMember_S000009242_C000214495_01Jan2022_31Dec2022"
      decimals="4"
      id="e6b59c91-f520-4d35-8cff-89a189905102"
      unitRef="pure">0.0159</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="DrexelHamiltonClassSharesMember_S000009242_C000214495_01Jan2023_31Dec2023"
      decimals="4"
      id="be72d3f3-c0b1-4d1d-8abd-a9b847f43abb"
      unitRef="pure">0.0504</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="DrexelHamiltonClassSharesMember_S000009242_C000214495_01Jan2024_31Dec2024"
      decimals="4"
      id="d6d7b3cc-d008-44ab-9c1e-5659a3c4e5b2"
      unitRef="pure">0.0516</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="DrexelHamiltonClassSharesMember_S000009242_C000214495_01Jan2025_31Dec2025"
      decimals="4"
      id="x_794c0322-acd9-4738-a78e-0759638c1766"
      unitRef="pure">0.0421</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassR6SharesMember_S000009242_C000167141_01Jan2016_31Dec2016"
      decimals="4"
      id="edfbb6bd-ed76-4d3a-aeb0-2ade0067c280"
      unitRef="pure">0.0029</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassR6SharesMember_S000009242_C000167141_01Jan2017_31Dec2017"
      decimals="4"
      id="x_1f3c1ab8-e0ea-4448-b413-8dae55154473"
      unitRef="pure">0.0077</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassR6SharesMember_S000009242_C000167141_01Jan2018_31Dec2018"
      decimals="4"
      id="x_54c2efb3-10d5-41a6-b914-173dc5061a5e"
      unitRef="pure">0.0174</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassR6SharesMember_S000009242_C000167141_01Jan2019_31Dec2019"
      decimals="4"
      id="x_4408555e-4996-467c-b5db-204f4b3c4590"
      unitRef="pure">0.0212</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassR6SharesMember_S000009242_C000167141_01Jan2020_31Dec2020"
      decimals="4"
      id="x_8d08cc0b-e51a-43e7-82c9-c8b47bb59d30"
      unitRef="pure">0.0040</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassR6SharesMember_S000009242_C000167141_01Jan2021_31Dec2021"
      decimals="4"
      id="a246ea92-caf0-4e7e-a128-a7c5e4cfe68a"
      unitRef="pure">0.0003</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassR6SharesMember_S000009242_C000167141_01Jan2022_31Dec2022"
      decimals="4"
      id="x_77942ff2-f892-4f44-a081-ac12a235d581"
      unitRef="pure">0.0159</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassR6SharesMember_S000009242_C000167141_01Jan2023_31Dec2023"
      decimals="4"
      id="x_55ab3f93-e10e-4e50-9113-4513a634553e"
      unitRef="pure">0.0504</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassR6SharesMember_S000009242_C000167141_01Jan2024_31Dec2024"
      decimals="4"
      id="a4f58adf-bf40-43dd-8e80-8bfee717cea8"
      unitRef="pure">0.0516</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassR6SharesMember_S000009242_C000167141_01Jan2025_31Dec2025"
      decimals="4"
      id="b416169c-1264-4cf0-ae3f-1673240956bc"
      unitRef="pure">0.0421</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACSharesMember_S000009242_C000166882_01Jan2017_31Dec2017"
      decimals="4"
      id="x_8718bcd4-168d-4f93-b540-ecadb5ad2e24"
      unitRef="pure">0.0052</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACSharesMember_S000009242_C000166882_01Jan2018_31Dec2018"
      decimals="4"
      id="x_2f4fd4f7-04b8-4f3f-b8b0-18372a1da71b"
      unitRef="pure">0.0149</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACSharesMember_S000009242_C000166882_01Jan2019_31Dec2019"
      decimals="4"
      id="d7be4444-89a3-48cc-96dd-bdb77f937dcd"
      unitRef="pure">0.0186</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACSharesMember_S000009242_C000166882_01Jan2020_31Dec2020"
      decimals="4"
      id="be646463-5885-4d1a-b827-bae990a96757"
      unitRef="pure">0.0027</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACSharesMember_S000009242_C000166882_01Jan2021_31Dec2021"
      decimals="4"
      id="x_1db441b6-31f8-4ccd-9194-f6d7cb1ddb4c"
      unitRef="pure">0.0003</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACSharesMember_S000009242_C000166882_01Jan2022_31Dec2022"
      decimals="4"
      id="x_5cc11411-2662-4234-a04e-69a9f24b0544"
      unitRef="pure">0.0139</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACSharesMember_S000009242_C000166882_01Jan2023_31Dec2023"
      decimals="4"
      id="x_8934fa31-360e-4608-9bd0-0102fba2c2af"
      unitRef="pure">0.0478</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACSharesMember_S000009242_C000166882_01Jan2024_31Dec2024"
      decimals="4"
      id="x_5aad46f4-8d7b-43eb-9f08-599881f48993"
      unitRef="pure">0.0490</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACSharesMember_S000009242_C000166882_01Jan2025_31Dec2025"
      decimals="4"
      id="baa1245a-d688-4c30-8a44-7077f99501a7"
      unitRef="pure">0.0395</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="LoopClassSharesMember_S000009242_C000229775_01Jan2022_31Dec2022"
      decimals="4"
      id="x_6586c9bc-1ed8-477b-a013-01060c312f75"
      unitRef="pure">0.0159</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="LoopClassSharesMember_S000009242_C000229775_01Jan2023_31Dec2023"
      decimals="4"
      id="x_64d025a4-d8a8-45db-b003-3e6433855fdc"
      unitRef="pure">0.0504</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="LoopClassSharesMember_S000009242_C000229775_01Jan2024_31Dec2024"
      decimals="4"
      id="x_401b37f7-ad1d-4c79-8f96-238238e2f5f4"
      unitRef="pure">0.0516</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="LoopClassSharesMember_S000009242_C000229775_01Jan2025_31Dec2025"
      decimals="4"
      id="x_436082e9-e378-4b44-92a0-58919bc14068"
      unitRef="pure">0.0421</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SeelausClassSharesMember_S000009242_C000229774_01Jan2022_31Dec2022"
      decimals="4"
      id="x_0ad3d50f-829e-41ff-b6d5-851c11ef4060"
      unitRef="pure">0.0159</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SeelausClassSharesMember_S000009242_C000229774_01Jan2023_31Dec2023"
      decimals="4"
      id="x_5fa42a0a-edaf-45a1-afc9-3e2775bdb83d"
      unitRef="pure">0.0504</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SeelausClassSharesMember_S000009242_C000229774_01Jan2024_31Dec2024"
      decimals="4"
      id="x_3781703e-ec5e-4042-a7f7-a89a4998efc8"
      unitRef="pure">0.0516</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SeelausClassSharesMember_S000009242_C000229774_01Jan2025_31Dec2025"
      decimals="4"
      id="fb52ab8f-0f05-452b-a214-56527b8a74bb"
      unitRef="pure">0.0421</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassDSharesMember_S000009242_C000237844_01Jan2023_31Dec2023"
      decimals="4"
      id="x_14d6ad78-8ba4-40b0-8856-8e4db72f1225"
      unitRef="pure">0.0504</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassDSharesMember_S000009242_C000237844_01Jan2024_31Dec2024"
      decimals="4"
      id="x_281e61f6-0008-4f3b-bdab-b45d8c3d3a24"
      unitRef="pure">0.0516</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassDSharesMember_S000009242_C000237844_01Jan2025_31Dec2025"
      decimals="4"
      id="x_2d5c0a01-4748-4cc1-af26-404b33d76baa"
      unitRef="pure">0.0421</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009242_C000025196_01Jan2016_31Dec2016"
      decimals="4"
      id="cfdaa1e1-bd7f-4977-9236-1a3f24a3fe2d"
      unitRef="pure">0.0029</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009242_C000025196_01Jan2017_31Dec2017"
      decimals="4"
      id="e5b92382-4ca4-4ccc-a557-247d611f2ec9"
      unitRef="pure">0.0077</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009242_C000025196_01Jan2018_31Dec2018"
      decimals="4"
      id="x_65587231-9c2a-43b8-ba0d-8e4d3377f31d"
      unitRef="pure">0.0174</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009242_C000025196_01Jan2019_31Dec2019"
      decimals="4"
      id="f429034f-c65a-49ff-9b27-83e2840d8782"
      unitRef="pure">0.0212</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009242_C000025196_01Jan2020_31Dec2020"
      decimals="4"
      id="fd564aa9-5ad5-4659-9802-806af92e3667"
      unitRef="pure">0.0040</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009242_C000025196_01Jan2021_31Dec2021"
      decimals="4"
      id="a0a70450-cbd5-4ac2-9546-6825d20f6fd4"
      unitRef="pure">0.0003</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009242_C000025196_01Jan2022_31Dec2022"
      decimals="4"
      id="c96ee388-336d-4ebd-ac6a-d199a70f60b2"
      unitRef="pure">0.0159</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009242_C000025196_01Jan2023_31Dec2023"
      decimals="4"
      id="x_8f258adb-0fd8-42a6-a0f7-951257b28939"
      unitRef="pure">0.0504</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009242_C000025196_01Jan2024_31Dec2024"
      decimals="4"
      id="fa8143b1-56cc-4304-80d9-25b013e3c3da"
      unitRef="pure">0.0516</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009242_C000025196_01Jan2025_31Dec2025"
      decimals="4"
      id="x_70881753-efaf-43f5-bb92-f0949759fe2a"
      unitRef="pure">0.0421</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009242_C000025201_01Jan2016_31Dec2016"
      decimals="4"
      id="e9903e79-472d-436f-9727-5843e34fb45b"
      unitRef="pure">0.0014</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009242_C000025201_01Jan2017_31Dec2017"
      decimals="4"
      id="x_53da8d24-6e74-49e1-8d38-1c5fad5db55e"
      unitRef="pure">0.0062</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009242_C000025201_01Jan2018_31Dec2018"
      decimals="4"
      id="f6b94f94-5203-4219-8247-7ebb83dc72dc"
      unitRef="pure">0.0159</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009242_C000025201_01Jan2019_31Dec2019"
      decimals="4"
      id="x_3d8762a6-057b-45ac-ac45-1eef8ceb90e5"
      unitRef="pure">0.0197</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009242_C000025201_01Jan2020_31Dec2020"
      decimals="4"
      id="x_1fe67687-2c9a-4835-a906-5ba5e02999a7"
      unitRef="pure">0.0030</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009242_C000025201_01Jan2021_31Dec2021"
      decimals="4"
      id="x_602b4c61-fa32-4d9a-b4c7-02725a22eafe"
      unitRef="pure">0.0003</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009242_C000025201_01Jan2022_31Dec2022"
      decimals="4"
      id="f51c37fc-9518-44b5-85e3-ae2ee2bb6c94"
      unitRef="pure">0.0146</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009242_C000025201_01Jan2023_31Dec2023"
      decimals="4"
      id="x_4693db9c-dda1-45fb-bff1-641e835d81dc"
      unitRef="pure">0.0488</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009242_C000025201_01Jan2024_31Dec2024"
      decimals="4"
      id="x_47d3b010-f986-4cc2-bb66-c2d6f3a0e90c"
      unitRef="pure">0.0501</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009242_C000025201_01Jan2025_31Dec2025"
      decimals="4"
      id="x_783c9682-f60c-436f-b03f-80cf62769926"
      unitRef="pure">0.0405</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009242_C000025198_01Jan2016_31Dec2016"
      decimals="4"
      id="e64b6260-ea03-47d4-94ee-e6624a04e78f"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009242_C000025198_01Jan2017_31Dec2017"
      decimals="4"
      id="bd3df86b-53f0-4475-8007-1ae1e636f92e"
      unitRef="pure">0.0028</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009242_C000025198_01Jan2018_31Dec2018"
      decimals="4"
      id="x_9912b0f1-3def-41c8-ae88-b270fd639ce0"
      unitRef="pure">0.0124</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009242_C000025198_01Jan2019_31Dec2019"
      decimals="4"
      id="d4771061-18de-4c55-bdbd-6a2f57ad766f"
      unitRef="pure">0.0161</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009242_C000025198_01Jan2020_31Dec2020"
      decimals="4"
      id="x_9b8580dc-f57d-491a-8888-da1dc049ad95"
      unitRef="pure">0.0020</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009242_C000025198_01Jan2021_31Dec2021"
      decimals="4"
      id="x_350e599a-d6e2-4e09-a92a-0639c0cb1181"
      unitRef="pure">0.0003</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009242_C000025198_01Jan2022_31Dec2022"
      decimals="4"
      id="a3b577c2-8deb-43ec-937d-26d1f01741e6"
      unitRef="pure">0.0122</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009242_C000025198_01Jan2023_31Dec2023"
      decimals="4"
      id="x_4aabdad9-3a1e-4ac3-8497-287a251c2158"
      unitRef="pure">0.0452</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009242_C000025198_01Jan2024_31Dec2024"
      decimals="4"
      id="f5c3b463-2863-41f3-b28b-b2a394617268"
      unitRef="pure">0.0464</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009242_C000025198_01Jan2025_31Dec2025"
      decimals="4"
      id="x_53bcc0dd-5b9e-4e01-8ec3-ec4de8c6308b"
      unitRef="pure">0.0369</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009242_C000025199_01Jan2016_31Dec2016"
      decimals="4"
      id="d1f3e9f8-da02-4207-9203-46ec26f96c27"
      unitRef="pure">0.0019</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009242_C000025199_01Jan2017_31Dec2017"
      decimals="4"
      id="x_54a47f2c-4b56-47ae-a656-a3b893b702c6"
      unitRef="pure">0.0067</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009242_C000025199_01Jan2018_31Dec2018"
      decimals="4"
      id="x_87834949-b01a-49da-a979-5ba4eb1db0e4"
      unitRef="pure">0.0164</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009242_C000025199_01Jan2019_31Dec2019"
      decimals="4"
      id="x_06142166-3264-472a-879e-3a07b35e304c"
      unitRef="pure">0.0202</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009242_C000025199_01Jan2020_31Dec2020"
      decimals="4"
      id="c7d66bfa-bb07-45b8-8ea9-344a7d7a4fc4"
      unitRef="pure">0.0033</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009242_C000025199_01Jan2021_31Dec2021"
      decimals="4"
      id="x_28216d80-9f07-401d-b923-7f8f3dd88b0f"
      unitRef="pure">0.0003</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009242_C000025199_01Jan2022_31Dec2022"
      decimals="4"
      id="e0b1f501-562f-43bb-8c91-4690eb20a5eb"
      unitRef="pure">0.0151</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009242_C000025199_01Jan2023_31Dec2023"
      decimals="4"
      id="x_66886a05-6628-4b8e-8700-f165c728f2fd"
      unitRef="pure">0.0494</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009242_C000025199_01Jan2024_31Dec2024"
      decimals="4"
      id="x_2626f7d9-5320-480b-9f14-d6f795c188dd"
      unitRef="pure">0.0506</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009242_C000025199_01Jan2025_31Dec2025"
      decimals="4"
      id="x_8476e2b2-0caa-41c5-95c3-80050bff0a0c"
      unitRef="pure">0.0411</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009242_C000025200_01Jan2016_31Dec2016"
      decimals="4"
      id="a2d8ec68-c46e-4dd2-91ce-63761f97d00b"
      unitRef="pure">0.0026</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009242_C000025200_01Jan2017_31Dec2017"
      decimals="4"
      id="e251bf67-ef3e-4634-b3d1-f071c07a22d0"
      unitRef="pure">0.0074</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009242_C000025200_01Jan2018_31Dec2018"
      decimals="4"
      id="x_6361bb61-24fb-4031-a11a-686ecfb721c5"
      unitRef="pure">0.0171</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009242_C000025200_01Jan2019_31Dec2019"
      decimals="4"
      id="aa690030-0523-4f0a-80d8-d9b5019147d0"
      unitRef="pure">0.0209</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009242_C000025200_01Jan2020_31Dec2020"
      decimals="4"
      id="d4329f6d-485e-4df3-b228-d0a0d1108cb9"
      unitRef="pure">0.0038</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009242_C000025200_01Jan2021_31Dec2021"
      decimals="4"
      id="x_8e3d7dea-add7-45a6-ac1e-95e31fc514b3"
      unitRef="pure">0.0003</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009242_C000025200_01Jan2022_31Dec2022"
      decimals="4"
      id="x_0858fd8a-6c1b-446d-8932-6959f713c649"
      unitRef="pure">0.0156</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009242_C000025200_01Jan2023_31Dec2023"
      decimals="4"
      id="f964a3d4-d33b-49ef-a2ad-ed5819921653"
      unitRef="pure">0.0501</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009242_C000025200_01Jan2024_31Dec2024"
      decimals="4"
      id="x_8fac9ea5-4740-48c9-87ee-3f21a36c0ec2"
      unitRef="pure">0.0513</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009242_C000025200_01Jan2025_31Dec2025"
      decimals="4"
      id="x_14386597-bae2-4c62-882d-7b10ff32363c"
      unitRef="pure">0.0418</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009242_C000025197_01Jan2016_31Dec2016"
      decimals="4"
      id="x_88a02310-2ef3-4ed2-b37e-7e858c18ff6f"
      unitRef="pure">0.0004</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009242_C000025197_01Jan2017_31Dec2017"
      decimals="4"
      id="x_73008b49-bcde-420a-b6c8-5f39fc228e07"
      unitRef="pure">0.0052</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009242_C000025197_01Jan2018_31Dec2018"
      decimals="4"
      id="x_408303e1-5fd9-4517-b602-b6d5877a1127"
      unitRef="pure">0.0149</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009242_C000025197_01Jan2019_31Dec2019"
      decimals="4"
      id="cd1b6be3-627c-41bd-8480-787def3f880a"
      unitRef="pure">0.0186</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009242_C000025197_01Jan2020_31Dec2020"
      decimals="4"
      id="x_1ce3b676-710a-45e2-91c4-5481b405c72c"
      unitRef="pure">0.0027</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009242_C000025197_01Jan2021_31Dec2021"
      decimals="4"
      id="x_318b8b2e-346b-4c45-a539-c733377133c0"
      unitRef="pure">0.0003</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009242_C000025197_01Jan2022_31Dec2022"
      decimals="4"
      id="x_21667387-c18d-4f22-b305-7efa24c4ded4"
      unitRef="pure">0.0139</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009242_C000025197_01Jan2023_31Dec2023"
      decimals="4"
      id="dd1d4f79-ba05-4a0b-9646-50daf8b72cd0"
      unitRef="pure">0.0478</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009242_C000025197_01Jan2024_31Dec2024"
      decimals="4"
      id="bdd8dbd6-025a-411b-bc2d-eeab7efbf926"
      unitRef="pure">0.0490</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009242_C000025197_01Jan2025_31Dec2025"
      decimals="4"
      id="x_98063346-56b9-4ad8-870d-9c67d876624a"
      unitRef="pure">0.0395</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009242_C000088802_01Jan2016_31Dec2016"
      decimals="4"
      id="x_69bb0d43-ad4a-4faa-8b14-9605e4e24b1e"
      unitRef="pure">0.0002</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009242_C000088802_01Jan2017_31Dec2017"
      decimals="4"
      id="x_2c95e712-f9ed-45af-b566-bb3d9781c421"
      unitRef="pure">0.0008</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009242_C000088802_01Jan2018_31Dec2018"
      decimals="4"
      id="d68b9940-cd79-417f-971d-73e5caac3cfc"
      unitRef="pure">0.0093</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009242_C000088802_01Jan2019_31Dec2019"
      decimals="4"
      id="x_81fcfcc5-c2fb-4d89-a9ce-cd500cd075d7"
      unitRef="pure">0.0131</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009242_C000088802_01Jan2020_31Dec2020"
      decimals="4"
      id="x_361c3afe-01f3-4c4b-bb68-f155c947347b"
      unitRef="pure">0.0014</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009242_C000088802_01Jan2021_31Dec2021"
      decimals="4"
      id="x_6a045df2-e671-4350-af13-a94a4bfa2e2f"
      unitRef="pure">0.0003</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009242_C000088802_01Jan2022_31Dec2022"
      decimals="4"
      id="x_862a68a5-210f-4e81-9fe0-219549b6cc6f"
      unitRef="pure">0.0103</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009242_C000088802_01Jan2023_31Dec2023"
      decimals="4"
      id="x_6f46b09c-faa3-4ee6-bb39-4b805dd082ad"
      unitRef="pure">0.0421</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009242_C000088802_01Jan2024_31Dec2024"
      decimals="4"
      id="x_00e4ff05-bde9-4f8e-b5e7-4cb9f08d328b"
      unitRef="pure">0.0433</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009242_C000088802_01Jan2025_31Dec2025"
      decimals="4"
      id="x_2ea126b5-be55-4ce7-b268-319127ee6567"
      unitRef="pure">0.0338</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009242_C000088803_01Jan2016_31Dec2016"
      decimals="4"
      id="d6de1f67-45c5-402b-8c5c-6c4d1b687b7e"
      unitRef="pure">0.0002</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009242_C000088803_01Jan2017_31Dec2017"
      decimals="4"
      id="baad026f-ecf9-4ad9-a9d9-641b84ffc7b5"
      unitRef="pure">0.0042</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009242_C000088803_01Jan2018_31Dec2018"
      decimals="4"
      id="x_90e64497-4874-4abe-87d5-3f4fbb02c082"
      unitRef="pure">0.0139</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009242_C000088803_01Jan2019_31Dec2019"
      decimals="4"
      id="x_4145b443-a094-45c5-af67-00a869e92c45"
      unitRef="pure">0.0176</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009242_C000088803_01Jan2020_31Dec2020"
      decimals="4"
      id="x_649918a6-3e5f-4174-9866-37760af41ae4"
      unitRef="pure">0.0024</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009242_C000088803_01Jan2021_31Dec2021"
      decimals="4"
      id="x_1e11918b-2801-4217-9a3a-61d9d7f460b3"
      unitRef="pure">0.0003</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009242_C000088803_01Jan2022_31Dec2022"
      decimals="4"
      id="x_0341860b-603f-47b1-aabe-b490841d9965"
      unitRef="pure">0.0132</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009242_C000088803_01Jan2023_31Dec2023"
      decimals="4"
      id="x_9cb62b13-5e77-4ea3-83ac-0a2609a0a6c9"
      unitRef="pure">0.0468</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009242_C000088803_01Jan2024_31Dec2024"
      decimals="4"
      id="x_58b5db43-3521-44a8-82a0-018ffe0e867c"
      unitRef="pure">0.0480</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009242_C000088803_01Jan2025_31Dec2025"
      decimals="4"
      id="x_2ce2f5bb-60ed-40ef-9735-ead3579cc099"
      unitRef="pure">0.0385</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassASharesMember_S000086404_C000251956_01Jan2025_31Dec2025"
      decimals="4"
      id="x_3be65ad3-69a7-4b03-bef2-e425d96229d5"
      unitRef="pure">0.0206</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassISharesMember_S000086404_C000251959_01Jan2025_31Dec2025"
      decimals="4"
      id="x_60c319ed-59c1-4e0c-b06d-2532a4966e32"
      unitRef="pure">0.0231</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000086404_C000251958_01Jan2025_31Dec2025"
      decimals="4"
      id="x_55183d6a-3eb6-45a5-b04f-6acc7cc86239"
      unitRef="pure">0.0181</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000086404_C000251957_01Jan2025_31Dec2025"
      decimals="4"
      id="x_46bd0b06-d4eb-48dc-a3cc-066565895016"
      unitRef="pure">0.0221</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000086404_C000251955_01Jan2025_31Dec2025"
      decimals="4"
      id="x_151aeb22-2a0f-400a-b275-3c128dd3e9a6"
      unitRef="pure">0.0206</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009243_C000025203_01Jan2016_31Dec2016"
      decimals="4"
      id="ed704e1d-dc81-4605-9509-2f47bc30dcf8"
      unitRef="pure">0.0021</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009243_C000025203_01Jan2017_31Dec2017"
      decimals="4"
      id="b512022e-90f3-42c9-bd80-44c35ffd7d0a"
      unitRef="pure">0.0073</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009243_C000025203_01Jan2018_31Dec2018"
      decimals="4"
      id="x_19b124a5-b547-4bb6-b295-d0d9190ef862"
      unitRef="pure">0.0172</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009243_C000025203_01Jan2019_31Dec2019"
      decimals="4"
      id="x_4a3029cd-995b-4623-9b4e-b5769fb2a427"
      unitRef="pure">0.0207</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009243_C000025203_01Jan2020_31Dec2020"
      decimals="4"
      id="x_4184c6b0-775b-4ca7-8de3-f18ec8b0b4c3"
      unitRef="pure">0.0038</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009243_C000025203_01Jan2021_31Dec2021"
      decimals="4"
      id="e8f99156-b571-49ba-bede-cafe047c0721"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009243_C000025203_01Jan2022_31Dec2022"
      decimals="4"
      id="a4ce99f1-4223-4b35-b7b0-7025ef1b2ae4"
      unitRef="pure">0.0157</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009243_C000025203_01Jan2023_31Dec2023"
      decimals="4"
      id="x_7af57311-7cad-4b23-bdb5-5f3d4fc35f6e"
      unitRef="pure">0.0503</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009243_C000025203_01Jan2024_31Dec2024"
      decimals="4"
      id="dbada09b-303e-45d3-868c-917235f20ce4"
      unitRef="pure">0.0512</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="InstitutionalSharesMember_S000009243_C000025203_01Jan2025_31Dec2025"
      decimals="4"
      id="e963877a-9efb-4e8c-9a9c-77cee2cf0c9b"
      unitRef="pure">0.0414</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009243_C000025208_01Jan2016_31Dec2016"
      decimals="4"
      id="ac12ada4-b4c0-49c9-bbb1-355f3d644263"
      unitRef="pure">0.0006</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009243_C000025208_01Jan2017_31Dec2017"
      decimals="4"
      id="d8cdcf94-0c82-4f3c-aa82-2a735a6d6e43"
      unitRef="pure">0.0058</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009243_C000025208_01Jan2018_31Dec2018"
      decimals="4"
      id="a0e83bfe-e4d9-420d-b99b-5bf5014b2108"
      unitRef="pure">0.0156</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009243_C000025208_01Jan2019_31Dec2019"
      decimals="4"
      id="x_462d6f1e-1bc6-4380-8ebc-e3dbf49281ff"
      unitRef="pure">0.0191</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009243_C000025208_01Jan2020_31Dec2020"
      decimals="4"
      id="b85c90a9-43ea-4576-85ca-4345e2c97bc4"
      unitRef="pure">0.0031</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009243_C000025208_01Jan2021_31Dec2021"
      decimals="4"
      id="x_0d6a546c-fcd8-4f8f-8698-875f9cd78343"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009243_C000025208_01Jan2022_31Dec2022"
      decimals="4"
      id="d126a235-6cfc-4b07-9e5b-2c14ef54429c"
      unitRef="pure">0.0145</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009243_C000025208_01Jan2023_31Dec2023"
      decimals="4"
      id="x_3100797e-c7b5-4315-b9fa-d5519c884112"
      unitRef="pure">0.0487</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009243_C000025208_01Jan2024_31Dec2024"
      decimals="4"
      id="x_57e7e98c-37c6-425c-ab73-2f280d083106"
      unitRef="pure">0.0496</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CapitalSharesMember_S000009243_C000025208_01Jan2025_31Dec2025"
      decimals="4"
      id="a3382cdf-1de4-490f-84e1-ff9109f81ba8"
      unitRef="pure">0.0399</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009243_C000025205_01Jan2016_31Dec2016"
      decimals="4"
      id="x_17555b87-f6e3-4fce-a018-090d85a40d27"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009243_C000025205_01Jan2017_31Dec2017"
      decimals="4"
      id="x_5e41ea72-7bfb-415f-a5a2-5a1bcd1803dc"
      unitRef="pure">0.0025</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009243_C000025205_01Jan2018_31Dec2018"
      decimals="4"
      id="e0d9ba44-edb7-4435-98e2-704020caa680"
      unitRef="pure">0.0121</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009243_C000025205_01Jan2019_31Dec2019"
      decimals="4"
      id="d043ff7b-9e95-41ec-80cc-e36fcf5109a3"
      unitRef="pure">0.0156</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009243_C000025205_01Jan2020_31Dec2020"
      decimals="4"
      id="d9d5e974-2a21-4798-953e-27f95714e894"
      unitRef="pure">0.0021</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009243_C000025205_01Jan2021_31Dec2021"
      decimals="4"
      id="x_5418c160-5b97-48a7-9ee6-731eac4f5102"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009243_C000025205_01Jan2022_31Dec2022"
      decimals="4"
      id="x_2f89f9ab-ada6-4925-a583-feca531434a1"
      unitRef="pure">0.0121</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009243_C000025205_01Jan2023_31Dec2023"
      decimals="4"
      id="x_26bfbaa6-21be-4d7e-a364-6e50ed0e1775"
      unitRef="pure">0.0451</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009243_C000025205_01Jan2024_31Dec2024"
      decimals="4"
      id="a3b4f9e1-ff8a-4a98-9fd8-c6763094fc95"
      unitRef="pure">0.0460</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ServiceSharesMember_S000009243_C000025205_01Jan2025_31Dec2025"
      decimals="4"
      id="f13684f2-9835-4942-93b1-da9a607cbc03"
      unitRef="pure">0.0363</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009243_C000025206_01Jan2016_31Dec2016"
      decimals="4"
      id="ca57e4dd-5064-4738-8696-df36b9d29908"
      unitRef="pure">0.0011</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009243_C000025206_01Jan2017_31Dec2017"
      decimals="4"
      id="cf8bd295-4a88-47c1-b654-656fa69801f6"
      unitRef="pure">0.0063</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009243_C000025206_01Jan2018_31Dec2018"
      decimals="4"
      id="x_6afee98b-fb8a-4752-a336-8ac13ab59a27"
      unitRef="pure">0.0161</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009243_C000025206_01Jan2019_31Dec2019"
      decimals="4"
      id="de3b62df-c604-4637-bedf-3014eebe9198"
      unitRef="pure">0.0196</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009243_C000025206_01Jan2020_31Dec2020"
      decimals="4"
      id="x_4074efb4-ced9-4cdd-8b8d-a73543b09d6b"
      unitRef="pure">0.0033</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009243_C000025206_01Jan2021_31Dec2021"
      decimals="4"
      id="c2bbaf27-d1b2-481c-a6c5-6b294d712bc5"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009243_C000025206_01Jan2022_31Dec2022"
      decimals="4"
      id="a1ebd443-9445-4b46-bd5e-5b49d116e891"
      unitRef="pure">0.0149</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009243_C000025206_01Jan2023_31Dec2023"
      decimals="4"
      id="c1bd5328-114b-4e2d-ad1a-f69a48e93541"
      unitRef="pure">0.0492</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009243_C000025206_01Jan2024_31Dec2024"
      decimals="4"
      id="bb758b63-3708-4b9d-b86c-23bffe19f1d4"
      unitRef="pure">0.0501</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PreferredSharesMember_S000009243_C000025206_01Jan2025_31Dec2025"
      decimals="4"
      id="x_6543fed2-a9d2-4f4f-8704-d360498da3ea"
      unitRef="pure">0.0404</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009243_C000025207_01Jan2016_31Dec2016"
      decimals="4"
      id="x_8618a04a-fa40-44fd-92f8-67af7dd04fe5"
      unitRef="pure">0.0018</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009243_C000025207_01Jan2017_31Dec2017"
      decimals="4"
      id="x_644655aa-ad89-4b38-9b73-1e2ce2b8c1ee"
      unitRef="pure">0.0070</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009243_C000025207_01Jan2018_31Dec2018"
      decimals="4"
      id="x_92466441-c1cc-4082-bb16-9deb46daa17d"
      unitRef="pure">0.0168</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009243_C000025207_01Jan2019_31Dec2019"
      decimals="4"
      id="x_2af4cef7-da32-4c25-9a39-e30d741107b9"
      unitRef="pure">0.0204</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009243_C000025207_01Jan2020_31Dec2020"
      decimals="4"
      id="x_63fdabc7-b9ed-4288-a56b-a5a865bc6129"
      unitRef="pure">0.0036</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009243_C000025207_01Jan2021_31Dec2021"
      decimals="4"
      id="f7c8f6de-f633-4a1e-8f57-442770f17d74"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009243_C000025207_01Jan2022_31Dec2022"
      decimals="4"
      id="x_3e38b948-77b4-42de-a29d-b9ce1f7628c4"
      unitRef="pure">0.0155</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009243_C000025207_01Jan2023_31Dec2023"
      decimals="4"
      id="x_21657664-6d81-4a72-b2f1-d57f415092fc"
      unitRef="pure">0.0500</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009243_C000025207_01Jan2024_31Dec2024"
      decimals="4"
      id="x_25c8f04a-47a3-440b-9a36-6ad2f4614c59"
      unitRef="pure">0.0509</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="SelectSharesMember_S000009243_C000025207_01Jan2025_31Dec2025"
      decimals="4"
      id="a8b2fda1-a668-496c-9b4a-69871c6b1acf"
      unitRef="pure">0.0411</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009243_C000025204_01Jan2016_31Dec2016"
      decimals="4"
      id="b8aab6c2-6607-4dff-80f0-2d15a0f9c51a"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009243_C000025204_01Jan2017_31Dec2017"
      decimals="4"
      id="c4545efc-b013-47a3-a1c7-50b5973abaad"
      unitRef="pure">0.0048</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009243_C000025204_01Jan2018_31Dec2018"
      decimals="4"
      id="x_5c79ae9f-7404-499e-ad51-cd8f8337ed47"
      unitRef="pure">0.0146</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009243_C000025204_01Jan2019_31Dec2019"
      decimals="4"
      id="x_36acb837-eb8f-4a0f-a8f6-5b22978ee04c"
      unitRef="pure">0.0181</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009243_C000025204_01Jan2020_31Dec2020"
      decimals="4"
      id="x_2a50f474-2141-4f07-81a5-740d40fede93"
      unitRef="pure">0.0028</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009243_C000025204_01Jan2021_31Dec2021"
      decimals="4"
      id="f85a9fd6-ab72-4f35-8920-45028681440d"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009243_C000025204_01Jan2022_31Dec2022"
      decimals="4"
      id="x_4c3eaaf4-44cb-4c3e-81a4-2d44147731f7"
      unitRef="pure">0.0138</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009243_C000025204_01Jan2023_31Dec2023"
      decimals="4"
      id="cfeadc8d-7a8d-443a-87c1-db8d3cf276fc"
      unitRef="pure">0.0477</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009243_C000025204_01Jan2024_31Dec2024"
      decimals="4"
      id="x_05e79615-0771-4ad5-b657-0fd5523ae35f"
      unitRef="pure">0.0486</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="AdministrationSharesMember_S000009243_C000025204_01Jan2025_31Dec2025"
      decimals="4"
      id="c3dddf39-6972-477e-972a-097e71fdf7bf"
      unitRef="pure">0.0388</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009243_C000088805_01Jan2016_31Dec2016"
      decimals="4"
      id="b9b02063-7b97-407d-b313-9c8c5ccdc65b"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009243_C000088805_01Jan2017_31Dec2017"
      decimals="4"
      id="x_6811cc5b-d2a4-49c1-b8d7-2a0c453994ae"
      unitRef="pure">0.0006</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009243_C000088805_01Jan2018_31Dec2018"
      decimals="4"
      id="a918254c-019a-4789-b10c-934ea1ae4fb0"
      unitRef="pure">0.0091</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009243_C000088805_01Jan2019_31Dec2019"
      decimals="4"
      id="x_3a17bf75-bc41-4d3f-bca0-deb3f330c086"
      unitRef="pure">0.0125</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009243_C000088805_01Jan2020_31Dec2020"
      decimals="4"
      id="x_3094219b-3e84-46c4-ac5f-e35c03338a44"
      unitRef="pure">0.0014</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009243_C000088805_01Jan2021_31Dec2021"
      decimals="4"
      id="x_8b7e3edd-0eb1-472f-b4f2-a6adc65c188f"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009243_C000088805_01Jan2022_31Dec2022"
      decimals="4"
      id="x_9bb70726-a756-45b2-9f63-2e033966cfe1"
      unitRef="pure">0.0102</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009243_C000088805_01Jan2023_31Dec2023"
      decimals="4"
      id="x_75c7715f-500d-4a88-8753-701bcb6b4f61"
      unitRef="pure">0.0420</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009243_C000088805_01Jan2024_31Dec2024"
      decimals="4"
      id="x_69856686-3c4a-4ede-8d16-7d3d8046abe2"
      unitRef="pure">0.0429</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="CashManagementSharesMember_S000009243_C000088805_01Jan2025_31Dec2025"
      decimals="4"
      id="x_4e2b8119-7ed5-4495-9627-ecb5ef003704"
      unitRef="pure">0.0332</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009243_C000088806_01Jan2016_31Dec2016"
      decimals="4"
      id="x_9c9351e9-6c1d-4b39-9725-4eb93768e6ac"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009243_C000088806_01Jan2017_31Dec2017"
      decimals="4"
      id="b4493043-4df8-438a-bf80-302a96c3cd90"
      unitRef="pure">0.0038</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009243_C000088806_01Jan2018_31Dec2018"
      decimals="4"
      id="x_20b82cb7-007d-4f2e-a392-2f4ec9bdfe7d"
      unitRef="pure">0.0136</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009243_C000088806_01Jan2019_31Dec2019"
      decimals="4"
      id="f2f0f81e-fd6c-469a-b42c-8581dc3ce69d"
      unitRef="pure">0.0171</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009243_C000088806_01Jan2020_31Dec2020"
      decimals="4"
      id="x_9271cfb5-e852-4088-9835-813a66e1962e"
      unitRef="pure">0.0025</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009243_C000088806_01Jan2021_31Dec2021"
      decimals="4"
      id="x_0db6987f-9f39-4824-a54f-8aa1be273917"
      unitRef="pure">0.0001</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009243_C000088806_01Jan2022_31Dec2022"
      decimals="4"
      id="x_7c5b22ca-4d29-444c-889d-b9f4b76bcba0"
      unitRef="pure">0.0131</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009243_C000088806_01Jan2023_31Dec2023"
      decimals="4"
      id="x_9f8d5527-3a09-4669-ac25-914cc8c620a4"
      unitRef="pure">0.0466</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009243_C000088806_01Jan2024_31Dec2024"
      decimals="4"
      id="x_9775b97a-5254-4945-a201-59288b7ffda1"
      unitRef="pure">0.0475</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="PremierSharesMember_S000009243_C000088806_01Jan2025_31Dec2025"
      decimals="4"
      id="x_9ec31f40-5b2a-4033-9115-6c02a5b959c2"
      unitRef="pure">0.0378</oef:AnnlRtrPct>
    <dei:EntityInvCompanyType
      contextRef="D_30Nov2025_30Nov2025"
      id="apid_ad403f5a-13be-47ec-b7c8-78c8dc41dc6e">N-1A</dei:EntityInvCompanyType>
    <dei:EntityRegistrantName
      contextRef="D_30Nov2025_30Nov2025"
      id="apid_b422a044-aabf-46af-ba03-b99daf1f9732">GOLDMAN SACHS TRUST</dei:EntityRegistrantName>
    <oef:ProspectusDate
      contextRef="D_30Nov2025_30Nov2025"
      id="apid_b47dd2a0-5a25-4896-9438-3007d700f6c1">2026-03-30</oef:ProspectusDate>
    <oef:RiskReturnHeading
      contextRef="InstitutionalSharesMember_S000009260"
      id="x_5c4fa6ff-738e-457d-84b3-4c66640e7699">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs Financial Square Treasury Obligations Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="InstitutionalSharesMember_S000009260"
      id="x_5fa5a497-e8c1-4b48-8cb4-05ab90efeaff">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="InstitutionalSharesMember_S000009260"
      id="bb1f96fb-de67-410a-87bb-d841f33b8dc9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs Financial Square Treasury Obligations Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="InstitutionalSharesMember_S000009260"
      id="x_9f2f4f0b-97d2-4b75-8dc1-a62538203270">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="InstitutionalSharesMember_S000009260"
      id="aa483aaa-cf2b-4d2a-903f-532222677241">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="InstitutionalSharesMember_S000009260"
      id="x_6c3e946a-2dd6-4ac0-bb10-cc29d1e45abc">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="InstitutionalSharesMember_S000009260_C000025302"
      decimals="4"
      id="x_01dc76eb-32ff-45b8-a342-a5368886601c"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="InstitutionalSharesMember_S000009260_C000025302"
      decimals="4"
      id="x_71c3ea22-ae3b-455f-b818-d9969dc1754c"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="InstitutionalSharesMember_S000009260_C000025302"
      decimals="4"
      id="e61b9e38-b282-4371-98da-9da098ad5722"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="InstitutionalSharesMember_S000009260_C000025302"
      decimals="4"
      id="b97a06af-6275-4360-bbc4-81d584d1b613"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="InstitutionalSharesMember_S000009260_C000025302"
      decimals="4"
      id="c81ab924-da56-4103-8897-b6f5c3959438"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="InstitutionalSharesMember_S000009260"
      id="d96afe66-490e-46ed-ab59-2d6ac2ea3dec">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="InstitutionalSharesMember_S000009260_C000025302"
      decimals="4"
      id="x_13c64111-32cc-4710-a131-4c34a1285402"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="InstitutionalSharesMember_S000009260_C000025302"
      decimals="4"
      id="x_6292aa49-f3ee-465c-836c-338cb53be556"
      unitRef="pure">0.0002</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="InstitutionalSharesMember_S000009260_C000025302"
      decimals="4"
      id="x_95562f42-83e3-411e-af7e-bb2691008f55"
      unitRef="pure">0.0020</oef:ExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="InstitutionalSharesMember_S000009260"
      id="x_4fb70974-7b45-4f36-8568-f7809b5ae04c">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="InstitutionalSharesMember_S000009260"
      id="x_7965ab2a-947e-4422-a6b8-0f6902ed16ab">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Institutional Shares of the Fund for the time periods indicated and then redeem all of your Institutional Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same&#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="InstitutionalSharesMember_S000009260_C000025302"
      decimals="INF"
      id="x_20340e3a-bb28-4ede-806d-8e9b4f418375"
      unitRef="USD">20</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="InstitutionalSharesMember_S000009260_C000025302"
      decimals="INF"
      id="x_2f91ad38-b50f-4090-9ce7-3725d0556711"
      unitRef="USD">64</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="InstitutionalSharesMember_S000009260_C000025302"
      decimals="INF"
      id="x_92c576d8-e83c-455c-bd0e-d1708dfdfecf"
      unitRef="USD">113</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="InstitutionalSharesMember_S000009260_C000025302"
      decimals="INF"
      id="x_57e4a8d6-7847-4b0e-b280-d014936efe9a"
      unitRef="USD">255</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="InstitutionalSharesMember_S000009260"
      id="d7881d7c-a2a3-43e8-865c-03776ae8804a">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="InstitutionalSharesMember_S000009260"
      id="x_124e09d5-a081-4345-bc18-86d302bdb958">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in U.S. Treasury Obligations, which include securities issued or guaranteed&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;by the U.S. Treasury where the payment of principal and interest is backed by the full faith and credit of the U.S. government (&#x201c;U.S. Treasury Obligations&#x201d;), and repurchase agreements collateralized by U.S. Treasury Obligations. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;). &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;), and/or repurchase agreements that are collateralized fully by &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;cash or U.S. Government Securities. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009260_RiskLoseMoneyMember"
      id="x_23d852e5-f547-4502-871f-f8f1807252bd">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009260_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_211dad47-4975-4348-9073-4ddd9d298923">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009260_RiskNotInsuredDepositoryInstitutionMember"
      id="fec6f4da-4456-4f5d-98b2-1c46b87fb7bd">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009260_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="d7025949-b5e2-4244-8f9a-899ab04e1fb6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009260_CreditDefaultRiskMember"
      id="x_29e41a97-9fe8-4806-903f-97f3106a0296">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009260_InterestRateRiskMember"
      id="x_8c7a82d1-938e-48ae-bf7c-020f74b5e77c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009260_LargeShareholderTransactionsRiskMember"
      id="x_1024ae34-4844-4fed-ad72-34e8eed78db8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the Fund's NAV and liquidity. Similarly, large Fund share purchases may adversely affect the Fund's performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the Fund's current expenses being allocated over a smaller asset base, leading to an increase in the Fund's expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009260_LiquidityRiskMember"
      id="x_186210ff-a4dc-46f0-816c-079a2915217d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009260_MarketRiskMember"
      id="x_6420990c-8e2f-4966-b21a-a3d9ec232ab0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009260_StableNAVRiskMember"
      id="x_4d0bbcbe-b634-40ba-ad40-fa86abf1c682">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="InstitutionalSharesMember_S000009260"
      id="x_8fb90f6a-a2c4-4b22-b1f9-c5309edd2259">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="InstitutionalSharesMember_S000009260"
      id="a002dc82-235b-4ea7-90be-0464132f24b4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Institutional Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Institutional Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="InstitutionalSharesMember_S000009260"
      id="x_6a6810f2-f3ba-4a51-a850-653e60654a73">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Institutional Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Institutional Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="InstitutionalSharesMember_S000009260"
      id="x_8d1a4881-67b8-4b30-9511-eb08f48b4aa8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="InstitutionalSharesMember_S000009260"
      id="x_4f44294f-b136-493d-949d-7ca765f7453c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="InstitutionalSharesMember_S000009260"
      id="ce883bed-d885-4387-ba5b-c762a51228d8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="InstitutionalSharesMember_S000009260"
      id="x_4c93193b-f2c6-4b77-8185-cb81f77ad476">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="InstitutionalSharesMember_S000009260"
      id="x_307a2d78-5943-4864-a6ea-16902f95514c">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.33%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;September 30, 2021&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="InstitutionalSharesMember_S000009260_C000025302"
      id="x_465abb9c-8296-4de4-b4e5-66579fc9d6c3">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="InstitutionalSharesMember_S000009260_C000025302"
      decimals="4"
      id="d25e683b-b7d4-4a70-834f-e56a5ebd0142"
      unitRef="pure">0.0133</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="InstitutionalSharesMember_S000009260_C000025302"
      id="eba44dc1-15a1-40bb-aede-8eee019bcb08">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="InstitutionalSharesMember_S000009260_C000025302"
      id="beed2a12-8839-4ac0-87de-0f5c788eb49e">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="InstitutionalSharesMember_S000009260_C000025302"
      decimals="4"
      id="x_12290017-3545-4e3e-9df9-f3b7bf5d2a2f"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="InstitutionalSharesMember_S000009260_C000025302"
      id="x_294f9bde-bf68-47df-915d-56db1aa6937e">2021-09-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="InstitutionalSharesMember_S000009260"
      id="cf83f5f5-1b17-4f3b-80bc-6651c6446209">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="InstitutionalSharesMember_C000025302_01Jan2025_31Dec2025"
      decimals="4"
      id="x_0f984ae8-1c8f-4434-b351-4fee3ff6faa0"
      unitRef="pure">0.0417</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="InstitutionalSharesMember_C000025302_01Jan2021_31Dec2025"
      decimals="4"
      id="x_76e95b23-2284-49f2-972d-d601886c6537"
      unitRef="pure">0.0316</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="InstitutionalSharesMember_C000025302_01Jan2016_31Dec2025"
      decimals="4"
      id="edb636e6-95d3-45c4-8592-03ded56bed6d"
      unitRef="pure">0.0209</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="InstitutionalSharesMember_C000025302"
      id="c89e3346-77fb-40a0-8da3-89868cb9a953">1990-04-25</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="InstitutionalSharesMember_S000009261"
      id="x_0346b1e4-c0e0-4e8c-b463-62ea01dfa741">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Treasury Instruments Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="InstitutionalSharesMember_S000009261"
      id="b6b0536d-d38b-405b-99a7-fadd2350bd82">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="InstitutionalSharesMember_S000009261"
      id="x_0ede52ff-008c-4f9e-82d5-52533dcae077">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Treasury Instruments Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="InstitutionalSharesMember_S000009261"
      id="e093e8ed-4e87-48df-8083-4efa6366ab1d">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="InstitutionalSharesMember_S000009261"
      id="x_70e75842-a4dd-452e-8b46-5f6ea3869c76">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="InstitutionalSharesMember_S000009261"
      id="a99613af-95fa-4224-a44d-f3c494102a30">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="InstitutionalSharesMember_S000009261_C000025309"
      decimals="4"
      id="c6d743fd-cb0d-4bb4-908b-e9058e23c4e7"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="InstitutionalSharesMember_S000009261_C000025309"
      decimals="4"
      id="x_1ee404c3-5231-418c-81c3-4b7add9f28fa"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="InstitutionalSharesMember_S000009261_C000025309"
      decimals="4"
      id="cdd24919-97d1-40d8-8d78-c9c81210c482"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="InstitutionalSharesMember_S000009261_C000025309"
      decimals="4"
      id="x_7148fecb-eddb-4e65-af09-524fe79fe6e2"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="InstitutionalSharesMember_S000009261_C000025309"
      decimals="4"
      id="d7274f13-e399-42a4-ab84-12a88f791aaf"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="InstitutionalSharesMember_S000009261"
      id="x_7ee166da-6c3a-4202-9723-0fdd9c772989">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="InstitutionalSharesMember_S000009261_C000025309"
      decimals="4"
      id="x_917ece7c-f9e4-45ca-9c06-f0bd2a0e312e"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="InstitutionalSharesMember_S000009261_C000025309"
      decimals="4"
      id="x_3892e2de-5763-46a7-add8-e80f2f97187d"
      unitRef="pure">0.0002</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="InstitutionalSharesMember_S000009261_C000025309"
      decimals="4"
      id="x_1bcff5e1-4a19-4338-af4d-bbaabe7eb565"
      unitRef="pure">0.0020</oef:ExpensesOverAssets>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="InstitutionalSharesMember_S000009261"
      id="x_5292368c-3030-4c4c-a565-cf4329ce61c1">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.&lt;/span&gt;</oef:ExpensesRestatedToReflectCurrent>
    <oef:ExpenseExampleHeading
      contextRef="InstitutionalSharesMember_S000009261"
      id="a1ad795b-01fe-4495-9b4e-414f83fee0d1">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="InstitutionalSharesMember_S000009261"
      id="x_73c82d2b-3685-4189-8a1c-c8a5cdb1e2fc">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Institutional Shares of the Fund for the time periods indicated and then redeem all of your Institutional Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same&#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="InstitutionalSharesMember_S000009261_C000025309"
      decimals="INF"
      id="x_28dc5cb9-7772-41cc-9458-b14daa54b27b"
      unitRef="USD">20</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="InstitutionalSharesMember_S000009261_C000025309"
      decimals="INF"
      id="x_447bb3bb-4d1e-42d4-afc5-2b5f6910693b"
      unitRef="USD">64</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="InstitutionalSharesMember_S000009261_C000025309"
      decimals="INF"
      id="bfe0c8ee-3249-45ad-8bd3-f663d5798207"
      unitRef="USD">113</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="InstitutionalSharesMember_S000009261_C000025309"
      decimals="INF"
      id="ea4edfaa-5307-48d4-b3c3-ec49c1e4d96d"
      unitRef="USD">255</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="InstitutionalSharesMember_S000009261"
      id="x_77f03065-2a8a-4c2f-b6af-969bbe059bbd">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="InstitutionalSharesMember_S000009261"
      id="x_49b0eab8-7ca3-48a8-a50f-4e9e20841166">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in U.S. Treasury Obligations, which include securities issued or guaranteed by the U.S. Treasury where the payment of principal and interest is backed by the full faith and credit of the U.S. government (&#x201c;U.S. Treasury Obligations&#x201d;), the interest from which is generally exempt from state income taxation. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;). &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash and securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). Although &#x201c;government money market funds&#x201d; may also invest in repurchase agreements that are collateralized fully by cash or U.S. Government Securities, the Fund may not invest in &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;repurchase agreements. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009261_RiskLoseMoneyMember"
      id="e8ebbcd8-1f91-4639-aaff-aa083e9e90e3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009261_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="d331a0f3-c603-4d09-8021-ab9551065218">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009261_RiskNotInsuredDepositoryInstitutionMember"
      id="x_2e2badc7-6504-49b6-8ec6-3a1412bfedee">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009261_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_33c0aa68-658c-40bc-8ca6-049ad25c8441">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009261_CreditDefaultRiskMember"
      id="x_0acb8078-20b5-497b-91f3-0bf6f0c53ab3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009261_InterestRateRiskMember"
      id="a8ae890f-e895-4cf6-8344-a2dbeca94000">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009261_LargeShareholderTransactionsRiskMember"
      id="b64bd01b-4c89-43b7-be12-07e8e50a1c75">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the Fund's NAV and liquidity. Similarly, large Fund share purchases may adversely affect the Fund's performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the Fund's current expenses being allocated over a smaller asset base, leading to an increase in the Fund's expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009261_LiquidityRiskMember"
      id="x_39ec025b-d6f0-4215-bf18-07d14302b352">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009261_MarketRiskMember"
      id="aa571519-6eb4-418f-bcad-3b4419c4cff9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009261_StableNAVRiskMember"
      id="x_313fa34e-56ca-459d-92ec-29fc1b7deea6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="InstitutionalSharesMember_S000009261"
      id="ce14edbe-d254-424f-991c-f10020656069">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="InstitutionalSharesMember_S000009261"
      id="x_1f60ae09-f320-47a9-9d1d-f29dd54b30a4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Institutional Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Institutional Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="InstitutionalSharesMember_S000009261"
      id="x_362df127-89ab-4a2a-b455-10df3626c266">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Institutional Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Institutional Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="InstitutionalSharesMember_S000009261"
      id="c38c74af-40d1-4932-bae9-fa324f092a2a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="InstitutionalSharesMember_S000009261"
      id="x_757bd3f7-aea1-44fb-bc6c-361efb938443">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="InstitutionalSharesMember_S000009261"
      id="x_26a180c9-ff49-404e-8c00-2ed357c9fcaa">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="InstitutionalSharesMember_S000009261"
      id="e0ca8bf4-fae1-4e29-acc0-38d46eb1ef68">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="InstitutionalSharesMember_S000009261"
      id="dbd9cf81-2d72-4867-b58f-f13950e4cae6">&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.33%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;September 30, 2021&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="InstitutionalSharesMember_S000009261_C000025309"
      id="c6b4a479-ffc9-42ef-a495-094eac5bb676">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="InstitutionalSharesMember_S000009261_C000025309"
      decimals="4"
      id="x_51f75183-cb5f-49c7-9b7b-ebe149551456"
      unitRef="pure">0.0133</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="InstitutionalSharesMember_S000009261_C000025309"
      id="x_20f7bd3e-03f0-47a6-8ed9-db299bf668f8">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="InstitutionalSharesMember_S000009261_C000025309"
      id="x_22c80800-b1de-4e6b-9f10-617db60ab02c">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="InstitutionalSharesMember_S000009261_C000025309"
      decimals="4"
      id="x_2b984d5b-7291-4936-8f2f-cf184957d5a7"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="InstitutionalSharesMember_S000009261_C000025309"
      id="cb8e8d20-65b6-483a-b318-27f14c84d052">2021-09-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="InstitutionalSharesMember_S000009261"
      id="x_35de45cf-d8d4-4fd1-9814-494afb4d33d9">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="InstitutionalSharesMember_C000025309_01Jan2025_31Dec2025"
      decimals="4"
      id="x_24737716-454e-454b-a429-ee33c6547bfe"
      unitRef="pure">0.0415</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="InstitutionalSharesMember_C000025309_01Jan2021_31Dec2025"
      decimals="4"
      id="b5b2add5-81d6-4002-9a91-6db1f7102d8d"
      unitRef="pure">0.0312</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="InstitutionalSharesMember_C000025309_01Jan2016_31Dec2025"
      decimals="4"
      id="b373905d-b706-40e0-bbe5-5f565c453ca3"
      unitRef="pure">0.0206</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="InstitutionalSharesMember_C000025309"
      id="x_700d7e7b-b502-4896-948c-b8296f594ee8">1997-03-03</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="InstitutionalSharesMember_S000009243"
      id="cec470b6-99e8-4d3d-a776-14bd60b5e1c4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Treasury Solutions Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="InstitutionalSharesMember_S000009243"
      id="ac0a6836-59c1-4c88-a451-51f735da7a16">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="InstitutionalSharesMember_S000009243"
      id="x_1a3b1f3f-2a76-42da-ac68-81ad3fbe8456">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Treasury Solutions Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="InstitutionalSharesMember_S000009243"
      id="x_5915b28c-d102-42d4-8a35-382497f1b648">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="InstitutionalSharesMember_S000009243"
      id="x_480d612a-c07f-48c7-98cb-b1fbf9e04268">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="InstitutionalSharesMember_S000009243"
      id="x_5b8c65d8-402c-4a73-8a94-b44b7d3e91b3">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="InstitutionalSharesMember_S000009243_C000025203"
      decimals="4"
      id="x_247e17de-6cef-47c5-ad9d-c200c4b45d6f"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="InstitutionalSharesMember_S000009243_C000025203"
      decimals="4"
      id="c49f4797-a924-4355-8039-82b0304ac457"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="InstitutionalSharesMember_S000009243_C000025203"
      decimals="4"
      id="fca964aa-5100-4afb-a1d5-5992eb6dbc31"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="InstitutionalSharesMember_S000009243_C000025203"
      decimals="4"
      id="d740e262-12fb-4d53-836c-e60a37590c9d"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="InstitutionalSharesMember_S000009243_C000025203"
      decimals="4"
      id="ace8ebbf-a5c7-4e94-99c5-5bc2a8bcf451"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="InstitutionalSharesMember_S000009243"
      id="cb76e54f-d433-4108-910a-b15935149455">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="InstitutionalSharesMember_S000009243_C000025203"
      decimals="4"
      id="a8bc8529-fbc1-4b7e-94d6-b360f099d4e1"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="InstitutionalSharesMember_S000009243_C000025203"
      decimals="4"
      id="c2f7e61a-cfd2-4cc0-8e6d-e3e1a97f3641"
      unitRef="pure">0.0002</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="InstitutionalSharesMember_S000009243_C000025203"
      decimals="4"
      id="x_2be86abe-d28c-438b-87fe-446d87643b13"
      unitRef="pure">0.0020</oef:ExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="InstitutionalSharesMember_S000009243"
      id="x_467836b1-a767-487d-9197-94202fb47a43">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="InstitutionalSharesMember_S000009243"
      id="x_67e2beb0-6833-489b-b731-9e317b238a38">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Institutional Shares of the Fund for the time periods indicated and then redeem all of your Institutional Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same&#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="InstitutionalSharesMember_S000009243_C000025203"
      decimals="INF"
      id="bd07f9a6-ee41-45e6-9d84-823e5d9af0d4"
      unitRef="USD">20</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="InstitutionalSharesMember_S000009243_C000025203"
      decimals="INF"
      id="x_4504bc65-6a8b-4091-95b0-81fafd76b1db"
      unitRef="USD">64</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="InstitutionalSharesMember_S000009243_C000025203"
      decimals="INF"
      id="x_346dd1ef-c8e6-4615-8af3-1e0080fbe1a7"
      unitRef="USD">113</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="InstitutionalSharesMember_S000009243_C000025203"
      decimals="INF"
      id="dfdf7d62-b7e6-4afc-a9a1-82437527b8ad"
      unitRef="USD">255</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="InstitutionalSharesMember_S000009243"
      id="x_572b7540-1683-4ab0-99b7-f4aa5e69f61f">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="InstitutionalSharesMember_S000009243"
      id="a473726d-0ac8-41fb-8afa-2501900b6a41">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in U.S. Treasury Obligations, which include securities issued or guaranteed&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;by the U.S. Treasury where the payment of principal and interest is backed by the full faith and credit of the U.S. government (&#x201c;U.S. Treasury Obligations&#x201d;), and repurchase agreements with the Federal Reserve Bank of New York collateralized by U.S. Treasury Obligations. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;). &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;), and/or repurchase agreements that are collateralized fully by cash or U.S. Government Securities. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009243_RiskLoseMoneyMember"
      id="x_837f28ac-eda1-4f24-bf5d-f0ad02276178">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009243_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="ee925734-d6e2-49aa-8e33-ff45b1a6d390">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009243_RiskNotInsuredDepositoryInstitutionMember"
      id="df9b1a3f-4a11-4df5-a3cf-8030f84dafa0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009243_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="d6aace17-6ee4-403c-93d8-9da0cbb79ce7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009243_CreditDefaultRiskMember"
      id="a28b8f73-ac45-4033-ba6c-6f9fd7179b51">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009243_InterestRateRiskMember"
      id="a3ed7493-0f43-47d5-bdf5-5900fd00e3f8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009243_LargeShareholderTransactionsRiskMember"
      id="x_6fff3470-cabc-4de6-9246-0280cb4ae90b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the Fund's NAV and liquidity. Similarly, large Fund share purchases may adversely affect the Fund's performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the Fund's current expenses being allocated over a smaller asset base, leading to an increase in the Fund's expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009243_LiquidityRiskMember"
      id="x_12d1cfd8-9d9e-4197-bed8-01401bdeaad0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009243_MarketRiskMember"
      id="x_7610bd7f-b19b-455b-b177-d42959840005">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009243_StableNAVRiskMember"
      id="x_32d31dbc-6b62-4e52-878e-5e35c9478f58">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="InstitutionalSharesMember_S000009243"
      id="c3c3c5cf-da30-4175-a132-55df1a74ad46">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="InstitutionalSharesMember_S000009243"
      id="a075db60-6fbe-4cd7-8e5c-6d93eb6ce4ce">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Institutional Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Institutional Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="InstitutionalSharesMember_S000009243"
      id="x_5c7f8e9d-990c-4a0b-971c-af70b2bb5a0c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Institutional Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Institutional Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="InstitutionalSharesMember_S000009243"
      id="x_13c858dc-9727-4256-9f6a-72ca7fcac5ac">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="InstitutionalSharesMember_S000009243"
      id="x_92079ec4-e2d7-439a-a0f5-74e38d1a2208">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="InstitutionalSharesMember_S000009243"
      id="x_2f53e766-021d-49df-af34-d6cbe8eb3de1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="InstitutionalSharesMember_S000009243"
      id="f93f1e3a-e5bc-4056-987f-638ec90e7c33">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="InstitutionalSharesMember_S000009243"
      id="c417313a-a653-49c5-8ddc-8e66279b350b">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.33%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;September 30, 2021&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="InstitutionalSharesMember_S000009243_C000025203"
      id="dc94f118-2ddf-4089-8d89-768d43819bec">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="InstitutionalSharesMember_S000009243_C000025203"
      decimals="4"
      id="fca70e52-79a7-4ed7-8b98-85d16ff0815f"
      unitRef="pure">0.0133</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="InstitutionalSharesMember_S000009243_C000025203"
      id="d274bff8-8c33-456b-89e4-44cdc3df4d0e">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="InstitutionalSharesMember_S000009243_C000025203"
      id="x_9f38d4f6-5b2b-4e91-906f-9ad6d962dfad">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="InstitutionalSharesMember_S000009243_C000025203"
      decimals="4"
      id="x_5dbc353a-30c8-4d41-9c21-7b01fb03b293"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="InstitutionalSharesMember_S000009243_C000025203"
      id="x_41ce82d2-1bc4-4171-a565-291a58a8a394">2021-09-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="InstitutionalSharesMember_S000009243"
      id="x_1325702d-f61b-4c3a-a2bd-9dbf1f946359">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="InstitutionalSharesMember_C000025203_01Jan2025_31Dec2025"
      decimals="4"
      id="c5cf02f5-bf9d-44e0-8b9e-e9d6e2a8eaf3"
      unitRef="pure">0.0414</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="InstitutionalSharesMember_C000025203_01Jan2021_31Dec2025"
      decimals="4"
      id="x_9d4fdaae-2270-45d8-874e-c91279d02b2f"
      unitRef="pure">0.0316</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="InstitutionalSharesMember_C000025203_01Jan2016_31Dec2025"
      decimals="4"
      id="bca9b489-9eab-4116-b2b4-547921440a8f"
      unitRef="pure">0.0208</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="InstitutionalSharesMember_C000025203"
      id="x_32495194-ea20-4f8c-b694-da9e9bed60da">1997-02-28</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="InstitutionalSharesMember_S000009242"
      id="x_6c4b8188-ba31-4db7-a502-8df44ecd174a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Government Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="InstitutionalSharesMember_S000009242"
      id="x_15cf4d4e-cdaa-4702-82e5-0ee2c0d58953">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="InstitutionalSharesMember_S000009242"
      id="b66fdd1c-0ea9-47b3-b876-37d16158dc9d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Government Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="InstitutionalSharesMember_S000009242"
      id="f140ee7f-713d-4cba-b343-f83044234552">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="InstitutionalSharesMember_S000009242"
      id="c883e43a-fe80-4e47-ad1c-e42c5b30a4b4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="InstitutionalSharesMember_S000009242"
      id="x_86424e07-4ab1-4378-896f-512a5e665bd8">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="InstitutionalSharesMember_S000009242_C000025196"
      decimals="4"
      id="x_6bbc3d92-e8d3-4cb2-8af6-368ed34d0d93"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="InstitutionalSharesMember_S000009242_C000025196"
      decimals="4"
      id="x_7936a13a-8eae-47cf-90af-d3a89e611ffd"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="InstitutionalSharesMember_S000009242_C000025196"
      decimals="4"
      id="c39bcbfe-5381-4477-b1a6-5bf61bd1bfe7"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="InstitutionalSharesMember_S000009242_C000025196"
      decimals="4"
      id="cdb4106c-4c30-4d94-9b6c-f765446e711e"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="InstitutionalSharesMember_S000009242_C000025196"
      decimals="4"
      id="x_8d4fe5eb-ee8a-4888-b84c-4ded1a112a1a"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="InstitutionalSharesMember_S000009242"
      id="ed0f2491-0f6f-405b-b81e-dd2a7c2703ff">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="InstitutionalSharesMember_S000009242_C000025196"
      decimals="4"
      id="x_00c823cb-60f6-4fe8-9e4e-42a82113b452"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="InstitutionalSharesMember_S000009242_C000025196"
      decimals="4"
      id="aad5a8da-e888-4e4d-bdc6-4b6dc6675b3a"
      unitRef="pure">0.0002</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="InstitutionalSharesMember_S000009242_C000025196"
      decimals="4"
      id="ca09ae78-7fb1-4d0e-ad2d-24e5f01636b1"
      unitRef="pure">0.0018</oef:ExpensesOverAssets>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="InstitutionalSharesMember_S000009242"
      id="x_42984438-ef0d-4cce-adf6-0db3ec92691c">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.&lt;/span&gt;</oef:ExpensesRestatedToReflectCurrent>
    <oef:ExpenseExampleHeading
      contextRef="InstitutionalSharesMember_S000009242"
      id="a6af3438-2ec4-4af9-bd5a-7f9c8818bc5d">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="InstitutionalSharesMember_S000009242"
      id="x_39405b8b-d4e7-4bcc-916f-10569f534c0c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Institutional Shares of the Fund for the time periods indicated and then redeem all of your Institutional Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same&#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="InstitutionalSharesMember_S000009242_C000025196"
      decimals="INF"
      id="x_9c5dbaeb-2ad7-4dd0-b469-5e9c5931d7ef"
      unitRef="USD">18</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="InstitutionalSharesMember_S000009242_C000025196"
      decimals="INF"
      id="x_982cf895-f3ec-4c32-862d-76f241db42a3"
      unitRef="USD">58</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="InstitutionalSharesMember_S000009242_C000025196"
      decimals="INF"
      id="a09a73ef-b01a-4378-884f-c8d69f63182e"
      unitRef="USD">101</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="InstitutionalSharesMember_S000009242_C000025196"
      decimals="INF"
      id="a8d70d29-33f2-445f-bfca-ceb91166dea6"
      unitRef="USD">230</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="InstitutionalSharesMember_S000009242"
      id="x_3329b608-5711-4f7a-8d42-ea2e93e13897">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="InstitutionalSharesMember_S000009242"
      id="e360e063-4583-4232-95b3-82048edb80d2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in &#x201c;government securities,&#x201d; as such term is defined in or interpreted under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;), and repurchase agreements collateralized by such securities. &#x201c;Government securities&#x201d; generally are securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act. &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, U.S. Government Securities, and/or repurchase agreements that are collateralized fully by cash or U.S. Government Securities. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009242_RiskLoseMoneyMember"
      id="x_16ad9d9c-513b-40e0-bc94-219ef5fa3d7e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009242_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_8a2a2561-bb4e-4353-b9d1-b01d271318ce">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009242_RiskNotInsuredDepositoryInstitutionMember"
      id="fca65c4c-272e-4105-9f0a-346eacad6534">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009242_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_577021ef-8072-407b-bb62-e45f10fc1057">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009242_CreditDefaultRiskMember"
      id="x_97f1b6ed-b493-4d5d-b14d-7678d4130f4f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009242_InterestRateRiskMember"
      id="x_9fb42f66-65d8-4c12-b3fc-c56ef9b76d98">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009242_LargeShareholderTransactionsRiskMember"
      id="x_79082138-ffcd-41a2-b418-4766388e9855">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the Fund's NAV and liquidity. Similarly, large Fund share purchases may adversely affect the Fund's performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the Fund's current expenses being allocated over a smaller asset base, leading to an increase in the Fund's expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009242_LiquidityRiskMember"
      id="x_59ae1068-f65f-46ef-8db3-6a1d06d9e369">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009242_MarketRiskMember"
      id="c5ad97af-22cc-4b08-a8eb-6cdaaffb35ad">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009242_StableNAVRiskMember"
      id="b45232a0-29f0-43f2-b24a-906c56fc0b47">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000009242_USGovernmentSecuritiesRiskMember"
      id="e6de5e6e-d7d1-4b00-9adb-a1797e24c5c2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="InstitutionalSharesMember_S000009242"
      id="x_0fb356dc-4410-4c9a-9093-e439c21e3b16">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="InstitutionalSharesMember_S000009242"
      id="x_36114ff2-c090-43cb-8468-a1662b0db913">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Institutional Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Institutional Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="InstitutionalSharesMember_S000009242"
      id="x_318592d8-95f8-4f38-82a7-101ec4457279">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Institutional Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Institutional Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="InstitutionalSharesMember_S000009242"
      id="x_3f8b8172-63be-489e-a85d-bbcb62557038">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="InstitutionalSharesMember_S000009242"
      id="a9847856-c3fc-4a18-8a46-a140fc77e928">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="InstitutionalSharesMember_S000009242"
      id="x_02e80b24-c420-44b0-b86a-46ab0bd3108f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="InstitutionalSharesMember_S000009242"
      id="x_4fc091bd-e334-43f8-8e8e-697cc9619074">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="InstitutionalSharesMember_S000009242"
      id="x_6da206cb-b0ba-44ba-9460-0cc3dab04df8">&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.33%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.01%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="InstitutionalSharesMember_S000009242_C000025196"
      id="x_88a2b72b-5a40-4d0d-8104-6402e6adecce">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="InstitutionalSharesMember_S000009242_C000025196"
      decimals="4"
      id="x_26a435bf-026a-47cc-8e98-b3537994ba62"
      unitRef="pure">0.0133</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="InstitutionalSharesMember_S000009242_C000025196"
      id="x_4a0383fc-033b-4a88-978b-d69703042f8d">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="InstitutionalSharesMember_S000009242_C000025196"
      id="x_4d2f8f11-2c03-4531-9c95-3d4c2431168c">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="InstitutionalSharesMember_S000009242_C000025196"
      decimals="4"
      id="x_469f4033-4bbc-4388-84bb-b270a436de74"
      unitRef="pure">0.0001</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="InstitutionalSharesMember_S000009242_C000025196"
      id="x_22853d90-ad0a-4124-af1b-1d2e1769f337">2020-12-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="InstitutionalSharesMember_S000009242"
      id="x_34d5c677-2e16-4b83-872f-e9b2d4a40ce6">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="InstitutionalSharesMember_C000025196_01Jan2025_31Dec2025"
      decimals="4"
      id="x_51a8b5f7-64d5-4a4c-a168-21f21052ccb5"
      unitRef="pure">0.0421</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="InstitutionalSharesMember_C000025196_01Jan2021_31Dec2025"
      decimals="4"
      id="d3d265a7-7483-4712-b8ce-2fa6e63f5206"
      unitRef="pure">0.0319</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="InstitutionalSharesMember_C000025196_01Jan2016_31Dec2025"
      decimals="4"
      id="c5d6fec7-715e-4f73-8157-2634d073d467"
      unitRef="pure">0.0212</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="InstitutionalSharesMember_C000025196"
      id="a1f0eb1d-90ef-4498-907f-558b928c5dba">1993-04-06</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="InstitutionalSharesMember_S000051190"
      id="a28a3aee-2a65-4506-890b-258ac55bae80">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Federal Instruments Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="InstitutionalSharesMember_S000051190"
      id="x_6c172eb7-c578-419d-946d-563f132d3879">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="InstitutionalSharesMember_S000051190"
      id="x_112542f1-3241-46e0-8549-834b291a5145">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Federal Instruments Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="InstitutionalSharesMember_S000051190"
      id="x_3e712264-1f11-4330-88b2-8369c82e35a4">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="InstitutionalSharesMember_S000051190"
      id="d15b814a-ba78-4807-b836-67f2c08ca276">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="InstitutionalSharesMember_S000051190"
      id="b068de0b-7354-40de-9636-f618b5e40441">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="InstitutionalSharesMember_S000051190_C000161175"
      decimals="4"
      id="d693167a-65fb-42d5-8ddd-46df99b633af"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="InstitutionalSharesMember_S000051190_C000161175"
      decimals="4"
      id="x_1845cdb9-d390-45e9-97af-73364bd3ca97"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="InstitutionalSharesMember_S000051190_C000161175"
      decimals="4"
      id="x_0c8ad129-f823-4271-95c6-b19e35e6037d"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="InstitutionalSharesMember_S000051190_C000161175"
      decimals="4"
      id="d276b284-51ec-49b4-a29c-9e91cfcec5c5"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="InstitutionalSharesMember_S000051190_C000161175"
      decimals="4"
      id="x_857dec63-6fa9-484e-ab3f-5cfa2c46c199"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="InstitutionalSharesMember_S000051190"
      id="x_93a5d12f-8a38-4c6d-84bc-fd0bfa41176b">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="InstitutionalSharesMember_S000051190_C000161175"
      decimals="4"
      id="x_5e9d1bed-2b5b-47dc-9dab-b1a8582e8786"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="InstitutionalSharesMember_S000051190_C000161175"
      decimals="4"
      id="x_8bf52f5a-1000-4212-8eb4-8867b7638679"
      unitRef="pure">0.0002</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="InstitutionalSharesMember_S000051190_C000161175"
      decimals="4"
      id="f58fbb2f-30a0-45b3-831d-47464e615f98"
      unitRef="pure">0.0020</oef:ExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="InstitutionalSharesMember_S000051190"
      id="eee2c871-234e-464e-a105-d3dbce19fd98">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="InstitutionalSharesMember_S000051190"
      id="x_32073436-7e51-4440-b793-c6145730c0ba">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Institutional Shares of the Fund for the time periods indicated and then redeem all of your Institutional Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same&#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="InstitutionalSharesMember_S000051190_C000161175"
      decimals="INF"
      id="x_8b2a5b17-6ff5-4324-830c-b58fefa5aa58"
      unitRef="USD">20</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="InstitutionalSharesMember_S000051190_C000161175"
      decimals="INF"
      id="x_7b828618-a3aa-4942-8208-726fd1812edd"
      unitRef="USD">64</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="InstitutionalSharesMember_S000051190_C000161175"
      decimals="INF"
      id="d5f5ddaa-80a1-4b79-a9fe-0f690ceea6dd"
      unitRef="USD">113</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="InstitutionalSharesMember_S000051190_C000161175"
      decimals="INF"
      id="x_142d8ecf-75c0-40d2-9b40-11b07c14b4ee"
      unitRef="USD">255</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="InstitutionalSharesMember_S000051190"
      id="x_9493d091-7142-43d1-a8a4-2833f68e5b3d">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="InstitutionalSharesMember_S000051190"
      id="x_429dec72-1521-4b5b-a23b-db9fc0d755ff">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in &#x201c;government securities,&#x201d; as such term is defined in or interpreted under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;), the interest from which is generally exempt from state income taxation. &#x201c;Government securities&#x201d; generally are securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act. &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash and U.S. Government Securities. Although &#x201c;government money market funds&#x201d; may also invest in repurchase agreements that are collateralized fully by cash or U.S. Government Securities, the Fund may not invest in repurchase agreements. &#x201c;Government money &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000051190_RiskLoseMoneyMember"
      id="c793f925-80ae-4cab-804d-d6e39e941c61">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000051190_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_0ce2ae23-27cc-4aaf-bc31-37992777af5e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000051190_RiskNotInsuredDepositoryInstitutionMember"
      id="ea061128-0744-4815-b8d3-f5aeff38ebf1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000051190_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_93daa45c-1f82-45d2-91c8-a318e6cfbb31">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000051190_CreditDefaultRiskMember"
      id="x_2ac5025c-bd16-42f5-9de7-862f236268c7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000051190_InterestRateRiskMember"
      id="d9434b6e-1fc2-4a90-a671-94e841bd83fb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000051190_LargeShareholderTransactionsRiskMember"
      id="x_641dc417-c535-4501-afdc-6d4067d2c6d6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the Fund's NAV and liquidity. Similarly, large Fund share purchases may adversely affect the Fund's performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the Fund's current expenses being allocated over a smaller asset base, leading to an increase in the Fund's expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000051190_LiquidityRiskMember"
      id="x_55848333-dacb-403d-9063-c3649cf471d8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000051190_MarketRiskMember"
      id="fb999f98-6eb8-47ee-a64c-436081051585">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000051190_StableNAVRiskMember"
      id="x_13769101-e81b-4529-a7cc-539de268d733">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="InstitutionalSharesMember_S000051190_USGovernmentSecuritiesRiskMember"
      id="x_2c9e8128-6294-4a16-9ab0-d98d1f2785e1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="InstitutionalSharesMember_S000051190"
      id="x_71181929-9acc-496f-b51f-bf7826847978">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="InstitutionalSharesMember_S000051190"
      id="d276b5df-cee9-4e9f-87b0-e69261e09fb0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Institutional Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Institutional Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="InstitutionalSharesMember_S000051190"
      id="bda5ae98-821c-48a7-9940-3718d27bc16e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Institutional Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Institutional Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="InstitutionalSharesMember_S000051190"
      id="f6a1fccf-cf7d-48d8-bdfb-386ec0f71286">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="InstitutionalSharesMember_S000051190"
      id="x_79517774-def0-4566-93bc-e550cd09610f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="InstitutionalSharesMember_S000051190"
      id="b90f68ce-e5dd-40ea-bea3-a9fe21db8be7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="InstitutionalSharesMember_S000051190"
      id="x_5d3927dd-34bd-4734-8150-b95702e01f95">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="InstitutionalSharesMember_S000051190"
      id="x_079a1a16-dc89-4378-817f-4411dbf66fdc">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.33%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;September 30, 2021&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="InstitutionalSharesMember_S000051190_C000161175"
      id="x_863200fd-70a1-437c-b192-b8ba20278d99">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="InstitutionalSharesMember_S000051190_C000161175"
      decimals="4"
      id="x_5981550e-6216-4ab2-9735-2a14c98d3c10"
      unitRef="pure">0.0133</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="InstitutionalSharesMember_S000051190_C000161175"
      id="x_690f03b7-e731-4c00-8fb9-442ad81c3ed0">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="InstitutionalSharesMember_S000051190_C000161175"
      id="x_5113c403-eafd-497e-a1cb-4bc92c850e57">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="InstitutionalSharesMember_S000051190_C000161175"
      decimals="4"
      id="d0de2ac3-aa78-4b1b-8792-45d3f6b2acaa"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="InstitutionalSharesMember_S000051190_C000161175"
      id="afe50f4a-9704-43c8-8f82-431a088817f5">2021-09-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="InstitutionalSharesMember_S000051190"
      id="x_6a330d81-c294-4c2b-9a4d-d917a442abe9">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="InstitutionalSharesMember_C000161175_01Jan2025_31Dec2025"
      decimals="4"
      id="x_2e80b048-a997-4300-bab6-aa490e669e81"
      unitRef="pure">0.0416</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="InstitutionalSharesMember_C000161175_01Jan2021_31Dec2025"
      decimals="4"
      id="f3f543da-aed5-4016-a03a-83300f6e0ae7"
      unitRef="pure">0.0315</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="InstitutionalSharesMember_C000161175_01Jan2016_31Dec2025"
      decimals="4"
      id="x_606ec4ed-dace-453c-afb8-d976dd91b86e"
      unitRef="pure">0.0209</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="InstitutionalSharesMember_C000161175"
      id="x_1151b851-53bc-47bd-a108-008a8bf15723">2015-10-30</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="ClassISharesMember_S000051191"
      id="d71bf8d7-2304-4db5-a627-bc8376ae3a3e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Investor Money Market Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ClassISharesMember_S000051191"
      id="x_1b76cf44-7a71-4187-8d89-8fe68c3c060a">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ClassISharesMember_S000051191"
      id="e91080b8-65dd-4bad-a5e3-d1b0c91c5500">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Investor Money Market Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ClassISharesMember_S000051191"
      id="x_2ddd37c5-e5fe-4dd1-ba12-c4ae011d7b38">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ClassISharesMember_S000051191"
      id="ef5c03bf-a71c-4058-8350-c6a0c18c3c3a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="ClassISharesMember_S000051191"
      id="x_82eb50a2-728d-4821-8dbc-7499eeb8adbb">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassISharesMember_S000051191_C000161182"
      decimals="4"
      id="x_369c55bf-0b18-4c59-8ff2-18e332bb92b2"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassISharesMember_S000051191_C000161182"
      decimals="4"
      id="x_603fa45e-deab-431b-8e0e-172604696302"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="ClassISharesMember_S000051191_C000161182"
      decimals="4"
      id="c9285bd6-8c2a-4801-af0e-147ddc826c11"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="ClassISharesMember_S000051191_C000161182"
      decimals="4"
      id="x_5f635e35-ced2-4548-b634-5e3bedf084b8"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="ClassISharesMember_S000051191_C000161182"
      decimals="4"
      id="bdbedc15-460d-428b-afef-2c447f0af128"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="ClassISharesMember_S000051191"
      id="x_0a947df1-6cd9-4021-9c7e-8b6211368d68">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ClassISharesMember_S000051191_C000161182"
      decimals="4"
      id="x_58a0ba65-7f89-4b53-b571-971d15f029c1"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassISharesMember_S000051191_C000161182"
      decimals="4"
      id="daf4606b-9f57-4623-be96-ee1fa1a49232"
      unitRef="pure">0.0003</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassISharesMember_S000051191_C000161182"
      decimals="4"
      id="x_8b24617e-3e31-4875-986d-e8d3e8e9dfd5"
      unitRef="pure">0.0019</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassISharesMember_S000051191_C000161182"
      decimals="4"
      id="c892f9ea-84ce-4d21-ac5f-f630310e58f9"
      unitRef="pure">-0.0001</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassISharesMember_S000051191_C000161182"
      decimals="4"
      id="x_84039457-f4f2-456a-9086-413b6db20868"
      unitRef="pure">0.0018</oef:NetExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="ClassISharesMember_S000051191"
      id="x_9f7320c9-92ff-4f27-898c-f3840cbdf41b">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;March 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="ClassISharesMember_S000051191"
      id="cc817a53-1e3e-441e-abc7-ea68055e7025">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ClassISharesMember_S000051191"
      id="dc178e80-b81f-4b01-ae7e-8bb08312072e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Class I Shares of the Fund for the time periods indicated and then redeem all of your Class I Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same&#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ClassISharesMember_S000051191_C000161182"
      decimals="INF"
      id="x_1d360853-a2b5-4a63-b2a2-17f601b8203c"
      unitRef="USD">18</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassISharesMember_S000051191_C000161182"
      decimals="INF"
      id="x_0ce21181-971d-4055-a29f-b900e9c77e05"
      unitRef="USD">60</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassISharesMember_S000051191_C000161182"
      decimals="INF"
      id="f96d5484-9626-4b5a-9eb7-8faa980bb81b"
      unitRef="USD">106</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassISharesMember_S000051191_C000161182"
      decimals="INF"
      id="aa6fb490-a855-42a4-88e3-c08c116779a3"
      unitRef="USD">242</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="ClassISharesMember_S000051191"
      id="x_1e93445f-10b6-4c46-adcd-ed47619e072e">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ClassISharesMember_S000051191"
      id="a4770c9f-db58-40de-8556-9002553cf2f6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing in securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;), obligations of banks (which may exceed 25% of its total assets), commercial paper and other short-term obligations of U.S. companies, states, municipalities and other entities, and repurchase agreements. The Fund may also invest in U.S. dollar-denominated obligations of foreign banks, foreign companies and foreign governments. The Fund may not invest more than 25% of its total assets in the securities of any one foreign government. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;retail money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (the &#x201c;Investment Company Act&#x201d;). &#x201c;Retail money market funds&#x201d; are money market funds that have policies and procedures reasonably designed to limit all beneficial owners of the fund to natural persons. As a &#x201c;retail money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity, diversification and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000051191_RiskLoseMoneyMember"
      id="x_0d447303-9111-49b3-898a-b9ed428bba46">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000051191_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="e5413449-e492-4909-be2a-ed94fb05c4d5">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000051191_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember"
      id="x_74ddd1f8-3337-42c1-bbed-f1b790a47afa">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund may impose a fee upon sale of your shares.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000051191_RiskNotInsuredDepositoryInstitutionMember"
      id="c3ba3d34-83dd-4241-9078-cae0ae565841">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;bank account or a deposit of a bank and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000051191_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="eba38d6e-3c45-406f-9a99-72bf7a2d1745">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000051191_BankingIndustryRiskMember"
      id="x_29ffd178-40b2-4647-8c19-dc4721f72cc2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Banking Industry Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An adverse development in the banking industry (domestic or foreign) may affect the value of the Fund&#x2019;s investments more than if the Fund were not invested to such a degree in the banking industry. Banks may be particularly susceptible to certain economic factors such as interest rate changes, adverse developments in the real estate market, fiscal, regulatory and monetary policy and general economic cycles.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000051191_CreditDefaultRiskMember"
      id="x_5cc3a739-e0f5-4353-95c9-1cfa95382988">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000051191_ForeignRiskMember"
      id="x_7a96ab17-5d41-4ec0-8d55-6e0a919de28f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Foreign Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Foreign securities may be subject to risk of loss because of more or less foreign government regulation; less public information; less stringent investor protections; less stringent accounting, corporate governance, financial reporting and disclosure standards; and less economic, political and social stability in the countries in which the Fund invests. The imposition of sanctions, confiscations, trade restrictions (including tariffs) and other government restrictions by the United States and other governments, or from problems in share registration, settlement or custody, may also result in losses. In addition, the Fund will be subject to the risk that an issuer of foreign sovereign debt or the government authorities that control the repayment of the debt may be unable or unwilling to repay the principal or interest when due.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000051191_InterestRateRiskMember"
      id="x_3d189f05-ba55-41fc-a1bc-4d9798fbd446">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000051191_LargeShareholderTransactionsRiskMember"
      id="x_064844d5-45b9-4820-a590-5402712f32e7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders&#160;(including financial intermediaries who may make investment decisions on behalf of underlying clients) purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the Fund's NAV and liquidity. Similarly, large Fund share purchases may adversely affect the Fund's performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the Fund's current expenses being allocated over a smaller asset base, leading to an increase in the Fund's expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000051191_LiquidityRiskMember"
      id="x_75a68007-c720-4b5a-88c9-92fa00bd1903">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000051191_MarketRiskMember"
      id="b3aee5b0-2efa-427f-85ba-ea2fc517cf64">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of &#160;individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000051191_MunicipalSecuritiesRiskMember"
      id="c9e0d2fc-e70f-4c13-ae00-0194705c41bb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Municipal Securities Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Municipal securities are subject to credit/default risk, interest rate risk and certain additional risks. The Fund may be more sensitive to adverse economic, business&#160;or political developments if it invests a substantial portion of its assets in the debt securities of similar projects (such as those relating to education, health care, housing, transportation, and utilities), industrial development bonds, or in particular types of municipal securities (such as general obligation bonds, private activity bonds and moral obligation bonds). The Fund may also invest in municipal securities indirectly (including by investing in tender option bonds). While interest earned on municipal securities is generally not subject to federal tax, any interest earned on taxable municipal securities is fully taxable at the federal level and may be subject to tax at the state level.&#160;Municipal securities may be more susceptible to downgrades or defaults during recessions or similar periods of economic stress. In addition, since some municipal securities may be secured, guaranteed or otherwise supported by banks and other institutions, the risk to the Fund could increase if the banking or financial sector suffers an economic downturn and/or if the credit ratings of the institutions issuing the guarantee or demand feature are downgraded or at risk of being downgraded by a national rating organization. Such a downward revision or risk of being downgraded may have an adverse effect on the market prices of municipal securities and thus cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000051191_StableNAVRiskMember"
      id="d980484f-7baf-4b0f-a6e3-5bf1b811b007">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000051191_USGovernmentSecuritiesRiskMember"
      id="x_87330bb0-2c0d-40b3-ad49-eac4d067efc4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ClassISharesMember_S000051191"
      id="x_1f55ab53-8d2c-4f88-9642-968389c7f625">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ClassISharesMember_S000051191"
      id="x_4d709c05-7b95-4fbb-b784-a3ed3f9fc1c2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class I Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Class I Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ClassISharesMember_S000051191"
      id="eda09b56-ef18-4a4d-85bb-480511698bb6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class I Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Class I Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ClassISharesMember_S000051191"
      id="x_02182105-3e71-4a8d-b0f1-f59d613c005d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ClassISharesMember_S000051191"
      id="x_4310deb4-efa2-4884-ba2a-f81069ab71a2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="ClassISharesMember_S000051191"
      id="x_77257976-3a83-442b-b426-492ec82ed721">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="ClassISharesMember_S000051191"
      id="c6513d55-ce47-474f-93bd-9754283010a3">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ClassISharesMember_S000051191"
      id="x_0045f2bc-c4f7-4ccf-9fe0-0058db7704aa">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.36%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2021&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ClassISharesMember_S000051191_C000161182"
      id="x_72a5af0e-abd7-4232-aa85-bcb7cadaa3da">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ClassISharesMember_S000051191_C000161182"
      decimals="4"
      id="f075c3ba-674e-4966-b24e-df85822860e4"
      unitRef="pure">0.0136</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ClassISharesMember_S000051191_C000161182"
      id="c6fa5acf-c173-4b58-9147-dc271652b3b5">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ClassISharesMember_S000051191_C000161182"
      id="dee7a5e1-250c-4d03-8e6e-5ffb5cd6ff94">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ClassISharesMember_S000051191_C000161182"
      decimals="4"
      id="e13efed2-bcd8-4ab0-bb33-4fe9222eca65"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ClassISharesMember_S000051191_C000161182"
      id="x_20969b53-3aca-4e31-b85b-2c79c2b82da7">2021-12-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ClassISharesMember_S000051191"
      id="x_9a306fab-ba3c-4f21-b373-fa39821f98c0">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="ClassISharesMember_C000161182_01Jan2025_31Dec2025"
      decimals="4"
      id="fd091eca-805f-4e6c-a7b1-1d4e0f45b5ff"
      unitRef="pure">0.0431</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassISharesMember_C000161182_01Jan2021_31Dec2025"
      decimals="4"
      id="ef406b71-7449-461a-9094-6ba908a04455"
      unitRef="pure">0.0328</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassISharesMember_C000161182_29Jan2016_31Dec2025"
      decimals="4"
      id="x_6da85466-5ecb-467a-928f-a72afe770ba8"
      unitRef="pure">0.0229</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassISharesMember_C000161182"
      id="x_4fe8e6fb-cee9-4a50-8d43-6fdf41d1d4d7">2016-01-29</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="ClassISharesMember_S000009244"
      id="x_9af6ab9c-b324-40db-ab32-17546631c3c7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Investor Tax-Exempt Money Market Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ClassISharesMember_S000009244"
      id="d1b86d2b-db96-48a3-8116-b671e8a65813">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ClassISharesMember_S000009244"
      id="x_8f6f59f4-0edd-45ef-963f-410d8ab5b4fc">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Investor Tax-Exempt Money Market Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ClassISharesMember_S000009244"
      id="f97b61de-f1ed-45d3-9f73-342324a747b9">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ClassISharesMember_S000009244"
      id="x_69700fc5-df5e-4ec9-a0df-90548c40c07d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="ClassISharesMember_S000009244"
      id="x_0fedc9c3-77ba-42de-83c9-d9a83a67e468">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassISharesMember_S000009244_C000025210"
      decimals="4"
      id="x_3e8f2d85-5f49-4d3d-9570-ba1f58993549"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassISharesMember_S000009244_C000025210"
      decimals="4"
      id="x_13cbe61c-fd4d-4aed-8588-469ab7806ae7"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="ClassISharesMember_S000009244_C000025210"
      decimals="4"
      id="b53205ae-a2ae-4afb-a823-80e301519f2f"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="ClassISharesMember_S000009244_C000025210"
      decimals="4"
      id="x_4beb8c38-bc38-4c40-9668-153c20e93051"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="ClassISharesMember_S000009244_C000025210"
      decimals="4"
      id="x_6605c951-0f68-4462-857b-3e89d9671aaa"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="ClassISharesMember_S000009244"
      id="x_3209876f-6237-4ca5-916c-f812a9cbd992">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ClassISharesMember_S000009244_C000025210"
      decimals="4"
      id="x_302a00c3-a5f2-49d3-9217-d1b00cee6699"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassISharesMember_S000009244_C000025210"
      decimals="4"
      id="eeea7e0f-bcca-4e12-85c3-55d8af2f09b9"
      unitRef="pure">0.0003</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassISharesMember_S000009244_C000025210"
      decimals="4"
      id="x_13f0bd37-181b-4675-b946-7c3214719249"
      unitRef="pure">0.0019</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassISharesMember_S000009244_C000025210"
      decimals="4"
      id="x_49464ff9-ecc2-4f8e-902f-312f9c138967"
      unitRef="pure">-0.0001</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassISharesMember_S000009244_C000025210"
      decimals="4"
      id="x_3f805cf5-a1bb-4050-8d7f-7c7168650c76"
      unitRef="pure">0.0018</oef:NetExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="ClassISharesMember_S000009244"
      id="x_221d5333-38ba-4632-8232-6b7a0e51f6f5">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;March 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="ClassISharesMember_S000009244"
      id="x_24797540-3137-47a9-ae70-1d8e15d0cf3f">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ClassISharesMember_S000009244"
      id="d4edb764-4964-4a0e-b07f-8f55c599ffd8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Class I Shares of the Fund for the time periods indicated and then redeem all of your Class I Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same&#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ClassISharesMember_S000009244_C000025210"
      decimals="INF"
      id="fb300345-cdd2-4f82-a253-032fddaa6879"
      unitRef="USD">18</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassISharesMember_S000009244_C000025210"
      decimals="INF"
      id="x_59a8faa8-8e8d-437d-814e-f139164073cf"
      unitRef="USD">60</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassISharesMember_S000009244_C000025210"
      decimals="INF"
      id="c069d710-fdae-416b-a14a-b78bded3fa3f"
      unitRef="USD">106</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassISharesMember_S000009244_C000025210"
      decimals="INF"
      id="x_5b360274-7494-4d6c-9951-e2e5e5576351"
      unitRef="USD">242</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="ClassISharesMember_S000009244"
      id="da234df2-2a55-4648-9e8a-5180f117d074">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ClassISharesMember_S000009244"
      id="x_7f8bc948-1eb3-4f62-993c-14f9a6f3fea0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing at least 80% of its net assets plus any borrowings for investment purposes (measured at the time of investment) (&#x201c;Net Assets&#x201d;) in securities issued by or on behalf of states, territories and possessions of the United States and their political subdivisions, agencies, authorities and instrumentalities, and the District of Columbia, the interest from which, if any, is in the opinion of bond counsel excluded from gross income for federal income tax purposes, and generally not an item of tax preference under the federal alternative minimum tax (&#x201c;AMT&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser ordinarily expects the Fund to invest in municipal obligations directly or indirectly (including by investing in tender option bonds), but the Fund may invest in short-term taxable instruments for temporary investment purposes. The Fund may also invest up to 20% of its Net Assets in securities the interest from which may be subject to federal income tax and an item of tax preference under the AMT. Such investments include securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;retail money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (the &#x201c;Investment Company Act&#x201d;). &#x201c;Retail money market funds&#x201d; are money market funds that have policies and procedures reasonably designed to limit all beneficial owners of the fund to natural persons. As a &#x201c;retail money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity, diversification and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000009244_RiskLoseMoneyMember"
      id="bb3d0d7f-9ecf-4107-908d-8b4026fcd8bc">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000009244_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="af9771a2-f656-49d9-9df5-3c2f208afbe6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000009244_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember"
      id="x_818d0865-be7f-4053-a408-5f11f5b267b6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund may impose a fee upon sale of your shares.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000009244_RiskNotInsuredDepositoryInstitutionMember"
      id="x_3223450b-bc13-423d-8622-b43546f8c379">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;bank account or a deposit of a bank and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000009244_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_761f9cbd-81cb-42c4-b1f9-d0f88aceca57">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000009244_CreditDefaultRiskMember"
      id="x_8940aac4-de7e-4cf3-98c0-b7aaadd15af6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund may default on its obligation to pay interest and repay principal or default on any other obligation. This also includes the risk of default on letters of credit, guarantees, demand features or insurance policies that back or otherwise support municipal securities. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000009244_GeographicandSectorRiskMember"
      id="x_9f42e2f0-623f-41cd-ab13-6eae70ae08fa">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Geographic and Sector Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; If the Fund invests a significant portion of its total assets in certain issuers within the same state, geographic region or economic sector, an adverse economic, business, political, environmental or other development affecting that state, region or sector may affect the value of the Fund&#x2019;s investments more than if its investments were not so focused.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000009244_InterestRateRiskMember"
      id="ac9d3b01-bcff-4e22-a36e-acc2b7fa05cc">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000009244_LargeShareholderTransactionsRiskMember"
      id="x_92aa5477-cdd5-43f4-a077-a3c1eedca8fb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders&#160;(including financial intermediaries who may make investment decisions on behalf of underlying clients) purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the Fund's NAV and liquidity. Similarly, large Fund share purchases may adversely affect the Fund's performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the Fund's current expenses being allocated over a smaller asset base, leading to an increase in the Fund's expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000009244_LiquidityRiskMember"
      id="x_3c7d03cf-093c-4e64-a5f4-c0e039cf3551">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000009244_MarketRiskMember"
      id="x_70ed684f-fb22-4339-a6a9-b202b8d62e34">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of &#160;individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000009244_MunicipalSecuritiesRiskMember"
      id="x_7e6050e4-7bfe-454d-8b43-96a29ce72946">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Municipal Securities Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Municipal securities are subject to credit/default risk, interest rate risk and certain additional risks. The Fund may be more sensitive to adverse economic, business&#160;or political developments if it invests a substantial portion of its assets in the debt securities of similar projects (such as those relating to education, health care, housing, transportation, and utilities), industrial development bonds, or in particular types of municipal securities (such as general obligation bonds, private activity bonds and moral obligation bonds). The Fund may also invest in municipal securities indirectly (including by investing in tender option bonds). While interest earned on municipal securities is generally not subject to federal tax, any interest earned on taxable municipal securities is fully taxable at the federal level and may be subject to tax at the state level.&#160;Municipal securities may be more susceptible to downgrades or defaults during recessions or similar periods of economic stress. In addition, since some municipal securities may be secured, guaranteed or otherwise supported by banks and other institutions, the risk to the Fund could increase if the banking or financial sector suffers an economic downturn and/or if the credit ratings of the institutions issuing the guarantee or demand feature are downgraded or at risk of being downgraded by a national rating organization. Such a downward revision or risk of being downgraded may have an adverse effect on the market prices of municipal securities and thus cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000009244_StableNAVRiskMember"
      id="x_36d2488c-eec6-425a-8049-127205bb7258">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000009244_TaxRiskMember"
      id="d4de43e0-8fa9-4fb3-b2be-673bd05f8849">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Tax Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Future legislative or administrative changes or court decisions may materially affect the value of the Fund&#x2019;s portfolio holdings and/or the ability of the Fund to pay federal tax-exempt dividends. The Fund would not be a suitable investment within IRAs, other tax-exempt or tax-deferred accounts, or for investors who are not sensitive to the federal tax consequences of their investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000009244_USGovernmentSecuritiesRiskMember"
      id="a516edec-2308-4337-bac9-a46a3cc7a8e7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ClassISharesMember_S000009244"
      id="x_27dc68b3-1f44-4cb9-a877-e06cba334502">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ClassISharesMember_S000009244"
      id="d98b2844-35c6-414a-a449-b8d77baacc8f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class I Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Class I Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ClassISharesMember_S000009244"
      id="d269bb08-18e3-4066-8ec8-5fddd7d67c3c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class I Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Class I Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ClassISharesMember_S000009244"
      id="c2498b84-2603-449f-b68e-4f90c223266b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ClassISharesMember_S000009244"
      id="bc7edf28-8fbc-4727-9652-a5403fabee3b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="ClassISharesMember_S000009244"
      id="dcd0cbe7-1ea9-4f97-a2cb-178f06a640a7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="ClassISharesMember_S000009244"
      id="be720104-20d3-4a97-96af-face89cc0d67">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ClassISharesMember_S000009244"
      id="f2a49810-9440-4bec-976b-8a74462602ef">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.86%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2021&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ClassISharesMember_S000009244_C000025210"
      id="x_83ff165b-6b3b-48c1-a251-5d27b5d5eb31">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ClassISharesMember_S000009244_C000025210"
      decimals="4"
      id="cd5e22ce-4525-48d6-a053-ab52f3e43593"
      unitRef="pure">0.0086</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ClassISharesMember_S000009244_C000025210"
      id="x_4f99a6bf-dabb-4190-bcad-d6e60162d43a">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ClassISharesMember_S000009244_C000025210"
      id="dfc6871e-d9d1-43ca-9fe0-9ded72dd6841">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ClassISharesMember_S000009244_C000025210"
      decimals="4"
      id="x_6b81dff4-bd22-4d32-841e-993f2f5ddaae"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ClassISharesMember_S000009244_C000025210"
      id="f57ec775-6e6b-400c-9f73-5e9b98fe1912">2021-12-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ClassISharesMember_S000009244"
      id="x_1495f9d6-c431-424c-89e7-4f65ab6781bc">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="ClassISharesMember_C000025210_01Jan2025_31Dec2025"
      decimals="4"
      id="dc33d160-768f-483e-8a36-c6d179d5afba"
      unitRef="pure">0.0275</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassISharesMember_C000025210_01Jan2021_31Dec2025"
      decimals="4"
      id="x_78b4f393-49d0-4edb-a199-1867987e5e6e"
      unitRef="pure">0.0201</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassISharesMember_C000025210_01Jan2016_31Dec2025"
      decimals="4"
      id="x_275b4b6e-836b-4d96-961f-3085d1048bc5"
      unitRef="pure">0.0139</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassISharesMember_C000025210"
      id="x_955c099d-4690-4c59-8e25-0dd6e2a1f722">1994-07-19</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="ClassISharesMember_S000086404"
      id="x_113af08a-f8d6-4c00-b3f9-41b908075aaa">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Investor Tax-Exempt California Money Market&#160;Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ClassISharesMember_S000086404"
      id="e1f9f084-b663-4633-b56c-633be925bf7e">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ClassISharesMember_S000086404"
      id="x_57e22f22-9ab1-432b-bbd5-960d50eb3fe3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs Investor Tax-Exempt California Money Market Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing primarily in high quality money market instruments, the interest on which is exempt from federal income tax and California State personal income tax.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ClassISharesMember_S000086404"
      id="cacc37f9-cef1-4bcc-8a9d-1a7426f30fcc">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ClassISharesMember_S000086404"
      id="a82b9862-c971-430c-9202-6d3fc0ca4f7f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="ClassISharesMember_S000086404"
      id="bbee2f57-0d17-43ae-aea2-246c85d4ea43">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassISharesMember_S000086404_C000251959"
      decimals="4"
      id="x_1044789c-1d6b-44e4-9196-24a26cf4757a"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassISharesMember_S000086404_C000251959"
      decimals="4"
      id="x_3e2b54ea-bcd6-4c76-9810-e44f0439b494"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="ClassISharesMember_S000086404_C000251959"
      decimals="4"
      id="x_4d4a6a51-a5c5-4319-bda3-0db5931be3de"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="ClassISharesMember_S000086404_C000251959"
      decimals="4"
      id="x_4f8ce198-e825-454f-a61e-ae84cf21e576"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="ClassISharesMember_S000086404_C000251959"
      decimals="4"
      id="x_1ae35add-51ae-42f3-b737-1e5244b2ee4d"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="ClassISharesMember_S000086404"
      id="x_51d7a268-7f99-4451-b042-a3b9b2d0e546">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ClassISharesMember_S000086404_C000251959"
      decimals="4"
      id="x_0f26109e-1022-41bc-a8d9-b551d0485863"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassISharesMember_S000086404_C000251959"
      decimals="4"
      id="x_6fb226e5-92c9-416c-a195-a0ac8a95f84b"
      unitRef="pure">0.0287</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassISharesMember_S000086404_C000251959"
      decimals="4"
      id="aeed7776-b092-4465-a3af-e7fea852cd57"
      unitRef="pure">0.0303</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassISharesMember_S000086404_C000251959"
      decimals="4"
      id="x_9d044134-a75d-42ce-999b-222ff999c4f8"
      unitRef="pure">-0.0285</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassISharesMember_S000086404_C000251959"
      decimals="4"
      id="cce2c95c-01af-461c-a849-086b3ec7579d"
      unitRef="pure">0.0018</oef:NetExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="ClassISharesMember_S000086404"
      id="fbad8782-fd38-4e80-9ace-7c022d11d25f">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;March 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="ClassISharesMember_S000086404"
      id="f3c18271-6fce-49e5-bb7e-54369cbb23a1">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ClassISharesMember_S000086404"
      id="x_196a1529-6551-486c-ba7d-68387385d38a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Class I Shares of the Fund for the time periods indicated and then redeem all of your Class I Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same&#160;(except that the Example incorporates&#160;any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ClassISharesMember_S000086404_C000251959"
      decimals="INF"
      id="x_5e035d70-88f5-43f8-8036-9253e6c21f29"
      unitRef="USD">18</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassISharesMember_S000086404_C000251959"
      decimals="INF"
      id="x_5bc0bf0c-2386-44db-a05b-9812d52e255c"
      unitRef="USD">666</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassISharesMember_S000086404_C000251959"
      decimals="INF"
      id="x_51aa261c-2cf6-4daf-a936-87644e33f2fc"
      unitRef="USD">1340</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassISharesMember_S000086404_C000251959"
      decimals="INF"
      id="c9422aac-854d-4812-af17-8460bae3d2fe"
      unitRef="USD">3143</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="ClassISharesMember_S000086404"
      id="x_05e0c848-427e-41ee-bc9b-f68f0accf57c">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ClassISharesMember_S000086404"
      id="x_2e066bd0-3ad6-4ef5-997e-18ca866ec776">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing at least 80% of its net assets plus any borrowings for investment purposes (measured at the time of investment) (&#x201c;Net Assets&#x201d;) in securities issued by or on behalf of (i) the State of California, its political subdivisions, agencies, authorities and instrumentalities and (ii) territories and possessions of the United States and their political &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;subdivisions, agencies, authorities and instrumentalities, in each case, the interest from which, if any, is in the opinion of bond counsel excluded from gross income for federal income tax purposes, generally not an item of tax preference under the federal alternative minimum tax (&#x201c;AMT&#x201d;) and exempt from California State personal income tax (&#x201c;California Obligations&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser ordinarily expects the Fund to invest in municipal obligations directly or indirectly (including by investing in tender option bonds), but the Fund may invest in short-term taxable instruments for temporary investment purposes. The Fund may also invest up to 20% of its Net Assets in securities the interest from which is exempt from California State personal income tax, but may be subject to federal income tax and an item of tax preference under the AMT. Such investments include securities issued or guaranteed by the United States or certain U.S. government&#160;agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;retail money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (the &#x201c;Investment Company Act&#x201d;). &#x201c;Retail money market funds&#x201d; are money market funds that have policies and procedures reasonably designed to limit all beneficial owners of the fund to natural persons. As a &#x201c;retail money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity, diversification and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000086404_RiskLoseMoneyMember"
      id="d5c1bf66-a2e7-490c-83f2-8fd0b6948d8a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000086404_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_45baccc8-445b-4479-8c19-689e95c6341c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000086404_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember"
      id="d6f7fc19-8424-490c-86e9-a3c3c75724c8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund may impose a fee upon sale of your shares.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000086404_RiskNotInsuredDepositoryInstitutionMember"
      id="d45eb5a4-73d5-4e11-9444-6c04700f4de1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;bank account or a deposit of a bank and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000086404_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="ba7f70fb-603b-43c5-9393-6eb764666e73">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000086404_CaliforniaRiskMember"
      id="bd4a42a8-65d0-4ecc-b0f4-f7f0e0f56b63">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;California Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund intends to invest primarily in California Obligations. The Fund&#x2019;s investments are, therefore, significantly affected by political and economic developments within this state, and by the financial condition of this state, its political subdivisions, agencies, authorities and instrumentalities. If California or any of its political subdivisions, agencies, authorities or instrumentalities are unable to meet their financial obligations, the Fund&#x2019;s income, NAV, and ability to preserve or realize appreciation of capital or liquidity could be adversely affected. While California&#x2019;s economy is broad and diversified, it does have major concentrations in certain sectors, including technology, manufacturing, entertainment, agriculture, tourism, construction and professional services, and will be disproportionately sensitive to economic problems affecting those sectors. In addition, as a single state money market fund, the Fund is less diversified and is allowed to invest a significantly greater portion of its assets in one issuer as compared to other money market funds. Because of the flexibility to invest a significantly greater portion of its assets in one issuer and the relatively limited number of issuers of California Obligations, the Fund&#x2019;s performance may be disproportionately affected by the success of one or a few issuers than is the performance of a more diversified money market fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000086404_CreditDefaultRiskMember"
      id="ece9c4db-536b-4318-88df-f288fc79a9c5">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund may default on its obligation to pay interest and repay principal or default on any other obligation. This also includes the risk of default on letters of credit, guarantees, demand features or insurance policies that back or otherwise support municipal securities. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000086404_InterestRateRiskMember"
      id="x_1b8bb467-b62d-40a3-9e4d-af28f47bde01">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000086404_LargeShareholderTransactionsRiskMember"
      id="x_39aeb63c-76d4-42e4-8900-6194be625e6b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders&#160;(including financial intermediaries who may make investment decisions on behalf of underlying clients) purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the Fund's NAV and liquidity. Similarly, large Fund share purchases may adversely affect the Fund's performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the Fund's current expenses being allocated over a smaller asset base, leading to an increase in the Fund's expense ratio. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000086404_LiquidityRiskMember"
      id="x_6ee5449f-42f2-4cfd-a88b-c83295413bc4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund's ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000086404_MarketRiskMember"
      id="x_1ddd7702-1899-481a-82fb-78c8dc828a96">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of &#160;individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000086404_MunicipalSecuritiesRiskMember"
      id="x_7e3cd583-128f-4003-ad90-782475c5a08a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Municipal Securities Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Municipal securities are subject to credit/default risk, interest rate risk and certain additional risks. The Fund may be more sensitive to adverse economic, business&#160;or political developments if it invests a substantial portion of its assets in the debt securities of similar projects (such as those relating to education, health care, housing, transportation, and utilities), industrial development bonds, or in particular types of municipal securities (such as general obligation bonds, private activity bonds and moral obligation bonds). The Fund may also invest in municipal securities indirectly (including by investing in tender option bonds). While interest earned on municipal securities is generally not subject to federal tax, any interest earned on taxable municipal securities is fully taxable at the federal level and may be subject to tax at the state level.&#160;Municipal securities may be more susceptible to downgrades or defaults during recessions or similar periods of economic stress. In addition, since some municipal securities may be secured, guaranteed or otherwise supported by banks and other institutions, the risk to the Fund could increase if the banking or financial sector suffers an economic downturn and/or if the credit ratings of the institutions issuing the guarantee or demand feature are downgraded or at risk of being downgraded by a national rating organization. Such a downward revision or risk of being downgraded may have an adverse effect on the market prices of municipal securities and thus cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000086404_StableNAVRiskMember"
      id="x_207fa7cb-25b3-4d2f-9bd4-67c0d42b8f7a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000086404_TaxRiskMember"
      id="x_08c1fd37-c993-435f-8f50-a08dda64d78b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Tax Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Future legislative or administrative changes or court decisions may materially affect the value of the Fund&#x2019;s portfolio holdings and/or the ability of the Fund to pay federal tax-exempt dividends. The Fund would not be a suitable investment within IRAs, other tax-exempt or tax-deferred accounts, or for investors who are not sensitive to the federal tax consequences of their investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000086404_USGovernmentSecuritiesRiskMember"
      id="afa0bba6-a22c-4e92-a18b-d4edad848bfb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ClassISharesMember_S000086404"
      id="x_56d00945-6b4d-4e77-a51c-5a2cf4c1fdfe">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ClassISharesMember_S000086404"
      id="x_7b2770e4-d546-462e-8c42-80f4f82dcf1c">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class I Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Class&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;I Shares.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;. &lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ClassISharesMember_S000086404"
      id="x_5afa3c2a-3d61-4348-81e7-a5a00b954fba">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class I Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Class&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;I Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ClassISharesMember_S000086404"
      id="x_15c64cd7-62ad-47f2-9d3f-566432ee8a36">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ClassISharesMember_S000086404"
      id="ad9e001f-1898-447b-94bc-5428384a8ada">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="ClassISharesMember_S000086404"
      id="a1ed137b-ce11-4677-9a3b-ad3987d3a85e">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="ClassISharesMember_S000086404"
      id="x_883cff49-e357-439d-a658-a300d59788dc">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:113pt;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ClassISharesMember_S000086404"
      id="e14e2d85-aab4-48f9-ad75-0d5f6b8c5ff8">&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.63%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;June 30, 2025&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.53%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;September 30, 2025&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ClassISharesMember_S000086404_C000251959"
      id="x_01ab0bf2-ed75-489a-b015-39aa83626f66">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ClassISharesMember_S000086404_C000251959"
      decimals="4"
      id="x_6dbc0059-f7c5-4e72-834e-3e4187bd9d06"
      unitRef="pure">0.0063</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ClassISharesMember_S000086404_C000251959"
      id="x_7f4c618d-d953-4aeb-beba-b2a945cc12f7">2025-06-30</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ClassISharesMember_S000086404_C000251959"
      id="ead836c7-3166-48af-b728-4cb55cd3e5c0">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ClassISharesMember_S000086404_C000251959"
      decimals="4"
      id="x_17c26a4d-3388-4c68-9721-f922c6729cc4"
      unitRef="pure">0.0053</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ClassISharesMember_S000086404_C000251959"
      id="d9a2ed27-dc24-4001-b29b-7b711fdafe3d">2025-09-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ClassISharesMember_S000086404"
      id="x_2996114e-de29-4411-9dca-cae3ad462ecb">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="ClassISharesMember_C000251959_01Jan2025_31Dec2025"
      decimals="4"
      id="be53b244-2f3b-4a02-935b-ea686d424e32"
      unitRef="pure">0.0231</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassISharesMember_C000251959_10Sep2024_31Dec2025"
      decimals="4"
      id="f237be91-e5f4-49a3-ad6f-6457ff26b083"
      unitRef="pure">0.0240</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassISharesMember_C000251959"
      id="x_6ff2f178-c499-45bb-ba53-8de4f5b8c968">2024-09-10</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="ClassISharesMember_S000086405"
      id="e4fbe4dc-0a7c-4e5a-bd98-eb6cb1755a89">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Investor Tax-Exempt New York&#160;Money Market Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ClassISharesMember_S000086405"
      id="f7154755-473f-4b55-bc59-879e48a5156f">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ClassISharesMember_S000086405"
      id="x_4ecd06e6-6de4-4114-9b28-fe44da8b2841">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs Investor Tax-Exempt New York Money Market Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing primarily in high quality money market instruments, the interest on which is exempt from federal income tax and New York State and New York City personal income taxes.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ClassISharesMember_S000086405"
      id="x_0873c8a0-9a13-487c-b9f9-993d0e8f667f">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ClassISharesMember_S000086405"
      id="e2f1d515-4937-4351-8715-ff85f5d261e8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="ClassISharesMember_S000086405"
      id="x_8070e691-77e1-403f-b3d9-0d66155fcd31">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassISharesMember_S000086405_C000251964"
      decimals="4"
      id="x_8ecd9cb0-ee83-418e-a1ec-83011573d040"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassISharesMember_S000086405_C000251964"
      decimals="4"
      id="x_9076dff6-c7eb-444c-8fa5-919345e85c19"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="ClassISharesMember_S000086405_C000251964"
      decimals="4"
      id="x_3d09eaff-3867-46c8-8657-9ee5ddb0136f"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="ClassISharesMember_S000086405_C000251964"
      decimals="4"
      id="x_3164e25f-c850-4f52-95a7-178dadc1060a"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="ClassISharesMember_S000086405_C000251964"
      decimals="4"
      id="b67c711d-c832-4449-a9e6-74030993590f"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="ClassISharesMember_S000086405"
      id="x_04de298e-5a06-4b74-acf6-df94530ad520">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ClassISharesMember_S000086405_C000251964"
      decimals="4"
      id="x_528c1621-9139-45c0-b3d4-a40955c1e805"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassISharesMember_S000086405_C000251964"
      decimals="4"
      id="x_79cc3987-bb4f-43e0-82e1-9fc8123b3867"
      unitRef="pure">0.0107</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassISharesMember_S000086405_C000251964"
      decimals="4"
      id="dd787681-8c71-4bc0-9bf0-7b6b6932a2df"
      unitRef="pure">0.0123</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassISharesMember_S000086405_C000251964"
      decimals="4"
      id="b0097a05-f4f2-4b76-b6c6-ba4202808bac"
      unitRef="pure">-0.0105</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassISharesMember_S000086405_C000251964"
      decimals="4"
      id="x_884c0431-7f60-4450-a892-8861db1b9082"
      unitRef="pure">0.0018</oef:NetExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="ClassISharesMember_S000086405"
      id="x_7f704407-2301-4198-a6b6-44b28f79c360">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;March 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="ClassISharesMember_S000086405"
      id="c28890f3-5371-49e7-a0c4-2cecad31f5de">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ClassISharesMember_S000086405"
      id="x_13198e69-56f5-4607-be2b-16f55fc0476f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Class I Shares of the Fund for the time periods indicated and then redeem all of your Class I Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same&#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements&#160;for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ClassISharesMember_S000086405_C000251964"
      decimals="INF"
      id="x_6cecd2bc-b29d-4b95-ba9f-fe63f41cf634"
      unitRef="USD">18</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassISharesMember_S000086405_C000251964"
      decimals="INF"
      id="x_581c60dc-fafc-43c4-97f9-a91233e16ede"
      unitRef="USD">286</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassISharesMember_S000086405_C000251964"
      decimals="INF"
      id="x_8d76f9f3-8835-45ec-a931-6c75387745de"
      unitRef="USD">574</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassISharesMember_S000086405_C000251964"
      decimals="INF"
      id="b1106313-cc52-4eb7-adbc-aa87e4ce4935"
      unitRef="USD">1396</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="ClassISharesMember_S000086405"
      id="b64c6998-31f0-4ad1-b67f-4fd9725df197">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ClassISharesMember_S000086405"
      id="x_78f3dd1b-ed5a-4368-bd70-c8d32b70d556">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing at least 80% of its net assets plus any borrowings for investment purposes (measured at the time of investment) (&#x201c;Net Assets&#x201d;) in securities issued by or on behalf of (i) the State of New York, its political subdivisions, agencies, authorities and instrumentalities and (ii) territories and possessions of the United States and their political &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;subdivisions, agencies, authorities and instrumentalities, in each case, the interest from which, if any, is in the opinion of bond counsel excluded from gross income for federal income tax purposes, generally not an item of tax preference under the federal alternative minimum tax (&#x201c;AMT&#x201d;) and exempt from New York State and New York City personal income taxes (&#x201c;New York Obligations&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser ordinarily expects the Fund to invest in municipal obligations directly or indirectly (including by investing in tender option bonds), but the Fund may invest in short-term taxable instruments for temporary investment purposes. The Fund may also invest up to 20% of its Net Assets in securities the interest from which is exempt from New York State and New York City personal income tax, but may be subject to federal income tax and an item of tax preference under the AMT.&#160;Such investments include securities issued or guaranteed by the United States or certain U.S. government&#160;agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;retail money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (the &#x201c;Investment Company Act&#x201d;). &#x201c;Retail money market funds&#x201d; are money market funds that have policies and procedures reasonably designed to limit all beneficial owners of the fund to natural persons. As a &#x201c;retail money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity, diversification and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000086405_RiskLoseMoneyMember"
      id="x_7bf0bee0-7daa-45d8-950e-aa7fc55abbaa">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000086405_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_2506d70a-075d-4de8-972f-15414757ea66">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000086405_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember"
      id="cc327d40-cdfa-49ea-892d-87fe69f68a1e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund may impose a fee upon sale of your shares.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000086405_RiskNotInsuredDepositoryInstitutionMember"
      id="x_20551d4c-330e-4493-82ba-f082d94b3a48">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;bank account or a deposit of a bank and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000086405_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="e261cdb3-1362-4d61-b012-a2e5e3d9789c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000086405_CreditDefaultRiskMember"
      id="x_22e52a1e-07b3-419e-86a6-6108fe1a8c82">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund may default on its obligation to pay interest and repay principal or default on any other obligation. This also includes the risk of default on letters of credit, guarantees, demand features or insurance policies that back or otherwise support municipal securities. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000086405_InterestRateRiskMember"
      id="d0072af3-5daa-4a04-832a-4663e8fbec93">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000086405_LargeShareholderTransactionsRiskMember"
      id="x_91b13e39-a4db-462a-a38a-37cb9f9ad16f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders&#160;(including financial intermediaries who may make investment decisions on behalf of underlying clients) purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the Fund's NAV and liquidity. Similarly, large Fund share purchases may adversely affect the Fund's performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the Fund's current expenses being allocated over a smaller asset base, leading to an increase in the Fund's expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000086405_LiquidityRiskMember"
      id="x_94a0ff66-0ed3-4294-bda0-18838b8bafec">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund's ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000086405_MarketRiskMember"
      id="ca856319-b18f-4394-9259-8271f354dc99">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of &#160;individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000086405_MunicipalSecuritiesRiskMember"
      id="d9f24415-fa7c-4440-b1ad-374bc288b445">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Municipal Securities Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Municipal securities are subject to credit/default risk, interest rate risk and certain additional risks. The Fund may be more sensitive to adverse economic, business&#160;or political developments if it invests a substantial portion of its assets in the debt securities of similar projects (such as those relating to education, health care, housing, transportation, and utilities), industrial development bonds, or in particular types of municipal securities (such as general obligation bonds, private activity bonds and moral obligation bonds). The Fund may also invest in municipal securities indirectly (including by investing in tender option bonds). While interest earned on municipal securities is generally not subject to federal tax, any interest earned on taxable municipal securities is fully taxable at the federal level and may be subject to tax at the state level.&#160;Municipal securities may be more susceptible to downgrades or defaults during recessions or similar periods of economic stress. In addition, since some municipal securities may be secured, guaranteed or otherwise supported by banks and other institutions, the risk to the Fund could increase if the banking or financial sector suffers an economic downturn and/or if the credit ratings of the institutions issuing the guarantee or demand feature are downgraded or at risk of being downgraded by a national rating organization. Such a downward revision or risk of being downgraded may have an adverse effect on the market prices of municipal securities and thus cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000086405_NewYorkRiskMember"
      id="x_9953dd7b-ad75-4588-9a9a-8b36ad438d8d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;New York Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund intends to invest primarily in New York Obligations. The Fund&#x2019;s investments are, therefore, significantly affected by political and economic developments within this state, and by the financial condition of this state, its political subdivisions, agencies, authorities and instrumentalities. If New York or any of its political subdivisions, agencies, authorities or instrumentalities are unable to meet their financial obligations, the Fund&#x2019;s income, NAV, and ability to preserve or realize appreciation of capital or liquidity could be adversely affected. As the nation&#x2019;s financial capital, the economies of New York State and New York City are heavily dependent on the financial sector and will be disproportionately sensitive to economic problems affecting the sector. In addition, as a single state money market fund, the Fund is less diversified and is allowed to invest a significantly greater portion of its assets in one issuer as compared to other money market funds. Because of the flexibility to invest a significantly greater portion of its assets in one issuer and the relatively limited number of issuers of New York Obligations, the Fund&#x2019;s performance may be disproportionately affected by the success of one or a few issuers than is the performance of a more diversified money market fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000086405_StableNAVRiskMember"
      id="x_3d72fd64-bfb8-44db-9677-39b7bd85d685">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000086405_TaxRiskMember"
      id="x_74db8d00-1bb1-4f5d-9416-64c6fdb85a63">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Tax Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Future legislative or administrative changes or court decisions may materially affect the value of the Fund&#x2019;s portfolio holdings and/or the ability of the Fund to pay federal tax-exempt dividends. The Fund would not be a suitable investment within IRAs, other tax-exempt or tax-deferred accounts, or for investors who are not sensitive to the federal tax consequences of their investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassISharesMember_S000086405_USGovernmentSecuritiesRiskMember"
      id="x_4e245511-59bc-45e0-b209-0c66dc64fd70">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ClassISharesMember_S000086405"
      id="x_814a2756-5ffe-451d-b0b8-8e3695ae435c">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ClassISharesMember_S000086405"
      id="x_1dd24789-703a-46d6-9dd7-4ddb4b169ab4">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class I Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Class&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;I Shares.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;. &lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ClassISharesMember_S000086405"
      id="cb19e988-b00a-4822-ba3a-458e984556f0">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class I Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Class&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;I Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ClassISharesMember_S000086405"
      id="x_9c8423d4-97f2-455f-baad-be5879cf670b">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ClassISharesMember_S000086405"
      id="x_9e589b40-0492-4640-a947-5dcf650fcb3a">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="ClassISharesMember_S000086405"
      id="x_297ea15d-1685-4cc1-aff3-2b31ebd78fbc">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="ClassISharesMember_S000086405"
      id="x_4ee756f0-6f0b-4a43-8ee2-3227a6f7da16">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:113pt;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ClassISharesMember_S000086405"
      id="x_2f1056d7-8a02-478f-b9c9-f11c8e872cd5">&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.70%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;June 30, 2025&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.63%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2025&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ClassISharesMember_S000086405_C000251964"
      id="x_0ed861a3-9af1-4cee-b297-d7222f6fe414">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ClassISharesMember_S000086405_C000251964"
      decimals="4"
      id="x_3577eeb8-9c0d-474e-8ed8-22231ddb321e"
      unitRef="pure">0.0070</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ClassISharesMember_S000086405_C000251964"
      id="x_9024931c-dbb1-4620-94a0-f7e6323d0555">2025-06-30</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ClassISharesMember_S000086405_C000251964"
      id="df0ce4fd-9fc8-4095-9022-c77de327877c">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ClassISharesMember_S000086405_C000251964"
      decimals="4"
      id="aef11e82-5aeb-4cc9-a9ed-d07a83a72eb4"
      unitRef="pure">0.0063</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ClassISharesMember_S000086405_C000251964"
      id="x_5d7dda2d-f90a-4443-8b5a-b50ad0805e4f">2025-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ClassISharesMember_S000086405"
      id="x_1d13f6cb-349b-4761-9a69-93caa4764271">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="ClassISharesMember_C000251964_01Jan2025_31Dec2025"
      decimals="4"
      id="x_20cecce9-d839-4da6-8bb2-6a1ac4e7cdc5"
      unitRef="pure">0.0268</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassISharesMember_C000251964_10Sep2024_31Dec2025"
      decimals="4"
      id="c84eb0dd-1a2d-4850-94ee-d60d77109563"
      unitRef="pure">0.0277</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassISharesMember_C000251964"
      id="x_11a91a10-471c-40f0-8151-3d2f39a9bca4">2024-09-10</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="CapitalSharesMember_S000009260"
      id="fe9e8105-0dbd-482c-a07a-26ca62e57e6e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Treasury Obligations Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="CapitalSharesMember_S000009260"
      id="bf3f48c1-a885-4e7f-8dd7-056321ae8b6e">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="CapitalSharesMember_S000009260"
      id="f664e71a-446f-4cd5-8808-d1f24a35eeba">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Treasury Obligations Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="CapitalSharesMember_S000009260"
      id="x_93db5ef1-1089-4f5d-af45-add5a775deb0">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="CapitalSharesMember_S000009260"
      id="x_1897ba5a-1443-49e6-8188-c81b53f30eef">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="CapitalSharesMember_S000009260"
      id="x_4fe625bb-22f9-462c-a167-dc21f30a07fa">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="CapitalSharesMember_S000009260_C000025307"
      decimals="4"
      id="x_090eefab-bc3f-47ad-aae9-54e0429e2680"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="CapitalSharesMember_S000009260_C000025307"
      decimals="4"
      id="x_82181574-dea4-49db-a252-c9db790080b9"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="CapitalSharesMember_S000009260_C000025307"
      decimals="4"
      id="e3a85f9a-4d60-4267-8a18-01553c1ed1d6"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="CapitalSharesMember_S000009260_C000025307"
      decimals="4"
      id="x_16eeac85-b81c-4d0f-98dc-eb85c273d21d"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="CapitalSharesMember_S000009260_C000025307"
      decimals="4"
      id="x_2c3ddf11-f199-4223-9fc9-0503ad48fc51"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="CapitalSharesMember_S000009260"
      id="b564ef5f-2608-4bff-95c5-4842fc095180">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="CapitalSharesMember_S000009260_C000025307"
      decimals="4"
      id="x_6536a5b7-9663-4957-a7bb-0f6ac0502301"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="CapitalSharesMember_S000009260_C000025307"
      decimals="4"
      id="a07de1ba-5e84-4470-8e33-c942b78d17eb"
      unitRef="pure">0.0017</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="CapitalSharesMember_S000009260_C000025307"
      decimals="4"
      id="acea7690-a5cd-4321-823c-bc3ddbb472c2"
      unitRef="pure">0.0015</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="CapitalSharesMember_S000009260_C000025307"
      decimals="4"
      id="x_26722d25-ccf4-4347-b945-4c542f2634ec"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="CapitalSharesMember_S000009260_C000025307"
      decimals="4"
      id="x_1bf45861-0cc3-44ca-948f-63c70cba1224"
      unitRef="pure">0.0035</oef:ExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="CapitalSharesMember_S000009260"
      id="x_2b74a848-368c-4128-b8ab-8aa232f6f645">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="CapitalSharesMember_S000009260"
      id="x_6880a565-599d-4da2-b03f-22b796563e57">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Capital Shares of the Fund for the time periods indicated and then redeem all of your Capital Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="CapitalSharesMember_S000009260_C000025307"
      decimals="INF"
      id="ed367d2b-d935-49be-b0a5-d21d693200f0"
      unitRef="USD">36</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="CapitalSharesMember_S000009260_C000025307"
      decimals="INF"
      id="x_1a765cd8-599f-4bc9-9031-d2034e7236ac"
      unitRef="USD">113</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="CapitalSharesMember_S000009260_C000025307"
      decimals="INF"
      id="x_4fdceb48-5789-4d3e-95a1-de41394134cc"
      unitRef="USD">197</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="CapitalSharesMember_S000009260_C000025307"
      decimals="INF"
      id="f093d668-3247-46a1-9e9b-384294f0d199"
      unitRef="USD">443</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="CapitalSharesMember_S000009260"
      id="x_881e808e-a743-4c6a-94d7-337d784e747e">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="CapitalSharesMember_S000009260"
      id="x_79963282-5c0d-4829-bd3f-bf126aa859e5">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in U.S. Treasury Obligations, which include securities issued or guaranteed&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;by the U.S. Treasury where the payment of principal and interest is backed by the full faith and credit of the U.S. government (&#x201c;U.S. Treasury Obligations&#x201d;), and repurchase agreements collateralized by U.S. Treasury Obligations. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;). &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;), and/or repurchase agreements that are collateralized fully by &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;cash or U.S. Government Securities. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009260_RiskLoseMoneyMember"
      id="f68765ea-e0d6-427b-9e1d-afbf480d88ea">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009260_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_6985ef43-360f-46ba-98bd-f4474ce3b029">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009260_RiskNotInsuredDepositoryInstitutionMember"
      id="x_9aac26d4-1b81-40e5-8fdb-44382702ea15">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009260_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_5587b439-d95d-434e-b259-3d251a23723a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009260_CreditDefaultRiskMember"
      id="x_06082975-ea48-49ff-9769-dc3cbc71e201">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009260_InterestRateRiskMember"
      id="x_3f3addaa-d868-43c4-ae82-d00684b7fa1f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009260_LargeShareholderTransactionsRiskMember"
      id="f5b32eb4-a9b0-452c-aebb-9c961c54afa7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009260_LiquidityRiskMember"
      id="f5ed6965-4179-4615-85a6-641588f0745b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009260_MarketRiskMember"
      id="x_107943a1-6ff8-4cd6-bf4a-3d022c80b350">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009260_StableNAVRiskMember"
      id="x_5fc4948b-eda3-4602-b241-c508f1adea94">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="CapitalSharesMember_S000009260"
      id="c92c929a-aa13-4e24-b466-097e0b98a43e">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="CapitalSharesMember_S000009260"
      id="x_885a20ea-83f6-4f07-a575-bb82124644fc">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Capital Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Capital Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="CapitalSharesMember_S000009260"
      id="x_7474ac87-e50b-4a2a-a6cd-3b650ca61631">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Capital Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Capital Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="CapitalSharesMember_S000009260"
      id="bcc66eb9-7ca4-44ca-9153-bd237262e6ef">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="CapitalSharesMember_S000009260"
      id="ae7aeac2-1c99-4008-a195-473b6a2d9f88">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="CapitalSharesMember_S000009260"
      id="x_1c132877-ee44-4b5d-b916-dfc512fc3533">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="CapitalSharesMember_S000009260"
      id="aad88663-70f4-417b-989d-be5677a0e641">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="CapitalSharesMember_S000009260"
      id="ff63fa54-329c-444e-93a9-7fcb7b43f332">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.29%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;September 30, 2021&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="CapitalSharesMember_S000009260_C000025307"
      id="c55b4cbd-26bc-4459-a87d-a878f79560b5">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="CapitalSharesMember_S000009260_C000025307"
      decimals="4"
      id="x_3dddbdb2-d13f-4544-a487-7e667fc8e114"
      unitRef="pure">0.0129</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="CapitalSharesMember_S000009260_C000025307"
      id="x_80f23ecb-4d0b-446d-8998-b3207e2931c4">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="CapitalSharesMember_S000009260_C000025307"
      id="x_7485cdf9-e843-45fc-9c85-132024cfbfe5">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="CapitalSharesMember_S000009260_C000025307"
      decimals="4"
      id="x_425e670f-e9a8-4156-98c0-fd278630cd9a"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="CapitalSharesMember_S000009260_C000025307"
      id="x_56980fd5-9900-403a-a87f-4804a74dca72">2021-09-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="CapitalSharesMember_S000009260"
      id="x_12cc80bc-1c1f-463d-a7fa-d5bb95a68460">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="CapitalSharesMember_C000025307_01Jan2025_31Dec2025"
      decimals="4"
      id="e8f5eded-d3e1-4e74-8921-839af05dfe21"
      unitRef="pure">0.0402</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="CapitalSharesMember_C000025307_01Jan2021_31Dec2025"
      decimals="4"
      id="x_2ce1f884-1001-4c0c-aa41-1ae545320997"
      unitRef="pure">0.0305</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="CapitalSharesMember_C000025307_01Jan2016_31Dec2025"
      decimals="4"
      id="x_1b087dd7-59a2-4279-b6ba-d0b27d0263cf"
      unitRef="pure">0.0196</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="CapitalSharesMember_C000025307"
      id="x_2212bd5d-3476-4e11-a0a4-8e529c6aae25">2002-08-12</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="CapitalSharesMember_S000009261"
      id="x_110fdfb6-5f92-4826-bc5c-71f7e937cb6f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square&#160;Treasury Instruments Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="CapitalSharesMember_S000009261"
      id="x_7f561e00-65ec-4cb6-a92e-0eb70590eaf7">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="CapitalSharesMember_S000009261"
      id="x_69865501-149e-461a-9b25-f06f52adbb16">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square&#160;Treasury Instruments Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="CapitalSharesMember_S000009261"
      id="b8aedb4d-0f0a-40fe-af43-aa40c1f93f57">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="CapitalSharesMember_S000009261"
      id="d637643c-0c06-4623-b30c-7c4ca84bbc3b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="CapitalSharesMember_S000009261"
      id="x_762939d9-7f4e-4bd7-a241-f9b5914e872e">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="CapitalSharesMember_S000009261_C000025314"
      decimals="4"
      id="x_73ee3f41-2e86-4378-8161-c9bfd0b3d141"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="CapitalSharesMember_S000009261_C000025314"
      decimals="4"
      id="x_9c430056-18ac-405d-9874-6fc818203718"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="CapitalSharesMember_S000009261_C000025314"
      decimals="4"
      id="x_01d7e71b-7645-420a-a84f-3da413727a57"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="CapitalSharesMember_S000009261_C000025314"
      decimals="4"
      id="x_007d6a4d-0e7b-4199-8bd1-8d7f499a5a47"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="CapitalSharesMember_S000009261_C000025314"
      decimals="4"
      id="x_602185ba-83b8-4e87-8010-55dc5cf32937"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="CapitalSharesMember_S000009261"
      id="x_35d4c08f-63d9-4d92-985c-a9da69e7471c">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="CapitalSharesMember_S000009261_C000025314"
      decimals="4"
      id="d6d99921-b3a6-4405-b0d9-0fe75ed2ae05"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="CapitalSharesMember_S000009261_C000025314"
      decimals="4"
      id="x_8b02481d-5d29-42b2-a2e6-26062434c12d"
      unitRef="pure">0.0017</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="CapitalSharesMember_S000009261_C000025314"
      decimals="4"
      id="x_158d74b3-13c6-46d3-aa42-501c8771f5fd"
      unitRef="pure">0.0015</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="CapitalSharesMember_S000009261_C000025314"
      decimals="4"
      id="x_72a33ce0-a04b-47a9-bcf3-fe3366a6ed5b"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="CapitalSharesMember_S000009261_C000025314"
      decimals="4"
      id="x_7e4f5823-6825-4d70-a833-1272365735ae"
      unitRef="pure">0.0035</oef:ExpensesOverAssets>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="CapitalSharesMember_S000009261"
      id="f882a481-576b-4d80-ad38-37fc07ebfbd0">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.&lt;/span&gt;</oef:ExpensesRestatedToReflectCurrent>
    <oef:ExpenseExampleHeading
      contextRef="CapitalSharesMember_S000009261"
      id="x_102204cd-9301-4538-95ff-f768ff00a166">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="CapitalSharesMember_S000009261"
      id="a6b34a25-03fe-4ab8-aa0e-dfdfd0ba5476">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Capital Shares of the Fund for the time periods indicated and then redeem all of your Capital Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="CapitalSharesMember_S000009261_C000025314"
      decimals="INF"
      id="x_7822d046-7812-47e4-9fd6-dc8ef1b43a8f"
      unitRef="USD">36</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="CapitalSharesMember_S000009261_C000025314"
      decimals="INF"
      id="x_8306f768-8fe3-4aa5-a9e5-1de06ec9cdeb"
      unitRef="USD">113</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="CapitalSharesMember_S000009261_C000025314"
      decimals="INF"
      id="x_41d84dac-7146-41b3-a715-c443e51844c3"
      unitRef="USD">197</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="CapitalSharesMember_S000009261_C000025314"
      decimals="INF"
      id="x_215ce5d9-d0a0-415a-8d5a-aa71a2633b78"
      unitRef="USD">443</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="CapitalSharesMember_S000009261"
      id="x_1fc37343-5155-4484-bc57-b8f20e2326f8">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="CapitalSharesMember_S000009261"
      id="x_121bda2b-49b1-4ed3-b2f3-cf8d03faeda0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in U.S. Treasury Obligations, which include securities issued or guaranteed by the U.S. Treasury where the payment of principal and interest is backed by the full faith and credit of the U.S. government (&#x201c;U.S. Treasury Obligations&#x201d;), the interest from which is generally exempt from state income taxation. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;). &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash and securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). Although &#x201c;government money market funds&#x201d; may also &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;invest in repurchase agreements that are collateralized fully by cash or U.S. Government Securities, the Fund may not invest in repurchase agreements. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009261_RiskLoseMoneyMember"
      id="ec7c6142-15a4-40bd-b76c-56c96bd0bb61">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009261_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_8fc3cfd1-78d2-4588-a8da-f0b7832bb732">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009261_RiskNotInsuredDepositoryInstitutionMember"
      id="x_48d26cdf-4100-49f6-9e05-99d4ef512913">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009261_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="f15a5bf9-6ddc-41f1-b360-55336d3f6f1f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009261_CreditDefaultRiskMember"
      id="x_66a0e56b-d9f0-444a-985e-cbc9afcea7f7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009261_InterestRateRiskMember"
      id="x_3a89f7c8-6061-402b-8783-e6faffded959">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009261_LargeShareholderTransactionsRiskMember"
      id="x_1a4df7fd-6196-4b41-a76f-1f1576433e86">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009261_LiquidityRiskMember"
      id="x_2d786edb-2ccb-44a0-a990-b565dbd1dc04">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009261_MarketRiskMember"
      id="x_360ddf6b-f1dc-41b2-b552-b5133b5667aa">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009261_StableNAVRiskMember"
      id="ef6e567b-c66b-4043-b21d-dc113d0e5e73">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="CapitalSharesMember_S000009261"
      id="x_70231d23-c7bb-4c4d-9d03-fe4fabb8cb8a">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="CapitalSharesMember_S000009261"
      id="c23d6940-38ae-48eb-8b33-5be64b508541">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Capital Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Capital Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="CapitalSharesMember_S000009261"
      id="x_172a9c09-8bd8-468e-bf54-80f48b9558b3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Capital Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Capital Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="CapitalSharesMember_S000009261"
      id="x_1e6cf49c-ee63-4fb7-abee-cc3b3bb187f7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="CapitalSharesMember_S000009261"
      id="x_8af7a4f1-80a2-4a76-8147-f717b7c12b9a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="CapitalSharesMember_S000009261"
      id="x_8af22878-612a-401e-bb4d-a52f9fed737e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="CapitalSharesMember_S000009261"
      id="x_848ee5ec-988e-4719-83ee-06b19c10440c">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="CapitalSharesMember_S000009261"
      id="x_2b08c488-e37f-48cf-8a40-99f00ff27375">&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.29%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;September 30, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="CapitalSharesMember_S000009261_C000025314"
      id="fb813749-ff82-418c-8cb8-4007c8cb1ba3">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="CapitalSharesMember_S000009261_C000025314"
      decimals="4"
      id="e88cd0ad-b979-47aa-8bb7-0f3f7fcb04dd"
      unitRef="pure">0.0129</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="CapitalSharesMember_S000009261_C000025314"
      id="x_7d4422b7-8f93-4ab6-b96d-398bf6f73a68">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="CapitalSharesMember_S000009261_C000025314"
      id="x_4d244060-e100-42e7-8e47-feaa1c3a2411">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="CapitalSharesMember_S000009261_C000025314"
      decimals="4"
      id="x_603ce5bc-be9d-4d47-a456-7b5191fb9e86"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="CapitalSharesMember_S000009261_C000025314"
      id="x_4d5fbe55-93d3-4482-b46c-cb845dcb056f">2020-09-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="CapitalSharesMember_S000009261"
      id="x_50174eeb-004e-4771-8e33-0bfec1ff3f18">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="CapitalSharesMember_C000025314_01Jan2025_31Dec2025"
      decimals="4"
      id="x_68dd2d8d-f75b-4e49-80ee-60b7ba0f6883"
      unitRef="pure">0.0399</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="CapitalSharesMember_C000025314_01Jan2021_31Dec2025"
      decimals="4"
      id="x_92f10cf2-0f4a-4a28-8712-f1b27634d7fd"
      unitRef="pure">0.0300</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="CapitalSharesMember_C000025314_01Jan2016_31Dec2025"
      decimals="4"
      id="x_68fd2332-1696-4909-b19a-eb1c8050cdf3"
      unitRef="pure">0.0193</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="CapitalSharesMember_C000025314"
      id="x_0586fdbc-b01e-432b-8cf7-55edbd8b7a01">2002-08-12</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="CapitalSharesMember_S000009243"
      id="x_8b43a2b7-52fe-43b3-9d62-ce17cf72cab2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Treasury Solutions Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="CapitalSharesMember_S000009243"
      id="eb8905e2-7749-4baf-8b15-53c599b3333e">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="CapitalSharesMember_S000009243"
      id="b16861bd-3110-45e6-adeb-29c8ebbf82c2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Treasury Solutions Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="CapitalSharesMember_S000009243"
      id="x_76a92cd4-5d92-485b-afb1-dbc07b5531b6">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="CapitalSharesMember_S000009243"
      id="bc42a831-2e82-4b4a-9c25-0609ed073ebc">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="CapitalSharesMember_S000009243"
      id="b6ab785c-c0f2-4c41-af66-e9ca9eb38228">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="CapitalSharesMember_S000009243_C000025208"
      decimals="4"
      id="e8c771c1-1b5e-4704-b245-b27fc2ae199a"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="CapitalSharesMember_S000009243_C000025208"
      decimals="4"
      id="f39dffef-c234-4abb-aefb-7ffbf1cadd8f"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="CapitalSharesMember_S000009243_C000025208"
      decimals="4"
      id="e5fe0085-cdb8-4b1c-9efc-c7146b7fc73a"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="CapitalSharesMember_S000009243_C000025208"
      decimals="4"
      id="x_9d3f0fce-0b2b-4b63-9fe0-2757546d7fce"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="CapitalSharesMember_S000009243_C000025208"
      decimals="4"
      id="x_41e31469-2417-4a48-bdc8-b438ff327b5e"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="CapitalSharesMember_S000009243"
      id="c8cfa582-5c42-48ea-b72f-2d22530b00e1">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="CapitalSharesMember_S000009243_C000025208"
      decimals="4"
      id="x_84eafa96-ce34-4d7b-823f-f876737cb3cd"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="CapitalSharesMember_S000009243_C000025208"
      decimals="4"
      id="ea85fc21-1068-41a7-a51b-2ac8b7f59e00"
      unitRef="pure">0.0017</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="CapitalSharesMember_S000009243_C000025208"
      decimals="4"
      id="e213b391-6462-4081-b57f-218b8a8e6ad3"
      unitRef="pure">0.0015</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="CapitalSharesMember_S000009243_C000025208"
      decimals="4"
      id="x_704b1d63-09c8-4618-93a1-0e93a7fbca4b"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="CapitalSharesMember_S000009243_C000025208"
      decimals="4"
      id="x_4d937cc3-658a-4dfb-8875-fc80bfabe5cd"
      unitRef="pure">0.0035</oef:ExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="CapitalSharesMember_S000009243"
      id="x_4053c67b-e45a-41aa-9c8d-50f8c46e57cb">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="CapitalSharesMember_S000009243"
      id="x_87149a5e-2735-4f31-bebb-d10ddabf17cb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Capital Shares of the Fund for the time periods indicated and then redeem all of your Capital Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="CapitalSharesMember_S000009243_C000025208"
      decimals="INF"
      id="x_6abdfa54-91bc-40b5-9098-046590a384fd"
      unitRef="USD">36</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="CapitalSharesMember_S000009243_C000025208"
      decimals="INF"
      id="af2c2ce5-b788-40d7-b214-56d111cdfd6e"
      unitRef="USD">113</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="CapitalSharesMember_S000009243_C000025208"
      decimals="INF"
      id="x_1f9b76e8-fa27-48b1-bc0b-191d00c75f1a"
      unitRef="USD">197</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="CapitalSharesMember_S000009243_C000025208"
      decimals="INF"
      id="d54a6fb2-e5cf-445f-aaae-d3717a16c429"
      unitRef="USD">443</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="CapitalSharesMember_S000009243"
      id="x_6e38abb0-6afd-4426-91bf-1d99165f6bc8">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="CapitalSharesMember_S000009243"
      id="ecd9e89b-aa5e-4963-9f0e-bdded5bda737">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in U.S. Treasury Obligations, which include securities issued or guaranteed&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;by the U.S. Treasury where the payment of principal and interest is backed by the full faith and credit of the U.S. government (&#x201c;U.S. Treasury Obligations&#x201d;), and repurchase agreements with the Federal Reserve Bank of New York collateralized by U.S. Treasury Obligations. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;). &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;), and/or repurchase agreements that are collateralized fully by &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;cash or U.S. Government Securities. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009243_RiskLoseMoneyMember"
      id="x_587e4ec7-0495-4dde-97f4-71a9d1ed1913">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009243_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="fd329534-dfbc-4b44-8fa9-b20b55a8b54b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009243_RiskNotInsuredDepositoryInstitutionMember"
      id="x_6b5e92fa-2603-4977-b98d-3047e040ff73">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009243_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="a409ff98-0416-4160-9858-f5238a19928a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009243_CreditDefaultRiskMember"
      id="x_81d8f464-b49b-495c-86bb-14fc9e286a17">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009243_InterestRateRiskMember"
      id="d06f0b1e-0bdb-4bfe-803d-897fd8e5191e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009243_LargeShareholderTransactionsRiskMember"
      id="x_84d6891d-328b-4a47-a201-0f6dd7a2eb4f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009243_LiquidityRiskMember"
      id="x_431dc7ff-6716-490d-aabf-a5b40133f25d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009243_MarketRiskMember"
      id="bdf0f43b-8562-49a8-88d6-3d1460d35df0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009243_StableNAVRiskMember"
      id="x_88bc8be0-3d5c-4db1-b5d7-884ce00b0ad7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="CapitalSharesMember_S000009243"
      id="x_9612cb2d-b9fa-4cef-9179-9caf69922fa0">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="CapitalSharesMember_S000009243"
      id="c75f5897-08a3-49ec-8b21-c7e9acab0159">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Capital Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Capital Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="CapitalSharesMember_S000009243"
      id="eddac8d7-2a3d-4605-948c-9ebd18586d04">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Capital Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Capital Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="CapitalSharesMember_S000009243"
      id="ea17555b-6b62-4535-a9c6-efb43a60891c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="CapitalSharesMember_S000009243"
      id="a112ea70-6543-4f54-85bc-6dcade298a75">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="CapitalSharesMember_S000009243"
      id="x_69c83083-a5ce-484c-bcac-3e5651edb9ce">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="CapitalSharesMember_S000009243"
      id="baeaf128-90cd-4ac8-9420-52341869f208">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="CapitalSharesMember_S000009243"
      id="c22ec361-70a7-4807-8f7a-754a37bd2df1">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.29%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;September 30, 2021&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="CapitalSharesMember_S000009243_C000025208"
      id="x_188de6ae-b9a7-442f-b96f-d9fedbe582be">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="CapitalSharesMember_S000009243_C000025208"
      decimals="4"
      id="x_04d0f348-b81e-41fa-9909-478ec1975f40"
      unitRef="pure">0.0129</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="CapitalSharesMember_S000009243_C000025208"
      id="x_510e868f-b737-4628-ab67-54c9821846f7">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="CapitalSharesMember_S000009243_C000025208"
      id="x_38ff2396-9eea-42af-8ae7-9f9be097b209">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="CapitalSharesMember_S000009243_C000025208"
      decimals="4"
      id="x_14a4501e-2f76-4d05-bec0-2a05f93adcb7"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="CapitalSharesMember_S000009243_C000025208"
      id="x_25e37922-31ff-4769-9a94-bddbbb026cf7">2021-09-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="CapitalSharesMember_S000009243"
      id="x_31061180-5f1a-424c-a5b4-08c5398b998a">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="CapitalSharesMember_C000025208_01Jan2025_31Dec2025"
      decimals="4"
      id="bbfd1465-8180-4e4f-adf0-06464e987c0c"
      unitRef="pure">0.0399</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="CapitalSharesMember_C000025208_01Jan2021_31Dec2025"
      decimals="4"
      id="c066b708-da38-441d-81fa-dac344c58e0d"
      unitRef="pure">0.0304</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="CapitalSharesMember_C000025208_01Jan2016_31Dec2025"
      decimals="4"
      id="afb830e0-d114-497d-aa5f-c67b0a5ba1a4"
      unitRef="pure">0.0195</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="CapitalSharesMember_C000025208"
      id="d3f08902-8cff-4116-8247-cb677b26a431">2002-08-12</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="CapitalSharesMember_S000009242"
      id="x_6ffd6f7c-bcc0-42d7-859b-b8c75d75be3d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Government Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="CapitalSharesMember_S000009242"
      id="a69a9794-76c6-40ff-b326-ea29a6c9142a">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="CapitalSharesMember_S000009242"
      id="x_8a7765b6-0f82-45e9-8b72-06c8518ba692">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Government Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="CapitalSharesMember_S000009242"
      id="f62c8d08-d9d6-443c-b31b-4b0f80f54cbe">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="CapitalSharesMember_S000009242"
      id="a3ae232e-6d39-4d89-8fa5-bca1d26c424b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="CapitalSharesMember_S000009242"
      id="x_31205895-3dde-432d-8ff4-4bc5163db014">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="CapitalSharesMember_S000009242_C000025201"
      decimals="4"
      id="bbb7c1ea-1f80-4e2f-af8a-f83812cc2015"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="CapitalSharesMember_S000009242_C000025201"
      decimals="4"
      id="x_9bc13b29-f4b2-4cd4-a930-1415252b34a6"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="CapitalSharesMember_S000009242_C000025201"
      decimals="4"
      id="x_81a9a52c-7e5b-4363-8d15-596a686473c4"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="CapitalSharesMember_S000009242_C000025201"
      decimals="4"
      id="afaedd0c-9811-4b1d-87e1-0cd8fc246bbe"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="CapitalSharesMember_S000009242_C000025201"
      decimals="4"
      id="x_7028d7d2-7a4e-44c1-b36f-92e01d733862"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="CapitalSharesMember_S000009242"
      id="x_75b49cc0-6bf8-432d-bc8d-36a12a6e6410">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="CapitalSharesMember_S000009242_C000025201"
      decimals="4"
      id="x_4d3f0f5b-b650-4463-abad-8f8030d01ce6"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="CapitalSharesMember_S000009242_C000025201"
      decimals="4"
      id="x_805283e6-900e-4f18-a4da-06b82e6fcf47"
      unitRef="pure">0.0017</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="CapitalSharesMember_S000009242_C000025201"
      decimals="4"
      id="x_33fd15fe-8c46-467f-866e-4d6440a7a944"
      unitRef="pure">0.0015</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="CapitalSharesMember_S000009242_C000025201"
      decimals="4"
      id="x_92a277e8-3634-447a-8e2b-425ec026c456"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="CapitalSharesMember_S000009242_C000025201"
      decimals="4"
      id="c979b4c8-51da-49dc-9374-bfac90a3f408"
      unitRef="pure">0.0033</oef:ExpensesOverAssets>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="CapitalSharesMember_S000009242"
      id="c1642f90-b9eb-43ea-a852-beeae3a022a4">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.&lt;/span&gt;</oef:ExpensesRestatedToReflectCurrent>
    <oef:ExpenseExampleHeading
      contextRef="CapitalSharesMember_S000009242"
      id="x_0f58865a-f17d-4c2e-ad10-11f9f92e1225">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="CapitalSharesMember_S000009242"
      id="x_078b8b24-09f2-40d0-a785-fd5d39ee1ac7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Capital Shares of the Fund for the time periods indicated and then redeem all of your Capital Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="CapitalSharesMember_S000009242_C000025201"
      decimals="INF"
      id="x_8242113d-6043-44cc-bf55-4deea29700ed"
      unitRef="USD">34</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="CapitalSharesMember_S000009242_C000025201"
      decimals="INF"
      id="cd3c1806-465f-4544-b842-7488aa0811b8"
      unitRef="USD">106</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="CapitalSharesMember_S000009242_C000025201"
      decimals="INF"
      id="b3c3a9c3-60b5-4e94-9bc6-c4c2fbcffde6"
      unitRef="USD">185</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="CapitalSharesMember_S000009242_C000025201"
      decimals="INF"
      id="x_6376a3d9-f9af-4560-bcbf-60b2d4f843cb"
      unitRef="USD">418</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="CapitalSharesMember_S000009242"
      id="x_8eb186c7-e9a9-4581-a198-e36512033dbf">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="CapitalSharesMember_S000009242"
      id="x_6b5fc8de-51e0-4c97-a7d6-f871624b06f5">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in &#x201c;government securities,&#x201d; as such term is defined in or interpreted under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;), and repurchase agreements collateralized by such securities. &#x201c;Government securities&#x201d; generally are securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act. &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, U.S. Government Securities, and/or repurchase agreements that are collateralized fully by cash or U.S. Government Securities. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;&#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009242_RiskLoseMoneyMember"
      id="fc07749b-28b4-4508-bd38-8ce10acab70f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009242_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_06b926b5-5a74-48d6-8e83-83b09fb77264">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009242_RiskNotInsuredDepositoryInstitutionMember"
      id="x_3573624e-6a8f-41fd-abd5-22424d25e2aa">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009242_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="b40d8365-c9bc-4c6e-9070-72015ecdd512">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009242_CreditDefaultRiskMember"
      id="d6252059-d0ff-47b9-9892-a8320fff7ee0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009242_InterestRateRiskMember"
      id="e8843347-3a4d-4c8c-a7fd-118aa4ceff65">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009242_LargeShareholderTransactionsRiskMember"
      id="x_8de46548-f718-484a-9f5d-a2ada97e6521">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009242_LiquidityRiskMember"
      id="x_6a84bbc7-b3bb-4c09-8f33-8ce5a6ba34aa">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009242_MarketRiskMember"
      id="x_615c1f99-bc32-454b-abe5-399d77576824">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009242_StableNAVRiskMember"
      id="x_11119da6-a854-46fb-bd46-d43dfa54d6e7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000009242_USGovernmentSecuritiesRiskMember"
      id="x_5c189c55-ab15-4900-9de9-8e5fc70e4d63">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="CapitalSharesMember_S000009242"
      id="x_56aedb86-6364-4d2e-9038-4ee2584aa44b">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="CapitalSharesMember_S000009242"
      id="a76e6574-17f6-43cf-8ab9-9322fded9cfd">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Capital Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Capital Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="CapitalSharesMember_S000009242"
      id="x_40438356-88c6-436b-80aa-4ee27e42245b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Capital Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Capital Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="CapitalSharesMember_S000009242"
      id="x_8cb1b1b5-6d98-4d7f-b2a2-f0633aa36583">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="CapitalSharesMember_S000009242"
      id="x_696f92ac-77ee-4ee3-a7ca-fb74db733001">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="CapitalSharesMember_S000009242"
      id="f2ed84ec-725b-4b82-b832-3e374071364c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="CapitalSharesMember_S000009242"
      id="x_7fd5887b-bebc-4fb3-90c1-68b9821e4c99">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="CapitalSharesMember_S000009242"
      id="fa458454-2228-40f0-b00f-415c9ae47a49">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.29%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;September 30, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="CapitalSharesMember_S000009242_C000025201"
      id="x_1c8b3a23-72d3-447b-8ef2-b2425220b8e0">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="CapitalSharesMember_S000009242_C000025201"
      decimals="4"
      id="efea3d42-bdfb-43bd-94e9-f84e8cc8e299"
      unitRef="pure">0.0129</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="CapitalSharesMember_S000009242_C000025201"
      id="d5970812-6bd7-4a73-8bf3-af407e5fe41e">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="CapitalSharesMember_S000009242_C000025201"
      id="x_0a0c681a-838c-4a40-9b2a-545f7c8e0bbb">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="CapitalSharesMember_S000009242_C000025201"
      decimals="4"
      id="b2229d6c-0bfa-40ac-bb54-e55cb5c56297"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="CapitalSharesMember_S000009242_C000025201"
      id="x_429002cd-23ef-4f59-8583-0e7a60c23e54">2020-09-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="CapitalSharesMember_S000009242"
      id="x_4abd76e8-43b6-4ca7-ae9a-e03c9bd1c3da">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="CapitalSharesMember_C000025201_01Jan2025_31Dec2025"
      decimals="4"
      id="x_404c7357-e5b1-44c1-89d6-4cfb30f6ff04"
      unitRef="pure">0.0405</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="CapitalSharesMember_C000025201_01Jan2021_31Dec2025"
      decimals="4"
      id="d9f6fc37-ee77-4d37-a22a-62cce9662336"
      unitRef="pure">0.0307</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="CapitalSharesMember_C000025201_01Jan2016_31Dec2025"
      decimals="4"
      id="x_5c46f098-fe7c-41ed-b765-dd18f6d19bbe"
      unitRef="pure">0.0199</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="CapitalSharesMember_C000025201"
      id="c5193cd1-f399-403e-bced-b6ee1aded24f">2002-08-12</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="CapitalSharesMember_S000051190"
      id="a7d8f8af-ecb5-4c71-934d-884d9c7771df">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Federal Instruments Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="CapitalSharesMember_S000051190"
      id="a3044a8c-e719-43c6-a577-715089bc18c7">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="CapitalSharesMember_S000051190"
      id="x_6988884f-56c9-4eeb-ae6a-1de87d5f2fec">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Federal Instruments Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="CapitalSharesMember_S000051190"
      id="x_7100453a-c37f-4872-af42-6c2880f70881">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="CapitalSharesMember_S000051190"
      id="fe399d1b-c921-482e-9a17-a9eebbd21c5d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="CapitalSharesMember_S000051190"
      id="x_3d33b456-aab2-4fe6-a413-6574e61f932a">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="CapitalSharesMember_S000051190_C000161180"
      decimals="4"
      id="d526d3fe-f9c5-4c0a-9108-9abc69d1fe84"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="CapitalSharesMember_S000051190_C000161180"
      decimals="4"
      id="x_9d8df7a5-94dc-4861-9d9c-ba006a48a955"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="CapitalSharesMember_S000051190_C000161180"
      decimals="4"
      id="a05c2750-a5d2-478e-b888-5c2cc15d7f5e"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="CapitalSharesMember_S000051190_C000161180"
      decimals="4"
      id="x_0b23eade-1434-46c6-ae4e-57b8ec524084"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="CapitalSharesMember_S000051190_C000161180"
      decimals="4"
      id="fa050ce3-3dff-477f-af90-822cee8d47c2"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="CapitalSharesMember_S000051190"
      id="b2f34a1a-ca8d-42b9-bcd5-ea961152db92">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="CapitalSharesMember_S000051190_C000161180"
      decimals="4"
      id="x_74cc6e70-fed1-4833-b623-a35a23bec9b6"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="CapitalSharesMember_S000051190_C000161180"
      decimals="4"
      id="cb6f42ab-b732-4a6a-a3ce-00c28e09ad19"
      unitRef="pure">0.0017</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="CapitalSharesMember_S000051190_C000161180"
      decimals="4"
      id="x_5a5c9143-980a-4c7d-a38c-9e9217a6f5f2"
      unitRef="pure">0.0015</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="CapitalSharesMember_S000051190_C000161180"
      decimals="4"
      id="f57812c3-1a93-4ede-a548-05be7aca6ba4"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="CapitalSharesMember_S000051190_C000161180"
      decimals="4"
      id="edd187f5-25be-499b-9171-185778b3a317"
      unitRef="pure">0.0035</oef:ExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="CapitalSharesMember_S000051190"
      id="a66d4d0e-bd2d-4362-a78a-23cb315ec68c">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="CapitalSharesMember_S000051190"
      id="ae6f5f90-c609-4b15-b72a-33a95f433502">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Capital Shares of the Fund for the time periods indicated and then redeem all of your Capital Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="CapitalSharesMember_S000051190_C000161180"
      decimals="INF"
      id="ff8626cc-e1f8-476b-b2e6-407c2bfb5b4b"
      unitRef="USD">36</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="CapitalSharesMember_S000051190_C000161180"
      decimals="INF"
      id="x_1cc7eacb-4999-4376-8990-d34540ab01cd"
      unitRef="USD">113</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="CapitalSharesMember_S000051190_C000161180"
      decimals="INF"
      id="x_409a4d7a-6fa2-42ef-b0d2-e574ac3892e1"
      unitRef="USD">197</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="CapitalSharesMember_S000051190_C000161180"
      decimals="INF"
      id="d2fdc4b6-ea94-4d3e-a18d-19d8bab54990"
      unitRef="USD">443</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="CapitalSharesMember_S000051190"
      id="fba62f31-b246-4dca-a3e4-1f3f88081280">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="CapitalSharesMember_S000051190"
      id="x_9b540bf7-feda-4e39-9952-a2140c82cc19">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in &#x201c;government securities,&#x201d; as such term is defined in or interpreted under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;), the interest from which is generally exempt from state income taxation. &#x201c;Government securities&#x201d; generally are securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act. &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash and U.S. Government Securities. Although &#x201c;government money market funds&#x201d; may also invest in repurchase agreements that are collateralized fully by cash or U.S. Government Securities, the Fund may not invest in repurchase agreements. &#x201c;Government money &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000051190_RiskLoseMoneyMember"
      id="x_5ed41c0c-5595-4bb1-81dc-d63f4fc7c421">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000051190_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_852b5311-cadd-411e-b864-7402862e9a7a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000051190_RiskNotInsuredDepositoryInstitutionMember"
      id="x_7db91e05-cab1-4b5e-8f6a-99ffc46c9a94">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000051190_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_6e50712d-87a1-4466-9880-964a90a181eb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000051190_CreditDefaultRiskMember"
      id="bf154d9b-37f3-4eb0-99aa-3dbe41b6f882">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000051190_InterestRateRiskMember"
      id="a5b69b8f-2fd9-432f-bf67-21e05c4e07a3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000051190_LargeShareholderTransactionsRiskMember"
      id="bb263675-f100-45ee-9e98-8a58eb649c7c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000051190_LiquidityRiskMember"
      id="e48ad773-2599-4a92-81bb-3ccd1e284042">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000051190_MarketRiskMember"
      id="x_5f905289-afd6-4cf8-9204-7d2b868495f9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000051190_StableNAVRiskMember"
      id="x_93b07c33-1964-4c55-ac86-ca7d0ae22120">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CapitalSharesMember_S000051190_USGovernmentSecuritiesRiskMember"
      id="x_2ba7edc6-2560-4d58-8395-996e9a3ff887">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="CapitalSharesMember_S000051190"
      id="x_094797a1-dee6-404a-9054-ddd19a741cc5">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="CapitalSharesMember_S000051190"
      id="x_95ad288e-a69b-442d-82dd-a60cbb67f25e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Capital Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Capital Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="CapitalSharesMember_S000051190"
      id="edb3342e-9d6c-49bd-bc17-8f6f69531607">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Capital Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Capital Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="CapitalSharesMember_S000051190"
      id="x_25e62750-3c8c-4de2-a4e5-f2b847c4e34c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="CapitalSharesMember_S000051190"
      id="dd9e4c66-94f0-499a-9042-fbb807bb1a44">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="CapitalSharesMember_S000051190"
      id="x_99fb00e3-0054-4dbc-a0ea-2a3d566cb422">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="CapitalSharesMember_S000051190"
      id="x_817e2738-8dcd-4079-8541-b944170a8ea6">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="CapitalSharesMember_S000051190"
      id="x_0e99527b-b5d7-40c9-8b37-e9b5321cc131">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.29%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;September 30, 2021&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="CapitalSharesMember_S000051190_C000161180"
      id="x_5f9b40aa-84b9-4007-bb28-f97a95b752d2">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="CapitalSharesMember_S000051190_C000161180"
      decimals="4"
      id="f6028a18-6279-4e69-a1b8-af9cbeeba8ab"
      unitRef="pure">0.0129</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="CapitalSharesMember_S000051190_C000161180"
      id="x_1a8b9f24-3f40-44c6-b941-09a064cadd8a">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="CapitalSharesMember_S000051190_C000161180"
      id="b06c0bac-22c1-4cf7-ae5b-36fb66fc11c6">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="CapitalSharesMember_S000051190_C000161180"
      decimals="4"
      id="x_024cd77c-69ab-440c-b7e5-2450d36a2dc1"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="CapitalSharesMember_S000051190_C000161180"
      id="x_88367da8-301b-4e18-b3bf-a93f7df46df4">2021-09-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="CapitalSharesMember_S000051190"
      id="x_13f54666-6ae2-490f-95de-df61c8072550">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="CapitalSharesMember_C000161180_01Jan2025_31Dec2025"
      decimals="4"
      id="deb80b91-4ccd-4eb6-9c3b-f2186b2bfa1c"
      unitRef="pure">0.0401</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="CapitalSharesMember_C000161180_01Jan2021_31Dec2025"
      decimals="4"
      id="f38cbf16-6847-4a22-ba33-5d7154416e8b"
      unitRef="pure">0.0303</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="CapitalSharesMember_C000161180_01Jan2016_31Dec2025"
      decimals="4"
      id="x_4dcf664d-1121-4777-bef0-08761aaeb207"
      unitRef="pure">0.0196</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="CapitalSharesMember_C000161180"
      id="x_100a5347-eb11-498f-bb7b-ded52f1357fa">2015-10-30</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="ServiceSharesMember_S000009260"
      id="x_510db319-3770-47f9-8f16-28674a9f2709">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Treasury Obligations Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ServiceSharesMember_S000009260"
      id="x_0441b3f2-b7f0-4807-8386-0488fc654d6f">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ServiceSharesMember_S000009260"
      id="x_85127c68-0173-4110-834d-9bace032a5f7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Treasury Obligations Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ServiceSharesMember_S000009260"
      id="x_3a85e09d-9b5a-4501-9a43-b96c44d2b468">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ServiceSharesMember_S000009260"
      id="x_54c933f1-7b21-455c-842e-022929cae463">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="ServiceSharesMember_S000009260"
      id="x_0cb04659-a549-4611-a522-accea563815f">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ServiceSharesMember_S000009260_C000025304"
      decimals="4"
      id="x_8c671bb6-0279-44c2-be67-1d1a901166a4"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ServiceSharesMember_S000009260_C000025304"
      decimals="4"
      id="f2751291-7097-4973-af16-5447f7f34f80"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="ServiceSharesMember_S000009260_C000025304"
      decimals="4"
      id="x_298eda0f-8030-475d-b77c-c4e013e5e1ae"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="ServiceSharesMember_S000009260_C000025304"
      decimals="4"
      id="x_41090d43-65e4-47a1-b4e2-7560f333ba55"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="ServiceSharesMember_S000009260_C000025304"
      decimals="4"
      id="x_1e3bdd4c-4c4a-4f1e-9fc0-254f29384d7a"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="ServiceSharesMember_S000009260"
      id="cf9c1463-a10b-4194-aff8-b11edf941909">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ServiceSharesMember_S000009260_C000025304"
      decimals="4"
      id="b57089ab-0439-4a62-a404-ea3a93af7ed5"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ServiceSharesMember_S000009260_C000025304"
      decimals="4"
      id="x_4c2344af-36d6-46d0-abe1-429d338edd13"
      unitRef="pure">0.0025</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ServiceSharesMember_S000009260_C000025304"
      decimals="4"
      id="fabcc8f2-4dcc-4fab-b179-a25109d8d280"
      unitRef="pure">0.0027</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="ServiceSharesMember_S000009260_C000025304"
      decimals="4"
      id="x_94720051-366a-4483-8c2c-63d00177ad73"
      unitRef="pure">0.0025</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ServiceSharesMember_S000009260_C000025304"
      decimals="4"
      id="x_8426395e-276f-4993-ba17-fa13fd46908a"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ServiceSharesMember_S000009260_C000025304"
      decimals="4"
      id="ed6f35d4-175d-4dd0-88ef-a2eb83a7ffe2"
      unitRef="pure">0.0070</oef:ExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="ServiceSharesMember_S000009260"
      id="x_765941ef-e1c8-4fac-83d4-3b6b485e586e">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ServiceSharesMember_S000009260"
      id="x_1a57f41a-15aa-41d1-990e-42b85c20d0b2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Service Shares of the Fund for the time periods indicated and then redeem all of your Service Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ServiceSharesMember_S000009260_C000025304"
      decimals="INF"
      id="a05f02ef-8a18-4204-ab12-052b34680432"
      unitRef="USD">72</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ServiceSharesMember_S000009260_C000025304"
      decimals="INF"
      id="fdade62b-4a6a-4b05-979a-04d800e8c763"
      unitRef="USD">224</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ServiceSharesMember_S000009260_C000025304"
      decimals="INF"
      id="dd152a13-4a65-4fff-8d99-c4efd9d375df"
      unitRef="USD">390</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ServiceSharesMember_S000009260_C000025304"
      decimals="INF"
      id="a4425ec4-d986-4dde-bf63-890ca9e90443"
      unitRef="USD">871</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="ServiceSharesMember_S000009260"
      id="b3ca4208-63d9-4d2a-9c1c-e1447be3fd5a">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ServiceSharesMember_S000009260"
      id="x_3f920f4b-3f96-4431-826f-f8ee0903b2b2">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in U.S. Treasury Obligations, which include securities issued or guaranteed&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;by the U.S. Treasury where the payment of principal and interest is backed by the full faith and credit of the U.S. government (&#x201c;U.S. Treasury Obligations&#x201d;), and repurchase agreements collateralized by U.S. Treasury Obligations. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;). &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;), and/or repurchase agreements that are collateralized fully by &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;cash or U.S. Government Securities. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009260_RiskLoseMoneyMember"
      id="x_881c04e3-5252-4796-9491-b0fcbc6639c0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009260_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="d43b7fdf-f1a0-4729-b643-6190d63d3ff0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009260_RiskNotInsuredDepositoryInstitutionMember"
      id="x_0552d3b0-3a4c-427b-a97b-3732cace2ec9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009260_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="ed979d29-edf4-4dff-97d0-7fb67ef3ba95">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009260_CreditDefaultRiskMember"
      id="x_62d7e895-5d4d-40ae-9f76-6eeace5e5624">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009260_InterestRateRiskMember"
      id="b261aeda-6af0-44fe-967f-03afae97627d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009260_LargeShareholderTransactionsRiskMember"
      id="fc02eb17-1155-47e3-8284-c70a90e276b0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009260_LiquidityRiskMember"
      id="x_739fe14b-06b8-4074-8363-0588fe90d728">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009260_MarketRiskMember"
      id="x_54cb4ce8-0b31-40e6-ae5e-edaf9a46df9b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009260_StableNAVRiskMember"
      id="fa470ec0-eb16-464a-a35d-5a6c1d744abd">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ServiceSharesMember_S000009260"
      id="fcf4758d-c837-4ad2-8cb4-5c9050104e3c">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ServiceSharesMember_S000009260"
      id="x_112bd46b-27be-4715-88e6-4cd4496667a0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Service Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Service Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ServiceSharesMember_S000009260"
      id="x_756fce15-5bf8-480e-9c01-3a024dad5f83">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Service Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Service Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ServiceSharesMember_S000009260"
      id="x_844048df-6a75-4336-a2c3-aaeafb82fd3f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ServiceSharesMember_S000009260"
      id="f3574bd8-7936-41ef-9128-5c65fec7b252">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="ServiceSharesMember_S000009260"
      id="x_38eaff29-033f-4a59-b347-0c546c41c3d3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="ServiceSharesMember_S000009260"
      id="x_093c7fb1-b700-4303-b276-2cd164ab2bfb">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ServiceSharesMember_S000009260"
      id="x_22cb5e2d-e8e4-426e-89e8-9dff7876efe4">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.20%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2022&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ServiceSharesMember_S000009260_C000025304"
      id="x_2da9a8b2-241b-4c81-9d42-99830782b79b">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ServiceSharesMember_S000009260_C000025304"
      decimals="4"
      id="x_49911546-3531-48ea-8bbe-a00700c2207a"
      unitRef="pure">0.0120</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ServiceSharesMember_S000009260_C000025304"
      id="x_85952b24-5ab0-4f0e-babd-da6c1703dd9a">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ServiceSharesMember_S000009260_C000025304"
      id="x_0f4f841e-4079-4664-aa9a-48944f80a258">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ServiceSharesMember_S000009260_C000025304"
      decimals="4"
      id="x_7b9bb3ad-2078-4743-bb3a-12adbcaea545"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ServiceSharesMember_S000009260_C000025304"
      id="x_6ed96d8c-fbb2-4990-a4ba-47078ff79ce0">2022-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ServiceSharesMember_S000009260"
      id="b7fad8c3-4c1e-4217-ae1a-e17905c872c9">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="ServiceSharesMember_C000025304_01Jan2025_31Dec2025"
      decimals="4"
      id="d3cf5295-37ff-475a-93e8-01f2dacfbc08"
      unitRef="pure">0.0366</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ServiceSharesMember_C000025304_01Jan2021_31Dec2025"
      decimals="4"
      id="d8640249-cbb5-4282-87f1-bdb281006c67"
      unitRef="pure">0.0278</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ServiceSharesMember_C000025304_01Jan2016_31Dec2025"
      decimals="4"
      id="x_5f32421f-7dbe-4ebb-9f4f-215560b1a942"
      unitRef="pure">0.0171</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ServiceSharesMember_C000025304"
      id="x_93e2c628-bfea-4d89-9576-7b876855c374">1991-10-15</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="ServiceSharesMember_S000009261"
      id="x_96a901f0-75e9-4599-a31a-b7ce296514bc">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square&#160;Treasury Instruments Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ServiceSharesMember_S000009261"
      id="bb6e948f-feb7-4b47-bbe5-f2a1a6adb8f3">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ServiceSharesMember_S000009261"
      id="a2952435-c62b-401a-87a6-58e7ca718537">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square&#160;Treasury Instruments Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ServiceSharesMember_S000009261"
      id="d92c44e7-f0f6-4e20-99d9-b058422632c1">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ServiceSharesMember_S000009261"
      id="x_61d4d2e4-f7c1-446d-8f55-3b4f011e9060">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="ServiceSharesMember_S000009261"
      id="x_6b15d1d0-a65d-49cf-9f5b-fb39820b6b58">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ServiceSharesMember_S000009261_C000025311"
      decimals="4"
      id="x_55b92eb8-4929-43bf-91f6-4cb705c970ac"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ServiceSharesMember_S000009261_C000025311"
      decimals="4"
      id="x_64cc0768-d27f-41c8-a71c-b45d0514ae27"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="ServiceSharesMember_S000009261_C000025311"
      decimals="4"
      id="x_527e2c3a-142e-406b-9bb0-37e7c40d12a4"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="ServiceSharesMember_S000009261_C000025311"
      decimals="4"
      id="ed55cfc6-6c85-49b7-ab69-3655d06f026f"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="ServiceSharesMember_S000009261_C000025311"
      decimals="4"
      id="x_24a8c0ae-71be-44f7-9c70-8ae9a85a6955"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="ServiceSharesMember_S000009261"
      id="ec394693-dbdf-4cf6-9a9b-f3c993c24f5f">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ServiceSharesMember_S000009261_C000025311"
      decimals="4"
      id="ef6d97da-95a2-4235-b705-3577eeb22327"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ServiceSharesMember_S000009261_C000025311"
      decimals="4"
      id="x_6b521848-e30a-45bd-9c71-138688964093"
      unitRef="pure">0.0025</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ServiceSharesMember_S000009261_C000025311"
      decimals="4"
      id="x_0858175b-b463-417e-b65e-0b19fc6e342b"
      unitRef="pure">0.0027</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="ServiceSharesMember_S000009261_C000025311"
      decimals="4"
      id="d1ec65e2-c6fc-496b-ac8e-3b2a4b72e757"
      unitRef="pure">0.0025</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ServiceSharesMember_S000009261_C000025311"
      decimals="4"
      id="e9581527-7965-4fe8-bba0-bd4bd2fa8974"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ServiceSharesMember_S000009261_C000025311"
      decimals="4"
      id="x_99b325ce-6364-4868-9b65-46488e0a0ffc"
      unitRef="pure">0.0070</oef:ExpensesOverAssets>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="ServiceSharesMember_S000009261"
      id="x_2a915a2f-b86a-4d18-9af9-89ffc7332031">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.&lt;/span&gt;</oef:ExpensesRestatedToReflectCurrent>
    <oef:ExpenseExampleHeading
      contextRef="ServiceSharesMember_S000009261"
      id="x_7e0da2ae-6be2-4514-b3ff-ddf3a2d00495">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ServiceSharesMember_S000009261"
      id="e3fea22e-3c15-423a-86a4-d366ee455f9a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Service Shares of the Fund for the time periods indicated and then redeem all of your Service Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ServiceSharesMember_S000009261_C000025311"
      decimals="INF"
      id="x_29f44592-5299-4a4f-9e7e-343e73f19025"
      unitRef="USD">72</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ServiceSharesMember_S000009261_C000025311"
      decimals="INF"
      id="x_1329f000-1d29-4245-8a99-2d16a21fe8d1"
      unitRef="USD">224</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ServiceSharesMember_S000009261_C000025311"
      decimals="INF"
      id="x_2044b7fc-570b-42bb-b959-2fd1b0c735f9"
      unitRef="USD">390</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ServiceSharesMember_S000009261_C000025311"
      decimals="INF"
      id="cd1713e9-1551-40dc-89f9-5106696f6b39"
      unitRef="USD">871</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="ServiceSharesMember_S000009261"
      id="x_0ea73abc-77fd-4a46-8ea0-262cf60aaec2">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ServiceSharesMember_S000009261"
      id="x_00b0c643-4e3a-4e3c-8e7d-6f32365f8cb0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in U.S. Treasury Obligations, which include securities issued or guaranteed by the U.S. Treasury where the payment of principal and interest is backed by the full faith and credit of the U.S. government (&#x201c;U.S. Treasury Obligations&#x201d;), the interest from which is generally exempt from state income taxation. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;). &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash and securities issued or guaranteed by the United States or certain U.S. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). Although &#x201c;government money market funds&#x201d; may also invest in repurchase agreements that are collateralized fully by cash or U.S. Government Securities, the Fund may not invest in repurchase agreements. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009261_RiskLoseMoneyMember"
      id="x_6e7a267d-85f9-4663-9201-33b5e8235af6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009261_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="c3e85338-6cd1-4ac5-9bc8-272f5fbf9e1c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009261_RiskNotInsuredDepositoryInstitutionMember"
      id="cac84278-658e-4d34-aca0-f458231a36b1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009261_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="e4125766-8f14-41eb-a121-c66ce414b17a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009261_CreditDefaultRiskMember"
      id="eb6b55f4-01f8-48d5-a8cc-90c48654ded3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009261_InterestRateRiskMember"
      id="x_33a7113b-d8fc-4696-b527-2b9e2d77da5a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009261_LargeShareholderTransactionsRiskMember"
      id="x_156944e8-769f-4750-ba7b-db4621031795">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009261_LiquidityRiskMember"
      id="x_0d66c26c-fc2a-48f5-9f73-c6651e1146b2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009261_MarketRiskMember"
      id="f371468d-bba5-4c06-85a9-53f5f8ff7c14">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009261_StableNAVRiskMember"
      id="x_4e9c95d6-149d-46ec-8980-1e37791680b9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ServiceSharesMember_S000009261"
      id="x_4e3d20cd-9eff-461e-86c1-7be4cfc4583e">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ServiceSharesMember_S000009261"
      id="x_08e8fbce-e902-4932-9123-8bea18199c75">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Service Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Service Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ServiceSharesMember_S000009261"
      id="x_443ee1d9-1eea-4595-bc6c-5a955d42b9b1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Service Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Service Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ServiceSharesMember_S000009261"
      id="x_54969c91-7a4a-42fb-8aad-f0bd05dea469">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ServiceSharesMember_S000009261"
      id="dafb9563-e031-485b-a8d7-47df9024a590">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="ServiceSharesMember_S000009261"
      id="x_94d7512a-4ece-4608-9cfb-72e2749ef1c7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="ServiceSharesMember_S000009261"
      id="x_680f050e-eadd-4929-881f-4ded45899008">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ServiceSharesMember_S000009261"
      id="x_78879802-4915-41f8-8420-3b7ea7fb2571">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.20%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;June 30, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ServiceSharesMember_S000009261_C000025311"
      id="x_5cb06995-2a33-4fa4-8666-42d5e9558f09">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ServiceSharesMember_S000009261_C000025311"
      decimals="4"
      id="bc0c705e-42e7-4909-9a2f-5a6d0e1dd527"
      unitRef="pure">0.0120</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ServiceSharesMember_S000009261_C000025311"
      id="x_969422c1-aeb0-4c70-af61-fac1c7525a83">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ServiceSharesMember_S000009261_C000025311"
      id="x_4e24fea1-48bb-4578-98d1-7d456c573a9e">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ServiceSharesMember_S000009261_C000025311"
      decimals="4"
      id="caab2ded-b2e5-4e92-956c-93b78f8e40cf"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ServiceSharesMember_S000009261_C000025311"
      id="x_04d77cd2-7ff5-472b-ab53-279b3b7c43a2">2020-06-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ServiceSharesMember_S000009261"
      id="b10af504-3ff6-45ac-84e1-576df5239c72">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="ServiceSharesMember_C000025311_01Jan2025_31Dec2025"
      decimals="4"
      id="dee3493c-9844-44cc-ac62-6d05f2326c46"
      unitRef="pure">0.0363</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ServiceSharesMember_C000025311_01Jan2021_31Dec2025"
      decimals="4"
      id="x_8843069b-ed5c-478a-9092-a5f5541a2de0"
      unitRef="pure">0.0274</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ServiceSharesMember_C000025311_01Jan2016_31Dec2025"
      decimals="4"
      id="x_24d02219-3164-46dc-a9e7-16dec187fc28"
      unitRef="pure">0.0168</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ServiceSharesMember_C000025311"
      id="x_563966e3-b12f-48f7-a0c0-b8f375ac903d">1997-03-05</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="ServiceSharesMember_S000009243"
      id="fcbf4280-d57a-47f2-942d-8dfa6f4b551d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Treasury Solutions Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ServiceSharesMember_S000009243"
      id="x_574aa59c-16ce-49c7-902f-82ab83c7d834">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ServiceSharesMember_S000009243"
      id="c323023b-3a8d-4904-a705-62ab95375290">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Treasury Solutions Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ServiceSharesMember_S000009243"
      id="a9156f04-3d40-41ab-83bf-77840ecb1ab3">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ServiceSharesMember_S000009243"
      id="x_4d750b33-f71e-4dce-b258-21c56925c937">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="ServiceSharesMember_S000009243"
      id="x_12ab5dc9-3223-4bc0-a007-4e94048af318">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ServiceSharesMember_S000009243_C000025205"
      decimals="4"
      id="x_90d6152f-4950-42f3-912a-dbe4d42d7368"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ServiceSharesMember_S000009243_C000025205"
      decimals="4"
      id="bf8fcd06-47d1-4adb-92b0-11a18b5cc783"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="ServiceSharesMember_S000009243_C000025205"
      decimals="4"
      id="ecf13a01-a416-49b5-8c02-f445690363cc"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="ServiceSharesMember_S000009243_C000025205"
      decimals="4"
      id="d7a3f6fa-b4fe-47e4-8619-6f425798c8aa"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="ServiceSharesMember_S000009243_C000025205"
      decimals="4"
      id="x_5934ab8c-6be6-4c67-9c37-5cac2c084236"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="ServiceSharesMember_S000009243"
      id="e3470e73-b192-43d6-812f-e8ca35628cc9">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ServiceSharesMember_S000009243_C000025205"
      decimals="4"
      id="c3dac010-d710-46ed-ac44-187872fb0309"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ServiceSharesMember_S000009243_C000025205"
      decimals="4"
      id="x_564b3a69-04b1-4989-92a4-2d9ea1fb969c"
      unitRef="pure">0.0025</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ServiceSharesMember_S000009243_C000025205"
      decimals="4"
      id="x_053caaac-a76c-477f-9236-beb9681a4ea3"
      unitRef="pure">0.0027</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="ServiceSharesMember_S000009243_C000025205"
      decimals="4"
      id="f67b26a4-683e-46b1-b7da-983a74cb5043"
      unitRef="pure">0.0025</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ServiceSharesMember_S000009243_C000025205"
      decimals="4"
      id="x_3e443c35-c847-4a2c-a406-e3aa32189bd1"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ServiceSharesMember_S000009243_C000025205"
      decimals="4"
      id="x_8df20976-7ee0-4b9d-bef9-e0a7e10a93c0"
      unitRef="pure">0.0070</oef:ExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="ServiceSharesMember_S000009243"
      id="a270c9b4-f46c-4606-93a1-e2e38fff051e">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ServiceSharesMember_S000009243"
      id="x_8914dd16-8b24-474e-9d04-bb1cca6da772">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Service Shares of the Fund for the time periods indicated and then redeem all of your Service Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ServiceSharesMember_S000009243_C000025205"
      decimals="INF"
      id="x_5f5b3b59-4ca1-458f-81c6-819b1eefb378"
      unitRef="USD">72</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ServiceSharesMember_S000009243_C000025205"
      decimals="INF"
      id="cdd4e6cf-71cd-4886-b270-859e64c8d889"
      unitRef="USD">224</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ServiceSharesMember_S000009243_C000025205"
      decimals="INF"
      id="x_78c0b033-74e9-4a6f-85fa-51a06b3f3166"
      unitRef="USD">390</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ServiceSharesMember_S000009243_C000025205"
      decimals="INF"
      id="e9169f22-0132-414f-850b-2811d9095935"
      unitRef="USD">871</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="ServiceSharesMember_S000009243"
      id="e0f1bab6-52b8-4b68-ab81-e147fb01476a">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ServiceSharesMember_S000009243"
      id="x_04ba7424-0e3d-4c76-b811-319a13e11d7d">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in U.S. Treasury Obligations, which include securities issued or guaranteed&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;by the U.S. Treasury where the payment of principal and interest is backed by the full faith and credit of the U.S. government (&#x201c;U.S. Treasury Obligations&#x201d;), and repurchase agreements with the Federal Reserve Bank of New York collateralized by U.S. Treasury Obligations. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;). &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;), and/or repurchase agreements that are collateralized fully by &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;cash or U.S. Government Securities. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009243_RiskLoseMoneyMember"
      id="x_0e4994b0-b32f-44af-9980-5095e6d9d1ad">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009243_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_209fec50-ee77-4e38-b07a-d21f08948779">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009243_RiskNotInsuredDepositoryInstitutionMember"
      id="dabf7206-834b-4722-9631-51e4a20dbd51">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009243_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_569882da-c7c5-43bf-b262-2b2737ec63ea">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009243_CreditDefaultRiskMember"
      id="x_46662e32-a282-453e-9655-dcb63e95836f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009243_InterestRateRiskMember"
      id="a906a8ac-7fe5-4a12-83fc-7242bbcba732">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009243_LargeShareholderTransactionsRiskMember"
      id="x_5704dc52-fb2d-40a6-a499-be5c1d271cc7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009243_LiquidityRiskMember"
      id="d66f6bc0-479f-4dbb-a5a1-d578143cc7ea">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009243_MarketRiskMember"
      id="x_5043b8a0-0f41-44b9-b910-d7ebe6a5b923">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009243_StableNAVRiskMember"
      id="x_2b7d1794-f255-4087-9992-1ede2e516b72">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ServiceSharesMember_S000009243"
      id="a9abb25b-d6d6-4034-b2e6-d57cb497d1c8">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ServiceSharesMember_S000009243"
      id="x_84efeabf-6e73-41c6-beb5-315375403cd8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Service Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Service Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ServiceSharesMember_S000009243"
      id="a4c9ae77-36d3-4612-ad4c-beac6f47ec67">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Service Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Service Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ServiceSharesMember_S000009243"
      id="x_0c0de887-4fb5-40ae-bdc5-f090762afd42">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ServiceSharesMember_S000009243"
      id="x_87397fde-6d39-4718-8d27-0100dbb7ab0c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="ServiceSharesMember_S000009243"
      id="b938b90b-6f43-45f6-af26-029cb9a5d475">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="ServiceSharesMember_S000009243"
      id="x_13a4cb34-0a6d-43af-807c-a5d02ba66a1b">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ServiceSharesMember_S000009243"
      id="x_46991ff8-45e3-46a1-bdb2-ff203ba16f56">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.20%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2022&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ServiceSharesMember_S000009243_C000025205"
      id="x_443fb053-926d-4224-a6fc-6dc49aeb5156">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ServiceSharesMember_S000009243_C000025205"
      decimals="4"
      id="x_34a7b5d6-7f18-49b4-b277-2e82b6a64472"
      unitRef="pure">0.0120</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ServiceSharesMember_S000009243_C000025205"
      id="x_530046e6-2712-40d9-aea6-116beabc19ef">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ServiceSharesMember_S000009243_C000025205"
      id="dbce5a41-e115-426b-b1b6-0b7188b9be5b">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ServiceSharesMember_S000009243_C000025205"
      decimals="4"
      id="x_72fe30e3-d638-44d6-8745-a3043ca71ad5"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ServiceSharesMember_S000009243_C000025205"
      id="bcb8a128-939f-42c3-99d6-c89e6c16a37e">2022-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ServiceSharesMember_S000009243"
      id="x_707135b5-c8fa-4390-8ded-2ab120a32148">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="ServiceSharesMember_C000025205_01Jan2025_31Dec2025"
      decimals="4"
      id="x_6ffe40b0-e858-4d1a-bc8d-1a10e0c10526"
      unitRef="pure">0.0363</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ServiceSharesMember_C000025205_01Jan2021_31Dec2025"
      decimals="4"
      id="x_98ad8fda-14c4-4f98-a081-2709d40a6e9d"
      unitRef="pure">0.0277</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ServiceSharesMember_C000025205_01Jan2016_31Dec2025"
      decimals="4"
      id="d30af9f7-5f6d-4fa2-ad75-18e491645705"
      unitRef="pure">0.0170</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ServiceSharesMember_C000025205"
      id="bd722dde-c0b5-4e1e-8005-f395e683f0c6">1997-03-25</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="ServiceSharesMember_S000009242"
      id="x_296131e3-f6ea-4665-8575-0c0cd687f966">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Government Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ServiceSharesMember_S000009242"
      id="x_3a8a3acf-1808-4e5f-98b3-6f3a21e8db5a">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ServiceSharesMember_S000009242"
      id="c96e5f7d-c81e-4f79-81ee-3da0cc54d501">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Government Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ServiceSharesMember_S000009242"
      id="f3967fd7-6538-4556-b607-24750352bf05">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ServiceSharesMember_S000009242"
      id="x_4ab04171-0312-4ed5-8447-83ffcb9044ac">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="ServiceSharesMember_S000009242"
      id="x_87258b21-4874-4622-abf9-21e341a62d07">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ServiceSharesMember_S000009242_C000025198"
      decimals="4"
      id="d6fb5c14-ad58-49d5-80ca-be3d58959171"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ServiceSharesMember_S000009242_C000025198"
      decimals="4"
      id="c242ba48-2c44-4519-98d3-9bd2fbe8f690"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="ServiceSharesMember_S000009242_C000025198"
      decimals="4"
      id="d9d68a31-783a-40b0-be8a-26e8e6fc31aa"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="ServiceSharesMember_S000009242_C000025198"
      decimals="4"
      id="fec460da-d808-46fb-9622-5433cc481b42"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="ServiceSharesMember_S000009242_C000025198"
      decimals="4"
      id="x_670f7dd6-14be-4698-9033-8673320ad685"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="ServiceSharesMember_S000009242"
      id="x_66e9024f-02c8-441c-9523-12b1a1b9aa88">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ServiceSharesMember_S000009242_C000025198"
      decimals="4"
      id="x_07d31eea-013c-49f5-be88-9869d269c5bd"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ServiceSharesMember_S000009242_C000025198"
      decimals="4"
      id="bd85cf9b-d34f-4bcc-852b-2b83c5e2e122"
      unitRef="pure">0.0025</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ServiceSharesMember_S000009242_C000025198"
      decimals="4"
      id="c90ab866-4f1b-465a-bbdb-e9bb52d5d6a9"
      unitRef="pure">0.0027</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="ServiceSharesMember_S000009242_C000025198"
      decimals="4"
      id="d764c1f7-35df-462c-8841-025a4d5d39f5"
      unitRef="pure">0.0025</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ServiceSharesMember_S000009242_C000025198"
      decimals="4"
      id="a7cd2e93-c0cf-4b5c-8397-d899bb3bab92"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ServiceSharesMember_S000009242_C000025198"
      decimals="4"
      id="x_0dd5d465-600c-4940-8d84-2506b488787d"
      unitRef="pure">0.0068</oef:ExpensesOverAssets>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="ServiceSharesMember_S000009242"
      id="eb0405e9-c2a7-49ee-a647-0f6d27a105f7">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.&lt;/span&gt;</oef:ExpensesRestatedToReflectCurrent>
    <oef:ExpenseExampleHeading
      contextRef="ServiceSharesMember_S000009242"
      id="x_52c62832-1621-4ff5-9559-5854f5fae5d7">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ServiceSharesMember_S000009242"
      id="x_86259a07-335e-4c6c-860f-cb63fe37f44c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Service Shares of the Fund for the time periods indicated and then redeem all of your Service Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ServiceSharesMember_S000009242_C000025198"
      decimals="INF"
      id="a2e7444d-4444-488c-b389-00294e4b5f4d"
      unitRef="USD">69</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ServiceSharesMember_S000009242_C000025198"
      decimals="INF"
      id="x_96f5a037-4aa3-4b2f-9a01-e582e5a379d4"
      unitRef="USD">218</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ServiceSharesMember_S000009242_C000025198"
      decimals="INF"
      id="x_08450432-9058-4d56-add9-bef1cf16b588"
      unitRef="USD">379</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ServiceSharesMember_S000009242_C000025198"
      decimals="INF"
      id="e35979a2-fec3-4b83-b3d6-e44b09b6bc7c"
      unitRef="USD">847</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="ServiceSharesMember_S000009242"
      id="x_632600d6-6d3b-4bc6-9b18-ec1d9cd2a37f">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ServiceSharesMember_S000009242"
      id="x_82849ad7-52ab-47de-a7fe-bd63794f0e09">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in &#x201c;government securities,&#x201d; as such term is defined in or interpreted under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;), and repurchase agreements collateralized by such securities. &#x201c;Government securities&#x201d; generally are securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act. &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, U.S. Government Securities, and/or repurchase agreements that are collateralized fully by cash or U.S. Government Securities. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;&#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009242_RiskLoseMoneyMember"
      id="eb7aea22-b3d4-4683-960f-127a8f510693">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009242_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="f54c6f85-3a0c-485d-b753-1731a4f14316">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009242_RiskNotInsuredDepositoryInstitutionMember"
      id="x_6d7eb924-5ce5-4623-b363-c554eda2d008">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009242_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="d16ef9fb-2cc9-48ec-a1d7-bf6a92d57c29">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009242_CreditDefaultRiskMember"
      id="c473807a-00ab-4162-a620-2101be1a3454">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009242_InterestRateRiskMember"
      id="x_52513c2d-a335-44a4-89a6-c4c75d2fce21">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009242_LargeShareholderTransactionsRiskMember"
      id="b94c983d-f520-4809-8fe9-ffb9085b079d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009242_LiquidityRiskMember"
      id="x_6d0bc5f9-a799-488d-a25a-0b8662dcad39">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009242_MarketRiskMember"
      id="x_09860e1e-552b-44b1-bfa1-462a2510b139">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009242_StableNAVRiskMember"
      id="a574c8c6-6a2e-42bc-8e89-9eb23690520b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009242_USGovernmentSecuritiesRiskMember"
      id="x_5a90312e-5e31-43e8-8a90-6b63b66cacc7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ServiceSharesMember_S000009242"
      id="x_5e50727c-ecc2-4071-bef0-eb88c644b62d">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ServiceSharesMember_S000009242"
      id="x_421a0c16-73cb-4a3f-b415-66df3e5019ca">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Service Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Service Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ServiceSharesMember_S000009242"
      id="x_5b866ed4-de67-49de-8ab2-af96cef56d2e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Service Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Service Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ServiceSharesMember_S000009242"
      id="fe8dcce7-3dcb-489e-bb84-e51e945f9e96">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ServiceSharesMember_S000009242"
      id="x_8561fba3-d2b6-4cb2-92ce-87607b85539c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="ServiceSharesMember_S000009242"
      id="x_3b02e3c8-957b-4384-8f62-fb69ce5e82bc">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="ServiceSharesMember_S000009242"
      id="e798d040-7910-4918-813d-435b87afb14d">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ServiceSharesMember_S000009242"
      id="x_9a7ff864-eff5-4ee1-9378-7c3f9c641119">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.20%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;September 30, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ServiceSharesMember_S000009242_C000025198"
      id="debabac0-a353-41f3-b163-3eee27938857">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ServiceSharesMember_S000009242_C000025198"
      decimals="4"
      id="d0cace26-7d5a-404c-bb20-a8397ad9aaca"
      unitRef="pure">0.0120</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ServiceSharesMember_S000009242_C000025198"
      id="a8f15d10-c951-4b67-b702-6deb4101ba60">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ServiceSharesMember_S000009242_C000025198"
      id="x_77075998-51d1-4a8c-abe7-e9440444eead">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ServiceSharesMember_S000009242_C000025198"
      decimals="4"
      id="f9f1d356-5b7c-4eaa-af9e-ae9640af9ecf"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ServiceSharesMember_S000009242_C000025198"
      id="x_10d90bb6-b9f7-431e-ba68-82c7a0fc5ece">2020-09-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ServiceSharesMember_S000009242"
      id="d5c2ac9c-7310-405c-ac57-a7d7902faf29">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="ServiceSharesMember_C000025198_01Jan2025_31Dec2025"
      decimals="4"
      id="x_0dd2be35-dace-4ecf-ab67-05ce471714b1"
      unitRef="pure">0.0369</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ServiceSharesMember_C000025198_01Jan2021_31Dec2025"
      decimals="4"
      id="def67884-2183-46c8-9c45-6b4054f4655d"
      unitRef="pure">0.0280</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ServiceSharesMember_C000025198_01Jan2016_31Dec2025"
      decimals="4"
      id="fa4a4d38-bc2e-44e4-a030-b66dc5b9323b"
      unitRef="pure">0.0173</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ServiceSharesMember_C000025198"
      id="x_5d7f8ed1-8975-4aa0-ae40-c7b51b11940e">1995-05-16</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="ServiceSharesMember_S000051190"
      id="x_06facfb4-455b-4e73-aa50-1eb901d88ace">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Federal Instruments Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ServiceSharesMember_S000051190"
      id="e5b378f1-baf5-4d6a-90df-376d664f6a06">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ServiceSharesMember_S000051190"
      id="x_3441437d-89f5-41c6-a701-e9f10039fbb4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Federal Instruments Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ServiceSharesMember_S000051190"
      id="x_2f345231-7424-4e57-a1e2-8a2f73994ee4">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ServiceSharesMember_S000051190"
      id="x_95eada8d-c83f-4a2e-8665-9d7a4d54c07e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="ServiceSharesMember_S000051190"
      id="eb5b4764-6683-4b27-85df-12c9fde5617e">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ServiceSharesMember_S000051190_C000161177"
      decimals="4"
      id="x_50935d09-c9d5-47fc-b316-02ca57db87aa"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ServiceSharesMember_S000051190_C000161177"
      decimals="4"
      id="x_5f8376d9-4f30-4a86-b70f-2710d89bf44a"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="ServiceSharesMember_S000051190_C000161177"
      decimals="4"
      id="b5dfbc2d-7b70-4bdd-b2eb-e4eab420d033"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="ServiceSharesMember_S000051190_C000161177"
      decimals="4"
      id="x_52d33cc7-639e-4826-a296-c97025a0b774"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="ServiceSharesMember_S000051190_C000161177"
      decimals="4"
      id="cd294d04-468c-436e-a6bc-a495afcc91a4"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="ServiceSharesMember_S000051190"
      id="x_18062d5f-7204-475e-922b-fc3a6a6cb709">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ServiceSharesMember_S000051190_C000161177"
      decimals="4"
      id="x_776d6530-a69e-47fe-9437-c03e62ca8483"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ServiceSharesMember_S000051190_C000161177"
      decimals="4"
      id="e4b3650e-23d3-479b-88fb-94309deed460"
      unitRef="pure">0.0025</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ServiceSharesMember_S000051190_C000161177"
      decimals="4"
      id="x_003ddc47-cf41-492a-91b9-e1e48163f335"
      unitRef="pure">0.0027</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="ServiceSharesMember_S000051190_C000161177"
      decimals="4"
      id="eb424667-71c4-43d8-bb3e-92fce318a02c"
      unitRef="pure">0.0025</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ServiceSharesMember_S000051190_C000161177"
      decimals="4"
      id="cc512785-99ae-448c-bb07-9e686ae299f3"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ServiceSharesMember_S000051190_C000161177"
      decimals="4"
      id="x_6008a42c-13bf-4b69-81ca-3b94866217e2"
      unitRef="pure">0.0070</oef:ExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="ServiceSharesMember_S000051190"
      id="x_495976eb-8d39-4bf0-9b7c-cf1884ec9964">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ServiceSharesMember_S000051190"
      id="c2eb17cf-3cc2-49c9-b61d-7f340f31a67d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Service Shares of the Fund for the time periods indicated and then redeem all of your Service Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ServiceSharesMember_S000051190_C000161177"
      decimals="INF"
      id="x_0c76d304-bb64-4ec6-b22c-c8f38e4e3aee"
      unitRef="USD">72</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ServiceSharesMember_S000051190_C000161177"
      decimals="INF"
      id="d7a0c602-731c-4dfd-af69-95c46d80885b"
      unitRef="USD">224</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ServiceSharesMember_S000051190_C000161177"
      decimals="INF"
      id="d4a822c1-7243-4263-a8de-87dc3998c640"
      unitRef="USD">390</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ServiceSharesMember_S000051190_C000161177"
      decimals="INF"
      id="a450aa32-f1d8-43a6-9382-605c26d863ee"
      unitRef="USD">871</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="ServiceSharesMember_S000051190"
      id="x_2624384e-c318-4e92-a9fe-922689a898ba">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ServiceSharesMember_S000051190"
      id="c04099b6-1d01-41e5-b41a-61d84337a044">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in &#x201c;government securities,&#x201d; as such term is defined in or interpreted under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;), the interest from which is generally exempt from state income taxation. &#x201c;Government securities&#x201d; generally are securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act. &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash and U.S. Government Securities. Although &#x201c;government money market funds&#x201d; may also invest in repurchase agreements that are &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;collateralized fully by cash or U.S. Government Securities, the Fund may not invest in repurchase agreements. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000051190_RiskLoseMoneyMember"
      id="x_0cf77253-73ed-44e2-aa32-ae53361fa1c0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000051190_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_959dcc13-a7cd-4f61-8c27-072d289bc284">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000051190_RiskNotInsuredDepositoryInstitutionMember"
      id="d6a2ee79-2b73-470e-a917-407ec63a3a38">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000051190_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_5ca64779-c5c4-41b4-b29a-71059d436be7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000051190_CreditDefaultRiskMember"
      id="x_4ed0fcab-be5b-4899-895a-b1c4738a0cf9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000051190_InterestRateRiskMember"
      id="x_7624f415-21b9-499d-8ded-f0a096abe614">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000051190_LargeShareholderTransactionsRiskMember"
      id="d3f9b667-5004-48c3-bf65-de932ea9ae2a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000051190_LiquidityRiskMember"
      id="x_5160b824-d405-4ac3-b348-f638a3461fc8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000051190_MarketRiskMember"
      id="cc4d21f3-e762-4fc7-a0e2-c4d624fd1613">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000051190_StableNAVRiskMember"
      id="x_1f195aa8-96b3-4b99-b989-5405b85b7095">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000051190_USGovernmentSecuritiesRiskMember"
      id="x_594f0f20-74fc-42e7-8d23-57fee67c0b94">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ServiceSharesMember_S000051190"
      id="ea953e78-795f-49c3-a9e6-9fea220dece7">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ServiceSharesMember_S000051190"
      id="f375a34f-e4fb-4261-9db6-2ca4717f7e64">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Service Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Service Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ServiceSharesMember_S000051190"
      id="x_1b9e909a-afb4-4ac1-95dd-0f06be67116f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Service Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Service Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ServiceSharesMember_S000051190"
      id="a8905b8a-0bd2-4521-85a9-fec487ce126e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ServiceSharesMember_S000051190"
      id="dc5f1feb-5483-45b6-a366-54b7fc5f078f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="ServiceSharesMember_S000051190"
      id="x_4be33a01-7089-4565-bf85-134e0eefe64b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="ServiceSharesMember_S000051190"
      id="x_89ec9f91-506a-430a-a48b-31c30868d736">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ServiceSharesMember_S000051190"
      id="b6b25123-9d84-4dcf-8c4c-d0242b3d9d31">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.20%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2022&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ServiceSharesMember_S000051190_C000161177"
      id="x_4695cbcc-9f6f-4b83-b791-e4166c24c8d8">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ServiceSharesMember_S000051190_C000161177"
      decimals="4"
      id="x_05dab893-5bbb-41c4-95e7-f686fc30cad7"
      unitRef="pure">0.0120</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ServiceSharesMember_S000051190_C000161177"
      id="x_474ba809-b9bc-4675-a03a-251683035f38">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ServiceSharesMember_S000051190_C000161177"
      id="x_07837916-875b-4fb5-a54b-807bcc494e07">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ServiceSharesMember_S000051190_C000161177"
      decimals="4"
      id="x_578bf94b-96cc-4326-b661-1ee765e1d325"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ServiceSharesMember_S000051190_C000161177"
      id="x_5b455b69-0f8a-461c-b077-e7379d1b57db">2022-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ServiceSharesMember_S000051190"
      id="ae0a02f2-21eb-4fda-9d47-54b38154224b">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="ServiceSharesMember_C000161177_01Jan2025_31Dec2025"
      decimals="4"
      id="x_927555ea-204d-4cee-beaa-a85cc27e4b15"
      unitRef="pure">0.0364</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ServiceSharesMember_C000161177_01Jan2021_31Dec2025"
      decimals="4"
      id="x_7ca1c857-a01c-4280-998b-041b7dddf75a"
      unitRef="pure">0.0277</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ServiceSharesMember_C000161177_01Jan2016_31Dec2025"
      decimals="4"
      id="x_4cbd1d61-1a37-4b5b-88eb-9886fab9a169"
      unitRef="pure">0.0170</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ServiceSharesMember_C000161177"
      id="x_7f9c5b97-8226-4f8b-9b00-7676055cac49">2015-10-30</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="ServiceSharesMember_S000051191"
      id="x_656e232a-0024-405b-a80c-963cdd06c696">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Investor&#160;Money Market Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ServiceSharesMember_S000051191"
      id="aa83c1b0-7e45-41d0-b70d-c03050cc14ff">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ServiceSharesMember_S000051191"
      id="x_25673967-12b8-434c-9f0e-8420358cee27">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Investor&#160;Money Market Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ServiceSharesMember_S000051191"
      id="x_4a7fe866-ed3b-4f28-b420-d3f9efd9f8be">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ServiceSharesMember_S000051191"
      id="x_699f03dc-b5cd-4916-9a8d-30054c1b3727">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="ServiceSharesMember_S000051191"
      id="x_61db3376-12a2-4030-bb02-aaf3a06cc0d5">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ServiceSharesMember_S000051191_C000172503"
      decimals="4"
      id="x_104cbd72-c01c-472c-bf54-8552e5b91fe4"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ServiceSharesMember_S000051191_C000172503"
      decimals="4"
      id="a8252912-2121-4f73-b74e-bd79c3b5d62a"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="ServiceSharesMember_S000051191_C000172503"
      decimals="4"
      id="x_9055b71e-5c11-4462-961b-6d37d0b35a5b"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="ServiceSharesMember_S000051191_C000172503"
      decimals="4"
      id="x_261a894e-d689-4e78-8c89-872c993a70d6"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="ServiceSharesMember_S000051191_C000172503"
      decimals="4"
      id="x_00aa592a-ebef-4024-b6a2-b6ba99f62b9b"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="ServiceSharesMember_S000051191"
      id="aff22dc0-2763-498f-ad5b-7c2a426e577d">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ServiceSharesMember_S000051191_C000172503"
      decimals="4"
      id="x_63c85a34-716a-4c46-9224-efcb68df04f2"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ServiceSharesMember_S000051191_C000172503"
      decimals="4"
      id="fb621be3-967c-4926-889c-2158a49bba27"
      unitRef="pure">0.0025</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ServiceSharesMember_S000051191_C000172503"
      decimals="4"
      id="cd7e67a7-da1c-46a0-b631-fe42ffbef278"
      unitRef="pure">0.0028</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="ServiceSharesMember_S000051191_C000172503"
      decimals="4"
      id="x_7001ad4e-2ff4-45ba-9401-ee86a6530b1f"
      unitRef="pure">0.0025</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ServiceSharesMember_S000051191_C000172503"
      decimals="4"
      id="x_27923e1b-9360-4a14-937d-700538cff01a"
      unitRef="pure">0.0003</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ServiceSharesMember_S000051191_C000172503"
      decimals="4"
      id="x_0fef3f8f-cec8-4f89-8817-e895cc3db1d9"
      unitRef="pure">0.0069</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ServiceSharesMember_S000051191_C000172503"
      decimals="4"
      id="x_6e97957a-4c03-415e-8584-f093d3ee5833"
      unitRef="pure">-0.0001</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ServiceSharesMember_S000051191_C000172503"
      decimals="4"
      id="x_5167e0e0-d3e7-4999-8d45-8ee244b20000"
      unitRef="pure">0.0068</oef:NetExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="ServiceSharesMember_S000051191"
      id="x_1c69677d-31dd-4a6e-9b9b-d31c047de96e">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;March 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="ServiceSharesMember_S000051191"
      id="e7a66e92-092c-4e8c-9f37-7529dad7dd1b">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ServiceSharesMember_S000051191"
      id="x_39386495-844c-434b-b613-ee487df7000a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Service Shares of the Fund for the time periods indicated and then redeem all of your Service Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ServiceSharesMember_S000051191_C000172503"
      decimals="INF"
      id="x_2b517b4a-a3bf-4f0f-9889-58ffa7822447"
      unitRef="USD">69</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ServiceSharesMember_S000051191_C000172503"
      decimals="INF"
      id="x_3f31682e-1a36-4f7f-bb86-f4fb0e9974f0"
      unitRef="USD">220</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ServiceSharesMember_S000051191_C000172503"
      decimals="INF"
      id="d1fa8d0a-dab3-4921-8fe6-66e8649ad97f"
      unitRef="USD">383</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ServiceSharesMember_S000051191_C000172503"
      decimals="INF"
      id="x_633cb610-96d4-4115-85fc-cc242d047304"
      unitRef="USD">858</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="ServiceSharesMember_S000051191"
      id="f5c89aae-aaae-4e22-a0ac-adde316bf0aa">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ServiceSharesMember_S000051191"
      id="ad184095-07f4-4301-b998-712f0587ea25">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing in securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;), obligations of banks (which may exceed 25% of its total assets), commercial paper and other short-term obligations of U.S. companies, states, municipalities and other entities, and repurchase agreements. The Fund may also invest in U.S. dollar-denominated obligations of foreign banks, foreign companies and foreign governments. The Fund may not invest more than 25% of its total assets in the securities of any one foreign government. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;retail money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (the &#x201c;Investment Company Act&#x201d;). &#x201c;Retail money market funds&#x201d; are money market funds that have policies and procedures reasonably designed to limit all beneficial owners of the fund to natural persons. As a &#x201c;retail money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity, diversification and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000051191_RiskLoseMoneyMember"
      id="x_76b93135-c82f-4ec4-ad72-b38bdb9e2c28">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000051191_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="bb7d6473-0039-4a75-ab85-5e33c27667d0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000051191_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember"
      id="f07cda47-9ad5-4e7f-a72b-423994998476">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund may impose a fee upon sale of your shares.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000051191_RiskNotInsuredDepositoryInstitutionMember"
      id="b84905e7-5408-4254-af18-d69cc066009c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;bank account or a deposit of a bank and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000051191_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="db918202-28c3-482a-bb8c-eaaddfbb6d33">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000051191_BankingIndustryRiskMember"
      id="x_0de273b8-6953-48ab-8459-db594b1e3e65">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Banking Industry Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An adverse development in the banking industry (domestic or foreign) may affect the value of the Fund&#x2019;s investments more than if the Fund were not invested to such a degree in the banking industry. Banks may be particularly susceptible to certain economic factors such as interest rate changes, adverse developments in the real estate market, fiscal, regulatory and monetary policy and general economic cycles.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000051191_CreditDefaultRiskMember"
      id="c6c31432-2af4-44ab-86a1-31b9e8d5979a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000051191_ForeignRiskMember"
      id="x_08f1716d-69b4-4e26-8080-615f9ca1d1de">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Foreign Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Foreign securities may be subject to risk of loss because of more or less foreign government regulation; less public information; less stringent investor protections; less stringent accounting, corporate governance, financial reporting and disclosure standards; and less economic, political and social stability in the countries in which the Fund invests. The imposition of sanctions, confiscations, trade restrictions (including tariffs) and other government restrictions by the United States and other governments, or from problems in share registration, settlement or custody, may also result in losses. In addition, the Fund will be subject to the risk that an issuer of foreign sovereign debt or the government authorities that control the repayment of the debt may be unable or unwilling to repay the principal or interest when due.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000051191_InterestRateRiskMember"
      id="a1b03204-eb0b-46e1-a597-dd1911f56545">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000051191_LargeShareholderTransactionsRiskMember"
      id="x_26f62ac6-2eb8-4eac-92e8-098408bda11e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders&#160;(including financial intermediaries who may make investment decisions on behalf of underlying clients) purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000051191_LiquidityRiskMember"
      id="ab0415b3-7150-4eb7-9ea2-8e885b2db5cc">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000051191_MarketRiskMember"
      id="e5b31d8f-914e-4a66-ad76-9926d9372a2b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of &#160;&#160;individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000051191_MunicipalSecuritiesRiskMember"
      id="x_8de87c01-1026-46d7-a0de-26cf6bcaa909">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Municipal Securities Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Municipal securities are subject to credit/default risk, interest rate risk and certain additional risks. The Fund may be more sensitive to adverse economic, business&#160;or political developments if it invests a substantial portion of its assets in the debt securities of similar projects (such as those relating to education, health care, housing, transportation, and utilities), industrial development bonds, or in particular types of municipal securities (such as general obligation bonds, private activity bonds and moral obligation bonds). The Fund may also invest in municipal securities indirectly (including by investing in tender option bonds). While interest earned on municipal securities is generally not subject to federal tax, any interest earned on taxable municipal securities is fully taxable at the federal level and may be subject to tax at the state level.&#160;Municipal securities may be more susceptible to downgrades or defaults during recessions or similar periods of economic stress. In addition, since some municipal securities may be secured, guaranteed or otherwise supported by banks and other institutions, the risk to the Fund could increase if the banking or financial sector suffers an economic downturn and/or if the credit ratings of the institutions issuing the guarantee or demand feature are downgraded or at risk of being downgraded by a national rating organization. Such a downward revision or risk of being downgraded may have an adverse effect on the market prices of municipal securities and thus cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000051191_StableNAVRiskMember"
      id="x_059b2b21-7b6e-42d5-ae8c-d0a34fe17d87">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000051191_USGovernmentSecuritiesRiskMember"
      id="x_94317c63-8df2-4ff9-9bb1-5792f851b186">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ServiceSharesMember_S000051191"
      id="ef279a99-8a44-4980-8cdd-5d42bba31fa9">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ServiceSharesMember_S000051191"
      id="a38bbe04-0c19-4817-a44a-b07b31ddc373">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Service Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Service Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;. &lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ServiceSharesMember_S000051191"
      id="x_219d28b2-48e7-4775-ab2e-c38bb30d0c21">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Service Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Service Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ServiceSharesMember_S000051191"
      id="x_1d2e4933-64d5-4f67-aa8e-c91eb0bac4d1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ServiceSharesMember_S000051191"
      id="e8167332-5c80-4fb2-a6ec-6cf1ea5bbc94">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="ServiceSharesMember_S000051191"
      id="x_7c8ef09c-db67-41e5-934d-3c88a400b309">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="ServiceSharesMember_S000051191"
      id="x_99b0fb5c-cfbc-49fc-8cf3-8b17d9cf9d94">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:113pt;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ServiceSharesMember_S000051191"
      id="x_6fd2d396-c706-468c-9bd8-53e5db9ea410">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.23%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2022&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ServiceSharesMember_S000051191_C000172503"
      id="a6a55582-93e3-4533-bc7d-8826d2e2acf2">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ServiceSharesMember_S000051191_C000172503"
      decimals="4"
      id="ff992238-e48c-4807-a4a3-14228952d493"
      unitRef="pure">0.0123</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ServiceSharesMember_S000051191_C000172503"
      id="b1993471-9de4-45d1-9466-e98e441c6bf0">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ServiceSharesMember_S000051191_C000172503"
      id="x_30126aea-bf75-4811-b3b9-6f10f77e82fd">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ServiceSharesMember_S000051191_C000172503"
      decimals="4"
      id="x_47ebc234-d2c6-406a-97a8-f6874b42f6c0"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ServiceSharesMember_S000051191_C000172503"
      id="e68953f4-366d-448c-9b4a-6f5b39febea3">2022-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ServiceSharesMember_S000051191"
      id="x_66c42f27-05fa-4267-87fc-ecb0e7a3735b">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="ServiceSharesMember_C000172503_01Jan2025_31Dec2025"
      decimals="4"
      id="x_1a534d05-8cb5-4f3b-aa8d-ef64e4a2f3c8"
      unitRef="pure">0.0379</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ServiceSharesMember_C000172503_01Jan2021_31Dec2025"
      decimals="4"
      id="cc4d287b-ae97-499d-8b54-52786cdc15c2"
      unitRef="pure">0.0289</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ServiceSharesMember_C000172503_31May2016_31Dec2025"
      decimals="4"
      id="cd753751-45db-4aef-9545-733733a1d9f4"
      unitRef="pure">0.0194</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ServiceSharesMember_C000172503"
      id="f50e79c5-d60d-4845-84bb-51c1c0b155af">2016-05-31</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="ServiceSharesMember_S000009244"
      id="x_1baf13d5-9847-4e51-9373-8f881e23c7bd">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Investor Tax-Exempt Money Market Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ServiceSharesMember_S000009244"
      id="x_4f23f9f4-ba80-41aa-93f9-bd77f930bbaa">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ServiceSharesMember_S000009244"
      id="x_3a45ccbd-52f6-4852-84d3-5b7b969341c6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Investor Tax-Exempt Money Market Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ServiceSharesMember_S000009244"
      id="fa98fa46-eea5-4ab3-bfcc-7906b250faba">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ServiceSharesMember_S000009244"
      id="x_68688efe-31f7-4195-b6ee-365fa1927457">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="ServiceSharesMember_S000009244"
      id="f4f11c11-0a65-4f47-af05-99d63efa11df">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ServiceSharesMember_S000009244_C000025212"
      decimals="4"
      id="x_167092c5-5c4e-4a8d-9ef1-36f86b0d0bab"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ServiceSharesMember_S000009244_C000025212"
      decimals="4"
      id="x_3ea5b526-a2bc-4ac0-aa65-35f85da04200"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="ServiceSharesMember_S000009244_C000025212"
      decimals="4"
      id="x_2b8ad629-8ae0-430f-a874-36358bc4bcfc"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="ServiceSharesMember_S000009244_C000025212"
      decimals="4"
      id="x_178fb227-cb79-414e-bd10-e381ccd994a5"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="ServiceSharesMember_S000009244_C000025212"
      decimals="4"
      id="c58ba7e2-b54d-4df5-abdd-4c913882f2fd"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="ServiceSharesMember_S000009244"
      id="x_71742f39-5f79-4a35-b940-58ba5618bab3">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ServiceSharesMember_S000009244_C000025212"
      decimals="4"
      id="x_07415be3-b646-4e66-bcb1-967745a8806c"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ServiceSharesMember_S000009244_C000025212"
      decimals="4"
      id="x_5a35e9cc-bfe2-44ca-b4a5-d35f58a091a0"
      unitRef="pure">0.0025</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ServiceSharesMember_S000009244_C000025212"
      decimals="4"
      id="x_42612274-0199-45c8-acf3-cb0566dcfdb0"
      unitRef="pure">0.0028</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="ServiceSharesMember_S000009244_C000025212"
      decimals="4"
      id="x_60db284e-958c-4a4c-aa61-625c78746a7a"
      unitRef="pure">0.0025</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ServiceSharesMember_S000009244_C000025212"
      decimals="4"
      id="x_4ded4d41-dbbd-4c92-a28a-bd54cf99c27a"
      unitRef="pure">0.0003</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ServiceSharesMember_S000009244_C000025212"
      decimals="4"
      id="ffe9442e-0c74-4cbd-919d-b4cb6b4f2a70"
      unitRef="pure">0.0069</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ServiceSharesMember_S000009244_C000025212"
      decimals="4"
      id="x_8c5cf23e-7beb-4ea5-9542-b5107306cc3a"
      unitRef="pure">-0.0001</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ServiceSharesMember_S000009244_C000025212"
      decimals="4"
      id="de6c9353-1258-41bc-87b6-707027e6d4d7"
      unitRef="pure">0.0068</oef:NetExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="ServiceSharesMember_S000009244"
      id="x_416f02f2-dc69-4336-98fa-f864a8a29b3d">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;March 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="ServiceSharesMember_S000009244"
      id="x_18bf7430-bee4-43a2-9a5e-1b403ca01d0f">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ServiceSharesMember_S000009244"
      id="x_3db91171-0093-48a5-a15f-bd283538c2a3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Service Shares of the Fund for the time periods indicated and then redeem all of your Service Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ServiceSharesMember_S000009244_C000025212"
      decimals="INF"
      id="x_326de2f5-5f62-475f-b223-963b007ea41a"
      unitRef="USD">69</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ServiceSharesMember_S000009244_C000025212"
      decimals="INF"
      id="x_24d03da1-598c-4152-9b3b-87ff60e2bf9a"
      unitRef="USD">220</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ServiceSharesMember_S000009244_C000025212"
      decimals="INF"
      id="af074508-87e7-4148-9180-dfe737ff1775"
      unitRef="USD">383</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ServiceSharesMember_S000009244_C000025212"
      decimals="INF"
      id="x_043fb41d-50d8-402a-8dfc-0c2eadd94291"
      unitRef="USD">858</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="ServiceSharesMember_S000009244"
      id="d16e5ee0-b1c7-4e4c-ad87-605583b94f6f">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ServiceSharesMember_S000009244"
      id="e7a7660d-f2cf-4ec5-9071-7fc6926557e7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing at least 80% of its net assets plus any borrowings for investment purposes (measured at the time of investment) (&#x201c;Net Assets&#x201d;) in securities issued by or on behalf of states, territories and possessions of the United States and their political subdivisions, agencies, authorities and instrumentalities, and the District of Columbia, the interest from which, if any, is in the opinion of bond counsel excluded from gross income for federal income tax purposes, and generally not an item of tax preference under the federal alternative minimum tax (&#x201c;AMT&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser ordinarily expects the Fund to invest in municipal obligations directly or indirectly (including by investing in tender option bonds), but the Fund may invest in short-term taxable instruments for temporary investment purposes. The Fund may also invest up to 20% of its Net Assets in securities the interest from which may be subject to federal income tax and an item of tax preference under the AMT. Such investments include securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;retail money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (the &#x201c;Investment Company Act&#x201d;). &#x201c;Retail money market funds&#x201d; are money market funds that have policies and procedures reasonably designed to limit all beneficial owners of the fund to natural persons. As a &#x201c;retail money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity, diversification and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009244_RiskLoseMoneyMember"
      id="x_9d77d8de-8450-4848-82e6-f79f9a692d18">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009244_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_66c4dac1-d8c9-4873-9af5-c1da86582be3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009244_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember"
      id="f6d0d262-8913-44e5-95d6-5530a564c285">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund may impose a fee upon sale of your shares.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009244_RiskNotInsuredDepositoryInstitutionMember"
      id="x_86ef8af0-8ddd-4204-b1f6-9ded08c1581b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;bank account or a deposit of a bank and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009244_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_574c5f45-bfe0-40b0-bbf4-e3202f02a4f3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009244_CreditDefaultRiskMember"
      id="x_4aca6bba-d0fe-4c96-9e3b-1f560a9c18db">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund may default on its obligation to pay interest and repay principal or default on any other obligation. This also includes the risk of default on letters of credit, guarantees, demand features or insurance policies that back or otherwise support municipal securities. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009244_GeographicandSectorRiskMember"
      id="f5d4e50b-d278-4e26-bc72-332b5187d55e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Geographic and Sector Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; If the Fund invests a significant portion of its total assets in certain issuers within the same state, geographic region or economic sector, an adverse economic, business, political, environmental or other development affecting that state, region or sector may affect the value of the Fund&#x2019;s investments more than if its investments were not so focused.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009244_InterestRateRiskMember"
      id="dc54d589-c0d2-4043-b3af-a1af042f4358">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009244_LargeShareholderTransactionsRiskMember"
      id="x_29465cc9-3e59-45fc-8d43-d0bb939108a2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders&#160;(including financial intermediaries who may make investment decisions on behalf of underlying clients) purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009244_LiquidityRiskMember"
      id="x_7a6a9b58-1246-4540-b53e-2854f9dd361b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009244_MarketRiskMember"
      id="a3e371aa-9cc5-4db9-80a9-cd54bbb14913">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of &#160;individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009244_MunicipalSecuritiesRiskMember"
      id="x_11edcd25-a0db-41dd-bad8-237d10a8db42">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Municipal Securities Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Municipal securities are subject to credit/default risk, interest rate risk and certain additional risks. The Fund may be more sensitive to adverse economic, business&#160;or political developments if it invests a substantial portion of its assets in the debt securities of similar projects (such as those relating to education, health care, housing, transportation, and utilities), industrial development bonds, or in particular types of municipal securities (such as general obligation bonds, private activity bonds and moral obligation bonds). The Fund may also invest in municipal securities indirectly (including by investing in tender option bonds). While interest earned on municipal securities is generally not subject to federal tax, any interest earned on taxable municipal securities is fully taxable at the federal level and may be subject to tax at the state level.&#160;Municipal securities may be more susceptible to downgrades or defaults during recessions or similar periods of economic stress. In addition, since some municipal securities may be secured, guaranteed or otherwise supported by banks and other institutions, the risk to the Fund could increase if the banking or financial sector suffers an economic downturn and/or if the credit ratings of the institutions issuing the guarantee or demand feature are downgraded or at risk of being downgraded by a national rating organization. Such a downward revision or risk of being downgraded may have an adverse effect on the market prices of municipal securities and thus cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009244_StableNAVRiskMember"
      id="x_0f700ceb-5dcf-4bea-9b46-7d25ce8723f1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009244_TaxRiskMember"
      id="c0371c2a-d76d-40b2-bb4f-d73eff71a56c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Tax Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Future legislative or administrative changes or court decisions may materially affect the value of the Fund&#x2019;s portfolio holdings and/or the ability of the Fund to pay federal tax-exempt dividends. The Fund would not be a suitable investment within IRAs, other tax-exempt or tax-deferred accounts, or for investors who are not sensitive to the federal tax consequences of their investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000009244_USGovernmentSecuritiesRiskMember"
      id="x_371be2df-b08f-4537-927c-d564ec0a810d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ServiceSharesMember_S000009244"
      id="x_9e95b85e-008f-4d1d-b1ea-70de60e94ade">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ServiceSharesMember_S000009244"
      id="f509b019-a739-474b-9fa6-5da41c680324">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Service Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Service Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;. &lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ServiceSharesMember_S000009244"
      id="x_3be3184a-27fa-46c6-b800-458ee252a6c0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Service Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Service Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ServiceSharesMember_S000009244"
      id="x_8b308a16-db5f-4449-ac1c-c1e5b2ce531a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ServiceSharesMember_S000009244"
      id="x_802fb89c-3f97-4e77-8c1a-e95c7a53ede8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="ServiceSharesMember_S000009244"
      id="f569a59a-03a0-4ded-9c09-627ee50d6cba">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="ServiceSharesMember_S000009244"
      id="x_6724aaef-188f-4c4e-8694-f589798864e8">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:113pt;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ServiceSharesMember_S000009244"
      id="x_03619f89-0255-4c96-b33f-485ad4ae456d">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.73%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2022&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ServiceSharesMember_S000009244_C000025212"
      id="x_1da66350-08e2-42bc-9be9-fc231109e8db">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ServiceSharesMember_S000009244_C000025212"
      decimals="4"
      id="x_61cc019c-86e8-4211-b51f-dba167e59bc2"
      unitRef="pure">0.0073</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ServiceSharesMember_S000009244_C000025212"
      id="x_7ac52567-04d8-422a-a3eb-b62e39e78db5">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ServiceSharesMember_S000009244_C000025212"
      id="x_304c8cec-514d-40ca-8b14-a20826af2afd">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ServiceSharesMember_S000009244_C000025212"
      decimals="4"
      id="x_987216a4-5e14-4ece-976f-565bb45212c8"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ServiceSharesMember_S000009244_C000025212"
      id="x_59b155a6-26b5-4f25-ab49-7e738f49ebf2">2022-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ServiceSharesMember_S000009244"
      id="x_27f7ce48-c927-496e-bbab-7d0bbc89a7d7">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="ServiceSharesMember_C000025212_01Jan2025_31Dec2025"
      decimals="4"
      id="x_3ab1a642-9c08-4e6e-a4a9-1281cb5819fd"
      unitRef="pure">0.0224</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ServiceSharesMember_C000025212_01Jan2021_31Dec2025"
      decimals="4"
      id="x_748a12f4-bc61-4a87-aa61-883d1c9d3144"
      unitRef="pure">0.0163</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ServiceSharesMember_C000025212_01Jan2016_31Dec2025"
      decimals="4"
      id="x_7b8dcb30-59e7-4833-8841-225d2d0b63b7"
      unitRef="pure">0.0101</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ServiceSharesMember_C000025212"
      id="f17799ac-715e-4228-9a31-e11ccc2f1995">1994-09-23</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="ServiceSharesMember_S000086404"
      id="x_2b2a9cb9-3f5f-432d-a314-ca69a27da717">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Investor Tax-Exempt California Money Market&#160;Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ServiceSharesMember_S000086404"
      id="x_716dad35-40fd-4ad0-8c27-e3712435c8df">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ServiceSharesMember_S000086404"
      id="x_267369dc-4a93-4a6b-90e0-626e40b0b77a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs Investor Tax-Exempt California Money Market Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing primarily in high quality money market instruments, the interest on which is exempt from federal income tax and California State personal income tax.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ServiceSharesMember_S000086404"
      id="x_9098bd49-ac68-4cc9-9e2b-6d69ef27e0e7">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ServiceSharesMember_S000086404"
      id="x_4cc6ee04-85e8-44f7-ba1d-72c98533d9c1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="ServiceSharesMember_S000086404"
      id="x_4f5dab61-3fcd-41dd-b62e-cebe4f429700">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ServiceSharesMember_S000086404_C000251958"
      decimals="4"
      id="x_0aec361e-a5df-4003-adf1-e52c580371b0"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ServiceSharesMember_S000086404_C000251958"
      decimals="4"
      id="x_227dd200-f236-45c4-8dd2-399e75df04f8"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="ServiceSharesMember_S000086404_C000251958"
      decimals="4"
      id="x_5b7c229b-4828-4760-912f-657bee580051"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="ServiceSharesMember_S000086404_C000251958"
      decimals="4"
      id="x_9073a999-3ff8-4a04-b149-806972efa63e"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="ServiceSharesMember_S000086404_C000251958"
      decimals="4"
      id="f2b80e0f-376c-423c-9bc0-7b4105f8a1c6"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="ServiceSharesMember_S000086404"
      id="x_31a61bd7-36c3-40a6-ad82-15709b463cad">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ServiceSharesMember_S000086404_C000251958"
      decimals="4"
      id="x_8818d846-f47d-4d0e-9e8c-0d1abee6018d"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ServiceSharesMember_S000086404_C000251958"
      decimals="4"
      id="x_211e975f-432e-4643-a506-a4bb5989ab04"
      unitRef="pure">0.0025</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ServiceSharesMember_S000086404_C000251958"
      decimals="4"
      id="c2eae7cf-d5dc-4db0-84ff-b1d559a98d0e"
      unitRef="pure">0.0312</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="ServiceSharesMember_S000086404_C000251958"
      decimals="4"
      id="x_991db16c-ad96-45be-8601-79ef5023f7dc"
      unitRef="pure">0.0025</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ServiceSharesMember_S000086404_C000251958"
      decimals="4"
      id="x_2357fe3e-ece8-4a09-b2f6-1ae02ca8c109"
      unitRef="pure">0.0287</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ServiceSharesMember_S000086404_C000251958"
      decimals="4"
      id="x_1d95c3a6-8d58-4a3e-a1ab-3aa7e9320e12"
      unitRef="pure">0.0353</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ServiceSharesMember_S000086404_C000251958"
      decimals="4"
      id="x_4c5b4d57-e190-4ca0-8e0e-ba2a59c96ac2"
      unitRef="pure">-0.0285</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ServiceSharesMember_S000086404_C000251958"
      decimals="4"
      id="x_6d576f62-de7f-4668-ab56-1c9a1a53eb09"
      unitRef="pure">0.0068</oef:NetExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="ServiceSharesMember_S000086404"
      id="e4a108c4-fa63-4476-bdb8-0fcf250efc97">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;March 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="ServiceSharesMember_S000086404"
      id="e09fb49d-de68-42a4-a54d-1c810ad73a5e">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ServiceSharesMember_S000086404"
      id="db57b998-e019-4719-a403-96893a7c15fb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Service Shares of the Fund for the time periods indicated and then redeem all of your Service Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same&#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements&#160;for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ServiceSharesMember_S000086404_C000251958"
      decimals="INF"
      id="x_310e53d7-c13b-475b-8c31-79198e001bb4"
      unitRef="USD">69</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ServiceSharesMember_S000086404_C000251958"
      decimals="INF"
      id="x_1c917a35-114a-447b-b449-68e174743041"
      unitRef="USD">817</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ServiceSharesMember_S000086404_C000251958"
      decimals="INF"
      id="x_8b5bd22d-eed4-4ee9-ace2-7cf71ba3362d"
      unitRef="USD">1586</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ServiceSharesMember_S000086404_C000251958"
      decimals="INF"
      id="fd1da04c-ec67-4570-8992-4d48a0a1d07b"
      unitRef="USD">3611</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="ServiceSharesMember_S000086404"
      id="x_55222320-7749-46c2-a746-78b4d666bbbf">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ServiceSharesMember_S000086404"
      id="be8b8954-dac7-4c40-b253-3baa0cc96042">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing at least 80% of its net assets plus any borrowings for investment purposes (measured at the time of investment) (&#x201c;Net Assets&#x201d;) in securities issued by or on behalf of (i) the State of California, its political subdivisions, agencies, authorities and instrumentalities and (ii) territories and possessions of the United States and their political subdivisions, agencies, authorities and instrumentalities, in each case, the interest from which, if any, is in the opinion of bond counsel excluded from gross income for federal income tax purposes, generally not an item of tax preference under the federal alternative minimum tax (&#x201c;AMT&#x201d;) and exempt from California State personal income tax (&#x201c;California Obligations&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser ordinarily expects the Fund to invest in municipal obligations directly or indirectly (including by investing in tender option bonds), but the Fund may invest in short-term taxable instruments for temporary investment purposes. The Fund may also invest up to 20% of its Net Assets in securities the interest from which is exempt from California State personal income tax, but may be subject to federal income tax and an item of tax preference under the AMT.&#160;Such investments include securities issued or guaranteed by the United States or certain U.S. government&#160;agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;retail money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (the &#x201c;Investment Company Act&#x201d;). &#x201c;Retail money market funds&#x201d; are money market funds that have policies and procedures reasonably designed to limit all beneficial owners of the fund to natural persons. As a &#x201c;retail money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity, diversification and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000086404_RiskLoseMoneyMember"
      id="ff1df88b-79b5-4ce4-9128-aee10eed8254">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000086404_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_4ee61aac-3f9d-4ae7-bf89-8d84e1976beb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000086404_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember"
      id="c47eca1e-cf11-418b-a3f4-b662cea7dda3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund may impose a fee upon sale of your shares.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000086404_RiskNotInsuredDepositoryInstitutionMember"
      id="x_5a702d1d-0aa9-4ab3-9071-270d7d6bc084">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;bank account or a deposit of a bank and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000086404_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="bbe1550c-13cf-449c-9e94-43bb7f827518">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000086404_CaliforniaRiskMember"
      id="fd306663-4851-420e-8a8e-1509d3e2dcdf">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;California Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund intends to invest primarily in California Obligations. The Fund&#x2019;s investments are, therefore, significantly affected by political and economic developments within this state, and by the financial condition of this state, its political subdivisions, agencies, authorities and instrumentalities. If California or any of its political subdivisions, agencies, authorities or instrumentalities are unable to meet their financial obligations, the Fund&#x2019;s income, NAV, and ability to preserve or realize appreciation of capital or liquidity could be adversely affected. While California&#x2019;s economy is broad and diversified, it does have major concentrations in certain sectors, including technology, manufacturing, entertainment, agriculture, tourism, construction and professional services, and will be disproportionately sensitive to economic problems affecting those sectors. In addition, as a single state money market fund, the Fund is less diversified and is allowed to invest a significantly greater portion of its assets in one issuer as compared to other money market funds. Because of the flexibility to invest a significantly greater portion of its assets in one issuer and the relatively limited number of issuers of California Obligations, the Fund&#x2019;s performance may be disproportionately affected by the success of one or a few issuers than is the performance of a more diversified money market fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000086404_CreditDefaultRiskMember"
      id="x_9a165241-9ccb-4182-b91a-5fd97a4627a6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund may default on its obligation to pay interest and repay principal or default on any other obligation. This also includes the risk of default on letters of credit, guarantees, demand features or insurance policies that back or otherwise support municipal securities. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000086404_InterestRateRiskMember"
      id="x_4e0595e0-e81e-4ffc-b4f3-8d88c7538d64">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000086404_LargeShareholderTransactionsRiskMember"
      id="x_8a71f861-f357-409d-a210-28950bef4fb5">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders&#160;(including financial intermediaries who may make investment decisions on behalf of underlying clients) purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000086404_LiquidityRiskMember"
      id="e9474476-3fff-4e51-ab22-3ed99f1bb4d7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund's ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000086404_MarketRiskMember"
      id="x_35ce1198-3b60-441f-a4e9-d319b86880ef">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of &#160;individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000086404_MunicipalSecuritiesRiskMember"
      id="x_90378cd7-d094-4055-b1f3-afd694d5f603">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Municipal Securities Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Municipal securities are subject to credit/default risk, interest rate risk and certain additional risks. The Fund may be more sensitive to adverse economic, business&#160;or political developments if it invests a substantial portion of its assets in the debt securities of similar projects (such as those relating to education, health care, housing, transportation, and utilities), industrial development bonds, or in particular types of municipal securities (such as general obligation bonds, private activity bonds and moral obligation bonds). The Fund may also invest in municipal securities indirectly (including by investing in tender option bonds). While interest earned on municipal securities is generally not subject to federal tax, any interest earned on taxable municipal securities is fully taxable at the federal level and may be subject to tax at the state level.&#160;Municipal securities may be more susceptible to downgrades or defaults during recessions or similar periods of economic stress. In addition, since some municipal securities may be secured, guaranteed or otherwise supported by banks and other institutions, the risk to the Fund could increase if the banking or financial sector suffers an economic downturn and/or if the credit ratings of the institutions issuing the guarantee or demand feature are downgraded or at risk of being downgraded by a national rating organization. Such a downward revision or risk of being downgraded may have an adverse effect on the market prices of municipal securities and thus cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000086404_StableNAVRiskMember"
      id="x_5b12fa9a-a9d4-4a78-aea8-117d020ab048">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000086404_TaxRiskMember"
      id="e449046a-fd5f-47f4-9e93-be0de935c533">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Tax Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Future legislative or administrative changes or court decisions may materially affect the value of the Fund&#x2019;s portfolio holdings and/or the ability of the Fund to pay federal tax-exempt dividends. The Fund would not be a suitable investment within IRAs, other tax-exempt or tax-deferred accounts, or for investors who are not sensitive to the federal tax consequences of their investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000086404_USGovernmentSecuritiesRiskMember"
      id="d93fc04f-061c-46a7-8116-3ed0952b3611">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ServiceSharesMember_S000086404"
      id="x_159d26d3-c7d1-465a-8837-07dde08f97e5">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ServiceSharesMember_S000086404"
      id="x_1c2a4449-9d19-4b12-8897-3068fbfaf353">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Service Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Service Shares.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;1-800-&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;621-2550&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;. &lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ServiceSharesMember_S000086404"
      id="x_2cd12fb5-f8de-4445-a61f-acd30f660561">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Service Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Service Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ServiceSharesMember_S000086404"
      id="dcc4416d-dd05-4170-a35d-bd09117ab3b1">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ServiceSharesMember_S000086404"
      id="ac667226-3ed1-4557-a9ae-68211c6fe957">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="ServiceSharesMember_S000086404"
      id="x_292b3308-c40b-4e69-9184-f75f8299710f">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;1-800-&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="ServiceSharesMember_S000086404"
      id="x_692923ea-706d-4db8-91be-0a8d3ac64a10">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:113pt;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ServiceSharesMember_S000086404"
      id="c2d6f5a9-0904-46d6-892f-bcd49dc0a853">&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.51%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;June 30, 2025&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.40%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;September 30, 2025&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ServiceSharesMember_S000086404_C000251958"
      id="x_862c61bd-172b-4bad-b0f3-e58fe2ab5bd1">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ServiceSharesMember_S000086404_C000251958"
      decimals="4"
      id="x_6474de77-3dec-4341-8ab7-66a8752bedbb"
      unitRef="pure">0.0051</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ServiceSharesMember_S000086404_C000251958"
      id="ad244aaf-f8f6-4929-a8e8-30fd375cb12e">2025-06-30</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ServiceSharesMember_S000086404_C000251958"
      id="x_0f4e4b90-f25a-44e8-bc69-c6d494e5edd8">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ServiceSharesMember_S000086404_C000251958"
      decimals="4"
      id="x_510b2b71-7563-468d-8268-b9a4773997af"
      unitRef="pure">0.0040</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ServiceSharesMember_S000086404_C000251958"
      id="ea775de5-af7c-4cd2-a04f-433b6f5760ec">2025-09-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ServiceSharesMember_S000086404"
      id="x_89f87653-e220-4d0c-af18-76afd70a7bd4">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="ServiceSharesMember_C000251958_01Jan2025_31Dec2025"
      decimals="4"
      id="x_32905462-e547-4be2-b888-cb3907d272b4"
      unitRef="pure">0.0181</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ServiceSharesMember_C000251958_10Sep2024_31Dec2025"
      decimals="4"
      id="x_4c9d7ebf-7539-4125-a8d9-6406ba1561d8"
      unitRef="pure">0.0189</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ServiceSharesMember_C000251958"
      id="cf9f4811-93c6-478b-816f-78f3dfea4130">2024-09-10</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="ServiceSharesMember_S000086405"
      id="x_55257aa5-e890-4f90-98d7-507e894d1056">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Investor Tax-Exempt New York&#160;Money Market Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ServiceSharesMember_S000086405"
      id="x_26a57f5d-4718-4b94-84d0-a6619cb6da7e">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ServiceSharesMember_S000086405"
      id="c797d207-9f26-4a44-9f81-fc46bfdba6f2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs Investor Tax-Exempt New York Money Market Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing primarily in high quality money market instruments, the interest on which is exempt from federal income tax and New York State and New York City personal income taxes.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ServiceSharesMember_S000086405"
      id="fcef1bc9-8464-427d-971b-91c918adf0c9">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ServiceSharesMember_S000086405"
      id="x_2ba52aeb-894b-4c6c-a2b5-0eb433f1c182">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="ServiceSharesMember_S000086405"
      id="x_51673e96-a7dd-432f-acbc-8d98c50b6837">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ServiceSharesMember_S000086405_C000251963"
      decimals="4"
      id="c73c6a6e-c62d-4334-9a13-530c8eb8a892"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ServiceSharesMember_S000086405_C000251963"
      decimals="4"
      id="x_015b9137-267f-4b84-8995-866ad099cbf2"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="ServiceSharesMember_S000086405_C000251963"
      decimals="4"
      id="d42aa5eb-e996-4b88-946a-0119dd310db3"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="ServiceSharesMember_S000086405_C000251963"
      decimals="4"
      id="x_2bcb4bef-b227-4458-b596-20e88bf67425"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="ServiceSharesMember_S000086405_C000251963"
      decimals="4"
      id="x_28ad191d-0ceb-491b-afe3-07dd953264d9"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="ServiceSharesMember_S000086405"
      id="x_3e820bc9-daf3-42d3-be9c-d38ddab438c2">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ServiceSharesMember_S000086405_C000251963"
      decimals="4"
      id="x_501d1a8f-8813-4960-a097-5971b2f264a1"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ServiceSharesMember_S000086405_C000251963"
      decimals="4"
      id="e8f824d3-b765-4172-b887-7c8ccb603b1c"
      unitRef="pure">0.0025</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ServiceSharesMember_S000086405_C000251963"
      decimals="4"
      id="f4ecd661-c97d-4f4e-b925-c6d8fcc74af9"
      unitRef="pure">0.0132</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="ServiceSharesMember_S000086405_C000251963"
      decimals="4"
      id="x_1a4526dc-f493-49d4-bc59-7583ebf989e1"
      unitRef="pure">0.0025</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ServiceSharesMember_S000086405_C000251963"
      decimals="4"
      id="f6c89411-1030-4fc3-9651-4d29510f2b21"
      unitRef="pure">0.0107</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ServiceSharesMember_S000086405_C000251963"
      decimals="4"
      id="x_8d9c4ac9-3042-40fa-9972-5f8b2565ebad"
      unitRef="pure">0.0173</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ServiceSharesMember_S000086405_C000251963"
      decimals="4"
      id="x_23d04225-6412-43f6-a070-82ebab1d6f68"
      unitRef="pure">-0.0105</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ServiceSharesMember_S000086405_C000251963"
      decimals="4"
      id="b5870201-6183-4a79-ba32-19bfddd20c2b"
      unitRef="pure">0.0068</oef:NetExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="ServiceSharesMember_S000086405"
      id="x_8317bb72-4fe4-4b72-815a-ce273590f134">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;March 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="ServiceSharesMember_S000086405"
      id="x_5e915d13-9e74-4d06-8511-d9cf6f1f67e4">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ServiceSharesMember_S000086405"
      id="x_2a684959-9213-429d-a2c6-63433c9f6295">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Service Shares of the Fund for the time periods indicated and then redeem all of your Service Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same&#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements&#160;for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ServiceSharesMember_S000086405_C000251963"
      decimals="INF"
      id="a02dd50f-2ba2-4388-9110-cfb33764278c"
      unitRef="USD">69</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ServiceSharesMember_S000086405_C000251963"
      decimals="INF"
      id="b7723117-95c7-4a54-9594-ac7c7d760675"
      unitRef="USD">442</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ServiceSharesMember_S000086405_C000251963"
      decimals="INF"
      id="x_27b10a1a-0f7f-4b7c-aa6b-de004c1f6e84"
      unitRef="USD">840</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ServiceSharesMember_S000086405_C000251963"
      decimals="INF"
      id="c3e438c1-f7ae-4d05-b502-c61100063bdb"
      unitRef="USD">1954</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="ServiceSharesMember_S000086405"
      id="b7f0f2c8-a861-4dbe-ab1b-fc161ab68d4c">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ServiceSharesMember_S000086405"
      id="f18ee071-4aca-4443-8fc0-ee5ac606968a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing at least 80% of its net assets plus any borrowings for investment purposes (measured at the time of investment) (&#x201c;Net Assets&#x201d;) in securities issued by or on behalf of (i) the State of New York, its political subdivisions, agencies, authorities and instrumentalities and (ii) territories and possessions of the United States and their political subdivisions, agencies, authorities and instrumentalities, in each case, the interest from which, if any, is in the opinion of bond counsel excluded from gross income for federal income tax purposes, generally not an item of tax preference under the federal alternative minimum tax (&#x201c;AMT&#x201d;) and exempt from New York State and New York City personal income taxes (&#x201c;New York Obligations&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser ordinarily expects the Fund to invest in municipal obligations directly or indirectly (including by investing in tender option bonds), but the Fund may invest in short-term taxable instruments for temporary investment purposes. The Fund may also invest up to 20% of its Net Assets in securities the interest from which is exempt from New York State and New York City personal income tax, but may be subject to federal income tax and an item of tax preference under the AMT.&#160;Such investments include securities issued or guaranteed by the United States or certain U.S. government&#160;agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;retail money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (the &#x201c;Investment Company Act&#x201d;). &#x201c;Retail money market funds&#x201d; are money market funds that have policies and procedures reasonably designed to limit all beneficial owners of the fund to natural persons. As a &#x201c;retail money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity, diversification and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000086405_RiskLoseMoneyMember"
      id="d044d131-36e8-4b63-a773-c44f4f0eb602">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000086405_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="d98321f3-e58b-49ad-96da-4448380997b5">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000086405_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember"
      id="f0094a8b-6f01-4f2a-a76f-dbda8e82fc1b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund may impose a fee upon sale of your shares.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000086405_RiskNotInsuredDepositoryInstitutionMember"
      id="fbe26540-be19-4a0e-82f9-44e4bf8ea171">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;bank account or a deposit of a bank and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000086405_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="d464d095-25a0-4a73-9c98-cbfa7ce276ae">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000086405_CreditDefaultRiskMember"
      id="x_0c3aedf0-1189-4ad2-8f20-94dae65549d7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund may default on its obligation to pay interest and repay principal or default on any other obligation. This also includes the risk of default on letters of credit, guarantees, demand features or insurance policies that back or otherwise support municipal securities. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000086405_InterestRateRiskMember"
      id="a397b614-2dec-45ae-9b18-e22e4365cb72">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000086405_LargeShareholderTransactionsRiskMember"
      id="x_4d0b5550-fdf9-43bb-b8bc-ecd1376cebc3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders&#160;(including financial intermediaries who may make investment decisions on behalf of underlying clients) purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000086405_LiquidityRiskMember"
      id="x_48028bb5-62d4-445d-bb83-2ca12db82458">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund's ability to maintain a stable $1.00 share price. Liquidity risk may also refer to &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000086405_MarketRiskMember"
      id="x_238f28ef-9c45-448a-9afd-78362dfb8eb2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of &#160;individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000086405_MunicipalSecuritiesRiskMember"
      id="d2a5aa6b-1f44-4f66-aee9-3341cf3aefb4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Municipal Securities Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Municipal securities are subject to credit/default risk, interest rate risk and certain additional risks. The Fund may be more sensitive to adverse economic, business&#160;or political developments if it invests a substantial portion of its assets in the debt securities of similar projects (such as those relating to education, health care, housing, transportation, and utilities), industrial development bonds, or in particular types of municipal securities (such as general obligation bonds, private activity bonds and moral obligation bonds). The Fund may also invest in municipal securities indirectly (including by investing in tender option bonds). While interest earned on municipal securities is generally not subject to federal tax, any interest earned on taxable municipal securities is fully taxable at the federal level and may be subject to tax at the state level.&#160;Municipal securities may be more susceptible to downgrades or defaults during recessions or similar periods of economic stress. In addition, since some municipal securities may be secured, guaranteed or otherwise supported by banks and other institutions, the risk to the Fund could increase if the banking or financial sector suffers an economic downturn and/or if the credit ratings of the institutions issuing the guarantee or demand feature are downgraded or at risk of being downgraded by a national rating organization. Such a downward revision or risk of being downgraded may have an adverse effect on the market prices of municipal securities and thus cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000086405_NewYorkRiskMember"
      id="fb28d37c-3216-40fc-9780-f680265ba7aa">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;New York Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund intends to invest primarily in New York Obligations. The Fund&#x2019;s investments are, therefore, significantly affected by political and economic developments within this state, and by the financial condition of this state, its political subdivisions, agencies, authorities and instrumentalities. If New York or any of its political subdivisions, agencies, authorities or instrumentalities are unable to meet their financial obligations, the Fund&#x2019;s income, NAV, and ability to preserve or realize appreciation of capital or liquidity could be adversely affected. As the nation&#x2019;s financial capital, the economies of New York State and New York City are heavily dependent on the financial sector and will be disproportionately sensitive to economic problems affecting the sector. In addition, as a single state money market fund, the Fund is less diversified and is allowed to invest a significantly greater portion of its assets in one issuer as compared to other money market funds. Because of the flexibility to invest a significantly greater portion of its assets in one issuer and the relatively limited number of issuers of New York Obligations, the Fund&#x2019;s performance may be disproportionately affected by the success of one or a few issuers than is the performance of a more diversified money market fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000086405_StableNAVRiskMember"
      id="c9fffbb8-3d38-451a-a28a-1674ceaf4af2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000086405_TaxRiskMember"
      id="x_1f647fdd-e6ae-4b1b-a248-d87a37022070">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Tax Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Future legislative or administrative changes or court decisions may materially affect the value of the Fund&#x2019;s portfolio holdings and/or the ability of the Fund to pay federal tax-exempt dividends. The Fund would not be a suitable investment within IRAs, other tax-exempt or tax-deferred accounts, or for investors who are not sensitive to the federal tax consequences of their investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ServiceSharesMember_S000086405_USGovernmentSecuritiesRiskMember"
      id="d8353146-e166-4098-8313-2f09acce784a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ServiceSharesMember_S000086405"
      id="x_89ab2d8c-7e56-4a25-b55a-82cc94cbdfde">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ServiceSharesMember_S000086405"
      id="ec9286b4-6eea-413e-882c-2931cf1ca96d">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Service Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Service Shares.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;1-800-&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;621-2550&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;. &lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ServiceSharesMember_S000086405"
      id="x_5e3d2d13-3611-4dfd-8748-2b599fc78fb6">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Service Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Service Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ServiceSharesMember_S000086405"
      id="x_4b0491ff-a614-4a75-9f12-f9698b864f68">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ServiceSharesMember_S000086405"
      id="x_3bad1066-faea-45be-99da-f0c81a911bb8">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="ServiceSharesMember_S000086405"
      id="x_0d19d857-372f-4860-aa67-eec54f0db84d">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;1-800-&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="ServiceSharesMember_S000086405"
      id="da9eb8d6-b7ca-4e60-b057-5f108979ef8e">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:113pt;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ServiceSharesMember_S000086405"
      id="x_512da899-2240-4558-a72c-b918ddd25644">&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.58%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;June 30, 2025&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.51%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2025&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ServiceSharesMember_S000086405_C000251963"
      id="x_4a815c03-61f2-4b1f-9be8-43939d0d206f">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ServiceSharesMember_S000086405_C000251963"
      decimals="4"
      id="x_48978572-bd99-44dc-ac98-a89129c08d52"
      unitRef="pure">0.0058</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ServiceSharesMember_S000086405_C000251963"
      id="a05408f3-6917-45fb-a004-6531dfa3ba0b">2025-06-30</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ServiceSharesMember_S000086405_C000251963"
      id="x_5792af93-e654-4e73-bc93-d6e6c4d9161e">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ServiceSharesMember_S000086405_C000251963"
      decimals="4"
      id="x_33d652da-82a5-4f8e-aef9-869bfb4230a5"
      unitRef="pure">0.0051</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ServiceSharesMember_S000086405_C000251963"
      id="x_9c6f4062-8dac-4ecf-b687-b3288cea22dd">2025-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ServiceSharesMember_S000086405"
      id="c9324460-4e30-45da-a15a-26400ea9f016">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="ServiceSharesMember_C000251963_01Jan2025_31Dec2025"
      decimals="4"
      id="e7ecb2da-78a9-4d20-96f1-08d63617ae51"
      unitRef="pure">0.0217</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ServiceSharesMember_C000251963_10Sep2024_31Dec2025"
      decimals="4"
      id="x_94de2fe9-e948-4e77-a0a3-6a16d32c1563"
      unitRef="pure">0.0226</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ServiceSharesMember_C000251963"
      id="x_9f837047-ddae-4269-b35d-3613775927a3">2024-09-10</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="PreferredSharesMember_S000009260"
      id="b232aeb8-4f0c-49e3-bf42-b0cbc61abaa8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Treasury Obligations Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="PreferredSharesMember_S000009260"
      id="f8511de1-6987-4ebf-88b9-8f699759a1a2">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="PreferredSharesMember_S000009260"
      id="x_56668bed-2ccf-4d2a-8dd4-39ed3dfc1943">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Treasury Obligations Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="PreferredSharesMember_S000009260"
      id="x_16f344c8-dfc2-4e6a-867e-174a98b3ed29">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="PreferredSharesMember_S000009260"
      id="x_0598244d-6717-414d-bf90-db7adcf5810f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="PreferredSharesMember_S000009260"
      id="x_0d317fd0-2029-4fb8-a9fb-2ab62e3e1ca7">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="PreferredSharesMember_S000009260_C000025305"
      decimals="4"
      id="x_394c1510-839f-4ecf-959d-a895a4204032"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="PreferredSharesMember_S000009260_C000025305"
      decimals="4"
      id="f3f76284-100e-4064-8950-615295429e32"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="PreferredSharesMember_S000009260_C000025305"
      decimals="4"
      id="ae0ec81a-8c6a-4e74-ac85-348efb9a9c7a"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="PreferredSharesMember_S000009260_C000025305"
      decimals="4"
      id="fa8d309c-0c84-47e3-a688-962f8fbb306c"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="PreferredSharesMember_S000009260_C000025305"
      decimals="4"
      id="x_714b0837-df56-4661-b683-5c8696ffd8e1"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="PreferredSharesMember_S000009260"
      id="x_29405569-0af4-4aa1-ab26-fc129c7ea19c">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="PreferredSharesMember_S000009260_C000025305"
      decimals="4"
      id="x_37bb7312-079e-4b6c-b8df-6f53c9770cc9"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="PreferredSharesMember_S000009260_C000025305"
      decimals="4"
      id="x_86feec6b-3fdb-49e2-be7b-d3d0dc3b4e25"
      unitRef="pure">0.0012</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="PreferredSharesMember_S000009260_C000025305"
      decimals="4"
      id="x_2d348ab4-6b0d-464e-b7b8-ffade678830f"
      unitRef="pure">0.0010</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="PreferredSharesMember_S000009260_C000025305"
      decimals="4"
      id="fbec796f-d1e1-4782-b566-7fcdd82ab2aa"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="PreferredSharesMember_S000009260_C000025305"
      decimals="4"
      id="c45362e3-2a33-4987-9afc-a5d4783f24ca"
      unitRef="pure">0.0030</oef:ExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="PreferredSharesMember_S000009260"
      id="x_7b884ee6-55b2-498b-b80f-ddb7dbebe48f">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="PreferredSharesMember_S000009260"
      id="x_480d712d-0736-434a-bdda-edda108922d3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Preferred Shares of the Fund for the time periods indicated and then redeem all of your Preferred Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="PreferredSharesMember_S000009260_C000025305"
      decimals="INF"
      id="x_0adcc887-c517-4ff2-9dc9-c4954bef7341"
      unitRef="USD">31</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="PreferredSharesMember_S000009260_C000025305"
      decimals="INF"
      id="x_501bfb6c-a302-49ae-bbec-4015492716b7"
      unitRef="USD">97</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="PreferredSharesMember_S000009260_C000025305"
      decimals="INF"
      id="f61a6edd-ddf0-469f-a0fa-9cada2b4a9a3"
      unitRef="USD">169</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="PreferredSharesMember_S000009260_C000025305"
      decimals="INF"
      id="x_3ad1957b-60e6-4d28-b535-75c8e135c400"
      unitRef="USD">381</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="PreferredSharesMember_S000009260"
      id="d9c5e844-dde4-41b4-84e0-1056a77ccf71">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="PreferredSharesMember_S000009260"
      id="x_31da6d80-b931-4074-a237-0530604e2362">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in U.S. Treasury Obligations, which include securities issued or guaranteed&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;by the U.S. Treasury where the payment of principal and interest is backed by the full faith and credit of the U.S. government (&#x201c;U.S. Treasury Obligations&#x201d;), and repurchase agreements collateralized by U.S. Treasury Obligations. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;). &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;), and/or repurchase agreements that are collateralized fully by &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;cash or U.S. Government Securities. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009260_RiskLoseMoneyMember"
      id="a190d8ec-dd9f-4c01-8897-500c48834655">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009260_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="c0696937-a5d8-4b2d-82a6-8ddbfe80ebe1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009260_RiskNotInsuredDepositoryInstitutionMember"
      id="x_5333eb4c-5a36-48a3-ac3b-d706bccfedb2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009260_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="dbd09d28-74f3-4730-a339-4ea30c8d5dd9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009260_CreditDefaultRiskMember"
      id="bc1f870b-d7ea-45e3-9f6a-ef776123bf46">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009260_InterestRateRiskMember"
      id="x_0b9eae65-c5e9-4124-809f-df632bcdb6b6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009260_LargeShareholderTransactionsRiskMember"
      id="x_4ae8ef4e-8769-420c-8600-d6925936a567">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009260_LiquidityRiskMember"
      id="dfd4f551-d55d-4b59-b342-15714da6bda7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009260_MarketRiskMember"
      id="x_599df3f3-9934-4898-9cbd-da0dbeaeb868">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009260_StableNAVRiskMember"
      id="a7c383f2-4cda-429c-a5b7-2a34352aad23">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="PreferredSharesMember_S000009260"
      id="b0744bfb-7cbb-45b8-a843-7f48f2b1b86b">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="PreferredSharesMember_S000009260"
      id="ac378ddd-e94c-4d86-8ace-895e98926a2e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Preferred Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Preferred Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="PreferredSharesMember_S000009260"
      id="a7fa70ee-d634-4efe-9f3e-6d91d56290b3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Preferred Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Preferred Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="PreferredSharesMember_S000009260"
      id="x_0ad804d9-2bdb-4117-a60c-142eeaeb446f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="PreferredSharesMember_S000009260"
      id="x_39e267f9-c931-418f-9132-86b037733763">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="PreferredSharesMember_S000009260"
      id="x_5d22d1ba-3aee-43f8-9f1d-7490d9b5ccfc">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="PreferredSharesMember_S000009260"
      id="d892ee07-f3ef-49d9-b9e0-6dd68b6775ff">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="PreferredSharesMember_S000009260"
      id="x_91f2b710-58ad-409c-80c4-feb3e0675304">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.30%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;September 30, 2021&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="PreferredSharesMember_S000009260_C000025305"
      id="x_9d4d2c10-d940-4604-82c7-e46f8c6fe207">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="PreferredSharesMember_S000009260_C000025305"
      decimals="4"
      id="cf640f18-d144-4ec2-b1a0-c270db6a0ac2"
      unitRef="pure">0.0130</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="PreferredSharesMember_S000009260_C000025305"
      id="x_6cae0c74-b9bc-4b32-a9be-2ea785c74258">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="PreferredSharesMember_S000009260_C000025305"
      id="x_593e4e52-4896-467d-bcce-7528d9d24a43">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="PreferredSharesMember_S000009260_C000025305"
      decimals="4"
      id="cb5979a8-9e48-458c-a376-05f9619e28da"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="PreferredSharesMember_S000009260_C000025305"
      id="x_7b41e7b9-be89-407d-87c6-4a75bbd3cb2b">2021-09-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="PreferredSharesMember_S000009260"
      id="x_19e80dd1-f24f-4446-9813-3c3f59abd1f0">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="PreferredSharesMember_C000025305_01Jan2025_31Dec2025"
      decimals="4"
      id="fc03633c-7fa2-4ebd-b956-6254eb4c7e32"
      unitRef="pure">0.0407</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="PreferredSharesMember_C000025305_01Jan2021_31Dec2025"
      decimals="4"
      id="x_315fa321-1da0-4c96-83c2-c911877c59ee"
      unitRef="pure">0.0309</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="PreferredSharesMember_C000025305_01Jan2016_31Dec2025"
      decimals="4"
      id="x_7ff065ce-ae6a-4f51-8d0a-273873422679"
      unitRef="pure">0.0200</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="PreferredSharesMember_C000025305"
      id="d57dd6b3-730d-4545-adc1-efd88072c2a7">1996-05-01</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="PreferredSharesMember_S000009261"
      id="x_346db925-e0a2-4de4-9978-a2459307eea9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square&#160;Treasury Instruments Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="PreferredSharesMember_S000009261"
      id="c404bff7-c9df-4398-8ac6-912d1f1f377e">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="PreferredSharesMember_S000009261"
      id="e02a1037-7091-4bc0-ba7e-55f82d47d05d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square&#160;Treasury Instruments Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="PreferredSharesMember_S000009261"
      id="e8f7ab8f-20d8-4df3-8259-0086801b8906">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="PreferredSharesMember_S000009261"
      id="x_9333d9d8-70f8-4fb6-8217-598a46341b5d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="PreferredSharesMember_S000009261"
      id="x_75f584c7-d475-4fe4-a473-216b2acbaa9b">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="PreferredSharesMember_S000009261_C000025312"
      decimals="4"
      id="a19f0483-54f2-4310-84d5-b9757dd58224"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="PreferredSharesMember_S000009261_C000025312"
      decimals="4"
      id="cab5cfe1-3052-4208-813d-8eda6f6251ba"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="PreferredSharesMember_S000009261_C000025312"
      decimals="4"
      id="x_98fb4a8d-6d3d-41a4-be44-171fb3a2b865"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="PreferredSharesMember_S000009261_C000025312"
      decimals="4"
      id="x_7427db29-6648-4c04-81e2-ecebccb0cdfd"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="PreferredSharesMember_S000009261_C000025312"
      decimals="4"
      id="e078c5a9-ed49-4d49-90c2-1db338f7732b"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="PreferredSharesMember_S000009261"
      id="x_7ef5592d-b388-47ea-8d9d-fc189b569717">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="PreferredSharesMember_S000009261_C000025312"
      decimals="4"
      id="x_944f4d52-52f3-481f-88b0-507c8dbc700c"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="PreferredSharesMember_S000009261_C000025312"
      decimals="4"
      id="x_5491a009-21dd-41fb-b374-a031f34545e6"
      unitRef="pure">0.0012</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="PreferredSharesMember_S000009261_C000025312"
      decimals="4"
      id="x_749a8bd6-ada8-4566-a0f2-d9eabf448699"
      unitRef="pure">0.0010</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="PreferredSharesMember_S000009261_C000025312"
      decimals="4"
      id="b54c8a5a-bcf8-4071-81e3-d7b7344fa39c"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="PreferredSharesMember_S000009261_C000025312"
      decimals="4"
      id="x_4cf4d931-173b-4126-a0f0-4c83a4ac4b9e"
      unitRef="pure">0.0030</oef:ExpensesOverAssets>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="PreferredSharesMember_S000009261"
      id="bf94bdc9-8c44-4ce7-ad3d-7bf56c576e30">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.&lt;/span&gt;</oef:ExpensesRestatedToReflectCurrent>
    <oef:ExpenseExampleHeading
      contextRef="PreferredSharesMember_S000009261"
      id="a5843fff-dc83-46a9-ab6c-3c704029c415">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="PreferredSharesMember_S000009261"
      id="cb87910a-6ca4-4cbb-88d6-ee41fc7ac749">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Preferred Shares of the Fund for the time periods indicated and then redeem all of your Preferred Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="PreferredSharesMember_S000009261_C000025312"
      decimals="INF"
      id="e2847574-f897-4a5a-8565-e48596bc9ec0"
      unitRef="USD">31</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="PreferredSharesMember_S000009261_C000025312"
      decimals="INF"
      id="x_465c5198-3802-4548-8f3c-2cbf59204764"
      unitRef="USD">97</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="PreferredSharesMember_S000009261_C000025312"
      decimals="INF"
      id="x_7c1e1b6c-91c0-40ea-a92f-31a25eb37001"
      unitRef="USD">169</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="PreferredSharesMember_S000009261_C000025312"
      decimals="INF"
      id="b1a7410f-2e38-4950-9630-86a25383a70f"
      unitRef="USD">381</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="PreferredSharesMember_S000009261"
      id="x_5c209108-ec85-4160-8dfb-3a52e824ac46">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="PreferredSharesMember_S000009261"
      id="x_2f63074c-8b7d-427b-8830-fdebdcb80f1d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in U.S. Treasury Obligations, which include securities issued or guaranteed by the U.S. Treasury where the payment of principal and interest is backed by the full faith and credit of the U.S. government (&#x201c;U.S. Treasury Obligations&#x201d;), the interest from which is generally exempt from state income taxation. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;). &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash and securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). Although &#x201c;government money market funds&#x201d; may also &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;invest in repurchase agreements that are collateralized fully by cash or U.S. Government Securities, the Fund may not invest in repurchase agreements. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009261_RiskLoseMoneyMember"
      id="x_5d9be060-b14d-448a-ac24-023c8422e6d1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009261_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="cfe6de39-7155-402c-983b-8b638771d435">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009261_RiskNotInsuredDepositoryInstitutionMember"
      id="x_8b63dbde-7f5e-4d84-9167-3dded0f35e28">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009261_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_4a003475-7e09-4517-b69e-6e767f6c1067">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009261_CreditDefaultRiskMember"
      id="d80d2557-17ab-4c9d-8f23-c0df0192bb53">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009261_InterestRateRiskMember"
      id="a65c4377-a41a-49a0-b858-0d7e84ef29be">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009261_LargeShareholderTransactionsRiskMember"
      id="b93649e5-e74f-4fa1-8be2-fae3cfc0e1a2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009261_LiquidityRiskMember"
      id="x_51552c8f-d60f-4a3f-9296-c5a94fe09785">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009261_MarketRiskMember"
      id="x_558aba6e-40a2-47c5-be9b-46aa365bb952">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009261_StableNAVRiskMember"
      id="afb3646d-d4d7-4973-8f81-3cead86d26cb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="PreferredSharesMember_S000009261"
      id="x_2dcd265d-9bd0-4a87-8f2f-c266311c44f1">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="PreferredSharesMember_S000009261"
      id="x_0f3bac0e-bba9-4141-8083-60861ff7093a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Preferred Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Preferred Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="PreferredSharesMember_S000009261"
      id="x_270085e2-0be6-4530-86c7-64bcc295bd47">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Preferred Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Preferred Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="PreferredSharesMember_S000009261"
      id="dcfdbc59-c770-4539-9b4f-8d555eab3dbe">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="PreferredSharesMember_S000009261"
      id="x_837f226c-e564-456e-b8c3-00f9b505c51a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="PreferredSharesMember_S000009261"
      id="x_341dc3d1-bff8-48f0-b774-87b7cfa277b7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="PreferredSharesMember_S000009261"
      id="x_8a5067af-a0b6-48c1-989d-e1525c8606b9">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="PreferredSharesMember_S000009261"
      id="x_55924e34-dea0-4fba-9bdf-9357f6d01277">&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.30%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;September 30, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="PreferredSharesMember_S000009261_C000025312"
      id="x_99f8c730-d7d1-435f-9719-f94aac0d3033">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="PreferredSharesMember_S000009261_C000025312"
      decimals="4"
      id="x_550dc166-6ada-46b7-9b98-4d4ab0b350bc"
      unitRef="pure">0.0130</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="PreferredSharesMember_S000009261_C000025312"
      id="a23bb945-8dcb-4d38-9782-7505f1cada82">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="PreferredSharesMember_S000009261_C000025312"
      id="x_8283d2da-3f82-498b-a304-842edf06b23c">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="PreferredSharesMember_S000009261_C000025312"
      decimals="4"
      id="x_76ff30f9-27e5-40b5-8cdf-322a487dd792"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="PreferredSharesMember_S000009261_C000025312"
      id="x_502bb7d0-53ba-4a72-82e8-88f22757bf38">2020-09-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="PreferredSharesMember_S000009261"
      id="x_4de48409-c6d1-4c35-9211-c55ff15999ed">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="PreferredSharesMember_C000025312_01Jan2025_31Dec2025"
      decimals="4"
      id="a26d4a75-b9c3-45b8-9855-bbf6c32615a0"
      unitRef="pure">0.0404</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="PreferredSharesMember_C000025312_01Jan2021_31Dec2025"
      decimals="4"
      id="d3191e66-44fd-4f9c-b515-c25f193d5fe4"
      unitRef="pure">0.0304</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="PreferredSharesMember_C000025312_01Jan2016_31Dec2025"
      decimals="4"
      id="x_27526e90-0c97-4d54-8c67-0a108e025f9d"
      unitRef="pure">0.0197</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="PreferredSharesMember_C000025312"
      id="x_09a2a419-1ba5-4c4a-afb4-c58d52c83f65">1997-05-30</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="PreferredSharesMember_S000009243"
      id="x_54d04a9f-a41a-4f57-be14-dced40bd40cb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Treasury Solutions Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="PreferredSharesMember_S000009243"
      id="x_4136544a-3019-4519-a2eb-52eb1e9dd925">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="PreferredSharesMember_S000009243"
      id="x_23671839-3bbf-4de2-be8e-4f1d7dba56ea">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Treasury Solutions Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="PreferredSharesMember_S000009243"
      id="x_04518e87-3fe2-4481-965a-c9241a911ff3">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="PreferredSharesMember_S000009243"
      id="ebe999bc-1ebc-4eb2-b3dc-10b672c3c76b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="PreferredSharesMember_S000009243"
      id="d1cd9fc1-c2ae-473c-bf22-66b1f205d5f5">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="PreferredSharesMember_S000009243_C000025206"
      decimals="4"
      id="x_6330f8aa-4518-4364-95ac-9e5836caca91"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="PreferredSharesMember_S000009243_C000025206"
      decimals="4"
      id="x_75531bf3-623f-4a0f-91fa-7cb2647e7bd8"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="PreferredSharesMember_S000009243_C000025206"
      decimals="4"
      id="x_1ed26716-4d04-467a-ac10-f61e17853a88"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="PreferredSharesMember_S000009243_C000025206"
      decimals="4"
      id="ff640476-3f9d-4741-9eac-85f7cc0430dd"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="PreferredSharesMember_S000009243_C000025206"
      decimals="4"
      id="x_0c023dd9-f5fa-480d-a5f6-a79b1326de4d"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="PreferredSharesMember_S000009243"
      id="fa2d3fe4-81e6-4145-9a13-80312c0045ec">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="PreferredSharesMember_S000009243_C000025206"
      decimals="4"
      id="x_3ec71353-6ca9-4205-960e-bd68c2ac33cf"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="PreferredSharesMember_S000009243_C000025206"
      decimals="4"
      id="x_3fd476ec-a936-487c-bd6a-000b99c222fe"
      unitRef="pure">0.0012</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="PreferredSharesMember_S000009243_C000025206"
      decimals="4"
      id="x_6b5bf354-e678-4cfa-b95d-e2cec7af8698"
      unitRef="pure">0.0010</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="PreferredSharesMember_S000009243_C000025206"
      decimals="4"
      id="x_3c9ebadf-82ba-41c2-a5c9-0dee6f81da49"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="PreferredSharesMember_S000009243_C000025206"
      decimals="4"
      id="fdef74a1-5c39-42a8-b207-2dcc9dfd2a16"
      unitRef="pure">0.0030</oef:ExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="PreferredSharesMember_S000009243"
      id="x_2eefeaad-445b-489a-b9b3-60bc22e280e5">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="PreferredSharesMember_S000009243"
      id="x_85ae0c41-7544-4f1e-b303-758e0fa06c0a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Preferred Shares of the Fund for the time periods indicated and then redeem all of your Preferred Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="PreferredSharesMember_S000009243_C000025206"
      decimals="INF"
      id="x_8dcc55bf-fc38-4a58-9998-ad670c709119"
      unitRef="USD">31</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="PreferredSharesMember_S000009243_C000025206"
      decimals="INF"
      id="x_01c441e6-4a1f-4621-9e74-b4a9f9cae3db"
      unitRef="USD">97</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="PreferredSharesMember_S000009243_C000025206"
      decimals="INF"
      id="x_326e5778-e9f9-40de-9b02-0b2b9e3cd347"
      unitRef="USD">169</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="PreferredSharesMember_S000009243_C000025206"
      decimals="INF"
      id="fc56f151-276e-4a9a-8e4d-e73d5de5526b"
      unitRef="USD">381</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="PreferredSharesMember_S000009243"
      id="d3c47fd6-b076-4bc4-bd4a-a68d7a488f38">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="PreferredSharesMember_S000009243"
      id="x_77169676-6b7e-41d4-a09e-a42eb06d05a2">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in U.S. Treasury Obligations, which include securities issued or guaranteed&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;by the U.S. Treasury where the payment of principal and interest is backed by the full faith and credit of the U.S. government (&#x201c;U.S. Treasury Obligations&#x201d;), and repurchase agreements with the Federal Reserve Bank of New York collateralized by U.S. Treasury Obligations. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;). &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;), and/or repurchase agreements that are collateralized fully by &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;cash or U.S. Government Securities. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009243_RiskLoseMoneyMember"
      id="x_2085fb59-28a7-4536-9ae8-625cdd750e10">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009243_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_06de1835-5290-403c-afa1-23f683e89c66">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009243_RiskNotInsuredDepositoryInstitutionMember"
      id="d34d6db1-ca68-4695-8334-e675898fa1a3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009243_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="fcefd335-5899-4a1e-85a1-fd177cb26ced">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009243_CreditDefaultRiskMember"
      id="x_35720893-edf6-4808-ae47-1e77a60414f0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009243_InterestRateRiskMember"
      id="x_8eb4001a-7f77-4155-b9e0-2a2faa11b565">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009243_LargeShareholderTransactionsRiskMember"
      id="c8eb245f-5d56-4ec3-80c0-f213855017f5">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009243_LiquidityRiskMember"
      id="ee99bdef-eb4a-4704-af87-728367617ba0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009243_MarketRiskMember"
      id="a28d1d20-bca9-47c5-b30f-9e14a9f1a2b9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009243_StableNAVRiskMember"
      id="f3960a13-7cf1-4546-9e9b-dda21686002c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="PreferredSharesMember_S000009243"
      id="x_34110a35-f4a1-4043-8a9a-7fda8adca20e">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="PreferredSharesMember_S000009243"
      id="c4d61e35-c74e-4c46-84b9-d0d7c1b5a5b5">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Preferred Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Preferred Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="PreferredSharesMember_S000009243"
      id="f6cb55a8-87e4-4a25-8b59-6526d8c7a7f3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Preferred Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Preferred Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="PreferredSharesMember_S000009243"
      id="x_578786ef-356b-4d6f-b5f2-fb73a741d958">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="PreferredSharesMember_S000009243"
      id="x_70e4c901-9bdb-4aa3-ab02-fb7c7c07b069">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="PreferredSharesMember_S000009243"
      id="a5b09459-37a2-4a34-82e3-5e92a6613b68">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="PreferredSharesMember_S000009243"
      id="c27b7aeb-0986-430a-917d-66c3fbd160b1">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="PreferredSharesMember_S000009243"
      id="x_8a16de6c-fe81-41e9-aa48-2bbdae87e6c2">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.30%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;September 30, 2021&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="PreferredSharesMember_S000009243_C000025206"
      id="x_9c5b6fff-89cd-46d4-856d-4f02bc3fad6a">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="PreferredSharesMember_S000009243_C000025206"
      decimals="4"
      id="x_7008f3e6-63ea-4e5f-912c-73f676fb4ef7"
      unitRef="pure">0.0130</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="PreferredSharesMember_S000009243_C000025206"
      id="x_3d3003ef-77c8-4479-9e7d-beaeba86a2ce">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="PreferredSharesMember_S000009243_C000025206"
      id="f2ddb872-4d4c-4d7c-a3c9-d6ba32b398f0">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="PreferredSharesMember_S000009243_C000025206"
      decimals="4"
      id="e3d147a3-b697-49b2-89e3-2623696b816a"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="PreferredSharesMember_S000009243_C000025206"
      id="ea7afa1f-9f43-4852-8b68-3e9141228214">2021-09-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="PreferredSharesMember_S000009243"
      id="x_5183da63-be7f-41c0-8e93-cf1b6c8f6970">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="PreferredSharesMember_C000025206_01Jan2025_31Dec2025"
      decimals="4"
      id="x_2a9571bd-06d6-41ae-88ad-74bac726a4e6"
      unitRef="pure">0.0404</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="PreferredSharesMember_C000025206_01Jan2021_31Dec2025"
      decimals="4"
      id="x_1e2b8996-662b-4854-8267-ee55d3383824"
      unitRef="pure">0.0308</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="PreferredSharesMember_C000025206_01Jan2016_31Dec2025"
      decimals="4"
      id="aec7c11b-37b3-4672-a7a6-e465e8905502"
      unitRef="pure">0.0200</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="PreferredSharesMember_C000025206"
      id="x_8d61bcef-a713-4f69-9987-d9e157d3f057">1997-05-30</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="PreferredSharesMember_S000009242"
      id="e9abfb03-0d34-4509-a84d-1323bad78248">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Government Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="PreferredSharesMember_S000009242"
      id="x_62b5d832-0ca1-425c-b012-9c54c4bd0d14">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="PreferredSharesMember_S000009242"
      id="x_330cc1af-7f35-4823-8331-43008f25fcbd">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Government Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="PreferredSharesMember_S000009242"
      id="x_967964e3-05a4-422d-afc0-d7adcb4e5390">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="PreferredSharesMember_S000009242"
      id="x_01ca3630-a34e-4c17-bdd7-2eae5774349e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="PreferredSharesMember_S000009242"
      id="x_2a74e9ab-4390-4f62-bf24-1274a2adff6a">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="PreferredSharesMember_S000009242_C000025199"
      decimals="4"
      id="x_33236bf2-f241-459d-b063-ef193896fe84"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="PreferredSharesMember_S000009242_C000025199"
      decimals="4"
      id="x_5d69a7a9-80d9-4ee9-9c8e-3a9ef2c2f5c2"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="PreferredSharesMember_S000009242_C000025199"
      decimals="4"
      id="x_379418f8-ccf9-4b0c-8b5c-c4c1d1140056"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="PreferredSharesMember_S000009242_C000025199"
      decimals="4"
      id="b8441662-2328-4049-b980-631e9d8016f5"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="PreferredSharesMember_S000009242_C000025199"
      decimals="4"
      id="x_240bfe73-2ff7-4b43-9bbc-970e65481ba6"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="PreferredSharesMember_S000009242"
      id="d1aa3be4-748d-4d30-8733-ca61c2279ea1">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="PreferredSharesMember_S000009242_C000025199"
      decimals="4"
      id="x_7caca11b-0cc9-46aa-ad12-a0db9792727b"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="PreferredSharesMember_S000009242_C000025199"
      decimals="4"
      id="ee46f430-aba0-4928-9666-2bba11f1132a"
      unitRef="pure">0.0012</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="PreferredSharesMember_S000009242_C000025199"
      decimals="4"
      id="x_1f0127b5-4288-4c4f-8510-cbf223e29d91"
      unitRef="pure">0.0010</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="PreferredSharesMember_S000009242_C000025199"
      decimals="4"
      id="x_0596dd63-efed-4333-b603-4f5e133f315b"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="PreferredSharesMember_S000009242_C000025199"
      decimals="4"
      id="x_8d1d8cae-40a4-49d7-a4eb-2bae25e859e2"
      unitRef="pure">0.0028</oef:ExpensesOverAssets>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="PreferredSharesMember_S000009242"
      id="x_0238951a-261a-4e4e-9a7b-f2350c07b732">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.&lt;/span&gt;</oef:ExpensesRestatedToReflectCurrent>
    <oef:ExpenseExampleHeading
      contextRef="PreferredSharesMember_S000009242"
      id="x_5f9ae851-002c-446a-bb55-bcab0d17b682">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="PreferredSharesMember_S000009242"
      id="dbc453f5-dcbd-4cae-826e-8ccf92bb183e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Preferred Shares of the Fund for the time periods indicated and then redeem all of your Preferred Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="PreferredSharesMember_S000009242_C000025199"
      decimals="INF"
      id="x_832b0d88-ece9-442f-a7aa-000cdb078bba"
      unitRef="USD">29</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="PreferredSharesMember_S000009242_C000025199"
      decimals="INF"
      id="x_5d8a01bf-245c-4475-b2fb-0edeabe20a50"
      unitRef="USD">90</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="PreferredSharesMember_S000009242_C000025199"
      decimals="INF"
      id="b97e140b-1316-4b0c-94bc-7c1574ffce1b"
      unitRef="USD">157</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="PreferredSharesMember_S000009242_C000025199"
      decimals="INF"
      id="x_8f22765f-e324-4f37-b4bd-e071a0d27c8f"
      unitRef="USD">356</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="PreferredSharesMember_S000009242"
      id="x_615a320c-189b-470f-b9f7-6638fb893b01">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="PreferredSharesMember_S000009242"
      id="x_2fe723c3-926d-48e8-9ef5-4058338e5456">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in &#x201c;government securities,&#x201d; as such term is defined in or interpreted under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;), and repurchase agreements collateralized by such securities. &#x201c;Government securities&#x201d; generally are securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act. &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, U.S. Government Securities, and/or repurchase agreements that are collateralized fully by cash or U.S. Government Securities. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;&#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009242_RiskLoseMoneyMember"
      id="x_942901cc-463a-4d9d-b090-9bbfb882f93d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009242_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_8fe2b4b3-1071-4e30-ac83-376e5be3ff27">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009242_RiskNotInsuredDepositoryInstitutionMember"
      id="a5c2177f-d42e-4b8c-b0cc-db82d726d406">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009242_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_81edcbc5-b871-46f9-8bda-27be7d316f1e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009242_CreditDefaultRiskMember"
      id="c38c6b42-f4ec-462c-a437-eef3eabf89fa">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009242_InterestRateRiskMember"
      id="x_68e53b24-e6c2-43ac-901f-c5f148285646">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009242_LargeShareholderTransactionsRiskMember"
      id="x_12880d69-dfdb-4a57-974e-a8ad895da769">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009242_LiquidityRiskMember"
      id="x_20e1003f-ee89-49b9-902f-0a5722c4a0a1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009242_MarketRiskMember"
      id="x_2ae2bbfb-979b-4d6b-880e-84a1c808d111">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009242_StableNAVRiskMember"
      id="x_364001a0-52ff-43c9-9715-66c60446b64c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009242_USGovernmentSecuritiesRiskMember"
      id="x_3eeff789-5111-4fd6-988d-3dc6f7a55d73">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="PreferredSharesMember_S000009242"
      id="x_5b21dcae-1c39-45e3-9a38-a29f47b081fc">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="PreferredSharesMember_S000009242"
      id="x_97fb9a3f-161a-4e3c-b7a9-62833bee915d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Preferred Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Preferred Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="PreferredSharesMember_S000009242"
      id="x_4a9b17a9-6801-49d3-a1d2-614e78d30415">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Preferred Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Preferred Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="PreferredSharesMember_S000009242"
      id="dace9f92-3100-4cb5-a4fc-2e1eb9c5919f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="PreferredSharesMember_S000009242"
      id="x_5002f9ae-5537-49d2-82ae-4717ba6e6271">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="PreferredSharesMember_S000009242"
      id="x_1fa66157-f75b-46fb-a97a-f04fe69f36e1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="PreferredSharesMember_S000009242"
      id="dcf90d1f-00d4-44ee-91ed-f1b5168d4a3c">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="PreferredSharesMember_S000009242"
      id="x_56dd45a7-f01c-439a-b9d4-cee9a78d7516">&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.30%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="PreferredSharesMember_S000009242_C000025199"
      id="x_51c53d82-1a17-492f-a7c1-997dd708d4af">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="PreferredSharesMember_S000009242_C000025199"
      decimals="4"
      id="x_9b71f920-961f-48c5-b556-84b1a83838a2"
      unitRef="pure">0.0130</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="PreferredSharesMember_S000009242_C000025199"
      id="cc396bc0-5156-4293-a115-3cb228027677">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="PreferredSharesMember_S000009242_C000025199"
      id="x_959e2914-ee48-4aa0-97ca-a8a14f90674f">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="PreferredSharesMember_S000009242_C000025199"
      decimals="4"
      id="x_681dd11d-b5d7-4596-9e24-4acf8086e2cb"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="PreferredSharesMember_S000009242_C000025199"
      id="x_2709ee4a-4c09-4fda-abe6-f4ac0e390b15">2020-12-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="PreferredSharesMember_S000009242"
      id="x_823ce458-4f34-428e-95f9-2db068250bcc">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="PreferredSharesMember_C000025199_01Jan2025_31Dec2025"
      decimals="4"
      id="eb92e24d-8e4e-4c16-8601-594eb0530ed9"
      unitRef="pure">0.0411</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="PreferredSharesMember_C000025199_01Jan2021_31Dec2025"
      decimals="4"
      id="x_670d9340-9218-4a16-a981-82120a41f507"
      unitRef="pure">0.0311</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="PreferredSharesMember_C000025199_01Jan2016_31Dec2025"
      decimals="4"
      id="df72497b-891b-47aa-a954-f61ded42eaf3"
      unitRef="pure">0.0203</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="PreferredSharesMember_C000025199"
      id="c70c0cc3-2a0f-4944-9581-80f348c6b320">1996-05-01</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="PreferredSharesMember_S000051190"
      id="x_738c71b0-cd64-454e-bbf6-12fb3504ad8a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Federal Instruments Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="PreferredSharesMember_S000051190"
      id="x_5bc96e48-aa29-4a07-921e-0c43a59b27fc">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="PreferredSharesMember_S000051190"
      id="x_781d0d21-f18c-4967-affb-344f6c981e72">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Federal Instruments Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="PreferredSharesMember_S000051190"
      id="x_898a719a-bc3a-4f56-9de6-d86e552bca77">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="PreferredSharesMember_S000051190"
      id="c2257903-ff0b-48eb-8d2e-7c1772dc9f75">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="PreferredSharesMember_S000051190"
      id="x_73f6641e-d810-4871-b2d1-71db14fdafb8">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="PreferredSharesMember_S000051190_C000161178"
      decimals="4"
      id="x_552053df-e97f-4bf2-9cd4-bf26f96e5aea"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="PreferredSharesMember_S000051190_C000161178"
      decimals="4"
      id="x_3477c504-3ae3-4b53-bda7-ec9294276b1c"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="PreferredSharesMember_S000051190_C000161178"
      decimals="4"
      id="x_786a2d80-73e2-4a8c-8e6b-a185b03c49c3"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="PreferredSharesMember_S000051190_C000161178"
      decimals="4"
      id="x_5a61be14-f120-4bea-95f9-f08ccf19501c"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="PreferredSharesMember_S000051190_C000161178"
      decimals="4"
      id="x_90dd5c91-3c4c-4da5-baf8-ed954b15429e"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="PreferredSharesMember_S000051190"
      id="cc66c30e-f882-4c47-ac0e-19beeeaad460">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="PreferredSharesMember_S000051190_C000161178"
      decimals="4"
      id="x_1490d764-fbd7-4bfb-89b1-40239edf269f"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="PreferredSharesMember_S000051190_C000161178"
      decimals="4"
      id="x_9c94c2c1-bbcc-4c2d-8f0e-8e274e887c30"
      unitRef="pure">0.0012</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="PreferredSharesMember_S000051190_C000161178"
      decimals="4"
      id="c95a39d3-8c6e-4fa6-9c43-75bd006f2a78"
      unitRef="pure">0.0010</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="PreferredSharesMember_S000051190_C000161178"
      decimals="4"
      id="deef45c1-22f2-43dc-82a2-f96d5bd4cdc5"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="PreferredSharesMember_S000051190_C000161178"
      decimals="4"
      id="x_8d2b0e6e-3421-416d-be31-8fe37a1c98ca"
      unitRef="pure">0.0030</oef:ExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="PreferredSharesMember_S000051190"
      id="b94f1d7a-b0ce-449c-ad6f-08f337be6d8f">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="PreferredSharesMember_S000051190"
      id="b00dac41-d709-48b5-917f-89e6c9acdd24">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Preferred Shares of the Fund for the time periods indicated and then redeem all of your Preferred Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="PreferredSharesMember_S000051190_C000161178"
      decimals="INF"
      id="x_825daf9d-a00f-40a7-848e-e163c30de593"
      unitRef="USD">31</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="PreferredSharesMember_S000051190_C000161178"
      decimals="INF"
      id="e4e8af4f-28e8-4f03-9b53-7e7f0aa43f3c"
      unitRef="USD">97</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="PreferredSharesMember_S000051190_C000161178"
      decimals="INF"
      id="a805b15b-9469-4beb-b4a1-bcce9b2d0176"
      unitRef="USD">169</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="PreferredSharesMember_S000051190_C000161178"
      decimals="INF"
      id="dd06321b-0b21-410e-b1d7-ba6b143be197"
      unitRef="USD">381</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="PreferredSharesMember_S000051190"
      id="x_36872ae5-bac9-44f2-9191-4f48d1714cce">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="PreferredSharesMember_S000051190"
      id="x_84c93733-30e3-4b9a-9a29-45a33ba9bb5c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in &#x201c;government securities,&#x201d; as such term is defined in or interpreted under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;), the interest from which is generally exempt from state income taxation. &#x201c;Government securities&#x201d; generally are securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act. &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash and U.S. Government Securities. Although &#x201c;government money market funds&#x201d; may also invest in repurchase agreements that are collateralized fully by cash or U.S. Government Securities, the Fund may not invest in repurchase agreements. &#x201c;Government money &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000051190_RiskLoseMoneyMember"
      id="x_234ad3ec-fef4-4837-b868-017a3f62a0d2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000051190_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="d9b35211-a938-4ca4-ac14-5820589c5b70">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000051190_RiskNotInsuredDepositoryInstitutionMember"
      id="x_7a4f0e2e-c816-4d25-8fa9-1871c3c852af">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000051190_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_3d358faa-2702-4efe-981b-67b649fc1175">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000051190_CreditDefaultRiskMember"
      id="x_1ae09a06-dff4-4159-8bfd-5afb6aaca09b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000051190_InterestRateRiskMember"
      id="x_231eee97-44c1-4670-89b2-80e4b2b518d2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000051190_LargeShareholderTransactionsRiskMember"
      id="x_033b7a97-e88a-414a-a89e-aaf493a5d333">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000051190_LiquidityRiskMember"
      id="x_62401622-ae4f-4a6b-a331-a86e6f41475a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000051190_MarketRiskMember"
      id="x_52c9c96f-e4e1-4307-9c5a-49305ef924d9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000051190_StableNAVRiskMember"
      id="f9a5ec1d-893b-4629-bebe-94e171e4b790">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000051190_USGovernmentSecuritiesRiskMember"
      id="x_1f2253e0-4bcd-44f7-b710-4be9136dd0be">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="PreferredSharesMember_S000051190"
      id="ea26ee78-4450-43b6-ba37-e024659d1e2c">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="PreferredSharesMember_S000051190"
      id="x_40e6f4a4-99fb-4c71-83d8-b77cb51287d9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Preferred Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Preferred Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="PreferredSharesMember_S000051190"
      id="d6f4669a-7f49-45e4-8ec8-8ff9a5a2bf67">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Preferred Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Preferred Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="PreferredSharesMember_S000051190"
      id="f0242de1-cdc6-41da-8b6b-577112098c41">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="PreferredSharesMember_S000051190"
      id="x_638ff8b2-96f9-45aa-a914-06b208212a2e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="PreferredSharesMember_S000051190"
      id="x_11506883-b0a2-402f-9e8d-d3b9ec2884ad">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="PreferredSharesMember_S000051190"
      id="x_4e198017-007d-4d05-b811-4986bd572ebe">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="PreferredSharesMember_S000051190"
      id="x_9df9aceb-0843-426a-b479-8b1c815438fd">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.30%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;September 30, 2021&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="PreferredSharesMember_S000051190_C000161178"
      id="x_889c4e15-3051-4af4-82d5-7e114478893b">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="PreferredSharesMember_S000051190_C000161178"
      decimals="4"
      id="x_5398aff9-7f32-4fa8-9cc1-14132374650e"
      unitRef="pure">0.0130</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="PreferredSharesMember_S000051190_C000161178"
      id="f922d5bf-9b79-4164-887a-921ac440f73a">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="PreferredSharesMember_S000051190_C000161178"
      id="x_2213ebf5-5600-4eb8-a48d-24ead8deb009">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="PreferredSharesMember_S000051190_C000161178"
      decimals="4"
      id="a322dd91-0510-4e60-aa79-2e708641e3c6"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="PreferredSharesMember_S000051190_C000161178"
      id="fbab07a6-9088-4d47-bf2f-62da7a5a3a2a">2021-09-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="PreferredSharesMember_S000051190"
      id="ca68f86e-2d82-4f18-bc0c-e81aac2d1b9c">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="PreferredSharesMember_C000161178_01Jan2025_31Dec2025"
      decimals="4"
      id="x_83577a45-c930-4168-a627-2c0db5d23530"
      unitRef="pure">0.0406</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="PreferredSharesMember_C000161178_01Jan2021_31Dec2025"
      decimals="4"
      id="ed4ea863-b81e-4fbf-a11a-bbc05ae182a3"
      unitRef="pure">0.0307</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="PreferredSharesMember_C000161178_01Jan2016_31Dec2025"
      decimals="4"
      id="x_33563170-60f8-478b-ae04-98e74c660de0"
      unitRef="pure">0.0200</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="PreferredSharesMember_C000161178"
      id="x_515d42d0-9aba-4dd3-9258-c938633be5e5">2015-10-30</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="PreferredSharesMember_S000009244"
      id="f9295f06-f06a-43c6-a7ef-1331c2f3de0d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Investor Tax-Exempt Money Market Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="PreferredSharesMember_S000009244"
      id="x_3f8e7792-0d66-477f-a44e-fce3f70af8d3">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="PreferredSharesMember_S000009244"
      id="af6a62eb-eab6-4526-a2eb-3554ad35112c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Investor Tax-Exempt Money Market Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="PreferredSharesMember_S000009244"
      id="a932d6ac-974d-4056-8a81-006db84973df">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="PreferredSharesMember_S000009244"
      id="x_7871064b-7740-4e76-9dc8-fbea899802dc">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="PreferredSharesMember_S000009244"
      id="x_0e245cfd-cfc2-4810-b5e7-0f1562e6fd2c">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="PreferredSharesMember_S000009244_C000025213"
      decimals="4"
      id="x_2196acbf-b452-4eb6-aeae-a5ef1dca9902"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="PreferredSharesMember_S000009244_C000025213"
      decimals="4"
      id="x_8a64bc23-ec0e-4fdf-ba3a-a112046587ce"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="PreferredSharesMember_S000009244_C000025213"
      decimals="4"
      id="x_2b9f8593-c769-430c-8931-4562f982f66b"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="PreferredSharesMember_S000009244_C000025213"
      decimals="4"
      id="bab2ba6d-b856-49e6-9107-104f3f9f741f"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="PreferredSharesMember_S000009244_C000025213"
      decimals="4"
      id="x_45fcb60a-9357-4b3c-a808-30367c30d4b7"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="PreferredSharesMember_S000009244"
      id="x_7605d2c7-8f99-4807-bd63-df1ede09e072">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="PreferredSharesMember_S000009244_C000025213"
      decimals="4"
      id="b6afdaf4-f2f8-43e1-b66e-cbf82a43d2c5"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="PreferredSharesMember_S000009244_C000025213"
      decimals="4"
      id="x_801d014e-18d0-45c3-9091-a6ad0fdc8fd0"
      unitRef="pure">0.0013</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="PreferredSharesMember_S000009244_C000025213"
      decimals="4"
      id="x_80031662-b9c9-4d92-9509-4c3de624ef1b"
      unitRef="pure">0.0010</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="PreferredSharesMember_S000009244_C000025213"
      decimals="4"
      id="x_6fc72142-0d41-48e2-b3fc-714eefb4eb92"
      unitRef="pure">0.0003</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="PreferredSharesMember_S000009244_C000025213"
      decimals="4"
      id="f045dacc-062f-4706-8246-d8733b7d105b"
      unitRef="pure">0.0029</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="PreferredSharesMember_S000009244_C000025213"
      decimals="4"
      id="x_245a4bff-f665-4f28-a635-af599ad113cc"
      unitRef="pure">-0.0001</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="PreferredSharesMember_S000009244_C000025213"
      decimals="4"
      id="f62f043c-1f55-446d-bef9-624918a8aeca"
      unitRef="pure">0.0028</oef:NetExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="PreferredSharesMember_S000009244"
      id="x_8997f01a-cf49-4268-bd52-a2f6c2c96e21">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;March 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="PreferredSharesMember_S000009244"
      id="b4b2f081-8b80-4689-a1d1-3840128ab410">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="PreferredSharesMember_S000009244"
      id="x_0315c667-7d5d-4aaa-a3f1-558b0b5e489d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Preferred Shares of the Fund for the time periods indicated and then redeem all of your Preferred Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="PreferredSharesMember_S000009244_C000025213"
      decimals="INF"
      id="fdb3389b-6539-47d6-95ca-6f92b204b662"
      unitRef="USD">29</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="PreferredSharesMember_S000009244_C000025213"
      decimals="INF"
      id="x_80a83438-741f-4c62-814c-501903bc34d5"
      unitRef="USD">92</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="PreferredSharesMember_S000009244_C000025213"
      decimals="INF"
      id="d172d797-46ee-40a2-8e99-35c37ba64d64"
      unitRef="USD">162</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="PreferredSharesMember_S000009244_C000025213"
      decimals="INF"
      id="x_755797a0-d8fe-4e2f-9435-dc41cea33003"
      unitRef="USD">367</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="PreferredSharesMember_S000009244"
      id="x_84c27a7d-8759-4b8d-8599-dd1b86f27a22">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="PreferredSharesMember_S000009244"
      id="fc8c6e73-264c-4ce0-8b07-a463c52dc0be">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing at least 80% of its net assets plus any borrowings for investment purposes (measured at the time of investment) (&#x201c;Net Assets&#x201d;) in securities issued by or on behalf of states, territories and possessions of the United States and their political subdivisions, agencies, authorities and instrumentalities, and the District of Columbia, the interest from which, if any, is in the opinion of bond counsel excluded from gross income for federal income tax purposes, and generally not an item of tax preference under the federal alternative minimum tax (&#x201c;AMT&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser ordinarily expects the Fund to invest in municipal obligations directly or indirectly (including by investing in tender option bonds), but the Fund may invest in short-term taxable instruments for temporary investment purposes. The Fund may also invest up to 20% of its Net Assets in securities the interest from which may be subject to federal income tax and an item of tax preference under the AMT. Such investments include securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;retail money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (the &#x201c;Investment Company Act&#x201d;). &#x201c;Retail money market funds&#x201d; are money market funds that have policies and procedures reasonably designed to limit all beneficial owners of the fund to natural persons. As a &#x201c;retail money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity, diversification and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009244_RiskLoseMoneyMember"
      id="d1b7197c-4412-497b-b992-fb7543106a70">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009244_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="c176da4e-1abf-4405-8004-8e2663a3c130">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009244_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember"
      id="a5bddd9b-fa88-41f0-bf54-e862a43446ec">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund may impose a fee upon sale of your shares.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009244_RiskNotInsuredDepositoryInstitutionMember"
      id="x_1a6f4c63-2079-46aa-a5a9-7ae1a8c40cae">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;bank account or a deposit of a bank and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009244_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_483dbb79-814c-4017-ac06-5ffc6dc1f47e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009244_CreditDefaultRiskMember"
      id="aae2ed0e-040f-4bb1-8323-e3d538638c02">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund may default on its obligation to pay interest and repay principal or default on any other obligation. This also includes the risk of default on letters of credit, guarantees, demand features or insurance policies that back or otherwise support municipal securities. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009244_GeographicandSectorRiskMember"
      id="x_6d9b0e15-1d86-4b9f-a8b7-e8ff80675e32">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Geographic and Sector Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; If the Fund invests a significant portion of its total assets in certain issuers within the same state, geographic region or economic sector, an adverse economic, business, political, environmental or other development affecting that state, region or sector may affect the value of the Fund&#x2019;s investments more than if its investments were not so focused.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009244_InterestRateRiskMember"
      id="x_201f5dad-81d5-47e2-9e1f-cffece79968a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009244_LargeShareholderTransactionsRiskMember"
      id="e4d85c47-9612-476f-9f85-c72c00893109">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders&#160;(including financial intermediaries who may make investment decisions on behalf of underlying clients) purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009244_LiquidityRiskMember"
      id="x_7134bd7a-8e7f-4105-a4f0-7f5f1d1de778">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009244_MarketRiskMember"
      id="ed50660d-2df4-49d0-b18e-0b52c56912f5">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of &#160;individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009244_MunicipalSecuritiesRiskMember"
      id="x_326baf29-9832-441d-a0db-387f117bb901">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Municipal Securities Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Municipal securities are subject to credit/default risk, interest rate risk and certain additional risks. The Fund may be more sensitive to adverse economic, business&#160;or political developments if it invests a substantial portion of its assets in the debt securities of similar projects (such as those relating to education, health care, housing, transportation, and utilities), industrial development bonds, or in particular types of municipal securities (such as general obligation bonds, private activity bonds and moral obligation bonds). The Fund may also invest in municipal securities indirectly (including by investing in tender option bonds). While interest earned on municipal securities is generally not subject to federal tax, any interest earned on taxable municipal securities is fully taxable at the federal level and may be subject to tax at the state level.&#160;Municipal securities may be more susceptible to downgrades or defaults during recessions or similar periods of economic stress. In addition, since some municipal securities may be secured, guaranteed or otherwise supported by banks and other institutions, the risk to the Fund could increase if the banking or financial sector suffers an economic downturn and/or if the credit ratings of the institutions issuing the guarantee or demand feature are downgraded or at risk of being downgraded by a national rating organization. Such a downward revision or risk of being downgraded may have an adverse effect on the market prices of municipal securities and thus cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009244_StableNAVRiskMember"
      id="x_9daa5a74-9751-4eaf-bbab-113cf5579aa4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009244_TaxRiskMember"
      id="x_8e00d8d8-92c8-4b61-83dd-a131f95bee74">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Tax Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Future legislative or administrative changes or court decisions may materially affect the value of the Fund&#x2019;s portfolio holdings and/or the ability of the Fund to pay federal tax-exempt dividends. The Fund would not be a suitable investment within IRAs, other tax-exempt or tax-deferred accounts, or for investors who are not sensitive to the federal tax consequences of their investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000009244_USGovernmentSecuritiesRiskMember"
      id="x_18cbe5b7-58cb-442a-bbb5-eb1a711e8238">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="PreferredSharesMember_S000009244"
      id="x_5f23af9a-961d-4a21-bbcf-cbe7dcea5262">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="PreferredSharesMember_S000009244"
      id="x_4cb443da-6d90-44f5-b54c-b3b4b339f157">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Preferred Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Preferred Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;. &lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="PreferredSharesMember_S000009244"
      id="x_0afbaef9-6b31-4708-93f2-6f2f98cea209">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Preferred Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Preferred Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="PreferredSharesMember_S000009244"
      id="cad2764c-8ec1-4ac5-8a6a-38319b67a46c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="PreferredSharesMember_S000009244"
      id="a6023c94-4c86-4e60-adfe-eb1c6473803b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="PreferredSharesMember_S000009244"
      id="x_3e91530e-7f20-45a0-b0db-1fd7644f6814">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="PreferredSharesMember_S000009244"
      id="d5ae61f3-9e6f-4e0b-a15f-7682786b31d0">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:113pt;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="PreferredSharesMember_S000009244"
      id="x_26bfc12e-d325-451b-8073-b84343cd519b">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.83%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2021&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="PreferredSharesMember_S000009244_C000025213"
      id="e492367b-e8f5-4d8a-98d1-9355ced34d76">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="PreferredSharesMember_S000009244_C000025213"
      decimals="4"
      id="ebb37545-9f2c-4ced-afbd-9ecbbe04ece8"
      unitRef="pure">0.0083</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="PreferredSharesMember_S000009244_C000025213"
      id="x_21488eb8-49c2-4743-9bce-827f6e0965f1">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="PreferredSharesMember_S000009244_C000025213"
      id="x_3cdad792-30f3-4954-a776-701d977c71a3">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="PreferredSharesMember_S000009244_C000025213"
      decimals="4"
      id="x_916f4dc6-d382-43e5-aed7-d9a99556413d"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="PreferredSharesMember_S000009244_C000025213"
      id="cc9ef009-efe3-49a3-9506-7eac6ef6841d">2021-12-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="PreferredSharesMember_S000009244"
      id="x_1e046fb8-c40d-4b27-8a21-4eb317eca19c">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="PreferredSharesMember_C000025213_01Jan2025_31Dec2025"
      decimals="4"
      id="bea805c3-4ad5-42b1-952c-8c710d349ed9"
      unitRef="pure">0.0265</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="PreferredSharesMember_C000025213_01Jan2021_31Dec2025"
      decimals="4"
      id="x_4def1b48-5868-46cf-a0c0-8bcbb3e9f042"
      unitRef="pure">0.0193</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="PreferredSharesMember_C000025213_01Jan2016_31Dec2025"
      decimals="4"
      id="x_25ae9d4c-2afb-4529-82bd-f3f9ecdab969"
      unitRef="pure">0.0131</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="PreferredSharesMember_C000025213"
      id="b8e373ce-84f1-4507-9c78-343895a46114">1996-05-01</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="PreferredSharesMember_S000086404"
      id="f202847e-d563-4be4-9119-88cdef898c55">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Investor Tax-Exempt California Money Market&#160;Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="PreferredSharesMember_S000086404"
      id="x_65c652b0-8f51-48c3-82ad-9fc6f84d3429">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="PreferredSharesMember_S000086404"
      id="x_29085042-81c1-4084-95a9-f8530f6a5858">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs Investor Tax-Exempt California Money Market Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing primarily in high quality money market instruments, the interest on which is exempt from federal income tax and California State personal income tax.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="PreferredSharesMember_S000086404"
      id="f0d27a64-e6f6-404e-a1be-c2ea2c5e7db2">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="PreferredSharesMember_S000086404"
      id="f6060ba8-1f06-4d85-8a8e-4f12d21add0a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="PreferredSharesMember_S000086404"
      id="x_50ca1dae-38b7-4542-bdfb-595ebf23122e">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="PreferredSharesMember_S000086404_C000251957"
      decimals="4"
      id="x_0841c165-7484-407c-be15-d6648c95f430"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="PreferredSharesMember_S000086404_C000251957"
      decimals="4"
      id="f983b5e9-dd1f-4a42-8709-f0ce8b79afb0"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="PreferredSharesMember_S000086404_C000251957"
      decimals="4"
      id="c6519e72-5fa5-4b9b-bb64-f35cb51f4dc5"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="PreferredSharesMember_S000086404_C000251957"
      decimals="4"
      id="x_4670b19c-d10c-4b73-a9b1-7a461ff17674"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="PreferredSharesMember_S000086404_C000251957"
      decimals="4"
      id="ad4c7df4-4fbb-4acc-8efd-7049a026b6dd"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="PreferredSharesMember_S000086404"
      id="f380b516-2953-4a4a-a6d9-2a083583879e">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="PreferredSharesMember_S000086404_C000251957"
      decimals="4"
      id="x_5bc20c70-2fb3-406b-a150-699fb1f745be"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="PreferredSharesMember_S000086404_C000251957"
      decimals="4"
      id="x_65930164-2565-4a5f-b4a2-198c051bce37"
      unitRef="pure">0.0297</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="PreferredSharesMember_S000086404_C000251957"
      decimals="4"
      id="x_6e562abc-8268-4b69-b2a0-47a96161bdcf"
      unitRef="pure">0.0010</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="PreferredSharesMember_S000086404_C000251957"
      decimals="4"
      id="ce79e58d-7b28-40db-b750-620fde545210"
      unitRef="pure">0.0287</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="PreferredSharesMember_S000086404_C000251957"
      decimals="4"
      id="de45948c-4eee-4a93-ba0a-65180ab4a6f0"
      unitRef="pure">0.0313</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="PreferredSharesMember_S000086404_C000251957"
      decimals="4"
      id="x_3a2619dd-70bb-40a2-8a0e-cf2847588525"
      unitRef="pure">-0.0285</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="PreferredSharesMember_S000086404_C000251957"
      decimals="4"
      id="x_2a6e890b-336b-4e2e-999b-c1951b7f2621"
      unitRef="pure">0.0028</oef:NetExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="PreferredSharesMember_S000086404"
      id="x_8003b82f-7a7b-4118-a148-d32b4cd4cc6a">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;March 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="PreferredSharesMember_S000086404"
      id="f0a30fd7-efde-47e3-ba2d-802ad3122559">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="PreferredSharesMember_S000086404"
      id="x_8c20560a-3784-4a7a-9d90-6451c9d6c7b8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Preferred Shares of the Fund for the time periods indicated and then redeem all of your Preferred Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same&#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements&#160;for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="PreferredSharesMember_S000086404_C000251957"
      decimals="INF"
      id="x_837f3dbb-9909-4798-9962-cada0c7e6999"
      unitRef="USD">29</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="PreferredSharesMember_S000086404_C000251957"
      decimals="INF"
      id="x_0d123ab7-23de-443b-b097-e285b46fec03"
      unitRef="USD">697</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="PreferredSharesMember_S000086404_C000251957"
      decimals="INF"
      id="x_3fe1c26c-1453-40c7-ad30-5783bb563c14"
      unitRef="USD">1390</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="PreferredSharesMember_S000086404_C000251957"
      decimals="INF"
      id="ae193743-af53-46db-9b65-85ea9fed598b"
      unitRef="USD">3239</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="PreferredSharesMember_S000086404"
      id="a15b2563-4c61-4d08-a096-77ecd2fa2502">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="PreferredSharesMember_S000086404"
      id="x_80fe01df-d13a-454f-9b59-de018f74ad59">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing at least 80% of its net assets plus any borrowings for investment purposes (measured at the time of investment) (&#x201c;Net Assets&#x201d;) in securities issued by or on behalf of (i) the State of California, its political subdivisions, agencies, authorities and instrumentalities and (ii) territories and possessions of the United States and their political subdivisions, agencies, authorities and instrumentalities, in each case, the interest from which, if any, is in the opinion of bond counsel excluded from gross income for federal income tax purposes, generally not an item of tax preference under the federal alternative minimum tax (&#x201c;AMT&#x201d;) and exempt from California State personal income tax (&#x201c;California Obligations&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser ordinarily expects the Fund to invest in municipal obligations directly or indirectly (including by investing in tender option bonds), but the Fund may invest in short-term taxable instruments for temporary investment purposes. The Fund may also invest up to 20% of its Net Assets in securities the interest from which is exempt from California State personal income tax, but may be subject to federal income tax and an item of tax preference under the AMT.&#160;Such investments include securities issued or guaranteed by the United States or certain U.S. government&#160;agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;retail money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (the &#x201c;Investment Company Act&#x201d;). &#x201c;Retail money market funds&#x201d; are money market funds that have policies and procedures reasonably designed to limit all beneficial owners of the fund to natural persons. As a &#x201c;retail money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity, diversification and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000086404_RiskLoseMoneyMember"
      id="ea3bcf2d-401a-4045-83c6-5e2cb68a21a6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000086404_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="b719cac4-93d7-48de-a73e-25fea04e93c8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000086404_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember"
      id="x_0de4d6a6-7d2a-47b8-acf1-3ea64151718a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund may impose a fee upon sale of your shares.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000086404_RiskNotInsuredDepositoryInstitutionMember"
      id="x_70e351b4-e34b-458c-8fd6-9937d92c874f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;bank account or a deposit of a bank and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000086404_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_1ba8602b-df8f-4ca5-a118-13a2da5e7dd9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000086404_CaliforniaRiskMember"
      id="x_153f6845-09ec-447a-928a-65dbe76fb25c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;California Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund intends to invest primarily in California Obligations. The Fund&#x2019;s investments are, therefore, significantly affected by political and economic developments within this state, and by the financial condition of this state, its political subdivisions, agencies, authorities and instrumentalities. If California or any of its political subdivisions, agencies, authorities or instrumentalities are unable to meet their financial obligations, the Fund&#x2019;s income, NAV, and ability to preserve or realize appreciation of capital or liquidity could be adversely affected. While California&#x2019;s economy is broad and diversified, it does have major concentrations in certain sectors, including technology, manufacturing, entertainment, agriculture, tourism, construction and professional services, and will be disproportionately sensitive to economic problems affecting those sectors. In addition, as a single state money market fund, the Fund is less diversified and is allowed to invest a significantly greater portion of its assets in one issuer as compared to other money market funds. Because of the flexibility to invest a significantly greater portion of its assets in one issuer and the relatively limited number of issuers of California Obligations, the Fund&#x2019;s performance may be disproportionately affected by the success of one or a few issuers than is the performance of a more diversified money market fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000086404_CreditDefaultRiskMember"
      id="d1ddcfb3-cfcf-4292-97d7-90b955f67f4c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund may default on its obligation to pay interest and repay principal or default on any other obligation. This also includes the risk of default on letters of credit, guarantees, demand features or insurance policies that back or otherwise support municipal securities. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000086404_InterestRateRiskMember"
      id="acf885bb-baf5-4d6b-82f9-fd1b958b922e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000086404_LargeShareholderTransactionsRiskMember"
      id="ce6b2b6f-582e-44db-8735-a2d5916b7cb0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders&#160;(including financial intermediaries who may make investment decisions on behalf of underlying clients) purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000086404_LiquidityRiskMember"
      id="dc65dd97-4db9-480e-b426-590515618ce8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund's ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000086404_MarketRiskMember"
      id="x_751b0b65-1863-4507-9585-5cba22492e29">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of &#160;individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000086404_MunicipalSecuritiesRiskMember"
      id="x_5adab673-4e01-43a8-ab60-940e2d349d74">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Municipal Securities Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Municipal securities are subject to credit/default risk, interest rate risk and certain additional risks. The Fund may be more sensitive to adverse economic, business&#160;or political developments if it invests a substantial portion of its assets in the debt securities of similar projects (such as those relating to education, health care, housing, transportation, and utilities), industrial development bonds, or in particular types of municipal securities (such as general obligation bonds, private activity bonds and moral obligation bonds). The Fund may also invest in municipal securities indirectly (including by investing in tender option bonds). While interest earned on municipal securities is generally not subject to federal tax, any interest earned on taxable municipal securities is fully taxable at the federal level and may be subject to tax at the state level.&#160;Municipal securities may be more susceptible to downgrades or defaults during recessions or similar periods of economic stress. In addition, since some municipal securities may be secured, guaranteed or otherwise supported by banks and other institutions, the risk to the Fund could increase if the banking or financial sector suffers an economic downturn and/or if the credit ratings of the institutions issuing the guarantee or demand feature are downgraded or at risk of being downgraded by a national rating organization. Such a downward revision or risk of being downgraded may have an adverse effect on the market prices of municipal securities and thus cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000086404_StableNAVRiskMember"
      id="db79a3d8-eb66-46ac-9331-b19085dcafea">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000086404_TaxRiskMember"
      id="x_892993ec-2e30-45be-9b1e-035fdc84737c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Tax Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Future legislative or administrative changes or court decisions may materially affect the value of the Fund&#x2019;s portfolio holdings and/or the ability of the Fund to pay federal tax-exempt dividends. The Fund would not be a suitable investment within IRAs, other tax-exempt or tax-deferred accounts, or for investors who are not sensitive to the federal tax consequences of their investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000086404_USGovernmentSecuritiesRiskMember"
      id="x_2303da8a-155e-4c17-a98a-d8f8e7b8893a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="PreferredSharesMember_S000086404"
      id="eb052b69-945c-4f20-ba2d-9de5e8605d88">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="PreferredSharesMember_S000086404"
      id="x_8ea0b499-50a7-4853-b533-8496d562d2b1">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Preferred Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Preferred Shares.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;1-800-&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;621-2550&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="PreferredSharesMember_S000086404"
      id="b16b231e-3f84-4ba9-be82-c228527c5b13">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Preferred Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Preferred Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="PreferredSharesMember_S000086404"
      id="x_341d3cf4-39d5-4e83-837f-e4f5aadc3ea9">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="PreferredSharesMember_S000086404"
      id="d5483533-a14d-42a4-8e1b-5b031d9dc92e">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="PreferredSharesMember_S000086404"
      id="b718ce0e-83a0-4ca5-9403-9e1b21ac539b">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;1-800-&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="PreferredSharesMember_S000086404"
      id="x_10711de4-6c75-4e78-bb52-3d630a5e7414">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="PreferredSharesMember_S000086404"
      id="x_976d8f3e-ee80-4100-9ea1-879b425f6855">&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.61%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;June 30, 2025&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.50%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;September 30, 2025&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="PreferredSharesMember_S000086404_C000251957"
      id="x_7ceef817-4814-4001-a7ae-389650ceda1a">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="PreferredSharesMember_S000086404_C000251957"
      decimals="4"
      id="x_00495f21-4b84-4eac-a282-c482d359a2f6"
      unitRef="pure">0.0061</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="PreferredSharesMember_S000086404_C000251957"
      id="x_756da1ad-60e7-49ca-8992-317797182fb8">2025-06-30</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="PreferredSharesMember_S000086404_C000251957"
      id="be4d3967-acfd-4ac0-9761-8109235cbf15">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="PreferredSharesMember_S000086404_C000251957"
      decimals="4"
      id="x_43aa8bcd-5fe2-4272-a6a4-3749791400ca"
      unitRef="pure">0.0050</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="PreferredSharesMember_S000086404_C000251957"
      id="x_3c9f01a3-d67f-47b0-89aa-3d327ab079f2">2025-09-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="PreferredSharesMember_S000086404"
      id="x_2b46d832-9884-4c59-aa63-7bb7a56ddc3e">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="PreferredSharesMember_C000251957_01Jan2025_31Dec2025"
      decimals="4"
      id="x_0a479961-d735-4b9f-9b03-d4407f28a63e"
      unitRef="pure">0.0221</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="PreferredSharesMember_C000251957_10Sep2024_31Dec2025"
      decimals="4"
      id="a46ca3d1-6ca5-4f38-bc5f-92434b4b686a"
      unitRef="pure">0.0229</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="PreferredSharesMember_C000251957"
      id="c3c906f6-b086-44c2-8fef-b346ca3d625b">2024-09-10</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="PreferredSharesMember_S000086405"
      id="c40fac48-90aa-45b5-8fe4-f5f54e0c4363">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Investor Tax-Exempt New York&#160;Money Market Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="PreferredSharesMember_S000086405"
      id="x_93366231-1bcc-4435-8c92-9df63cd84f9e">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="PreferredSharesMember_S000086405"
      id="x_819bb886-6eb3-4936-a6e3-ec2b83e661ec">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs Investor Tax-Exempt New York Money Market Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing primarily in high quality money market instruments, the interest on which is exempt from federal income tax and New York State and New York City personal income taxes.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="PreferredSharesMember_S000086405"
      id="x_08a55f87-df1d-42cf-b814-315bb951501e">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="PreferredSharesMember_S000086405"
      id="x_40607654-15f2-4fa5-848d-3fa6956dc2c3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="PreferredSharesMember_S000086405"
      id="e0f2caa9-268d-4920-946b-58e2feed8e93">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="PreferredSharesMember_S000086405_C000251962"
      decimals="4"
      id="x_7e5026c0-c2fa-4d80-821b-2e63d1bb9e0f"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="PreferredSharesMember_S000086405_C000251962"
      decimals="4"
      id="fa0904e5-de78-4483-bff5-3fb5e87c1693"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="PreferredSharesMember_S000086405_C000251962"
      decimals="4"
      id="x_154eeafd-ce3e-419f-a984-5e893d3ee24c"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="PreferredSharesMember_S000086405_C000251962"
      decimals="4"
      id="x_2d3d18c6-893a-49b9-8f99-0de0c80ebee5"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="PreferredSharesMember_S000086405_C000251962"
      decimals="4"
      id="e12ff785-c6d8-4302-82ba-24084c7fc4d3"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="PreferredSharesMember_S000086405"
      id="e63a6368-75be-47bb-b287-151b04f37fb0">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="PreferredSharesMember_S000086405_C000251962"
      decimals="4"
      id="x_273a509a-cdae-4d09-9e2f-cb2a9baf7d13"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="PreferredSharesMember_S000086405_C000251962"
      decimals="4"
      id="x_770e38b4-14b5-4bb9-8fad-b7227d5c91c7"
      unitRef="pure">0.0117</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="PreferredSharesMember_S000086405_C000251962"
      decimals="4"
      id="x_6fb71a4b-2a04-4486-9eef-b2238e5187d8"
      unitRef="pure">0.0010</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="PreferredSharesMember_S000086405_C000251962"
      decimals="4"
      id="x_89b17ffc-19b1-420b-b7bd-dbb648830523"
      unitRef="pure">0.0107</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="PreferredSharesMember_S000086405_C000251962"
      decimals="4"
      id="c1d6bf16-c5a4-4bb4-9a68-a53e0d54f1de"
      unitRef="pure">0.0133</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="PreferredSharesMember_S000086405_C000251962"
      decimals="4"
      id="d42287fc-23a4-4b25-9d7d-3258917a21b5"
      unitRef="pure">-0.0105</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="PreferredSharesMember_S000086405_C000251962"
      decimals="4"
      id="x_61ac77d5-2108-4c81-b39a-410dd2bbf426"
      unitRef="pure">0.0028</oef:NetExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="PreferredSharesMember_S000086405"
      id="x_61bb2fce-4663-4976-84d5-aa943e333dda">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;March 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="PreferredSharesMember_S000086405"
      id="b11e1396-54b9-414b-9a3a-45fbb5674783">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="PreferredSharesMember_S000086405"
      id="bea4ee74-33ae-474f-b65f-7e33f719141a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Preferred Shares of the Fund for the time periods indicated and then redeem all of your Preferred Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same&#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements&#160;for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="PreferredSharesMember_S000086405_C000251962"
      decimals="INF"
      id="ae153178-7832-40b8-be3c-05e7276188c6"
      unitRef="USD">29</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="PreferredSharesMember_S000086405_C000251962"
      decimals="INF"
      id="x_8c13b76e-fdca-43a6-b032-bb07a7d310f6"
      unitRef="USD">318</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="PreferredSharesMember_S000086405_C000251962"
      decimals="INF"
      id="x_7fc93473-5deb-4097-9bc0-1eaaa732a34b"
      unitRef="USD">628</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="PreferredSharesMember_S000086405_C000251962"
      decimals="INF"
      id="x_29ae9b27-8d0c-47e7-8309-2b7c85a097ae"
      unitRef="USD">1510</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="PreferredSharesMember_S000086405"
      id="x_4b46a0c4-38ff-4bff-b23c-ddca5c9a51dc">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="PreferredSharesMember_S000086405"
      id="d70a33ef-776e-4578-8d19-a6e1efb9ee8f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing at least 80% of its net assets plus any borrowings for investment purposes (measured at the time of investment) (&#x201c;Net Assets&#x201d;) in securities issued by or on behalf of (i) the State of New York, its political subdivisions, agencies, authorities and instrumentalities and (ii) territories and possessions of the United States and their political subdivisions, agencies, authorities and instrumentalities, in each case, the interest from which, if any, is in the opinion of bond counsel excluded from gross income for federal income tax purposes, generally not an item of tax preference under the federal alternative minimum tax (&#x201c;AMT&#x201d;) and exempt from New York State and New York City personal income taxes (&#x201c;New York Obligations&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser ordinarily expects the Fund to invest in municipal obligations directly or indirectly (including by investing in tender option bonds), but the Fund may invest in short-term taxable instruments for temporary investment purposes. The Fund may also invest up to 20% of its Net Assets in securities the interest from which is exempt from New York State and New York City personal income tax, but may be subject to federal income tax and an item of tax preference under the AMT.&#160;Such investments include securities issued or guaranteed by the United States or certain U.S. government&#160;agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;retail money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (the &#x201c;Investment Company Act&#x201d;). &#x201c;Retail money market funds&#x201d; are money market funds that have policies and procedures reasonably designed to limit all beneficial owners of the fund to natural persons. As a &#x201c;retail money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity, diversification and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000086405_RiskLoseMoneyMember"
      id="x_216104c0-b50b-443a-9474-fec4a193aaee">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000086405_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_21c095f8-612a-4b1e-8e11-470638a86cd8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000086405_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember"
      id="x_2540ccb7-763a-4930-bf9f-723ae88a8517">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund may impose a fee upon sale of your shares.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000086405_RiskNotInsuredDepositoryInstitutionMember"
      id="x_31467fae-783a-4713-9112-0340425d77b3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;bank account or a deposit of a bank and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000086405_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="c874ccdf-b110-41d3-bf02-de3c0aba82c7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000086405_CreditDefaultRiskMember"
      id="c53fbb8f-36ef-422b-8c40-1d0888adc114">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund may default on its obligation to pay interest and repay principal or default on any other obligation. This also includes the risk of default on letters of credit, guarantees, demand features or insurance policies that back or otherwise support municipal securities. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000086405_InterestRateRiskMember"
      id="x_2e157585-b3cc-433d-b42d-b1f3b6b16b96">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000086405_LargeShareholderTransactionsRiskMember"
      id="e01c8f39-1e05-44c6-a03e-2c61efd87fdd">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders&#160;(including financial intermediaries who may make investment decisions on behalf of underlying clients) purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000086405_LiquidityRiskMember"
      id="x_3271d7b1-945b-437e-818c-7a26b66ae4ba">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund's ability to maintain a stable $1.00 share price. Liquidity risk may also refer to &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000086405_MarketRiskMember"
      id="x_4131047e-5434-4467-bc92-4a78d0f1007f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of &#160;individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000086405_MunicipalSecuritiesRiskMember"
      id="d1cdc1a3-ef0a-4ce8-a462-2cbd80e73b98">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Municipal Securities Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Municipal securities are subject to credit/default risk, interest rate risk and certain additional risks. The Fund may be more sensitive to adverse economic, business&#160;or political developments if it invests a substantial portion of its assets in the debt securities of similar projects (such as those relating to education, health care, housing, transportation, and utilities), industrial development bonds, or in particular types of municipal securities (such as general obligation bonds, private activity bonds and moral obligation bonds). The Fund may also invest in municipal securities indirectly (including by investing in tender option bonds). While interest earned on municipal securities is generally not subject to federal tax, any interest earned on taxable municipal securities is fully taxable at the federal level and may be subject to tax at the state level.&#160;Municipal securities may be more susceptible to downgrades or defaults during recessions or similar periods of economic stress. In addition, since some municipal securities may be secured, guaranteed or otherwise supported by banks and other institutions, the risk to the Fund could increase if the banking or financial sector suffers an economic downturn and/or if the credit ratings of the institutions issuing the guarantee or demand feature are downgraded or at risk of being downgraded by a national rating organization. Such a downward revision or risk of being downgraded may have an adverse effect on the market prices of municipal securities and thus cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000086405_NewYorkRiskMember"
      id="x_210b4680-e28d-44ff-af40-366610e6e5ff">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;New York Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund intends to invest primarily in New York Obligations. The Fund&#x2019;s investments are, therefore, significantly affected by political and economic developments within this state, and by the financial condition of this state, its political subdivisions, agencies, authorities and instrumentalities. If New York or any of its political subdivisions, agencies, authorities or instrumentalities are unable to meet their financial obligations, the Fund&#x2019;s income, NAV, and ability to preserve or realize appreciation of capital or liquidity could be adversely affected. As the nation&#x2019;s financial capital, the economies of New York State and New York City are heavily dependent on the financial sector and will be disproportionately sensitive to economic problems affecting the sector. In addition, as a single state money market fund, the Fund is less diversified and is allowed to invest a significantly greater portion of its assets in one issuer as compared to other money market funds. Because of the flexibility to invest a significantly greater portion of its assets in one issuer and the relatively limited number of issuers of New York Obligations, the Fund&#x2019;s performance may be disproportionately affected by the success of one or a few issuers than is the performance of a more diversified money market fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000086405_StableNAVRiskMember"
      id="x_4ced9577-faeb-47e2-988f-e187fa8e91c4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000086405_TaxRiskMember"
      id="x_5879a784-fca6-4ef5-8326-507e301e5155">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Tax Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Future legislative or administrative changes or court decisions may materially affect the value of the Fund&#x2019;s portfolio holdings and/or the ability of the Fund to pay federal tax-exempt dividends. The Fund would not be a suitable investment within IRAs, other tax-exempt or tax-deferred accounts, or for investors who are not sensitive to the federal tax consequences of their investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PreferredSharesMember_S000086405_USGovernmentSecuritiesRiskMember"
      id="d441c911-e20b-47b7-b12d-7cfe402d64b1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="PreferredSharesMember_S000086405"
      id="x_5c9c80ae-4752-447a-8f3a-0f870a807556">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="PreferredSharesMember_S000086405"
      id="x_8ce85742-3124-43c6-a0f0-f95e4e648d5f">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Preferred Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Preferred Shares.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;1-800-&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;621-2550&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="PreferredSharesMember_S000086405"
      id="x_1af3ad93-cade-4ab6-a08d-71f73b8a2cb5">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Preferred Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Preferred Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="PreferredSharesMember_S000086405"
      id="b8d6c882-c4e7-46ca-9f9f-1a18e56ca7dc">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="PreferredSharesMember_S000086405"
      id="x_275ddea9-ff16-4b03-acb2-086b2957b569">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="PreferredSharesMember_S000086405"
      id="x_9c679720-2952-48f1-9936-3dfcb446a8d7">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;1-800-&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="PreferredSharesMember_S000086405"
      id="x_60ba0910-9de3-47ec-8a85-a891afe812dd">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="PreferredSharesMember_S000086405"
      id="x_42aff64e-9145-4ab3-9a3d-5aefdd314d12">&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.68%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;June 30, 2025&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.60%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2025&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="PreferredSharesMember_S000086405_C000251962"
      id="dfa6d36d-1d20-4c9d-8e4a-4445e84a6a43">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="PreferredSharesMember_S000086405_C000251962"
      decimals="4"
      id="x_8dbf5565-1a5d-4801-83b0-5e778a30f66c"
      unitRef="pure">0.0068</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="PreferredSharesMember_S000086405_C000251962"
      id="x_12c24e7a-d728-46a1-aea2-d363aed8932c">2025-06-30</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="PreferredSharesMember_S000086405_C000251962"
      id="x_48d51bfe-d294-4c51-99dd-b11c6f914a26">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="PreferredSharesMember_S000086405_C000251962"
      decimals="4"
      id="d10b9ae3-5474-4164-88da-7d4ec663a8b1"
      unitRef="pure">0.0060</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="PreferredSharesMember_S000086405_C000251962"
      id="be218bb2-ef59-4fc2-bce8-539d48d2aa3f">2025-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="PreferredSharesMember_S000086405"
      id="x_9dfd5462-5939-40c3-82e2-37e969ead95f">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="PreferredSharesMember_C000251962_01Jan2025_31Dec2025"
      decimals="4"
      id="x_65ec990d-af7a-4b35-a34a-6e321303ae38"
      unitRef="pure">0.0258</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="PreferredSharesMember_C000251962_10Sep2024_31Dec2025"
      decimals="4"
      id="x_1c18083f-5e06-43db-8bce-4622d41b0141"
      unitRef="pure">0.0266</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="PreferredSharesMember_C000251962"
      id="x_41d471af-5b5c-4dbb-bb5e-2872da949522">2024-09-10</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="SelectSharesMember_S000009260"
      id="deb8f61c-bd55-4e9d-b1a8-e5508944df34">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Treasury Obligations Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="SelectSharesMember_S000009260"
      id="x_2efea779-2c52-4d26-bea8-5cd7c46e64ec">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="SelectSharesMember_S000009260"
      id="x_1f00cfd1-3675-4079-8196-d89efa07ec44">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Treasury Obligations Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="SelectSharesMember_S000009260"
      id="d70ecd4c-e62a-421c-a809-39d4bd0704ea">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="SelectSharesMember_S000009260"
      id="x_89f164e5-402a-4c7e-9493-38a3af87e5c8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="SelectSharesMember_S000009260"
      id="x_73f84a2c-52fe-4610-88fa-07122a4746d8">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="SelectSharesMember_S000009260_C000025306"
      decimals="4"
      id="e9ab93dc-149e-4459-8989-d5c32bd35029"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="SelectSharesMember_S000009260_C000025306"
      decimals="4"
      id="x_9bbfad9b-410c-4041-b66c-7733899080c2"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="SelectSharesMember_S000009260_C000025306"
      decimals="4"
      id="x_50dd3c5d-1480-4ad7-91ea-284eca32ea99"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="SelectSharesMember_S000009260_C000025306"
      decimals="4"
      id="x_709489a7-6392-4716-8e3b-5273e8cb5bf6"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="SelectSharesMember_S000009260_C000025306"
      decimals="4"
      id="a291c030-22cf-4086-8877-c82f430798b9"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="SelectSharesMember_S000009260"
      id="x_1ca96998-d8a7-4313-a90c-a8c85ff84e20">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="SelectSharesMember_S000009260_C000025306"
      decimals="4"
      id="x_1cd4b1a5-7f72-4e39-9e96-32ff482074dc"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="SelectSharesMember_S000009260_C000025306"
      decimals="4"
      id="adc50275-ebdb-4462-a2d7-0c281352d588"
      unitRef="pure">0.0005</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="SelectSharesMember_S000009260_C000025306"
      decimals="4"
      id="x_3a098568-e69b-4df2-b5d0-a3c5e6852a47"
      unitRef="pure">0.0003</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="SelectSharesMember_S000009260_C000025306"
      decimals="4"
      id="d77fda2a-d730-4e1f-a5ca-380451caca1d"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="SelectSharesMember_S000009260_C000025306"
      decimals="4"
      id="a6a038e5-33db-44b3-8e6a-7b9dc200a6ee"
      unitRef="pure">0.0023</oef:ExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="SelectSharesMember_S000009260"
      id="x_988af988-ee8d-41f5-a82b-f699fc6c39f7">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="SelectSharesMember_S000009260"
      id="x_87742979-3829-4182-812e-90b3bb4ba000">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Select Shares of the Fund for the time periods indicated and then redeem all of your Select Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="SelectSharesMember_S000009260_C000025306"
      decimals="INF"
      id="e891e893-d418-42d3-937e-b67e2e84554d"
      unitRef="USD">24</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="SelectSharesMember_S000009260_C000025306"
      decimals="INF"
      id="a861398f-9db8-43ba-8c55-ca5d69d7f8eb"
      unitRef="USD">74</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="SelectSharesMember_S000009260_C000025306"
      decimals="INF"
      id="x_40cdc025-eb19-466f-9546-346dd8e2f081"
      unitRef="USD">130</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="SelectSharesMember_S000009260_C000025306"
      decimals="INF"
      id="a8b1358d-169e-4d9f-8c27-b3360c2b4e1e"
      unitRef="USD">293</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="SelectSharesMember_S000009260"
      id="d0b760d4-a1c9-4ef3-90fa-dbf69f5d0bec">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="SelectSharesMember_S000009260"
      id="x_4e957561-7a65-41b6-9157-0cfc7b883b2b">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in U.S. Treasury Obligations, which include securities issued or guaranteed&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;by the U.S. Treasury where the payment of principal and interest is backed by the full faith and credit of the U.S. government (&#x201c;U.S. Treasury Obligations&#x201d;), and repurchase agreements collateralized by U.S. Treasury Obligations. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;). &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;), and/or repurchase agreements that are collateralized fully by &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;cash or U.S. Government Securities. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009260_RiskLoseMoneyMember"
      id="fadd222f-2288-4930-bb08-72ff852573b0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009260_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_6685e9b3-bcda-4029-af87-59d06614ea50">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009260_RiskNotInsuredDepositoryInstitutionMember"
      id="x_15ac17ce-d504-4669-99e6-987d2ef8073c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009260_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="c3403aa6-e501-4872-a46f-a564d7f2fcc2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009260_CreditDefaultRiskMember"
      id="x_63069347-7365-4927-85d4-2bada2f03df2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009260_InterestRateRiskMember"
      id="db72df27-118a-4c35-b3b0-efb1189e3728">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009260_LargeShareholderTransactionsRiskMember"
      id="d4e06472-00e1-48ca-a80d-0b0d436315a1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009260_LiquidityRiskMember"
      id="x_3df44450-8669-4950-b1c6-7878901c4241">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009260_MarketRiskMember"
      id="ed2858bc-78ae-449e-83b1-8e59d10b6fb6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009260_StableNAVRiskMember"
      id="x_209ea142-dbb2-41ee-8abd-4fb4948e980c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="SelectSharesMember_S000009260"
      id="x_2adaa54e-1b5c-408c-aea4-fe2bcea8b7c1">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="SelectSharesMember_S000009260"
      id="x_8ba84114-8696-489e-8984-78e57680df22">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Select Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Select Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="SelectSharesMember_S000009260"
      id="x_89d22b03-ced1-4c1b-81ae-b4be628b51fa">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Select Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Select Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="SelectSharesMember_S000009260"
      id="bfbc7a60-5004-4bab-9710-c0e946964cf5">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="SelectSharesMember_S000009260"
      id="x_080a1b37-f7af-4f43-82a6-244ff339e7b3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="SelectSharesMember_S000009260"
      id="a98e6748-aa5a-443d-b94f-71f5c564e213">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="SelectSharesMember_S000009260"
      id="x_9a60a015-21f2-4d6b-9ebf-f2a7563f888a">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="SelectSharesMember_S000009260"
      id="fb3fb362-e48e-43f3-9bfa-5100fe6ea6be">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.32%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;September 30, 2021&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="SelectSharesMember_S000009260_C000025306"
      id="x_5b97b8a8-0763-4ed4-969a-f3b94b101a99">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="SelectSharesMember_S000009260_C000025306"
      decimals="4"
      id="e00dcbc5-35b9-424e-b8c0-39cef8492483"
      unitRef="pure">0.0132</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="SelectSharesMember_S000009260_C000025306"
      id="x_0f9b5abf-c51b-4e0b-ae38-3b61dea13644">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="SelectSharesMember_S000009260_C000025306"
      id="x_48c43eba-61d2-409b-8e69-56c64b9d4eb3">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="SelectSharesMember_S000009260_C000025306"
      decimals="4"
      id="edeb1731-6388-4355-ae2b-a61eb121cc2c"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="SelectSharesMember_S000009260_C000025306"
      id="e018014e-c464-4e90-9127-25c44983f736">2021-09-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="SelectSharesMember_S000009260"
      id="x_5065e17d-84af-4b3a-98c9-78fe02adf1e3">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="SelectSharesMember_C000025306_01Jan2025_31Dec2025"
      decimals="4"
      id="x_6b2785e7-5766-4cc1-8fe1-7bced8cd7c7e"
      unitRef="pure">0.0414</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="SelectSharesMember_C000025306_01Jan2021_31Dec2025"
      decimals="4"
      id="e61ba2b4-2359-4f76-8dcb-c20aa00b7dbc"
      unitRef="pure">0.0314</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="SelectSharesMember_C000025306_01Jan2016_31Dec2025"
      decimals="4"
      id="b213e511-a79c-4a2f-8f3a-73bfaa630768"
      unitRef="pure">0.0206</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="SelectSharesMember_C000025306"
      id="e22f9ba6-eccf-4caf-8e90-452c07fdc20b">2000-01-31</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="SelectSharesMember_S000009261"
      id="c6f3affa-dac7-4ce4-8ce2-08259441d250">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square&#160;Treasury Instruments Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="SelectSharesMember_S000009261"
      id="x_81694c02-9c3b-43c1-b0ca-844638224dc0">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="SelectSharesMember_S000009261"
      id="bb47ee90-8aa3-4c27-b313-de547b6024e4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square&#160;Treasury Instruments Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="SelectSharesMember_S000009261"
      id="x_22db5767-df7c-4a70-b778-5b9d737d2230">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="SelectSharesMember_S000009261"
      id="x_3b3979ce-0d66-4d69-839d-0d9d208f7351">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="SelectSharesMember_S000009261"
      id="c0659680-af27-41d4-85f2-af0d3d00fe6e">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="SelectSharesMember_S000009261_C000025313"
      decimals="4"
      id="cda67352-f372-4352-b1e1-74ac4a940bf0"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="SelectSharesMember_S000009261_C000025313"
      decimals="4"
      id="x_03b64dcd-edf1-48f4-9ceb-2c83ba2291f4"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="SelectSharesMember_S000009261_C000025313"
      decimals="4"
      id="x_4d0a3880-cf31-4cd5-b1dd-e9681bc75279"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="SelectSharesMember_S000009261_C000025313"
      decimals="4"
      id="x_11b33b32-a6fa-40be-b4e2-779d369f4dbc"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="SelectSharesMember_S000009261_C000025313"
      decimals="4"
      id="x_9c0641d9-00b9-43e4-8256-9f9325369a37"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="SelectSharesMember_S000009261"
      id="x_9bf17217-96ef-4dc8-ba40-6e348c942e6f">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="SelectSharesMember_S000009261_C000025313"
      decimals="4"
      id="x_615abc29-2d69-4184-b260-815625307c84"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="SelectSharesMember_S000009261_C000025313"
      decimals="4"
      id="x_3f922814-0475-4f59-a7b6-5d313319b650"
      unitRef="pure">0.0005</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="SelectSharesMember_S000009261_C000025313"
      decimals="4"
      id="x_7de18330-2fc5-4b04-b9e4-c75fde72a1a1"
      unitRef="pure">0.0003</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="SelectSharesMember_S000009261_C000025313"
      decimals="4"
      id="x_3eef7b26-9027-4566-8ad5-a4a3af07c59c"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="SelectSharesMember_S000009261_C000025313"
      decimals="4"
      id="e55c02cc-51a2-41d6-af73-880b168f18e3"
      unitRef="pure">0.0023</oef:ExpensesOverAssets>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="SelectSharesMember_S000009261"
      id="c162169d-7a71-4cbb-a904-a7e3cb26e378">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.&lt;/span&gt;</oef:ExpensesRestatedToReflectCurrent>
    <oef:ExpenseExampleHeading
      contextRef="SelectSharesMember_S000009261"
      id="x_2060a9ca-53db-4b37-a9b0-3dc38486be9e">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="SelectSharesMember_S000009261"
      id="fe388dc7-0730-4955-baae-855cdd716900">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Select Shares of the Fund for the time periods indicated and then redeem all of your Select Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="SelectSharesMember_S000009261_C000025313"
      decimals="INF"
      id="d8e41d61-b612-4ff5-a2c9-c2e79859378a"
      unitRef="USD">24</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="SelectSharesMember_S000009261_C000025313"
      decimals="INF"
      id="c35662d3-6b88-45e7-83b5-b28e66bd236d"
      unitRef="USD">74</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="SelectSharesMember_S000009261_C000025313"
      decimals="INF"
      id="x_169f55e2-d912-4529-92a6-25fbbe683d88"
      unitRef="USD">130</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="SelectSharesMember_S000009261_C000025313"
      decimals="INF"
      id="x_6acd7d7b-e419-4cd7-9333-60b0d0eda9ab"
      unitRef="USD">293</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="SelectSharesMember_S000009261"
      id="d87aa56d-62ce-4ac4-82a4-cb22bb99dbfe">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="SelectSharesMember_S000009261"
      id="x_7ba5c361-41e7-4309-9eff-04be5da648ec">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in U.S. Treasury Obligations, which include securities issued or guaranteed by the U.S. Treasury where the payment of principal and interest is backed by the full faith and credit of the U.S. government (&#x201c;U.S. Treasury Obligations&#x201d;), the interest from which is generally exempt from state income taxation. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;). &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash and securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). Although &#x201c;government money market funds&#x201d; may also &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;invest in repurchase agreements that are collateralized fully by cash or U.S. Government Securities, the Fund may not invest in repurchase agreements. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009261_RiskLoseMoneyMember"
      id="e0ea3f0a-bddd-46ae-aae5-6c566cd071a1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009261_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_84db29d6-7dbb-48ab-ba54-7ad67a512afc">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009261_RiskNotInsuredDepositoryInstitutionMember"
      id="x_9d3c2f92-d3e6-4675-b9de-ad2dbeb64907">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009261_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_293ffadb-c7fe-43ff-9bee-7ecbb99e465d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009261_CreditDefaultRiskMember"
      id="e599746e-899d-4b7d-9061-8e260cd92507">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009261_InterestRateRiskMember"
      id="x_1a0e48ba-9e0f-4d99-9728-cffeeea3627d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009261_LargeShareholderTransactionsRiskMember"
      id="x_8d8e58b6-074b-4293-b70d-9003315431ce">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009261_LiquidityRiskMember"
      id="f01efe55-8e3f-4543-9786-4eacea5c0585">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009261_MarketRiskMember"
      id="x_17de7c32-1858-4f08-9877-ea16400d0430">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009261_StableNAVRiskMember"
      id="x_807be7d5-9a5e-44f3-9d23-f2896749ed44">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="SelectSharesMember_S000009261"
      id="x_56dc0863-f849-44f8-81b4-84a00054abcf">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="SelectSharesMember_S000009261"
      id="d642de79-058c-4a52-913c-2439c65cfe9f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Select Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Select Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="SelectSharesMember_S000009261"
      id="x_56819e6a-f6fc-43cd-a4fd-ee9f689c8e79">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Select Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Select Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="SelectSharesMember_S000009261"
      id="x_367393a6-f7aa-45fa-a9a5-bd04e2468dc4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="SelectSharesMember_S000009261"
      id="x_6be0d30c-f44a-45be-ab61-4287822315f7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="SelectSharesMember_S000009261"
      id="x_4a891168-5813-459d-8773-e8ac86fbccff">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="SelectSharesMember_S000009261"
      id="x_565722aa-93d7-42be-883c-1348e05ec36c">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="SelectSharesMember_S000009261"
      id="df98db2f-4d9c-4eb9-8200-b5e86b862900">&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.32%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;September 30, 2021&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="SelectSharesMember_S000009261_C000025313"
      id="x_793a8fe4-0514-49f6-a167-103c3de7b678">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="SelectSharesMember_S000009261_C000025313"
      decimals="4"
      id="ccbf488f-00f6-4b4d-b4aa-1463061d308e"
      unitRef="pure">0.0132</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="SelectSharesMember_S000009261_C000025313"
      id="x_6cd5e4e0-8c67-4fa9-b945-fb5c8746aaef">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="SelectSharesMember_S000009261_C000025313"
      id="x_0ade8795-cb23-4123-9a93-7f2da72c844f">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="SelectSharesMember_S000009261_C000025313"
      decimals="4"
      id="b727b517-f6ff-4c23-872a-5925d45d65ff"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="SelectSharesMember_S000009261_C000025313"
      id="f6f5215c-3335-4ef8-b434-651ba2d19fab">2021-09-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="SelectSharesMember_S000009261"
      id="x_34cdfaa8-dbd6-4a4f-bd94-31e56d0a123d">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="SelectSharesMember_C000025313_01Jan2025_31Dec2025"
      decimals="4"
      id="x_10315fb5-95e3-42aa-a80e-72ceb8c16a3d"
      unitRef="pure">0.0412</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="SelectSharesMember_C000025313_01Jan2021_31Dec2025"
      decimals="4"
      id="x_70fd3dd5-cb0f-419d-8b51-fac441167ab4"
      unitRef="pure">0.0310</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="SelectSharesMember_C000025313_01Jan2016_31Dec2025"
      decimals="4"
      id="x_04d819c4-9bd8-4b86-9676-32074fd14e31"
      unitRef="pure">0.0203</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="SelectSharesMember_C000025313"
      id="a790f1a9-855b-4104-82fe-53e54124936e">2000-01-31</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="SelectSharesMember_S000009243"
      id="d1dd369c-d028-4419-813a-bec725bb484b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Treasury Solutions Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="SelectSharesMember_S000009243"
      id="x_03873be1-7ead-4477-87fe-d5493bee3171">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="SelectSharesMember_S000009243"
      id="x_12d7361d-4cf5-486e-b6e0-486f7b987caa">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Treasury Solutions Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="SelectSharesMember_S000009243"
      id="x_10fa2624-471e-48f5-87c2-a551df774e9e">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="SelectSharesMember_S000009243"
      id="f604fcc0-5cb2-4e6f-a15c-fa73dadfaef1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="SelectSharesMember_S000009243"
      id="e5d65179-45d8-4715-9d0f-4e07d9eee029">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="SelectSharesMember_S000009243_C000025207"
      decimals="4"
      id="x_19291cc1-bc9b-408b-8d4b-ed4ca218b915"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="SelectSharesMember_S000009243_C000025207"
      decimals="4"
      id="x_33a97639-8673-4525-bfac-baf043f5af28"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="SelectSharesMember_S000009243_C000025207"
      decimals="4"
      id="x_8e2250c4-a04d-4ada-a883-f099fa8a6777"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="SelectSharesMember_S000009243_C000025207"
      decimals="4"
      id="x_776be8ef-aa8b-4697-b518-a31c9723aeba"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="SelectSharesMember_S000009243_C000025207"
      decimals="4"
      id="x_0f891036-e507-4772-8fd6-4ec15af812ab"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="SelectSharesMember_S000009243"
      id="d07044da-9233-430e-bff5-e930d9eb0cc1">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="SelectSharesMember_S000009243_C000025207"
      decimals="4"
      id="x_28252c30-ff8e-4c59-8f12-04151fc31267"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="SelectSharesMember_S000009243_C000025207"
      decimals="4"
      id="x_28a44c9a-e852-4c03-8816-79d27407ec06"
      unitRef="pure">0.0005</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="SelectSharesMember_S000009243_C000025207"
      decimals="4"
      id="x_684dcc38-04f3-4d3d-b94e-d896aa315436"
      unitRef="pure">0.0003</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="SelectSharesMember_S000009243_C000025207"
      decimals="4"
      id="x_7dea2e48-2ad2-4844-afba-4acb2848435b"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="SelectSharesMember_S000009243_C000025207"
      decimals="4"
      id="ffed20bf-02fd-46ab-9fbb-914a89fc617c"
      unitRef="pure">0.0023</oef:ExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="SelectSharesMember_S000009243"
      id="x_7519995d-25df-43eb-9970-67fc5100d06a">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="SelectSharesMember_S000009243"
      id="b231c428-319e-4849-b6d2-3562f291b437">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Select Shares of the Fund for the time periods indicated and then redeem all of your Select Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="SelectSharesMember_S000009243_C000025207"
      decimals="INF"
      id="x_23df141a-6b34-4cf5-9414-92de516f6cf3"
      unitRef="USD">24</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="SelectSharesMember_S000009243_C000025207"
      decimals="INF"
      id="x_2b92e757-fbbb-4a6d-a0a9-b4748b3bfef2"
      unitRef="USD">74</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="SelectSharesMember_S000009243_C000025207"
      decimals="INF"
      id="x_6331df26-e3b4-482d-8dcb-9a39c756adc4"
      unitRef="USD">130</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="SelectSharesMember_S000009243_C000025207"
      decimals="INF"
      id="dc81812d-c7b7-4c24-8607-a3500be48202"
      unitRef="USD">293</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="SelectSharesMember_S000009243"
      id="x_311fac88-0b5d-425a-8015-ca0fd67c9ce4">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="SelectSharesMember_S000009243"
      id="x_46097ff0-0ba7-4404-9d75-377adc4ca448">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in U.S. Treasury Obligations, which include securities issued or guaranteed&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;by the U.S. Treasury where the payment of principal and interest is backed by the full faith and credit of the U.S. government (&#x201c;U.S. Treasury Obligations&#x201d;), and repurchase agreements with the Federal Reserve Bank of New York collateralized by U.S. Treasury Obligations. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;). &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;), and/or repurchase agreements that are collateralized fully by &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;cash or U.S. Government Securities. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009243_RiskLoseMoneyMember"
      id="x_79201316-a0cb-4e66-bc22-6845c756a598">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009243_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_17444f39-2444-4707-bfa3-7c3286b43a79">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009243_RiskNotInsuredDepositoryInstitutionMember"
      id="x_6ffee691-66c7-40d9-b395-ee209f79ca79">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009243_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_2f0ea8c5-6423-488e-b26c-dcce64f8ebc3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009243_CreditDefaultRiskMember"
      id="x_8aa909ec-7ca4-49b3-a101-49deb25708da">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009243_InterestRateRiskMember"
      id="x_8cad3f71-837e-4a63-8cd5-61eb9a5aec79">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009243_LargeShareholderTransactionsRiskMember"
      id="x_527d540b-4148-4bc4-9495-ecd92404ca38">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009243_LiquidityRiskMember"
      id="x_3e651ee3-1510-4677-8499-f53195fe3f55">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009243_MarketRiskMember"
      id="x_34f1c80b-ca93-4f05-9b92-32b14b4b6e10">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009243_StableNAVRiskMember"
      id="x_93452b16-4d86-4602-bbfe-0fc023be33cd">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="SelectSharesMember_S000009243"
      id="x_1122736c-8500-4f22-806f-b0fc27784b3b">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="SelectSharesMember_S000009243"
      id="b2330778-10b0-4f9f-aa01-52f5d89dcf76">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Select Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Select Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="SelectSharesMember_S000009243"
      id="x_81c21f0e-df1b-4918-8347-83f1d60778c3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Select Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Select Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="SelectSharesMember_S000009243"
      id="dbcecb69-56d5-4b5c-9170-4beb01b84628">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="SelectSharesMember_S000009243"
      id="x_4a07304b-808a-4c70-88e2-84573b0e2e4a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="SelectSharesMember_S000009243"
      id="d7ebe17c-5714-4fb5-a818-2522ee9593df">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="SelectSharesMember_S000009243"
      id="x_8a7b31f3-a36b-48e7-8059-7816c5e4c7b1">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="SelectSharesMember_S000009243"
      id="bbaa33a6-425c-4e8f-9a73-9ac3164977c2">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.32%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;September 30, 2021&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="SelectSharesMember_S000009243_C000025207"
      id="x_76093463-91b6-4516-80eb-e6eb20416460">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="SelectSharesMember_S000009243_C000025207"
      decimals="4"
      id="x_9636ba0a-6bea-4615-bd15-86b6d87778ab"
      unitRef="pure">0.0132</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="SelectSharesMember_S000009243_C000025207"
      id="x_6735858e-f4a8-4815-82e6-eb38f9799e7e">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="SelectSharesMember_S000009243_C000025207"
      id="x_177d876d-e3b2-4802-8cf9-bffc6cc457e4">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="SelectSharesMember_S000009243_C000025207"
      decimals="4"
      id="x_28e6130e-35c8-44d0-af04-ee70d28f4d08"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="SelectSharesMember_S000009243_C000025207"
      id="d189e80e-e0e2-46a7-848c-a5975122495d">2021-09-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="SelectSharesMember_S000009243"
      id="x_594a728c-c2aa-49e0-838a-dcee2a5f00c1">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="SelectSharesMember_C000025207_01Jan2025_31Dec2025"
      decimals="4"
      id="x_25a86609-1851-4841-8972-d6a6cea832ac"
      unitRef="pure">0.0411</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="SelectSharesMember_C000025207_01Jan2021_31Dec2025"
      decimals="4"
      id="x_74c828cc-9c39-4ffb-aec4-2f54676bd2d5"
      unitRef="pure">0.0313</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="SelectSharesMember_C000025207_01Jan2016_31Dec2025"
      decimals="4"
      id="x_7b5cb937-d1c0-4b51-acbf-bb15162d3102"
      unitRef="pure">0.0205</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="SelectSharesMember_C000025207"
      id="x_4a9ab213-0a34-4fb0-ac00-2416909ba1cf">2000-01-31</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="SelectSharesMember_S000009242"
      id="dfcb2439-b89a-4a6d-95e8-811cd40e8cd0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Government Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="SelectSharesMember_S000009242"
      id="e05d035a-9901-4579-a246-43e853630fdb">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="SelectSharesMember_S000009242"
      id="f29c7508-e5a0-41fc-a822-8c1cf694919a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Government Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="SelectSharesMember_S000009242"
      id="x_78216cd7-8e29-4d92-ae42-cbfa1a6f5efc">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="SelectSharesMember_S000009242"
      id="x_53f28e2b-2f4c-4e9f-89f3-c543c10a58ee">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="SelectSharesMember_S000009242"
      id="x_1ed18b41-9c14-4413-ba9b-b8e0fe91ff57">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="SelectSharesMember_S000009242_C000025200"
      decimals="4"
      id="fc9f4220-2f0b-45e9-a346-325a55ee0f71"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="SelectSharesMember_S000009242_C000025200"
      decimals="4"
      id="x_94d1e034-e909-4e48-84b5-3b33e47f5192"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="SelectSharesMember_S000009242_C000025200"
      decimals="4"
      id="b341415a-0119-4194-92ed-652fc7b55ae0"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="SelectSharesMember_S000009242_C000025200"
      decimals="4"
      id="x_5cf4899e-c1aa-48b7-bf80-541f6f21e594"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="SelectSharesMember_S000009242_C000025200"
      decimals="4"
      id="x_9ea21d84-4b81-4dd4-82ee-eed433d11794"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="SelectSharesMember_S000009242"
      id="x_36b6ab11-7a51-4abe-ad87-809f8f1f3075">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="SelectSharesMember_S000009242_C000025200"
      decimals="4"
      id="f390fe46-5c6e-4588-8a88-c7855a0d931c"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="SelectSharesMember_S000009242_C000025200"
      decimals="4"
      id="x_3881e5d4-6822-41ec-8041-621195ee845e"
      unitRef="pure">0.0005</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="SelectSharesMember_S000009242_C000025200"
      decimals="4"
      id="c1c61f5d-b6b6-456b-b0dd-41771be17662"
      unitRef="pure">0.0003</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="SelectSharesMember_S000009242_C000025200"
      decimals="4"
      id="x_6f4482f9-de9e-419e-9242-0f6a6079ede9"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="SelectSharesMember_S000009242_C000025200"
      decimals="4"
      id="x_067a6076-24d8-4456-8d65-9523a46979d8"
      unitRef="pure">0.0021</oef:ExpensesOverAssets>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="SelectSharesMember_S000009242"
      id="fa90caa8-5103-4b29-9788-86f98ff9a2cf">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.&lt;/span&gt;</oef:ExpensesRestatedToReflectCurrent>
    <oef:ExpenseExampleHeading
      contextRef="SelectSharesMember_S000009242"
      id="x_5569cb48-7452-4c64-ace6-fa04c863654e">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="SelectSharesMember_S000009242"
      id="x_589cd21b-5ac2-4d04-83f3-78273e112548">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Select Shares of the Fund for the time periods indicated and then redeem all of your Select Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="SelectSharesMember_S000009242_C000025200"
      decimals="INF"
      id="x_220520fd-2edc-41fe-9774-0ee8ee89b4f5"
      unitRef="USD">22</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="SelectSharesMember_S000009242_C000025200"
      decimals="INF"
      id="ba5a3f1d-5ed7-479a-8f0f-2ebf8b0913f1"
      unitRef="USD">68</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="SelectSharesMember_S000009242_C000025200"
      decimals="INF"
      id="x_6d5d2784-2973-458d-8ada-a8807393abcd"
      unitRef="USD">118</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="SelectSharesMember_S000009242_C000025200"
      decimals="INF"
      id="a6d39350-3216-4256-bdd0-14f6428366a8"
      unitRef="USD">268</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="SelectSharesMember_S000009242"
      id="ed047b25-20e1-4d4a-9381-01334057ee35">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="SelectSharesMember_S000009242"
      id="e6c1b1f4-a3be-4299-9eb0-72ccaddb631e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in &#x201c;government securities,&#x201d; as such term is defined in or interpreted under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;), and repurchase agreements collateralized by such securities. &#x201c;Government securities&#x201d; generally are securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act. &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, U.S. Government Securities, and/or repurchase agreements that are collateralized fully by cash or U.S. Government Securities. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;&#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009242_RiskLoseMoneyMember"
      id="x_57371a0d-4b76-439f-b5b1-a9f27a89725c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009242_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="b021890b-7f6e-46e9-b4ed-c40c8d6aac99">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009242_RiskNotInsuredDepositoryInstitutionMember"
      id="x_96d59749-759c-4d01-a630-4a9a15c6a69c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009242_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="b2fd52b3-e7ea-44d7-ae08-44650b2b3ccb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009242_CreditDefaultRiskMember"
      id="x_4d26e98f-0ab3-44cf-a4da-f52816b93bad">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009242_InterestRateRiskMember"
      id="e832b20e-4546-4a3c-9c7a-8f405fb6a117">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009242_LargeShareholderTransactionsRiskMember"
      id="x_7cefedf8-43a8-4933-bd4f-7d3ceff86e33">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009242_LiquidityRiskMember"
      id="faa9b85a-ca8a-466b-987b-aedaa1ae3f90">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009242_MarketRiskMember"
      id="x_81554f2f-a8b5-4492-8d08-80a422036abf">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009242_StableNAVRiskMember"
      id="x_14d6f9cc-79fd-4043-86db-e6e11598ba0f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SelectSharesMember_S000009242_USGovernmentSecuritiesRiskMember"
      id="x_2d50ec55-7863-4eaa-824d-c8e9f4945a85">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="SelectSharesMember_S000009242"
      id="x_1799a2e3-37fe-4623-ab51-5f246026162a">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="SelectSharesMember_S000009242"
      id="x_657eb378-840e-431a-8a3a-3337468444d2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Select Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Select Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="SelectSharesMember_S000009242"
      id="x_832c9c2b-a6c6-485b-bd1c-46754f4afd22">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Select Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Select Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="SelectSharesMember_S000009242"
      id="x_180eadf0-ee7c-4654-aeb5-bb966db45cc0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="SelectSharesMember_S000009242"
      id="x_528f6358-545c-4ca7-80a0-55095edd6b4d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="SelectSharesMember_S000009242"
      id="x_1fec59c8-bef8-44ba-9ae2-890d12622248">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="SelectSharesMember_S000009242"
      id="x_5fd2f797-7f24-4114-bcc2-b6d992142120">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="SelectSharesMember_S000009242"
      id="x_956e9c5d-a3ba-459c-9988-7b54da6e0de5">&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.32%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="SelectSharesMember_S000009242_C000025200"
      id="x_6922a8b9-642a-4496-b7c1-75f6679dfe50">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="SelectSharesMember_S000009242_C000025200"
      decimals="4"
      id="x_732e6a81-0ce7-42e0-ac56-b8988683ca74"
      unitRef="pure">0.0132</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="SelectSharesMember_S000009242_C000025200"
      id="x_357b46aa-6676-40fd-bf7f-2bb73e85ff7f">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="SelectSharesMember_S000009242_C000025200"
      id="x_1e75b56d-1bbc-4aec-b8db-22b9e0cee0d8">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="SelectSharesMember_S000009242_C000025200"
      decimals="4"
      id="x_1cc6b294-2e61-421a-b354-f5ad8cf4a533"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="SelectSharesMember_S000009242_C000025200"
      id="x_7a59ef41-ce71-4c43-b0bb-f69cb272ea56">2020-12-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="SelectSharesMember_S000009242"
      id="fdb5aa67-35c5-4229-828c-968f0ed9dbba">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="SelectSharesMember_C000025200_01Jan2025_31Dec2025"
      decimals="4"
      id="db6f3921-a835-4002-a041-60e77f1dc2df"
      unitRef="pure">0.0418</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="SelectSharesMember_C000025200_01Jan2021_31Dec2025"
      decimals="4"
      id="x_4fdfae41-c740-4dc1-925a-d22bc9571bb7"
      unitRef="pure">0.0316</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="SelectSharesMember_C000025200_01Jan2016_31Dec2025"
      decimals="4"
      id="x_27eaa8d0-b36d-42bb-997c-35c334be4a19"
      unitRef="pure">0.0209</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="SelectSharesMember_C000025200"
      id="x_11bbbb8b-2ef9-422f-93cf-c0f1e3447ee5">2000-01-31</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="AdministrationSharesMember_S000009260"
      id="x_35886611-7dcc-45ce-9011-9882bf43e42b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Treasury Obligations Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="AdministrationSharesMember_S000009260"
      id="x_9423f2e1-1551-4ac3-bca8-6b5ff00af7db">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="AdministrationSharesMember_S000009260"
      id="x_8f7cdecb-3fc6-4236-84d8-85fce7cd1db9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Treasury Obligations Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="AdministrationSharesMember_S000009260"
      id="x_0347df21-5d5c-426d-97b3-da14fd77f823">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000009260"
      id="x_3a632b4e-4eff-41cf-a906-71acc4917f69">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="AdministrationSharesMember_S000009260"
      id="ae9878a9-5861-48c6-a93c-1f34bdf50211">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="AdministrationSharesMember_S000009260_C000025303"
      decimals="4"
      id="x_04453783-7259-4e92-83cf-87eeace04e04"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="AdministrationSharesMember_S000009260_C000025303"
      decimals="4"
      id="ef836c86-ec73-41aa-b877-80e886dfd08c"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="AdministrationSharesMember_S000009260_C000025303"
      decimals="4"
      id="x_2bc758b2-3196-4df6-8c8d-0c1fd511f011"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="AdministrationSharesMember_S000009260_C000025303"
      decimals="4"
      id="x_1c86db6f-f3e1-4a3e-8517-92855de2a76b"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="AdministrationSharesMember_S000009260_C000025303"
      decimals="4"
      id="x_4c39554e-4c38-412b-8292-202ff898c942"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="AdministrationSharesMember_S000009260"
      id="x_6a482931-64fc-4cf2-bb19-45469f11a118">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="AdministrationSharesMember_S000009260_C000025303"
      decimals="4"
      id="a4d476c1-588c-46dc-b4fb-79dc4522e9e1"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="AdministrationSharesMember_S000009260_C000025303"
      decimals="4"
      id="bfca1eff-3a91-4994-984f-cb83070eca25"
      unitRef="pure">0.0027</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="AdministrationSharesMember_S000009260_C000025303"
      decimals="4"
      id="x_95eccebf-7532-4d6b-9fbf-ca5f96076121"
      unitRef="pure">0.0025</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="AdministrationSharesMember_S000009260_C000025303"
      decimals="4"
      id="x_5815e09d-0d80-48f3-9fd6-4dea412ba36e"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="AdministrationSharesMember_S000009260_C000025303"
      decimals="4"
      id="f98395c1-f57c-4617-8735-4a594ce4a790"
      unitRef="pure">0.0045</oef:ExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="AdministrationSharesMember_S000009260"
      id="x_9cefd92a-b61e-4b60-9011-f79a6cbdbf49">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000009260"
      id="x_5972fe04-9597-4739-b0aa-e2f6cd21fd13">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Administration Shares of the Fund for the time periods indicated and then redeem all of your Administration Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="AdministrationSharesMember_S000009260_C000025303"
      decimals="INF"
      id="x_5c70e12a-44bb-4acf-9581-107b035df955"
      unitRef="USD">46</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="AdministrationSharesMember_S000009260_C000025303"
      decimals="INF"
      id="x_9781162a-39c5-484e-8d45-4cafc5dee47b"
      unitRef="USD">144</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="AdministrationSharesMember_S000009260_C000025303"
      decimals="INF"
      id="x_6a3934cf-7eb1-45ad-af61-0e551411e224"
      unitRef="USD">252</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="AdministrationSharesMember_S000009260_C000025303"
      decimals="INF"
      id="x_28449f74-1b47-4b94-ae34-be9f912062bf"
      unitRef="USD">567</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="AdministrationSharesMember_S000009260"
      id="a8e91af8-f956-401d-b9c5-21d4426db0af">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000009260"
      id="fd01e3ea-32a9-4302-825b-65270a8dbeac">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in U.S. Treasury Obligations, which include securities issued or guaranteed&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;by the U.S. Treasury where the payment of principal and interest is backed by the full faith and credit of the U.S. government (&#x201c;U.S. Treasury Obligations&#x201d;), and repurchase agreements collateralized by U.S. Treasury Obligations. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;). &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;), and/or repurchase agreements that are collateralized fully by &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;cash or U.S. Government Securities. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009260_RiskLoseMoneyMember"
      id="fee01204-6a28-4adb-b7e3-78bacdfc9753">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009260_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_97c334bc-a3cc-4cd7-88c9-0ab989cce780">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009260_RiskNotInsuredDepositoryInstitutionMember"
      id="x_3d5b22cd-5aba-4607-9540-00df39b9954a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009260_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="a2161688-4c10-4492-aa49-dfe5c666572e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009260_CreditDefaultRiskMember"
      id="x_60b6f874-cd0e-496b-bb59-ff8258559bfe">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009260_InterestRateRiskMember"
      id="x_4c7e31d6-950b-4469-a1b4-fb753e647a65">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009260_LargeShareholderTransactionsRiskMember"
      id="x_959c18a1-ebde-4f5a-951b-2d607a481749">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009260_LiquidityRiskMember"
      id="x_08fa9ece-4d2e-459d-8808-4ee11c952743">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009260_MarketRiskMember"
      id="x_0717fdd3-6e48-49f3-9d7d-cc7e041751f4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009260_StableNAVRiskMember"
      id="x_14ccbe2b-c7fa-47de-a670-02af26a1f0cb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="AdministrationSharesMember_S000009260"
      id="x_9ecbcc4e-ea9d-4831-b86e-a3628109af03">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000009260"
      id="x_816ad4fb-7191-4ac9-b788-098e62763f9f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Administration Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Administration Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;and/or expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="AdministrationSharesMember_S000009260"
      id="x_90bb60bf-9d1e-4765-9a68-c2d6ba647357">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Administration Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Administration Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="AdministrationSharesMember_S000009260"
      id="x_10472bde-1219-4438-9ef7-2ab26f170fa7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="AdministrationSharesMember_S000009260"
      id="c9a5d31a-25d2-43a1-a5c5-a69070e379fe">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="AdministrationSharesMember_S000009260"
      id="x_6e0c1acd-40e6-4ae4-bb6e-ca596e13032b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="AdministrationSharesMember_S000009260"
      id="x_2b345fc1-7ee3-4e8f-a66b-16bfcce5bb7c">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="AdministrationSharesMember_S000009260"
      id="x_691ebdd6-b133-45d3-85af-6c5c2a9e168d">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.26%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2022&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="AdministrationSharesMember_S000009260_C000025303"
      id="x_50bfa59f-25ad-404d-b945-502245206917">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="AdministrationSharesMember_S000009260_C000025303"
      decimals="4"
      id="bfd6ad6b-de87-4fab-95f2-c145d354cea0"
      unitRef="pure">0.0126</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="AdministrationSharesMember_S000009260_C000025303"
      id="d22499ff-b2c8-4967-aa9c-2dc5d03614f6">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="AdministrationSharesMember_S000009260_C000025303"
      id="x_5e029d0a-d992-407a-a9d9-c58203609350">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="AdministrationSharesMember_S000009260_C000025303"
      decimals="4"
      id="x_1db3cbe6-ec33-4b23-a2a8-c39225f3b0d6"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="AdministrationSharesMember_S000009260_C000025303"
      id="bd0081ac-a087-45be-b764-3aaa028db99d">2022-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="AdministrationSharesMember_S000009260"
      id="d54721a0-65ae-4786-8307-601ac5a5cfe9">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="AdministrationSharesMember_C000025303_01Jan2025_31Dec2025"
      decimals="4"
      id="x_1fd65453-3976-4342-9f8b-772444d41a67"
      unitRef="pure">0.0391</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="AdministrationSharesMember_C000025303_01Jan2021_31Dec2025"
      decimals="4"
      id="f3d27888-076b-4ace-a147-ff26aad919cf"
      unitRef="pure">0.0297</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="AdministrationSharesMember_C000025303_01Jan2016_31Dec2025"
      decimals="4"
      id="f3f09358-a1e2-4836-8730-782a29d0f4d2"
      unitRef="pure">0.0188</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="AdministrationSharesMember_C000025303"
      id="f78a1437-5ced-4773-aebd-13e1fb70ebe3">1993-01-21</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="AdministrationSharesMember_S000009261"
      id="x_0723f578-7c22-4a69-9d1e-e270b12c5f4b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square&#160;Treasury Instruments Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="AdministrationSharesMember_S000009261"
      id="x_6897d274-cfaf-474e-83e2-de7519c30988">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="AdministrationSharesMember_S000009261"
      id="e8ca4ca5-f4c6-47ba-96ee-e04f1f4914a7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square&#160;Treasury Instruments Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="AdministrationSharesMember_S000009261"
      id="x_6a9ea811-635e-4d1a-b1b7-4ebd31b66f4c">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000009261"
      id="e9d2ba36-d130-47a4-8af7-40a9e24e439c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="AdministrationSharesMember_S000009261"
      id="x_60b05af8-c8a9-4bc8-8afd-a02b02789938">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="AdministrationSharesMember_S000009261_C000025310"
      decimals="4"
      id="x_1d128f60-e0de-4f22-b297-a5d1d9ff1dd5"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="AdministrationSharesMember_S000009261_C000025310"
      decimals="4"
      id="x_828c5040-0b58-409b-b3b3-beb0373f02ae"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="AdministrationSharesMember_S000009261_C000025310"
      decimals="4"
      id="fc1e8003-9d69-4dff-808a-53915851314e"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="AdministrationSharesMember_S000009261_C000025310"
      decimals="4"
      id="x_3d08e447-5ce5-4990-a0b6-a36c7aabbfc6"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="AdministrationSharesMember_S000009261_C000025310"
      decimals="4"
      id="a96030a5-94c0-4a48-8c98-9caee12a5c70"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="AdministrationSharesMember_S000009261"
      id="x_8ee48c0d-64fe-44e8-aed1-c87d8c94d348">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="AdministrationSharesMember_S000009261_C000025310"
      decimals="4"
      id="d4db0219-7785-4c2d-9351-d4950c1854ae"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="AdministrationSharesMember_S000009261_C000025310"
      decimals="4"
      id="x_4e1c0dea-b035-4bf6-87ff-741eaca95882"
      unitRef="pure">0.0027</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="AdministrationSharesMember_S000009261_C000025310"
      decimals="4"
      id="x_116a4087-3384-4b75-8397-2b5661976f7a"
      unitRef="pure">0.0025</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="AdministrationSharesMember_S000009261_C000025310"
      decimals="4"
      id="c0741ec2-f7c0-419c-9251-9a8489f821f6"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="AdministrationSharesMember_S000009261_C000025310"
      decimals="4"
      id="x_39e630bd-cb36-41b0-ae04-3f107c764091"
      unitRef="pure">0.0045</oef:ExpensesOverAssets>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="AdministrationSharesMember_S000009261"
      id="x_6af30b88-2c90-4c52-b699-2836e62db9f9">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.&lt;/span&gt;</oef:ExpensesRestatedToReflectCurrent>
    <oef:ExpenseExampleHeading
      contextRef="AdministrationSharesMember_S000009261"
      id="x_0ebe85dd-094d-4302-95f4-5526fa0c3b8b">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000009261"
      id="x_8358d666-9f42-4c68-9a2f-df810d85e333">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Administration Shares of the Fund for the time periods indicated and then redeem all of your Administration Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="AdministrationSharesMember_S000009261_C000025310"
      decimals="INF"
      id="x_6d1053ea-eafd-44da-b1cf-5c54c633fc49"
      unitRef="USD">46</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="AdministrationSharesMember_S000009261_C000025310"
      decimals="INF"
      id="x_37599925-ea6a-4224-ba48-b86a0e81808d"
      unitRef="USD">144</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="AdministrationSharesMember_S000009261_C000025310"
      decimals="INF"
      id="ed8e21bf-9af4-49b5-acd8-25a327c385a7"
      unitRef="USD">252</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="AdministrationSharesMember_S000009261_C000025310"
      decimals="INF"
      id="x_0d5dfca8-643d-42e1-bbfa-8428d8612493"
      unitRef="USD">567</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="AdministrationSharesMember_S000009261"
      id="d7d572bb-ca46-4266-b258-024600dbb475">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000009261"
      id="x_1778bafb-592c-4f35-90d3-120540ccc835">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in U.S. Treasury Obligations, which include securities issued or guaranteed by the U.S. Treasury where the payment of principal and interest is backed by the full faith and credit of the U.S. government (&#x201c;U.S. Treasury Obligations&#x201d;), the interest from which is generally exempt from state income taxation. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;). &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash and securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). Although &#x201c;government money market funds&#x201d; may also &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;invest in repurchase agreements that are collateralized fully by cash or U.S. Government Securities, the Fund may not invest in repurchase agreements. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009261_RiskLoseMoneyMember"
      id="x_236e3dc8-4173-4a92-9a60-5144b6f211ca">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009261_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="bb00b543-ce24-4c23-a23e-dddc220a87f9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009261_RiskNotInsuredDepositoryInstitutionMember"
      id="x_7f3eff2f-a69b-43fa-a0c8-2ace773da523">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009261_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_979a43a4-9a8e-44a6-940e-c26ace5cdc8d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009261_CreditDefaultRiskMember"
      id="x_871c69d3-1215-4be9-aa59-75e8e9b1e392">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009261_InterestRateRiskMember"
      id="x_62db19eb-ef1a-48bb-8f76-633b4e8c171f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009261_LargeShareholderTransactionsRiskMember"
      id="x_15e0cded-f9b5-4e03-9fd9-08757d4193f6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009261_LiquidityRiskMember"
      id="x_6b6c838e-5038-4ec4-b848-f142b2b776cd">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009261_MarketRiskMember"
      id="d7de8f01-fced-47ef-9d92-652ef767ed27">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009261_StableNAVRiskMember"
      id="fb6bdca4-8d7b-45f6-afed-b5a3ec62722f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="AdministrationSharesMember_S000009261"
      id="a5fd1675-cf36-40ec-b697-3e2188b172ba">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000009261"
      id="a4209fbf-a91c-40d8-9b9c-df2c18da5206">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Administration Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Administration Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;and/or expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="AdministrationSharesMember_S000009261"
      id="x_235ca080-4c6b-4d44-9877-59269270dbf3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Administration Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Administration Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="AdministrationSharesMember_S000009261"
      id="b7a7df19-69cf-4a6e-898a-0fb059632fe5">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="AdministrationSharesMember_S000009261"
      id="b4351228-4ac6-49fa-9e58-314f0af979d9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="AdministrationSharesMember_S000009261"
      id="x_594de70f-9d36-4f9c-a30a-313140f1b143">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="AdministrationSharesMember_S000009261"
      id="x_7546a774-6785-4f43-9d56-08e1d527bb96">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="AdministrationSharesMember_S000009261"
      id="ccd0b2cb-e6a5-43ce-a0b7-94a0391e87e1">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.26%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;September 30, 2016&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="AdministrationSharesMember_S000009261_C000025310"
      id="x_8694eb21-5c35-48fa-833c-8a0d20ba9577">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="AdministrationSharesMember_S000009261_C000025310"
      decimals="4"
      id="x_8a36ba06-58dc-475f-8449-b7ea8438400e"
      unitRef="pure">0.0126</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="AdministrationSharesMember_S000009261_C000025310"
      id="x_21a13245-bccc-4444-a6b9-129712d83c19">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="AdministrationSharesMember_S000009261_C000025310"
      id="x_3f057ba9-737e-45fd-aaf6-eeacf25aa6f7">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="AdministrationSharesMember_S000009261_C000025310"
      decimals="4"
      id="x_6251159e-e589-4d26-b607-e0aa33c7ab1e"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="AdministrationSharesMember_S000009261_C000025310"
      id="x_824cd03b-eb20-4935-917c-0ef31e383f67">2016-09-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="AdministrationSharesMember_S000009261"
      id="f3bd4913-e4e9-4607-bcc7-0ae13dec786a">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="AdministrationSharesMember_C000025310_01Jan2025_31Dec2025"
      decimals="4"
      id="x_4a9897bf-9823-4521-9f06-c9759d2b342a"
      unitRef="pure">0.0389</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="AdministrationSharesMember_C000025310_01Jan2021_31Dec2025"
      decimals="4"
      id="x_2a610b3b-0c55-4698-b839-523555849c4a"
      unitRef="pure">0.0293</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="AdministrationSharesMember_C000025310_01Jan2016_31Dec2025"
      decimals="4"
      id="b096e2e6-b62a-4a8d-b5ea-47a2aca759fe"
      unitRef="pure">0.0186</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="AdministrationSharesMember_C000025310"
      id="x_8f6a5d8a-b64d-4b4c-bfe6-5f4133b69a6e">1997-04-01</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="AdministrationSharesMember_S000009243"
      id="x_431fceb6-d4b0-4801-bb6b-decb9048b604">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Treasury Solutions Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="AdministrationSharesMember_S000009243"
      id="x_3b5dc253-101e-42a9-8e67-bfc8fbc3fd66">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="AdministrationSharesMember_S000009243"
      id="b7dcd102-5cad-4549-b0c6-bc239c597995">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Treasury Solutions Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="AdministrationSharesMember_S000009243"
      id="x_99edc1c8-eaa1-4e1d-b7ce-7b708bb58669">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000009243"
      id="ad4fa849-c331-4b56-9fae-e49aca463dcd">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="AdministrationSharesMember_S000009243"
      id="x_3c04a90b-3702-4f15-b720-330046691360">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="AdministrationSharesMember_S000009243_C000025204"
      decimals="4"
      id="b8800fae-1d7c-41f3-88c2-ad25b8230e6e"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="AdministrationSharesMember_S000009243_C000025204"
      decimals="4"
      id="x_1401b966-2001-49a6-95f4-4b201a378064"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="AdministrationSharesMember_S000009243_C000025204"
      decimals="4"
      id="x_1d4a5ab9-bc47-4e03-b6ce-952d97709175"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="AdministrationSharesMember_S000009243_C000025204"
      decimals="4"
      id="x_17e1351e-a32c-419d-90e3-d392ebe67c0d"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="AdministrationSharesMember_S000009243_C000025204"
      decimals="4"
      id="x_9d3a437f-e915-40cd-ae88-0952b830cd09"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="AdministrationSharesMember_S000009243"
      id="x_74c8d6c7-a0dc-4f8b-87d7-be609e17ec7d">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="AdministrationSharesMember_S000009243_C000025204"
      decimals="4"
      id="x_73f4b98f-9f5c-484f-b7e0-361795e92c25"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="AdministrationSharesMember_S000009243_C000025204"
      decimals="4"
      id="ed7cb1e4-849f-4944-b9c8-11ffb4598fc2"
      unitRef="pure">0.0027</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="AdministrationSharesMember_S000009243_C000025204"
      decimals="4"
      id="ee8ae47e-e858-448a-9b8e-a416dad6d60e"
      unitRef="pure">0.0025</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="AdministrationSharesMember_S000009243_C000025204"
      decimals="4"
      id="e245ec44-42ac-4df0-a0b5-736e5fdd0840"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="AdministrationSharesMember_S000009243_C000025204"
      decimals="4"
      id="x_7aca9aa0-26e2-4f88-98eb-06a2a4bf5be8"
      unitRef="pure">0.0045</oef:ExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="AdministrationSharesMember_S000009243"
      id="x_04834bc4-097b-4865-845e-8754a4517ac3">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000009243"
      id="x_28e68f58-fd98-4702-b640-ce3331282ed9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Administration Shares of the Fund for the time periods indicated and then redeem all of your Administration Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="AdministrationSharesMember_S000009243_C000025204"
      decimals="INF"
      id="x_2acdb2c8-af9a-4869-a7b7-927bc55412d5"
      unitRef="USD">46</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="AdministrationSharesMember_S000009243_C000025204"
      decimals="INF"
      id="a5e6784d-630b-4859-b1f2-0cb15d009fcf"
      unitRef="USD">144</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="AdministrationSharesMember_S000009243_C000025204"
      decimals="INF"
      id="x_17abce15-8933-4fa9-aca7-8cecfabb59b6"
      unitRef="USD">252</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="AdministrationSharesMember_S000009243_C000025204"
      decimals="INF"
      id="f83d3211-c366-443d-88cc-892214b85808"
      unitRef="USD">567</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="AdministrationSharesMember_S000009243"
      id="x_70611dd4-e820-47ce-9490-526150838651">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000009243"
      id="bea29467-469e-4767-8d04-a9730eaef33c">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in U.S. Treasury Obligations, which include securities issued or guaranteed&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;by the U.S. Treasury where the payment of principal and interest is backed by the full faith and credit of the U.S. government (&#x201c;U.S. Treasury Obligations&#x201d;), and repurchase agreements with the Federal Reserve Bank of New York collateralized by U.S. Treasury Obligations. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;). &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;), and/or repurchase agreements that are collateralized fully by &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;cash or U.S. Government Securities. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009243_RiskLoseMoneyMember"
      id="x_21e301fb-2159-44a6-8b5d-d82300dbc044">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009243_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="a2debdd2-313d-47fc-b599-05873a48d904">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009243_RiskNotInsuredDepositoryInstitutionMember"
      id="f8081133-354e-4a37-9cea-325078d21210">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009243_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_5a4684c4-c684-440a-a7f5-368cce4022fd">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009243_CreditDefaultRiskMember"
      id="x_513ca95a-7e5d-4087-943c-c2f0a64b3c47">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009243_InterestRateRiskMember"
      id="x_98f8d1c2-fd7d-43cb-a2e7-5068be14c26a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009243_LargeShareholderTransactionsRiskMember"
      id="x_1bed372e-32c9-49cb-b9e0-c2fc481bbb19">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009243_LiquidityRiskMember"
      id="d19a2c0c-c6db-480f-8797-ec67258eb0af">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009243_MarketRiskMember"
      id="c67bc785-f5a9-449f-a43e-992b217c0788">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009243_StableNAVRiskMember"
      id="x_8ebad3d6-e724-45b3-a436-4c93e7c9ff22">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="AdministrationSharesMember_S000009243"
      id="bb4dc3f8-5f30-4f33-94db-2fa849ec6644">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000009243"
      id="f83a2b6b-2e6f-4e1d-8365-45a9918a0546">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Administration Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Administration Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;and/or expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="AdministrationSharesMember_S000009243"
      id="x_4a366928-3687-450f-bbae-5339e6675376">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Administration Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Administration Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="AdministrationSharesMember_S000009243"
      id="x_5c4d8f4a-7385-4230-8520-b09a70b6e370">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="AdministrationSharesMember_S000009243"
      id="x_9f1c1890-b078-4cf5-881e-c834e443269d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="AdministrationSharesMember_S000009243"
      id="b1c00440-6ea3-4fe8-9cb5-9b3d035f561b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="AdministrationSharesMember_S000009243"
      id="x_43eb4615-7793-47ab-be41-a513e41d1aaf">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="AdministrationSharesMember_S000009243"
      id="cfa785c7-9bc0-4a07-a806-43fd2e76e898">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.27%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2022&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="AdministrationSharesMember_S000009243_C000025204"
      id="abedf2e7-1441-43d5-a51b-28e5954b221b">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="AdministrationSharesMember_S000009243_C000025204"
      decimals="4"
      id="cfde64bb-90ce-44e9-a82a-4bb88dbd6ca8"
      unitRef="pure">0.0127</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="AdministrationSharesMember_S000009243_C000025204"
      id="x_96e36bf2-7d71-47ca-a419-7444dc2a371d">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="AdministrationSharesMember_S000009243_C000025204"
      id="ba34b286-0591-489a-96ab-45199d47162e">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="AdministrationSharesMember_S000009243_C000025204"
      decimals="4"
      id="x_89811d93-247b-4bef-bda9-5c03cd527647"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="AdministrationSharesMember_S000009243_C000025204"
      id="x_2cbd9e28-3e3e-4cc2-b4ff-600687b92f52">2022-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="AdministrationSharesMember_S000009243"
      id="a2a965d2-01bf-408c-9956-3398700cff81">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="AdministrationSharesMember_C000025204_01Jan2025_31Dec2025"
      decimals="4"
      id="x_7a63a936-8746-430e-adce-5af7626e630c"
      unitRef="pure">0.0388</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="AdministrationSharesMember_C000025204_01Jan2021_31Dec2025"
      decimals="4"
      id="ae652da5-a972-413c-bce4-3410523bf5cb"
      unitRef="pure">0.0296</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="AdministrationSharesMember_C000025204_01Jan2016_31Dec2025"
      decimals="4"
      id="d1ae0a5f-9df9-4265-b863-fc3e7cc8e0e4"
      unitRef="pure">0.0188</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="AdministrationSharesMember_C000025204"
      id="x_41e10f1f-a93c-4cad-be51-1c5a5da3043a">1997-04-01</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="AdministrationSharesMember_S000009242"
      id="x_1215c76e-b3ee-414c-a87b-d7037f561b84">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Government Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="AdministrationSharesMember_S000009242"
      id="eee2464a-01c7-42b9-8708-40ad3e6e77d8">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="AdministrationSharesMember_S000009242"
      id="x_02aacc92-66a2-4c46-b8f1-4af0b63198ec">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Government Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="AdministrationSharesMember_S000009242"
      id="f2ccef6b-b2b0-4024-81b0-1aedff6e59b1">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000009242"
      id="bb500333-0981-4979-91ed-ca63b4167100">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="AdministrationSharesMember_S000009242"
      id="x_86d49ef5-6418-4bf2-bdb2-098e749a337d">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="AdministrationSharesMember_S000009242_C000025197"
      decimals="4"
      id="x_9e8be5a6-ee42-43b3-b956-4f8fa55aada9"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="AdministrationSharesMember_S000009242_C000025197"
      decimals="4"
      id="x_28f30580-41b7-4e72-83f8-6f527ead9dff"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="AdministrationSharesMember_S000009242_C000025197"
      decimals="4"
      id="x_7dda3116-33c9-49ab-8854-7b5afb06ad55"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="AdministrationSharesMember_S000009242_C000025197"
      decimals="4"
      id="d3264167-b1e8-4956-9858-8b83822a6567"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="AdministrationSharesMember_S000009242_C000025197"
      decimals="4"
      id="x_30684b94-3c29-4159-81a5-1618c17b3051"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="AdministrationSharesMember_S000009242"
      id="x_050299d1-3853-4644-8432-d8ad1fc6d544">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="AdministrationSharesMember_S000009242_C000025197"
      decimals="4"
      id="x_9dc257c8-bc35-49e7-9d03-2670fa19f445"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="AdministrationSharesMember_S000009242_C000025197"
      decimals="4"
      id="x_03f7eff5-ba2f-4445-9210-27e8cec6e738"
      unitRef="pure">0.0027</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="AdministrationSharesMember_S000009242_C000025197"
      decimals="4"
      id="a0f5b55e-7dc3-484d-a16d-b50e2dfc8367"
      unitRef="pure">0.0025</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="AdministrationSharesMember_S000009242_C000025197"
      decimals="4"
      id="x_0e5078b2-5021-4f81-b2d0-1c276d47cb86"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="AdministrationSharesMember_S000009242_C000025197"
      decimals="4"
      id="x_77d7e7ea-cc91-4d8a-adb4-b00aa92eea71"
      unitRef="pure">0.0043</oef:ExpensesOverAssets>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="AdministrationSharesMember_S000009242"
      id="x_9783dfc3-14dd-4025-83b9-dd6b26ddbcf8">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.&lt;/span&gt;</oef:ExpensesRestatedToReflectCurrent>
    <oef:ExpenseExampleHeading
      contextRef="AdministrationSharesMember_S000009242"
      id="x_83a8bb01-7a50-44e5-8d8b-d63bd151bca0">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000009242"
      id="fb88f5c6-d815-4891-9c31-25547eb7bc7d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Administration Shares of the Fund for the time periods indicated and then redeem all of your Administration Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="AdministrationSharesMember_S000009242_C000025197"
      decimals="INF"
      id="a14861d7-58d3-402c-b3a6-f106813d8a99"
      unitRef="USD">44</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="AdministrationSharesMember_S000009242_C000025197"
      decimals="INF"
      id="x_25344f55-62f8-4e6a-95dd-54cd45ff14a1"
      unitRef="USD">138</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="AdministrationSharesMember_S000009242_C000025197"
      decimals="INF"
      id="x_756e3345-1915-4538-b987-11225d7e74ca"
      unitRef="USD">241</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="AdministrationSharesMember_S000009242_C000025197"
      decimals="INF"
      id="f2a82da5-cf7d-4d48-911e-3eb74f6a15f4"
      unitRef="USD">542</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="AdministrationSharesMember_S000009242"
      id="b45038c4-1e24-4cea-aefc-bd869fad9706">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000009242"
      id="ed545e6c-4823-4a32-a5a1-42ca4b285c16">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in &#x201c;government securities,&#x201d; as such term is defined in or interpreted under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;), and repurchase agreements collateralized by such securities. &#x201c;Government securities&#x201d; generally are securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act. &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, U.S. Government Securities, and/or repurchase agreements that are collateralized fully by cash or U.S. Government Securities. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;&#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009242_RiskLoseMoneyMember"
      id="e58da37f-0795-4072-8ba0-4950070080c1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009242_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_54d702cd-5541-4832-a4fd-e6b77ee46ed7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009242_RiskNotInsuredDepositoryInstitutionMember"
      id="x_4f082e17-3217-459f-bd32-5890565552bc">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009242_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_948121dc-4517-436f-a319-8fe24386495b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009242_CreditDefaultRiskMember"
      id="x_992b8aee-1200-424d-9662-e0685e5b1f39">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009242_InterestRateRiskMember"
      id="x_0c0752a8-cb1d-4968-9595-c16b4e264b7c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009242_LargeShareholderTransactionsRiskMember"
      id="x_706976b8-2834-4901-8973-aaa66de9e79e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009242_LiquidityRiskMember"
      id="aa4cc166-deec-40e6-b5c0-fa67374670d7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009242_MarketRiskMember"
      id="ffae6068-1b59-4bc2-b895-857c5d9a89c9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009242_StableNAVRiskMember"
      id="f396039b-72ca-4af7-bc47-2ed922b002aa">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009242_USGovernmentSecuritiesRiskMember"
      id="x_0c183b66-f4f2-41bc-bec6-cf2ce50ab736">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="AdministrationSharesMember_S000009242"
      id="x_33168e61-5643-473b-8f7f-a09dae88966c">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000009242"
      id="e36f07c9-8f73-4ca5-8319-cb4b73f1978e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Administration Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Administration Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;and/or expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="AdministrationSharesMember_S000009242"
      id="x_402c65dc-317d-4f32-ad20-d693afa7043e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Administration Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Administration Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="AdministrationSharesMember_S000009242"
      id="af073239-5ebb-4ae3-80fc-164b16dba0b9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="AdministrationSharesMember_S000009242"
      id="x_7a94cc8f-4df7-4bb9-8210-e4935655830c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="AdministrationSharesMember_S000009242"
      id="a377bb61-9f1e-4de2-af84-b5864fc5d735">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="AdministrationSharesMember_S000009242"
      id="x_99c8e16e-0d14-4833-a26e-4484de7952d2">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="AdministrationSharesMember_S000009242"
      id="e0fa1c34-004d-4863-b110-09bb9e93d5d3">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.26%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;September 30, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="AdministrationSharesMember_S000009242_C000025197"
      id="c476f2f7-579c-4a83-8605-620d7f089e68">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="AdministrationSharesMember_S000009242_C000025197"
      decimals="4"
      id="x_240ab246-5322-468b-b98f-b0eaaab064ad"
      unitRef="pure">0.0126</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="AdministrationSharesMember_S000009242_C000025197"
      id="b693cf0e-d074-44bd-a357-de728a16a5c6">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="AdministrationSharesMember_S000009242_C000025197"
      id="x_708ba6d3-52f1-4e11-8556-39a4251aa220">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="AdministrationSharesMember_S000009242_C000025197"
      decimals="4"
      id="x_85b0077a-21a7-41ef-90a8-6df99fcf2913"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="AdministrationSharesMember_S000009242_C000025197"
      id="x_19f9a0cc-11df-4f19-849d-0b91fa999394">2020-09-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="AdministrationSharesMember_S000009242"
      id="ea8a68e4-b404-4095-8967-2781fa5e9be9">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="AdministrationSharesMember_C000025197_01Jan2025_31Dec2025"
      decimals="4"
      id="x_7157d740-4348-4bbe-be1c-4d9c1048b8ae"
      unitRef="pure">0.0395</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="AdministrationSharesMember_C000025197_01Jan2021_31Dec2025"
      decimals="4"
      id="x_1f02c327-d6f5-4543-89ac-b5ab26692295"
      unitRef="pure">0.0299</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="AdministrationSharesMember_C000025197_01Jan2016_31Dec2025"
      decimals="4"
      id="c4c31bdf-290e-4d11-886e-0dbb9394d9fb"
      unitRef="pure">0.0191</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="AdministrationSharesMember_C000025197"
      id="c779a554-69ce-463b-b0dc-b37c39e0c8ea">1993-09-01</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="AdministrationSharesMember_S000051190"
      id="x_145d6b23-7400-48b8-8df9-5f3f7ab899c4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Federal Instruments Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="AdministrationSharesMember_S000051190"
      id="x_832ac263-8831-4e3b-a106-8520d74a5302">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="AdministrationSharesMember_S000051190"
      id="x_3f4c1fda-71fc-466d-9fe0-2374a0507a14">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Federal Instruments Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="AdministrationSharesMember_S000051190"
      id="df2e10f8-47e1-4dc4-87e3-c917470e071b">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000051190"
      id="x_4992523d-e28d-4953-a497-0a16ca8bfe61">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="AdministrationSharesMember_S000051190"
      id="a32aab6b-90fb-482d-84e1-5ab1cac922a1">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="AdministrationSharesMember_S000051190_C000161176"
      decimals="4"
      id="a0c4e5df-d088-494d-9522-8bc371bfcf56"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="AdministrationSharesMember_S000051190_C000161176"
      decimals="4"
      id="f74bbb67-741b-40e7-8b31-98649cbca1c0"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="AdministrationSharesMember_S000051190_C000161176"
      decimals="4"
      id="x_3a4ca357-0ef6-4f4d-a91d-e54b23aeff62"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="AdministrationSharesMember_S000051190_C000161176"
      decimals="4"
      id="dff59af7-1d73-42d3-b16f-baa7a6c8ef9d"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="AdministrationSharesMember_S000051190_C000161176"
      decimals="4"
      id="ea786939-4279-4c1a-9bf8-05d929a2739c"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="AdministrationSharesMember_S000051190"
      id="x_8d859283-0538-4961-857a-a8526b8e5b32">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="AdministrationSharesMember_S000051190_C000161176"
      decimals="4"
      id="x_5ffaf014-3709-4e3e-b4e1-187bde5ef3fd"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="AdministrationSharesMember_S000051190_C000161176"
      decimals="4"
      id="cafc1d5d-0195-4524-bd6d-daedf7897ff6"
      unitRef="pure">0.0027</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="AdministrationSharesMember_S000051190_C000161176"
      decimals="4"
      id="c394f575-b187-458f-9d1c-bb0d725f358b"
      unitRef="pure">0.0025</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="AdministrationSharesMember_S000051190_C000161176"
      decimals="4"
      id="x_24d88345-2a7e-473f-acea-7c3774860ab5"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="AdministrationSharesMember_S000051190_C000161176"
      decimals="4"
      id="a4e70dfb-0b81-4370-9d80-090ff2dfd9ef"
      unitRef="pure">0.0045</oef:ExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="AdministrationSharesMember_S000051190"
      id="x_909e0e40-5965-4432-a82e-21d0b191bf4d">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000051190"
      id="x_2f5ba84e-a0c3-4669-9212-c8a98adf35a6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Administration Shares of the Fund for the time periods indicated and then redeem all of your Administration Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="AdministrationSharesMember_S000051190_C000161176"
      decimals="INF"
      id="b68dcf9d-f1b1-461f-8047-73242f4bfca7"
      unitRef="USD">46</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="AdministrationSharesMember_S000051190_C000161176"
      decimals="INF"
      id="x_42d3183e-80f2-409f-be38-cdbdfe920439"
      unitRef="USD">144</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="AdministrationSharesMember_S000051190_C000161176"
      decimals="INF"
      id="a1f1f3d1-79de-485c-b1c2-2e29df77c1c9"
      unitRef="USD">252</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="AdministrationSharesMember_S000051190_C000161176"
      decimals="INF"
      id="x_01b56d98-f316-4d7b-a8e2-25019a1b27cc"
      unitRef="USD">567</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="AdministrationSharesMember_S000051190"
      id="x_44115fa1-6bb3-499c-9cf9-8d3cd248cf02">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000051190"
      id="x_1e23ab0e-4111-4f2f-a835-6fc2a6501a5b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in &#x201c;government securities,&#x201d; as such term is defined in or interpreted under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;), the interest from which is generally exempt from state income taxation. &#x201c;Government securities&#x201d; generally are securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act. &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash and U.S. Government Securities. Although &#x201c;government money market funds&#x201d; may also invest in repurchase agreements that are collateralized fully by cash or U.S. Government Securities, the Fund may not invest in repurchase agreements. &#x201c;Government money &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000051190_RiskLoseMoneyMember"
      id="aae5ee37-3985-49a6-8dc3-3cb836a5a0ae">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000051190_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_6ff2e64e-537e-40de-9f2b-192b63d86cb5">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000051190_RiskNotInsuredDepositoryInstitutionMember"
      id="x_5b23900d-6c27-427f-b46d-bada66e298d9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000051190_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_140fbb63-4bde-4689-9979-671d6a4ee6ea">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000051190_CreditDefaultRiskMember"
      id="x_9fd244fd-b334-464a-95e7-188ecdb29fa8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000051190_InterestRateRiskMember"
      id="x_38bce308-a1dc-4481-82b6-cd7478aec6a5">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000051190_LargeShareholderTransactionsRiskMember"
      id="f4d86f86-eed9-43e6-95f8-df8ea7f9fea5">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000051190_LiquidityRiskMember"
      id="x_81d3a36d-f386-49f1-92b2-5486bcf5447e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000051190_MarketRiskMember"
      id="cb8f6bfe-9b2e-4366-a5a6-6337e71ffdb3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000051190_StableNAVRiskMember"
      id="a0ffbec0-b546-435c-bbff-d24713e03eef">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000051190_USGovernmentSecuritiesRiskMember"
      id="x_2642679f-79dc-44b1-8ad9-44678764554a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="AdministrationSharesMember_S000051190"
      id="d0dd00c2-f075-4cf9-999a-cd43c4c4095a">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000051190"
      id="x_1c480b5a-df29-4f70-ab91-aebf2013440e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Administration Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Administration Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;and/or expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="AdministrationSharesMember_S000051190"
      id="c73d0940-53ee-43d6-9f0b-a231280fa029">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Administration Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Administration Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="AdministrationSharesMember_S000051190"
      id="x_1d9d3130-a199-4764-97bd-a45c34d7d196">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="AdministrationSharesMember_S000051190"
      id="x_806cf4e2-96f5-49f2-b08f-54389e82df6e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="AdministrationSharesMember_S000051190"
      id="x_9938d31a-ab73-4f2b-9898-1cd993f9784e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="AdministrationSharesMember_S000051190"
      id="c23e4767-c2fb-4861-9f63-4939e8ca29b3">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="AdministrationSharesMember_S000051190"
      id="x_31360bba-fe77-45a1-b503-a3cdd851fb89">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.26%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2022&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="AdministrationSharesMember_S000051190_C000161176"
      id="fef18f8b-7050-426f-b8ad-7d2b72feefbb">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="AdministrationSharesMember_S000051190_C000161176"
      decimals="4"
      id="x_5f79ca92-67a3-4816-b873-ba373c3d9daf"
      unitRef="pure">0.0126</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="AdministrationSharesMember_S000051190_C000161176"
      id="ebf4d941-4594-47c6-823f-cc131ac6b46b">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="AdministrationSharesMember_S000051190_C000161176"
      id="cb0cbdb1-b44e-4ae0-af6c-233e7f25ad4b">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="AdministrationSharesMember_S000051190_C000161176"
      decimals="4"
      id="x_957f5715-188a-4258-8a1b-2b532fc5172d"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="AdministrationSharesMember_S000051190_C000161176"
      id="fad37877-6a0b-4e6a-a8a0-efe7f3faa406">2022-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="AdministrationSharesMember_S000051190"
      id="cb74dd1b-9e2e-4e88-ac9b-4aaa2742b15c">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="AdministrationSharesMember_C000161176_01Jan2025_31Dec2025"
      decimals="4"
      id="f1c3ee24-7eea-4d7c-b176-917dfaba98ac"
      unitRef="pure">0.0390</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="AdministrationSharesMember_C000161176_01Jan2021_31Dec2025"
      decimals="4"
      id="x_332732bb-412b-4110-ae19-cc5c56dd39ae"
      unitRef="pure">0.0295</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="AdministrationSharesMember_C000161176_01Jan2016_31Dec2025"
      decimals="4"
      id="x_5ec87e1d-0c43-4cd6-a3f2-979f03700081"
      unitRef="pure">0.0188</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="AdministrationSharesMember_C000161176"
      id="x_6a131de3-67a3-490f-b576-e92600a39b55">2015-10-30</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="AdministrationSharesMember_S000051191"
      id="be245a30-179b-4d35-9d96-d1b7254d25c2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Investor&#160;Money Market Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="AdministrationSharesMember_S000051191"
      id="x_0e801094-3fa0-414f-bcf0-1f34e430f621">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="AdministrationSharesMember_S000051191"
      id="e91d6fb3-7158-4d4a-9ef7-1265d7386bf9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Investor&#160;Money Market Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="AdministrationSharesMember_S000051191"
      id="da057c34-a44d-4e58-af3f-8493622eb421">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000051191"
      id="a362e6ea-bd7b-4305-8370-44f2ea4896a6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="AdministrationSharesMember_S000051191"
      id="aab855de-6317-4f37-80b4-3821527db16e">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="AdministrationSharesMember_S000051191_C000166002"
      decimals="4"
      id="x_3b328c5d-dd6f-41a7-a295-e4fa84abb2b5"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="AdministrationSharesMember_S000051191_C000166002"
      decimals="4"
      id="x_194d277e-276b-41a3-a1dd-605f0d2331aa"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="AdministrationSharesMember_S000051191_C000166002"
      decimals="4"
      id="x_2febc955-51fb-4ed3-9c79-3d68c4c871be"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="AdministrationSharesMember_S000051191_C000166002"
      decimals="4"
      id="x_1e7924fe-5b99-41fd-8429-9b09f8a0e612"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="AdministrationSharesMember_S000051191_C000166002"
      decimals="4"
      id="x_8d87e848-627b-4d7c-8ef5-ea3bb3580faa"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="AdministrationSharesMember_S000051191"
      id="x_22520371-5cec-4529-918d-dc38667f7d64">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="AdministrationSharesMember_S000051191_C000166002"
      decimals="4"
      id="x_59814e3f-6a48-40c7-902b-79a40da9239e"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="AdministrationSharesMember_S000051191_C000166002"
      decimals="4"
      id="x_7b876c45-d043-44fb-95ce-0bfb950f56e5"
      unitRef="pure">0.0028</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="AdministrationSharesMember_S000051191_C000166002"
      decimals="4"
      id="x_401ad972-ab9a-4a85-b89b-1819bfaf31b0"
      unitRef="pure">0.0025</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="AdministrationSharesMember_S000051191_C000166002"
      decimals="4"
      id="x_4a33922d-292b-4ab8-8c25-6223ba7c1a19"
      unitRef="pure">0.0003</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="AdministrationSharesMember_S000051191_C000166002"
      decimals="4"
      id="x_1d0578c9-ed25-4fe7-af01-2f94c8bea858"
      unitRef="pure">0.0044</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="AdministrationSharesMember_S000051191_C000166002"
      decimals="4"
      id="x_2d136a60-dca8-4f3e-b250-764260bb9318"
      unitRef="pure">-0.0001</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="AdministrationSharesMember_S000051191_C000166002"
      decimals="4"
      id="efb8028e-a7cf-4f44-8757-1f30d19a831d"
      unitRef="pure">0.0043</oef:NetExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="AdministrationSharesMember_S000051191"
      id="d68489dc-4f45-418d-ac94-a1a8acd262c7">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;March 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="AdministrationSharesMember_S000051191"
      id="x_859dd22b-8c5d-4729-b4da-cba37d3e2e46">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000051191"
      id="x_33f5c2cf-afaa-4ec6-ba0e-5c64a2b54e14">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Administration Shares of the Fund for the time periods indicated and then redeem all of your Administration Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="AdministrationSharesMember_S000051191_C000166002"
      decimals="INF"
      id="d503aace-2ff5-433b-84fc-71f7594e97a7"
      unitRef="USD">44</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="AdministrationSharesMember_S000051191_C000166002"
      decimals="INF"
      id="f6bdf6e3-9c52-42b9-8e5c-bfa9ecb6c9f4"
      unitRef="USD">140</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="AdministrationSharesMember_S000051191_C000166002"
      decimals="INF"
      id="x_387201ac-2594-4242-aa64-7d2adc6b385f"
      unitRef="USD">245</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="AdministrationSharesMember_S000051191_C000166002"
      decimals="INF"
      id="c5c7192b-45ec-439e-876c-8ff0127543bb"
      unitRef="USD">554</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="AdministrationSharesMember_S000051191"
      id="x_1bc2e634-3232-4470-8659-5b73b6a71449">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000051191"
      id="x_384d728c-4ea9-40f8-8769-480c73af7185">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing in securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;), obligations of banks (which may exceed 25% of its total assets), commercial paper and other short-term obligations of U.S. companies, states, municipalities and other entities, and repurchase agreements. The Fund may also invest in U.S. dollar-denominated obligations of foreign banks, foreign companies and foreign governments. The Fund may not invest more than 25% of its total assets in the securities of any one foreign government. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;retail money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (the &#x201c;Investment Company Act&#x201d;). &#x201c;Retail money market funds&#x201d; are money market funds that have policies and procedures reasonably designed to limit all beneficial owners of the fund to natural persons. As a &#x201c;retail money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity, diversification and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000051191_RiskLoseMoneyMember"
      id="x_49a0a4c6-41ae-407d-a669-fad6ebecb257">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000051191_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_87764f90-fe97-4851-a064-e0ae57faf4eb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000051191_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember"
      id="x_199bf551-332f-4184-97f1-a39aa0cb356a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund may impose a fee upon sale of your shares.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000051191_RiskNotInsuredDepositoryInstitutionMember"
      id="x_81ed3f40-9ff0-4b4d-85ed-375819847718">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;bank account or a deposit of a bank and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000051191_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_241a4d5c-f01b-4d90-9af4-221468e81890">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000051191_BankingIndustryRiskMember"
      id="x_987dc7b9-a3a0-4ef3-b5b5-0ff93731f091">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Banking Industry Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An adverse development in the banking industry (domestic or foreign) may affect the value of the Fund&#x2019;s investments more than if the Fund were not invested to such a degree in the banking industry. Banks may be particularly susceptible to certain economic factors such as interest rate changes, adverse developments in the real estate market, fiscal, regulatory and monetary policy and general economic cycles.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000051191_CreditDefaultRiskMember"
      id="b6987b8e-f4e4-49e3-b831-b2cd31f4efb1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000051191_ForeignRiskMember"
      id="x_16f12934-c7e9-4391-9ef3-0e0d2b4225d7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Foreign Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Foreign securities may be subject to risk of loss because of more or less foreign government regulation; less public information; less stringent investor protections; less stringent accounting, corporate governance, financial reporting and disclosure standards; and less economic, political and social stability in the countries in which the Fund invests. The imposition of sanctions, confiscations, trade restrictions (including tariffs) and other government restrictions by the United States and other governments, or from problems in share registration, settlement or custody, may also result in losses. In addition, the Fund will be subject to the risk that an issuer of foreign sovereign debt or the government authorities that control the repayment of the debt may be unable or unwilling to repay the principal or interest when due.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000051191_InterestRateRiskMember"
      id="f9062597-ab38-46d5-a158-a6d4cf2656bb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000051191_LargeShareholderTransactionsRiskMember"
      id="d01ed805-f25b-4e43-bf48-a1443b5d0774">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders&#160;(including financial intermediaries who may make investment decisions on behalf of underlying clients) purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000051191_LiquidityRiskMember"
      id="x_182847b0-b283-4118-a2fb-0d7411ea1b84">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000051191_MarketRiskMember"
      id="db9a318f-9919-4e13-93fb-1c5c64900be7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of &#160;individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000051191_MunicipalSecuritiesRiskMember"
      id="f522fee7-f6de-40d5-9940-a96b6750386d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Municipal Securities Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Municipal securities are subject to credit/default risk, interest rate risk and certain additional risks. The Fund may be more sensitive to adverse economic, business&#160;or political developments if it invests a substantial portion of its assets in the debt securities of similar projects (such as those relating to education, health care, housing, transportation, and utilities), industrial development bonds, or in particular types of municipal securities (such as general obligation bonds, private activity bonds and moral obligation bonds). The Fund may also invest in municipal securities indirectly (including by investing in tender option bonds). While interest earned on municipal securities is generally not subject to federal tax, any interest earned on taxable municipal securities is fully taxable at the federal level and may be subject to tax at the state level.&#160;Municipal securities may be more susceptible to downgrades or defaults during recessions or similar periods of economic stress. In addition, since some municipal securities may be secured, guaranteed or otherwise supported by banks and other institutions, the risk to the Fund could increase if the banking or financial sector suffers an economic downturn and/or if the credit ratings of the institutions issuing the guarantee or demand feature are downgraded or at risk of being downgraded by a national rating organization. Such a downward revision or risk of being downgraded may have an adverse effect on the market prices of municipal securities and thus cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000051191_StableNAVRiskMember"
      id="dcfd4ca1-a4ca-4b18-8f55-19267023b415">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000051191_USGovernmentSecuritiesRiskMember"
      id="x_34da00a8-16b3-48e5-a737-e26eb89ffd88">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="AdministrationSharesMember_S000051191"
      id="x_8cb7b7f7-37e3-4cf9-b1ef-5903e6da4681">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000051191"
      id="x_3ad546f2-b66d-49b9-acd6-d523bfe69aa8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Administration Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Administration Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;and/or expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;. &lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="AdministrationSharesMember_S000051191"
      id="x_28000995-4e36-41a9-9a71-8d13a3acfd32">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Administration Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Administration Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="AdministrationSharesMember_S000051191"
      id="x_9c0aed7f-01dd-49b6-8c6b-6e0717269d45">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="AdministrationSharesMember_S000051191"
      id="x_09266a4c-a4a4-4270-bd1e-e72b57c9e81f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="AdministrationSharesMember_S000051191"
      id="ea22870b-0c28-484f-bf12-806ee908f63d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="AdministrationSharesMember_S000051191"
      id="c6115ae5-f3d3-4d95-88e1-cc8995507543">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:113pt;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="AdministrationSharesMember_S000051191"
      id="c6e63342-03b3-4e06-a2fb-6afe9831b856">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.30%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="AdministrationSharesMember_S000051191_C000166002"
      id="x_2ca0def8-d1cc-4a00-b2e2-35dec94114a7">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="AdministrationSharesMember_S000051191_C000166002"
      decimals="4"
      id="x_4b9ea2ad-13ad-4cc4-94e5-463acedd3e74"
      unitRef="pure">0.0130</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="AdministrationSharesMember_S000051191_C000166002"
      id="e0e1881c-9d34-453b-bbc6-295482dc3b13">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="AdministrationSharesMember_S000051191_C000166002"
      id="x_10384688-e799-403e-8df3-706f72305834">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="AdministrationSharesMember_S000051191_C000166002"
      decimals="4"
      id="x_21b82c3a-138d-466e-9454-05783a322ed1"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="AdministrationSharesMember_S000051191_C000166002"
      id="x_26df53cf-3a00-478e-9c0c-df42d6f09af0">2020-12-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="AdministrationSharesMember_S000051191"
      id="x_11d50563-d863-4b9a-80e8-ae9db4d6db9a">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="AdministrationSharesMember_C000166002_01Jan2025_31Dec2025"
      decimals="4"
      id="ecb8f3ce-d59b-47c0-9ad7-58f1e35a4bde"
      unitRef="pure">0.0405</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="AdministrationSharesMember_C000166002_01Jan2021_31Dec2025"
      decimals="4"
      id="x_810ff039-1f31-405e-a945-486cf6f6d11f"
      unitRef="pure">0.0308</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="AdministrationSharesMember_C000166002_29Jan2016_31Dec2025"
      decimals="4"
      id="x_7de8e58a-b02d-408e-99d1-ca58e6f48654"
      unitRef="pure">0.0207</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="AdministrationSharesMember_C000166002"
      id="x_6ad120da-7d4e-4d98-8355-253fd823472e">2016-01-29</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="AdministrationSharesMember_S000009244"
      id="x_97a0d316-8e99-4892-8c33-782bae23f652">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Investor Tax-Exempt Money Market Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="AdministrationSharesMember_S000009244"
      id="x_19c3f558-f87a-4807-ba61-e515fae31322">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="AdministrationSharesMember_S000009244"
      id="x_17b8b3df-e1c3-483e-8a8d-c638151398e3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Investor Tax-Exempt Money Market Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="AdministrationSharesMember_S000009244"
      id="c7288369-2afb-45f4-a3d7-2366915a8985">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000009244"
      id="x_12a6302f-0ac8-4cfb-8e63-fcc77637406a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="AdministrationSharesMember_S000009244"
      id="x_4a7ae6d5-7fb5-4616-8f00-a806b0ece945">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="AdministrationSharesMember_S000009244_C000025211"
      decimals="4"
      id="fe4ef21b-f45c-43af-b216-7661a6bd1f5b"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="AdministrationSharesMember_S000009244_C000025211"
      decimals="4"
      id="x_63113a61-08ea-4217-9739-86a50b42a7ae"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="AdministrationSharesMember_S000009244_C000025211"
      decimals="4"
      id="da16f45f-42bc-4144-ae21-96eef2a6373e"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="AdministrationSharesMember_S000009244_C000025211"
      decimals="4"
      id="b81fae91-3998-4956-8a5f-516fbd96ea52"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="AdministrationSharesMember_S000009244_C000025211"
      decimals="4"
      id="x_960e7873-90de-46c4-b57d-11914507724d"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="AdministrationSharesMember_S000009244"
      id="x_12978055-0d0f-4522-b371-b72304b35fae">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="AdministrationSharesMember_S000009244_C000025211"
      decimals="4"
      id="x_9ac3e04b-24de-4be8-850f-70d084cc0594"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="AdministrationSharesMember_S000009244_C000025211"
      decimals="4"
      id="ca5c4a13-59a3-442b-bc1f-0b374a59fa97"
      unitRef="pure">0.0028</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="AdministrationSharesMember_S000009244_C000025211"
      decimals="4"
      id="d6acff60-ed8d-4ede-a480-2582bf4b23ae"
      unitRef="pure">0.0025</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="AdministrationSharesMember_S000009244_C000025211"
      decimals="4"
      id="x_07d30144-cd45-43d0-b9e0-90cbb8e78cbb"
      unitRef="pure">0.0003</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="AdministrationSharesMember_S000009244_C000025211"
      decimals="4"
      id="bc722cd3-7488-4c10-8d41-c23c9dea586c"
      unitRef="pure">0.0044</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="AdministrationSharesMember_S000009244_C000025211"
      decimals="4"
      id="f2ecc298-3baf-4cd4-adfc-20302c0ec4ad"
      unitRef="pure">-0.0001</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="AdministrationSharesMember_S000009244_C000025211"
      decimals="4"
      id="ee58d0b8-b921-4d09-9b89-a202e09d581c"
      unitRef="pure">0.0043</oef:NetExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="AdministrationSharesMember_S000009244"
      id="x_046f5468-dfa3-4eaf-9cba-6ce9a274da29">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;March 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="AdministrationSharesMember_S000009244"
      id="f00d93c2-f3e1-48cb-b344-dc9a9605e751">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000009244"
      id="x_0f1f8184-df2b-4f01-9e5c-3457ba78d03e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Administration Shares of the Fund for the time periods indicated and then redeem all of your Administration Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="AdministrationSharesMember_S000009244_C000025211"
      decimals="INF"
      id="x_844ed038-a953-49c5-8897-420853657e48"
      unitRef="USD">44</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="AdministrationSharesMember_S000009244_C000025211"
      decimals="INF"
      id="c72aeac3-9597-4d1d-b5fd-2094c0de778e"
      unitRef="USD">140</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="AdministrationSharesMember_S000009244_C000025211"
      decimals="INF"
      id="db795e86-8a88-4253-b68b-e97a79fe80b7"
      unitRef="USD">245</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="AdministrationSharesMember_S000009244_C000025211"
      decimals="INF"
      id="add91826-c304-485b-a345-ffe5eec90271"
      unitRef="USD">554</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="AdministrationSharesMember_S000009244"
      id="b1ee292d-03ff-46c8-9d9b-6808b4d06ec3">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000009244"
      id="e46478d3-75dd-42a7-8ad8-9d80cc58378c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing at least 80% of its net assets plus any borrowings for investment purposes (measured at the time of investment) (&#x201c;Net Assets&#x201d;) in securities issued by or on behalf of states, territories and possessions of the United States and their political subdivisions, agencies, authorities and instrumentalities, and the District of Columbia, the interest from which, if any, is in the opinion of bond counsel excluded from gross income for federal income tax purposes, and generally not an item of tax preference under the federal alternative minimum tax (&#x201c;AMT&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser ordinarily expects the Fund to invest in municipal obligations directly or indirectly (including by investing in tender option bonds), but the Fund may invest in short-term taxable instruments for temporary investment purposes. The Fund may also invest up to 20% of its Net Assets in securities the interest from which may be subject to federal income tax and an item of tax preference under the AMT. Such investments include securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;retail money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (the &#x201c;Investment Company Act&#x201d;). &#x201c;Retail money market funds&#x201d; are money market funds that have policies and procedures reasonably designed to limit all beneficial owners of the fund to natural persons. As a &#x201c;retail money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity, diversification and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009244_RiskLoseMoneyMember"
      id="x_17dca12b-67df-4959-9d7d-537bfa64d6db">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009244_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="b35c707f-9daa-416e-b7bc-b040448b05f8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009244_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember"
      id="e7603a9e-3642-4a8d-bf0a-ba5086048ef8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund may impose a fee upon sale of your shares.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009244_RiskNotInsuredDepositoryInstitutionMember"
      id="x_54295100-45e7-412b-9154-24982f9300e3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;bank account or a deposit of a bank and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009244_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_653043eb-7f50-4c34-adf3-e566d32868e1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009244_CreditDefaultRiskMember"
      id="x_1959c3a3-825b-46ee-a67e-053423806974">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund may default on its obligation to pay interest and repay principal or default on any other obligation. This also includes the risk of default on letters of credit, guarantees, demand features or insurance policies that back or otherwise support municipal securities. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009244_GeographicandSectorRiskMember"
      id="x_0c1b94eb-3de2-4a91-8103-01c84aed20ed">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Geographic and Sector Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; If the Fund invests a significant portion of its total assets in certain issuers within the same state, geographic region or economic sector, an adverse economic, business, political, environmental or other development affecting that state, region or sector may affect the value of the Fund&#x2019;s investments more than if its investments were not so focused.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009244_InterestRateRiskMember"
      id="x_72a5a29d-a826-4b88-ad07-1edeb2f668ac">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009244_LargeShareholderTransactionsRiskMember"
      id="x_0ca26556-7d39-412c-8df5-17f5015d8700">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders&#160;(including financial intermediaries who may make investment decisions on behalf of underlying clients) purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009244_LiquidityRiskMember"
      id="x_273a06ea-8277-48a3-a478-4f1de40cd95d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009244_MarketRiskMember"
      id="x_592dcdcb-89fc-4483-8286-9f8fc269b373">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of &#160;individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009244_MunicipalSecuritiesRiskMember"
      id="x_9303aaab-639c-461e-8fba-70f38c378d36">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Municipal Securities Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Municipal securities are subject to credit/default risk, interest rate risk and certain additional risks. The Fund may be more sensitive to adverse economic, business&#160;or political developments if it invests a substantial portion of its assets in the debt securities of similar projects (such as those relating to education, health care, housing, transportation, and utilities), industrial development bonds, or in particular types of municipal securities (such as general obligation bonds, private activity bonds and moral obligation bonds). The Fund may also invest in municipal securities indirectly (including by investing in tender option bonds). While interest earned on municipal securities is generally not subject to federal tax, any interest earned on taxable municipal securities is fully taxable at the federal level and may be subject to tax at the state level.&#160;Municipal securities may be more susceptible to downgrades or defaults during recessions or similar periods of economic stress. In addition, since some municipal securities may be secured, guaranteed or otherwise supported by banks and other institutions, the risk to the Fund could increase if the banking or financial sector suffers an economic downturn and/or if the credit ratings of the institutions issuing the guarantee or demand feature are downgraded or at risk of being downgraded by a national rating organization. Such a downward revision or risk of being downgraded may have an adverse effect on the market prices of municipal securities and thus cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009244_StableNAVRiskMember"
      id="x_5fca39ed-6f77-4f5f-9367-aa2719e86895">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009244_TaxRiskMember"
      id="x_1a7a2120-7aac-42ab-b8bf-fa7a369297d2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Tax Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Future legislative or administrative changes or court decisions may materially affect the value of the Fund&#x2019;s portfolio holdings and/or the ability of the Fund to pay federal tax-exempt dividends. The Fund would not be a suitable investment within IRAs, other tax-exempt or tax-deferred accounts, or for investors who are not sensitive to the federal tax consequences of their investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000009244_USGovernmentSecuritiesRiskMember"
      id="x_2b8a91d2-1bf1-45b6-9919-9935b8a365aa">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="AdministrationSharesMember_S000009244"
      id="x_3da696d6-c1c7-4799-ae74-118484ecc70a">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000009244"
      id="x_51da0a22-db1c-4ac7-8507-73ee2b5591ca">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Administration Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Administration Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;and/or expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;. &lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="AdministrationSharesMember_S000009244"
      id="x_03528704-4f14-47a9-a8c9-cade5fb3bc32">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Administration Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Administration Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="AdministrationSharesMember_S000009244"
      id="c01c14f4-b3f8-4cef-b937-8a6555a37525">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="AdministrationSharesMember_S000009244"
      id="x_50c7a1fe-9915-47f3-96ed-b9b500e2a047">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="AdministrationSharesMember_S000009244"
      id="x_451fb93e-e568-440e-8b51-4c307a5b55f1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="AdministrationSharesMember_S000009244"
      id="faeb6175-ddb6-4ba5-a26c-1af1d2fe3a57">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:113pt;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="AdministrationSharesMember_S000009244"
      id="ab37f8ed-88c0-45ee-baf9-105e9297a05c">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.80%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2021&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="AdministrationSharesMember_S000009244_C000025211"
      id="x_7d7e711c-6d6d-4397-9b90-31788f3dcb33">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="AdministrationSharesMember_S000009244_C000025211"
      decimals="4"
      id="a2609d8e-a0d0-4e13-bc77-cbc1c95e0448"
      unitRef="pure">0.0080</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="AdministrationSharesMember_S000009244_C000025211"
      id="ac7733a8-084a-425f-ba53-9958a0211020">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="AdministrationSharesMember_S000009244_C000025211"
      id="x_90253840-9e97-4eae-b38f-bcbfa1b4dafa">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="AdministrationSharesMember_S000009244_C000025211"
      decimals="4"
      id="x_2786d11d-7138-48fc-a4db-65bf822aebae"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="AdministrationSharesMember_S000009244_C000025211"
      id="x_975e880e-3bcb-4d4a-ad4a-33e4c740ac6c">2021-12-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="AdministrationSharesMember_S000009244"
      id="x_533c8f8c-7940-48ea-9ddb-950ebf35d58d">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="AdministrationSharesMember_C000025211_01Jan2025_31Dec2025"
      decimals="4"
      id="aed5d448-2868-4adf-99ce-868310893543"
      unitRef="pure">0.0249</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="AdministrationSharesMember_C000025211_01Jan2021_31Dec2025"
      decimals="4"
      id="x_523e0e7c-4698-478c-aa87-5c8de5d8ebd7"
      unitRef="pure">0.0181</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="AdministrationSharesMember_C000025211_01Jan2016_31Dec2025"
      decimals="4"
      id="x_6539683a-1a51-4564-8543-c0e9b6c4832d"
      unitRef="pure">0.0119</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="AdministrationSharesMember_C000025211"
      id="ba7be857-abcc-40da-9173-9651924ca84e">1994-08-01</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="AdministrationSharesMember_S000086404"
      id="cd61f39a-9de5-46c2-8338-39f09df0826b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Investor Tax-Exempt California Money Market&#160;Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="AdministrationSharesMember_S000086404"
      id="d9ec68d6-2a00-4f2f-9b06-b624c7e1e2bd">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="AdministrationSharesMember_S000086404"
      id="fb587db7-b64a-44e1-8092-8c5069fc4695">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs Investor Tax-Exempt California Money Market Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing primarily in high quality money market instruments, the interest on which is exempt from federal income tax and California State personal income tax.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="AdministrationSharesMember_S000086404"
      id="x_5a48973e-8cc7-47ab-a76c-9ec73528d385">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000086404"
      id="x_3acfd5fa-9d62-4a93-aac6-d1ca8f22b4a4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="AdministrationSharesMember_S000086404"
      id="x_73849c4e-4343-474e-b165-ff032232af85">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="AdministrationSharesMember_S000086404_C000251955"
      decimals="4"
      id="x_9265e48e-5c34-43c4-b430-c2584c78940f"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="AdministrationSharesMember_S000086404_C000251955"
      decimals="4"
      id="a163b175-e22d-40f9-aa4d-68f3dc30ac9a"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="AdministrationSharesMember_S000086404_C000251955"
      decimals="4"
      id="x_348b3029-01cb-41a2-b067-129e37c2c81f"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="AdministrationSharesMember_S000086404_C000251955"
      decimals="4"
      id="a7a70c6f-eabb-49fe-acf9-a519430871f9"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="AdministrationSharesMember_S000086404_C000251955"
      decimals="4"
      id="x_75b0d04a-4278-4936-8512-eb6c0b290c42"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="AdministrationSharesMember_S000086404"
      id="x_91cb180c-06f3-4434-a286-d2a8cd3eeabe">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="AdministrationSharesMember_S000086404_C000251955"
      decimals="4"
      id="d90ac79b-8ba1-4d7a-872e-83fc3662fa51"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="AdministrationSharesMember_S000086404_C000251955"
      decimals="4"
      id="x_14c0e7f4-9f1a-4f26-81b2-fccb6a0cd475"
      unitRef="pure">0.0312</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="AdministrationSharesMember_S000086404_C000251955"
      decimals="4"
      id="fae5d647-aa44-416f-aa4f-61cee226edbb"
      unitRef="pure">0.0025</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="AdministrationSharesMember_S000086404_C000251955"
      decimals="4"
      id="x_6d23f736-cfbe-4959-bdd9-f8569cca5b06"
      unitRef="pure">0.0287</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="AdministrationSharesMember_S000086404_C000251955"
      decimals="4"
      id="x_7278ca5a-51dc-4caa-a52a-7241543cfd8b"
      unitRef="pure">0.0328</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="AdministrationSharesMember_S000086404_C000251955"
      decimals="4"
      id="c0c853af-fd1a-4a16-bb54-f19e8331d979"
      unitRef="pure">-0.0285</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="AdministrationSharesMember_S000086404_C000251955"
      decimals="4"
      id="x_5dbf7984-ee15-45e7-8dc4-a6d5981f5615"
      unitRef="pure">0.0043</oef:NetExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="AdministrationSharesMember_S000086404"
      id="x_80a85a0a-0fad-46a3-9daf-f97a9ff054b1">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;March 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="AdministrationSharesMember_S000086404"
      id="c785661a-0990-4d1e-9358-faf4f6350bde">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000086404"
      id="x_7191e6d6-ac90-49b1-8959-0e74db9bf0dd">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Administration Shares of the Fund for the time periods indicated and then redeem all of your Administration Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same&#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="AdministrationSharesMember_S000086404_C000251955"
      decimals="INF"
      id="a35db324-39c4-4c00-bbdd-b3cc5c018788"
      unitRef="USD">44</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="AdministrationSharesMember_S000086404_C000251955"
      decimals="INF"
      id="ece0efcb-1e0a-4ea0-b362-80e2a5df4002"
      unitRef="USD">742</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="AdministrationSharesMember_S000086404_C000251955"
      decimals="INF"
      id="dfd61a65-794d-40ab-9bfc-7cdbe9b17c3d"
      unitRef="USD">1464</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="AdministrationSharesMember_S000086404_C000251955"
      decimals="INF"
      id="ee5b3e64-ecd1-430c-a21a-f5fe2e7da9b3"
      unitRef="USD">3380</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="AdministrationSharesMember_S000086404"
      id="x_53236320-eba9-44a5-b0a1-7d85661e3d0d">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000086404"
      id="x_0c3d58de-341b-4070-9905-77d14e4a0de2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing at least 80% of its net assets plus any borrowings for investment purposes (measured at the time of investment) (&#x201c;Net Assets&#x201d;) in securities issued by or on behalf of (i) the State of California, its political subdivisions, agencies, authorities and instrumentalities and (ii) territories and possessions of the United States and their political subdivisions, agencies, authorities and instrumentalities, in each case, the interest from which, if any, is in the opinion of bond counsel excluded from gross income for federal income tax purposes, generally not an item of tax preference under the federal alternative minimum tax (&#x201c;AMT&#x201d;) and exempt from California State personal income tax (&#x201c;California Obligations&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser ordinarily expects the Fund to invest in municipal obligations directly or indirectly (including by investing in tender option bonds), but the Fund may invest in short-term taxable instruments for temporary investment purposes. The Fund may also invest up to 20% of its Net Assets in securities the interest from which is exempt from California State personal income tax, but may be subject to federal income tax and an item of tax preference under the AMT. Such investments include securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;retail money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (the &#x201c;Investment Company Act&#x201d;). &#x201c;Retail money market funds&#x201d; are money market funds that have policies and procedures reasonably designed to limit all beneficial owners of the fund to natural persons. As a &#x201c;retail money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity, diversification and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000086404_RiskLoseMoneyMember"
      id="x_81ad3719-91f9-42ea-9a43-7001f5203fe3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000086404_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_760bccc0-2cbb-472a-9e41-88436f07ab93">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000086404_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember"
      id="x_9fc3c380-685b-4360-bf1b-37d52dd4453b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund may impose a fee upon the sale of your shares.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000086404_RiskNotInsuredDepositoryInstitutionMember"
      id="x_9f8efd32-e7f7-4252-9e11-e8df6b2bb902">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;not a bank account or a deposit of a bank and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000086404_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_88a13c4c-d261-4dfa-9995-76703c9e8756">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000086404_CaliforniaRiskMember"
      id="x_33c0f664-38be-4466-ac1d-2fb66d204d6f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;California Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund intends to invest primarily in California Obligations. The Fund&#x2019;s investments are, therefore, significantly affected by political and economic developments within this state, and by the financial condition of this state, its political subdivisions, agencies, authorities and instrumentalities. If California or any of its political subdivisions, agencies, authorities or instrumentalities are unable to meet their financial obligations, the Fund&#x2019;s income, NAV, and ability to preserve or realize appreciation of capital or liquidity could be adversely affected. While California&#x2019;s economy is broad and diversified, it does have major concentrations in certain sectors, including technology, manufacturing, entertainment, agriculture, tourism, construction and professional services, and will be disproportionately sensitive to economic problems affecting those sectors. In addition, as a single state money market fund, the Fund is less diversified and is allowed to invest a significantly greater portion of its assets in one issuer as compared to other money market funds. Because of the flexibility to invest a significantly greater portion of its assets in one issuer and the relatively limited number of issuers of California Obligations, the Fund&#x2019;s performance may be disproportionately affected by the success of one or a few issuers than is the performance of a more diversified money market fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000086404_CreditDefaultRiskMember"
      id="x_430a081b-ba96-4b61-acf8-ab79aeb6339e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund may default on its obligation to pay interest and repay principal or default on any other obligation. This also includes the risk of default on letters of credit, guarantees, demand features or insurance policies that back or otherwise support municipal securities. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000086404_InterestRateRiskMember"
      id="x_046b76ad-4497-406a-ad18-795d6f148549">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000086404_LargeShareholderTransactionsRiskMember"
      id="b7477628-4f46-4525-bd64-7ee92d79a63c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders&#160;(including financial intermediaries who may make investment decisions on behalf of underlying clients) purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000086404_LiquidityRiskMember"
      id="d8f4c388-868d-4189-995d-e44e711e2475">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund's ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000086404_MarketRiskMember"
      id="x_9d18e15f-11c0-4f1a-b8c4-320594e7ebf1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of &#160;individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000086404_MunicipalSecuritiesRiskMember"
      id="x_5199611e-746c-4ee3-a7eb-7e111a879dfd">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Municipal Securities Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Municipal securities are subject to credit/default risk, interest rate risk and certain additional risks. The Fund may be more sensitive to adverse economic, business&#160;or political developments if it invests a substantial portion of its assets in the debt securities of similar projects (such as those relating to education, health care, housing, transportation, and utilities), industrial development bonds, or in particular types of municipal securities (such as general obligation bonds, private activity bonds and moral obligation bonds). The Fund may also invest in municipal securities indirectly (including by investing in tender option bonds). While interest earned on municipal securities is generally not subject to federal tax, any interest earned on taxable municipal securities is fully taxable at the federal level and may be subject to tax at the state level.&#160;Municipal securities may be more susceptible to downgrades or defaults during recessions or similar periods of economic stress. In addition, since some municipal securities may be secured, guaranteed or otherwise supported by banks and other institutions, the risk to the Fund could increase if the banking or financial sector suffers an economic downturn and/or if the credit ratings of the institutions issuing the guarantee or demand feature are downgraded or at risk of being downgraded by a national rating organization. Such a downward revision or risk of being downgraded may have an adverse effect on the market prices of municipal securities and thus cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000086404_StableNAVRiskMember"
      id="x_206e6e24-131a-4f68-a829-a36f96ef6863">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000086404_TaxRiskMember"
      id="x_42282612-700f-478c-b95e-2ed25c71de55">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Tax Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Future legislative or administrative changes or court decisions may materially affect the value of the Fund&#x2019;s portfolio holdings and/or the ability of the Fund to pay federal tax-exempt dividends. The Fund would not be a suitable investment within IRAs, other tax-exempt or tax-deferred accounts, or for investors who are not sensitive to the federal tax consequences of their investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000086404_USGovernmentSecuritiesRiskMember"
      id="bd5adb06-650c-4a21-8df6-fc9c928efb9d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="AdministrationSharesMember_S000086404"
      id="x_9119e0a7-36ee-4bd6-94f6-4bd205716a7c">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000086404"
      id="x_221af36c-af03-4ab5-ad02-43c459b63a98">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Administration Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Administration Shares.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;and/or expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;1-800-&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;621-2550&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;. &lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="AdministrationSharesMember_S000086404"
      id="b5e4fd81-9cc7-40a0-b5f6-1e950e4e5545">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Administration Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Administration Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="AdministrationSharesMember_S000086404"
      id="x_9fb4846f-a343-4f12-9e67-cc39e253c017">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="AdministrationSharesMember_S000086404"
      id="fe6c7619-ab7b-4603-aa85-d7ba3359b6a9">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="AdministrationSharesMember_S000086404"
      id="x_94750e25-60bd-4030-b08c-c690f8c26250">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;1-800-&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="AdministrationSharesMember_S000086404"
      id="x_86e2eb55-02cf-4062-a4d1-db3bcd11b21a">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:113pt;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="AdministrationSharesMember_S000086404"
      id="x_848b918e-1e5a-413a-8737-030b3d461222">&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.57%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;June 30, 2025&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.46%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;September 30, 2025&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="AdministrationSharesMember_S000086404_C000251955"
      id="f0748289-5ace-4405-8477-eaa09e5254ea">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="AdministrationSharesMember_S000086404_C000251955"
      decimals="4"
      id="x_654da255-36d7-4200-9db6-bc860b891903"
      unitRef="pure">0.0057</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="AdministrationSharesMember_S000086404_C000251955"
      id="f6319014-1e3c-48cd-b99f-29e8f47810a5">2025-06-30</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="AdministrationSharesMember_S000086404_C000251955"
      id="x_5aafd50a-a4c9-4564-87c7-7535baf44da4">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="AdministrationSharesMember_S000086404_C000251955"
      decimals="4"
      id="x_81d72e82-711d-4822-a13c-581637699051"
      unitRef="pure">0.0046</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="AdministrationSharesMember_S000086404_C000251955"
      id="f2189b04-cd47-4db1-93e7-ca386a04000d">2025-09-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="AdministrationSharesMember_S000086404"
      id="x_32edb1c2-448d-4484-b5f0-e8b70bb1eb90">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="AdministrationSharesMember_C000251955_01Jan2025_31Dec2025"
      decimals="4"
      id="x_16de6149-e069-4536-a67f-867da234bf89"
      unitRef="pure">0.0206</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="AdministrationSharesMember_C000251955_10Sep2024_31Dec2025"
      decimals="4"
      id="x_1cf12693-e0f3-48a1-a6ae-225934fae4c7"
      unitRef="pure">0.0214</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="AdministrationSharesMember_C000251955"
      id="x_2568ab03-9f2f-45f0-8850-6fd332a4e241">2024-09-10</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="AdministrationSharesMember_S000086405"
      id="b0d2d682-c12b-4b1e-b0e6-a4372cd7dd4c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Investor Tax-Exempt New York&#160;Money Market Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="AdministrationSharesMember_S000086405"
      id="x_9db3b574-75bd-4895-b49a-d97fe788c225">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="AdministrationSharesMember_S000086405"
      id="x_250f21d7-97af-4c98-88c4-dccf4562c541">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs Investor Tax-Exempt New York Money Market Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing primarily in high quality money market instruments, the interest on which is exempt from federal income tax and New York State and New York City personal income taxes.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="AdministrationSharesMember_S000086405"
      id="x_9ca37c50-0e15-45c1-ba9d-fafa3739a01a">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000086405"
      id="x_76c08e3c-dcff-4320-8d7e-e22f9c6c803b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="AdministrationSharesMember_S000086405"
      id="x_339d3d37-5949-4b39-a228-b26dc10d578e">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="AdministrationSharesMember_S000086405_C000251960"
      decimals="4"
      id="x_58484c9b-8d4c-4895-af78-01dd9bd74b4b"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="AdministrationSharesMember_S000086405_C000251960"
      decimals="4"
      id="x_3d6e249e-34a7-4ea1-a430-09991d96989e"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="AdministrationSharesMember_S000086405_C000251960"
      decimals="4"
      id="d27185cc-1c0c-40ff-ba49-cc08489d4e19"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="AdministrationSharesMember_S000086405_C000251960"
      decimals="4"
      id="x_4b5078de-df72-4b2e-8fc6-027a31078acf"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="AdministrationSharesMember_S000086405_C000251960"
      decimals="4"
      id="cb7536a8-9b9c-4404-9deb-81d73e9c3f1b"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="AdministrationSharesMember_S000086405"
      id="x_385b418d-9541-4838-97eb-315ea6d7e6ad">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="AdministrationSharesMember_S000086405_C000251960"
      decimals="4"
      id="x_80524113-3435-4ce6-8b69-b924a2f0621f"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="AdministrationSharesMember_S000086405_C000251960"
      decimals="4"
      id="x_9d3f0855-1dd4-44e4-bdae-56010f678454"
      unitRef="pure">0.0132</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="AdministrationSharesMember_S000086405_C000251960"
      decimals="4"
      id="x_1c4e1778-be85-43a9-9aa0-0a1f62c0b5cc"
      unitRef="pure">0.0025</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="AdministrationSharesMember_S000086405_C000251960"
      decimals="4"
      id="x_4b1e0fc1-5dce-4c35-bfec-d8332d5990b8"
      unitRef="pure">0.0107</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="AdministrationSharesMember_S000086405_C000251960"
      decimals="4"
      id="d326e16d-d84d-4c6f-af15-e385be1ff5b0"
      unitRef="pure">0.0148</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="AdministrationSharesMember_S000086405_C000251960"
      decimals="4"
      id="x_14653421-4551-4807-9073-9815f366c999"
      unitRef="pure">-0.0105</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="AdministrationSharesMember_S000086405_C000251960"
      decimals="4"
      id="x_75cd8283-92b1-4fff-b73c-5efa19c30d84"
      unitRef="pure">0.0043</oef:NetExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="AdministrationSharesMember_S000086405"
      id="x_363a42df-8754-4978-bc82-3f9714cbe2e8">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;March 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="AdministrationSharesMember_S000086405"
      id="d2b42137-7f4a-4884-bb1d-e764e7bdb4b5">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000086405"
      id="x_646ba316-e595-43bd-99a6-9e65ab513dac">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Administration Shares of the Fund for the time periods indicated and then redeem all of your Administration Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same&#160;(except that the Example incorporates&#160;any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="AdministrationSharesMember_S000086405_C000251960"
      decimals="INF"
      id="x_40712e6e-d11a-43eb-9089-f1b58e0cff9e"
      unitRef="USD">44</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="AdministrationSharesMember_S000086405_C000251960"
      decimals="INF"
      id="x_06d3ae02-a31c-4cd9-8928-59038cfa06e3"
      unitRef="USD">365</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="AdministrationSharesMember_S000086405_C000251960"
      decimals="INF"
      id="bd087a8c-30d9-40ff-92c0-2707d68de4fe"
      unitRef="USD">708</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="AdministrationSharesMember_S000086405_C000251960"
      decimals="INF"
      id="d8873a4a-8af3-452b-a8c9-fb66dc906d89"
      unitRef="USD">1678</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="AdministrationSharesMember_S000086405"
      id="cace3cd3-2723-4aa3-8e14-bdb10de3df55">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000086405"
      id="x_380da02c-3f63-4307-b1a3-4dc79844b648">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing at least 80% of its net assets plus any borrowings for investment purposes (measured at the time of investment) (&#x201c;Net Assets&#x201d;) in securities issued by or on behalf of (i) the State of New York, its political subdivisions, agencies, authorities and instrumentalities and (ii) territories and possessions of the United States and their political subdivisions, agencies, authorities and instrumentalities, in each case, the interest from which, if any, is in the opinion of bond counsel excluded from gross income for federal income tax purposes, generally not an item of tax preference under the federal alternative minimum tax (&#x201c;AMT&#x201d;) and exempt from New York State and New York City personal income taxes (&#x201c;New York Obligations&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser ordinarily expects the Fund to invest in municipal obligations directly or indirectly (including by investing in tender option bonds), but the Fund may invest in short-term taxable instruments for temporary investment purposes. The Fund may also invest up to 20% of its Net Assets in securities the interest from which is exempt from New York State and New York City personal income tax, but may be subject to federal income tax and an item of tax preference under the AMT.&#160;Such investments include securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;).&#160; &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;retail money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (the &#x201c;Investment Company Act&#x201d;). &#x201c;Retail money market funds&#x201d; are money market funds that have policies and procedures reasonably designed to limit all beneficial owners of the fund to natural persons. As a &#x201c;retail money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity, diversification and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000086405_RiskLoseMoneyMember"
      id="e5c7d855-7be9-4cd2-8555-a7d53ecbfd70">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000086405_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_96c34dba-9823-43b5-bfe6-67fed8e91e2b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000086405_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember"
      id="x_7fdef0a9-9a04-473c-8396-7e5a1e4b30d5">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund may impose a fee upon the sale of your shares.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000086405_RiskNotInsuredDepositoryInstitutionMember"
      id="x_0b612f63-b16b-4667-b2e0-2df7af873624">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;not a bank account or a deposit of a bank and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000086405_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="de6abe28-2177-40c4-9e52-bafde9af84cc">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000086405_CreditDefaultRiskMember"
      id="a5adb6fe-5acf-4948-b5fc-4150f718af29">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund may default on its obligation to pay interest and repay principal or default on any other obligation. This also includes the risk of default on letters of credit, guarantees, demand features or insurance policies that back or otherwise support municipal securities. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000086405_InterestRateRiskMember"
      id="x_4d5583ba-e2b4-4f31-b813-1689194061c7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000086405_LargeShareholderTransactionsRiskMember"
      id="x_0662227d-c34d-4475-a280-21683040f1f5">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders&#160;(including financial intermediaries who may make investment decisions on behalf of underlying clients) purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000086405_LiquidityRiskMember"
      id="x_5687a66b-4824-40f6-bb4c-1d358de01ff0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund's ability to maintain a stable $1.00 share price. Liquidity risk may also refer to &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000086405_MarketRiskMember"
      id="x_93070ba5-3abf-4543-97f6-58088c42831e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of &#160;individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000086405_MunicipalSecuritiesRiskMember"
      id="x_85881bdd-0b2f-4f6a-bcb3-2b2a5f441260">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Municipal Securities Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Municipal securities are subject to credit/default risk, interest rate risk and certain additional risks. The Fund may be more sensitive to adverse economic, business&#160;or political developments if it invests a substantial portion of its assets in the debt securities of similar projects (such as those relating to education, health care, housing, transportation, and utilities), industrial development bonds, or in particular types of municipal securities (such as general obligation bonds, private activity bonds and moral obligation bonds). The Fund may also invest in municipal securities indirectly (including by investing in tender option bonds). While interest earned on municipal securities is generally not subject to federal tax, any interest earned on taxable municipal securities is fully taxable at the federal level and may be subject to tax at the state level.&#160;Municipal securities may be more susceptible to downgrades or defaults during recessions or similar periods of economic stress. In addition, since some municipal securities may be secured, guaranteed or otherwise supported by banks and other institutions, the risk to the Fund could increase if the banking or financial sector suffers an economic downturn and/or if the credit ratings of the institutions issuing the guarantee or demand feature are downgraded or at risk of being downgraded by a national rating organization. Such a downward revision or risk of being downgraded may have an adverse effect on the market prices of municipal securities and thus cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000086405_NewYorkRiskMember"
      id="dc6ec69f-4a9b-404d-abd0-ecb3f071c591">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;New York Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund intends to invest primarily in New York Obligations. The Fund&#x2019;s investments are, therefore, significantly affected by political and economic developments within this state, and by the financial condition of this state, its political subdivisions, agencies, authorities and instrumentalities. If New York or any of its political subdivisions, agencies, authorities or instrumentalities are unable to meet their financial obligations, the Fund&#x2019;s income, NAV, and ability to preserve or realize appreciation of capital or liquidity could be adversely affected. As the nation&#x2019;s financial capital, the economies of New York State and New York City are heavily dependent on the financial sector and will be disproportionately sensitive to economic problems affecting the sector. In addition, as a single state money market fund, the Fund is less diversified and is allowed to invest a significantly greater portion of its assets in one issuer as compared to other money market funds. Because of the flexibility to invest a significantly greater portion of its assets in one issuer and the relatively limited number of issuers of New York Obligations, the Fund&#x2019;s performance may be disproportionately affected by the success of one or a few issuers than is the performance of a more diversified money market fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000086405_StableNAVRiskMember"
      id="ebc71ac3-3194-4d51-bfe1-62e09086faf7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000086405_TaxRiskMember"
      id="x_95627e5f-555b-4691-bcba-0acce1b66d5b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Tax Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Future legislative or administrative changes or court decisions may materially affect the value of the Fund&#x2019;s portfolio holdings and/or the ability of the Fund to pay federal tax-exempt dividends. The Fund would not be a suitable investment within IRAs, other tax-exempt or tax-deferred accounts, or for investors who are not sensitive to the federal tax consequences of their investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="AdministrationSharesMember_S000086405_USGovernmentSecuritiesRiskMember"
      id="x_0c7b2094-4afd-49d2-9fb6-cc506c5ef22c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="AdministrationSharesMember_S000086405"
      id="b54f3c1a-7593-428e-ac08-b33b2b49f4f3">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="AdministrationSharesMember_S000086405"
      id="x_1f137ac1-ae95-4f9e-9329-c73be06f57b3">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Administration Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Administration Shares.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;and/or expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;1-800-&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;621-2550&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;. &lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="AdministrationSharesMember_S000086405"
      id="x_3aa45971-d186-47ea-8ada-01abf2e8d749">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Administration Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Administration Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="AdministrationSharesMember_S000086405"
      id="bf7c3178-1c69-4c33-ac6c-6f9a9f6aeba0">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="AdministrationSharesMember_S000086405"
      id="x_3f1699c6-50c1-44ad-a6ab-5e62b9c47648">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="AdministrationSharesMember_S000086405"
      id="x_0969de71-b247-482d-b36d-9fac40369a9b">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;1-800-&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="AdministrationSharesMember_S000086405"
      id="c032d74b-9ffd-49d1-81d6-ea2aa1eaf131">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:113pt;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="AdministrationSharesMember_S000086405"
      id="x_35015bb3-b088-4432-8b96-bc9a0135ffbf">&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.64%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;June 30, 2025&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.57%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2025&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="AdministrationSharesMember_S000086405_C000251960"
      id="x_791c147d-f748-4c41-944c-2ccb0c863811">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="AdministrationSharesMember_S000086405_C000251960"
      decimals="4"
      id="eb486774-988b-4def-aedf-03f5ea45308e"
      unitRef="pure">0.0064</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="AdministrationSharesMember_S000086405_C000251960"
      id="x_64e9ecf4-8b08-444e-9fc5-047c968617af">2025-06-30</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="AdministrationSharesMember_S000086405_C000251960"
      id="x_3c3b2a6c-91ec-4bda-bbe8-691a9efd3afc">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="AdministrationSharesMember_S000086405_C000251960"
      decimals="4"
      id="x_1abaca8b-03a9-4f23-8dbb-423d5b9f6b61"
      unitRef="pure">0.0057</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="AdministrationSharesMember_S000086405_C000251960"
      id="d82f15f6-fb4d-43fa-8e07-c18bf5edb316">2025-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="AdministrationSharesMember_S000086405"
      id="x_8b7dfd40-6a26-4e75-9b73-946da3ea329a">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="AdministrationSharesMember_C000251960_01Jan2025_31Dec2025"
      decimals="4"
      id="c3540674-0453-4dd2-a351-523455a4a510"
      unitRef="pure">0.0242</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="AdministrationSharesMember_C000251960_10Sep2024_31Dec2025"
      decimals="4"
      id="x_70cbd4c8-b972-47ea-89a2-1cb080bb4934"
      unitRef="pure">0.0251</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="AdministrationSharesMember_C000251960"
      id="x_75fcf103-290b-46b6-82b9-a0ea1dc4fc88">2024-09-10</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="CashManagementSharesMember_S000009260"
      id="fcbf9d3e-549e-4ecb-8dfa-7b4ece346759">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Treasury Obligations Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="CashManagementSharesMember_S000009260"
      id="ef3dacb6-d4d2-4bae-ae69-71a961916617">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="CashManagementSharesMember_S000009260"
      id="x_09876b9e-f9ce-45c2-94c3-b2b87b2179e4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Treasury Obligations Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="CashManagementSharesMember_S000009260"
      id="x_41492f12-c486-4695-8ce6-4ee8b35971c3">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="CashManagementSharesMember_S000009260"
      id="fe3a6ed2-67cd-487b-9381-6f7cf563fc6f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="CashManagementSharesMember_S000009260"
      id="x_9dac874a-65ed-4720-a5c1-4cbba28b1e9e">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="CashManagementSharesMember_S000009260_C000088821"
      decimals="4"
      id="x_5c903c66-a3ad-41b0-9cae-309bb42b8fe0"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="CashManagementSharesMember_S000009260_C000088821"
      decimals="4"
      id="x_46bd7588-8216-4569-be18-a2fe898dd3e0"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="CashManagementSharesMember_S000009260_C000088821"
      decimals="4"
      id="f0fc2a79-16dc-4d6f-bbbc-1767b98fc228"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="CashManagementSharesMember_S000009260_C000088821"
      decimals="4"
      id="x_3908b491-e885-4ef8-82d2-25bb51de7a4c"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="CashManagementSharesMember_S000009260_C000088821"
      decimals="4"
      id="x_100e39dc-f9f1-48cf-a18e-3c0690375001"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="CashManagementSharesMember_S000009260"
      id="x_4aa2812b-1383-4205-b6b5-d535f6d8c418">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="CashManagementSharesMember_S000009260_C000088821"
      decimals="4"
      id="fe8f39f5-dec3-41dd-b5d6-0be057ee78c1"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="CashManagementSharesMember_S000009260_C000088821"
      decimals="4"
      id="x_14edff97-45d1-40d7-a715-38005b77eefc"
      unitRef="pure">0.0030</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="CashManagementSharesMember_S000009260_C000088821"
      decimals="4"
      id="x_525548af-7c9e-42c5-a2c0-8e6b0547bd70"
      unitRef="pure">0.0052</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="CashManagementSharesMember_S000009260_C000088821"
      decimals="4"
      id="x_27c34dd9-b1da-46d5-8e79-5bc53cd78488"
      unitRef="pure">0.0050</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="CashManagementSharesMember_S000009260_C000088821"
      decimals="4"
      id="ef9831c8-807e-4e30-b9f1-a9c439955053"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="CashManagementSharesMember_S000009260_C000088821"
      decimals="4"
      id="x_084123b0-da59-494b-b98b-62469b923028"
      unitRef="pure">0.0100</oef:ExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="CashManagementSharesMember_S000009260"
      id="x_84695ae2-2763-4f72-813b-c1c714df1a70">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="CashManagementSharesMember_S000009260"
      id="x_718acf66-f938-4a17-a019-e80185c1e99f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Cash Management Shares of the Fund for the time periods indicated and then redeem all of your Cash Management Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="CashManagementSharesMember_S000009260_C000088821"
      decimals="INF"
      id="x_2b16fcbe-acc4-4425-9d40-17fdb4e90e5d"
      unitRef="USD">102</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="CashManagementSharesMember_S000009260_C000088821"
      decimals="INF"
      id="x_71c8b247-541a-4cca-beec-5370cf5e6842"
      unitRef="USD">318</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="CashManagementSharesMember_S000009260_C000088821"
      decimals="INF"
      id="fc61a086-7b3a-4b67-8f38-79f0a06d8d30"
      unitRef="USD">552</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="CashManagementSharesMember_S000009260_C000088821"
      decimals="INF"
      id="x_3272047b-04eb-44c1-886c-9c55eea84bc8"
      unitRef="USD">1225</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="CashManagementSharesMember_S000009260"
      id="x_654b3fa4-65d9-4c26-8034-6d1a14f5475a">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="CashManagementSharesMember_S000009260"
      id="x_16889fb7-ea68-46c1-87b9-20c9ece5c1c2">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in U.S. Treasury Obligations, which include securities issued or guaranteed&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;by the U.S. Treasury where the payment of principal and interest is backed by the full faith and credit of the U.S. government (&#x201c;U.S. Treasury Obligations&#x201d;), and repurchase agreements collateralized by U.S. Treasury Obligations. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;). &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;), and/or repurchase agreements that are collateralized fully by &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;cash or U.S. Government Securities. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009260_RiskLoseMoneyMember"
      id="x_6aa33d2e-5bd8-436d-ae2a-49e90bd8df79">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009260_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_9af2618b-c72e-4d52-9558-e46b10f6601c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009260_RiskNotInsuredDepositoryInstitutionMember"
      id="x_09227db9-7b77-4eba-8e19-77daf04f85fe">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009260_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_369ad4f1-f1df-46b8-92ea-c66b941d4f07">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009260_CreditDefaultRiskMember"
      id="f7a3932d-5fee-42a5-b8d3-346ae525aafa">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009260_InterestRateRiskMember"
      id="x_2c9c14f5-50fa-4d94-a15a-5dee1f51c3f6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009260_LargeShareholderTransactionsRiskMember"
      id="c61cd539-3f54-45e7-bc74-2067e51b235b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009260_LiquidityRiskMember"
      id="x_94c98d90-408a-4b30-98d4-6cd73617b340">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009260_MarketRiskMember"
      id="x_28ab837d-5a2b-42f9-a445-05c954f67737">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009260_StableNAVRiskMember"
      id="x_5c8f7d8e-36e5-4445-a332-60eeac942a4a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="CashManagementSharesMember_S000009260"
      id="x_705ae13a-5261-43cc-8dc0-8c83a768fba8">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="CashManagementSharesMember_S000009260"
      id="f53a2794-2fd6-428b-bc53-42f89a963407">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Cash Management Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Cash Management Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;fee waivers and/or expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="CashManagementSharesMember_S000009260"
      id="cde089d4-520b-4fb4-82a0-97f5573eb7c9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Cash Management Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Cash Management Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="CashManagementSharesMember_S000009260"
      id="x_98992e92-d1d6-4752-8935-6c7336929a58">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="CashManagementSharesMember_S000009260"
      id="a4f920ad-3198-47ac-91c3-bb88aaf056cd">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="CashManagementSharesMember_S000009260"
      id="x_9557d3c5-1c7b-464e-9197-55a6abbaf7d6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="CashManagementSharesMember_S000009260"
      id="x_58dd25b7-55de-4697-baa8-7b45c9381358">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="CashManagementSharesMember_S000009260"
      id="x_7c155d12-e7cb-4350-9a8d-3ca796677904">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.12%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2022&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="CashManagementSharesMember_S000009260_C000088821"
      id="x_50ffac57-584d-42bf-b6f0-95335dd982d2">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="CashManagementSharesMember_S000009260_C000088821"
      decimals="4"
      id="dc43a612-09fd-45d5-b5c0-4f1691381079"
      unitRef="pure">0.0112</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="CashManagementSharesMember_S000009260_C000088821"
      id="e25c1504-80f5-4919-b4a3-bd792bceec23">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="CashManagementSharesMember_S000009260_C000088821"
      id="b28accb2-9351-4107-a26c-665d88301b1c">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="CashManagementSharesMember_S000009260_C000088821"
      decimals="4"
      id="x_21247b02-dbdb-4cb7-b350-46d6f8f97e94"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="CashManagementSharesMember_S000009260_C000088821"
      id="x_0f8e436a-905d-4552-9691-97cb882fb06e">2022-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="CashManagementSharesMember_S000009260"
      id="x_036678e2-d0db-4142-8a02-10a79bdeb5d7">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="CashManagementSharesMember_C000088821_01Jan2025_31Dec2025"
      decimals="4"
      id="x_812ad040-a16a-4b91-91d8-a3392d1c7dc2"
      unitRef="pure">0.0335</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="CashManagementSharesMember_C000088821_01Jan2021_31Dec2025"
      decimals="4"
      id="fce9a3fa-b50c-4dae-94b3-ecb2f5214292"
      unitRef="pure">0.0256</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="CashManagementSharesMember_C000088821_01Jan2016_31Dec2025"
      decimals="4"
      id="x_672e4c16-57b3-408b-9ca5-7b82ace04c92"
      unitRef="pure">0.0151</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="CashManagementSharesMember_C000088821"
      id="x_87d8f0f3-43c6-4f8d-b1ca-e76a0e22dace">2010-05-14</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="CashManagementSharesMember_S000009261"
      id="x_39d3fb6f-3372-42e1-a107-dc88df30a84c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square&#160;Treasury Instruments Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="CashManagementSharesMember_S000009261"
      id="f220144c-3330-4ec4-b1be-893f17393886">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="CashManagementSharesMember_S000009261"
      id="f7e2788f-d748-494e-b7fe-823103e4d26c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square&#160;Treasury Instruments Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="CashManagementSharesMember_S000009261"
      id="x_71d478eb-100c-46c1-8299-7ed2cc7f393e">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="CashManagementSharesMember_S000009261"
      id="x_29f92351-718b-4780-8b86-6116ba195de0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="CashManagementSharesMember_S000009261"
      id="df521f93-da40-46d3-87b7-9fe9e78bda7b">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="CashManagementSharesMember_S000009261_C000088822"
      decimals="4"
      id="d8908c36-f27c-47cb-9ab0-b91d25395daa"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="CashManagementSharesMember_S000009261_C000088822"
      decimals="4"
      id="x_19757eef-794f-42f1-81bb-795c9559df88"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="CashManagementSharesMember_S000009261_C000088822"
      decimals="4"
      id="x_707dd7c8-584d-42be-9b32-cebe90a3eaf5"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="CashManagementSharesMember_S000009261_C000088822"
      decimals="4"
      id="fd84ee54-0f88-476e-9347-cc4d17851d40"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="CashManagementSharesMember_S000009261_C000088822"
      decimals="4"
      id="x_06f30c4d-6eb8-4181-8bdc-b82dca52ea91"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="CashManagementSharesMember_S000009261"
      id="x_77e07bcf-cdab-424b-8d70-0f10f8fc5264">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="CashManagementSharesMember_S000009261_C000088822"
      decimals="4"
      id="cea8a9d8-0378-464a-b995-b06e39c3ff6b"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="CashManagementSharesMember_S000009261_C000088822"
      decimals="4"
      id="d5ca6287-3c6a-4215-9077-e8e6514e66ac"
      unitRef="pure">0.0030</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="CashManagementSharesMember_S000009261_C000088822"
      decimals="4"
      id="x_29a648ee-0c98-4ab2-92f4-b766b1300dd4"
      unitRef="pure">0.0052</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="CashManagementSharesMember_S000009261_C000088822"
      decimals="4"
      id="x_6e4f238a-99e8-489f-91fc-3310113f28a7"
      unitRef="pure">0.0050</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="CashManagementSharesMember_S000009261_C000088822"
      decimals="4"
      id="x_42dcfb0c-570c-4b2d-a531-8a341d07fa2b"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="CashManagementSharesMember_S000009261_C000088822"
      decimals="4"
      id="x_1e2eddc6-37c9-435f-82d5-27bba981b66e"
      unitRef="pure">0.0100</oef:ExpensesOverAssets>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="CashManagementSharesMember_S000009261"
      id="x_6d46b5e3-489d-44b0-8cb7-89eb20706d22">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.&lt;/span&gt;</oef:ExpensesRestatedToReflectCurrent>
    <oef:ExpenseExampleHeading
      contextRef="CashManagementSharesMember_S000009261"
      id="f80fcc62-d189-4ab8-9ba9-2633e25ef075">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="CashManagementSharesMember_S000009261"
      id="d67198ad-072c-4d91-b9d9-f90aa4b8549a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Cash Management Shares of the Fund for the time periods indicated and then redeem all of your Cash Management Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="CashManagementSharesMember_S000009261_C000088822"
      decimals="INF"
      id="d8c35fed-13c9-426b-9df6-c6502a3bf19d"
      unitRef="USD">102</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="CashManagementSharesMember_S000009261_C000088822"
      decimals="INF"
      id="x_6bc7d597-8424-4efa-b472-e2179a9b2bb9"
      unitRef="USD">318</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="CashManagementSharesMember_S000009261_C000088822"
      decimals="INF"
      id="x_2c1961c3-1aeb-468d-b233-9adf4289abe2"
      unitRef="USD">552</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="CashManagementSharesMember_S000009261_C000088822"
      decimals="INF"
      id="x_526528cc-5aae-4c1e-9d3e-fd2034484da0"
      unitRef="USD">1225</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="CashManagementSharesMember_S000009261"
      id="x_7ee2d9cc-fb19-4769-9960-d216af1f5263">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="CashManagementSharesMember_S000009261"
      id="x_1e6da8a6-3b4f-4b34-88cd-ae28825dd9c9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in U.S. Treasury Obligations, which include securities issued or guaranteed by the U.S. Treasury where the payment of principal and interest is backed by the full faith and credit of the U.S. government (&#x201c;U.S. Treasury Obligations&#x201d;), the interest from which is generally exempt from state income taxation. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;). &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash and securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). Although &#x201c;government money market funds&#x201d; may also invest in repurchase agreements that are collateralized fully by cash or U.S. Government Securities, the Fund may not invest in &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;repurchase agreements. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009261_RiskLoseMoneyMember"
      id="x_7b21e55e-c6f7-4db9-98ff-4a6a5bf38391">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009261_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="a800a551-2486-473a-8e5e-14461914426f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009261_RiskNotInsuredDepositoryInstitutionMember"
      id="x_7c4269ac-a65d-4fbb-8e6f-0055a91c8f9c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009261_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="eb1f800d-3329-49b9-b1d5-4653542cdbb4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009261_CreditDefaultRiskMember"
      id="x_83faccec-8194-4282-aa31-1acaab019736">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:10pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009261_InterestRateRiskMember"
      id="x_219343e7-86d4-4d94-ad1d-d55b066ecbc0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:10pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009261_LargeShareholderTransactionsRiskMember"
      id="x_5a6e3eeb-7161-4ddc-8395-f0ed36247420">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009261_LiquidityRiskMember"
      id="ddcf5da1-4d34-4864-a7b3-96623ba7b3cf">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009261_MarketRiskMember"
      id="x_5d9d1e2c-67b2-4972-8ca3-0b408ad268f9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009261_StableNAVRiskMember"
      id="x_6b12dd37-617d-488c-8306-6ccd27ca6ce9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:10pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="CashManagementSharesMember_S000009261"
      id="x_528a9550-2fd4-46e6-8a4e-447d42a0d9a0">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="CashManagementSharesMember_S000009261"
      id="bfd74099-b9fe-4c6c-b56c-d31dd150bd67">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Cash Management Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Cash Management Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;fee waivers and/or expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="CashManagementSharesMember_S000009261"
      id="x_1cae2cc5-e92e-419b-877d-13830ced6f32">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Cash Management Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Cash Management Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="CashManagementSharesMember_S000009261"
      id="c6d02771-e083-4610-835f-0384b30158d1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="CashManagementSharesMember_S000009261"
      id="ee5a38d8-82ad-4c6c-b73a-40ca4506d05e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="CashManagementSharesMember_S000009261"
      id="ff82a2dd-1e88-419b-8557-291ce4326734">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="CashManagementSharesMember_S000009261"
      id="a4748297-1f69-44e2-ba39-6183ff37a797">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="CashManagementSharesMember_S000009261"
      id="a497ff64-4819-431e-91f6-7ae08856d792">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.12%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;June 30, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="CashManagementSharesMember_S000009261_C000088822"
      id="x_023777b8-8d2a-45a0-ae1e-3326764fa776">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="CashManagementSharesMember_S000009261_C000088822"
      decimals="4"
      id="x_10b0dbfb-7ffd-4050-aeea-cabef158d117"
      unitRef="pure">0.0112</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="CashManagementSharesMember_S000009261_C000088822"
      id="f0609150-af42-4c1c-8e85-95d913eceae8">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="CashManagementSharesMember_S000009261_C000088822"
      id="d337a99b-22a0-4060-8eef-ad56e1f1763f">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="CashManagementSharesMember_S000009261_C000088822"
      decimals="4"
      id="x_7556a106-1277-4108-8990-7bda7242119d"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="CashManagementSharesMember_S000009261_C000088822"
      id="x_3c864293-27f5-408e-a7da-c93ea1af2836">2020-06-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="CashManagementSharesMember_S000009261"
      id="x_63408421-d4f5-4673-bb08-780919f07a0e">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="CashManagementSharesMember_C000088822_01Jan2025_31Dec2025"
      decimals="4"
      id="b8414246-517f-41bf-b3c9-4c687efaf778"
      unitRef="pure">0.0332</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="CashManagementSharesMember_C000088822_01Jan2021_31Dec2025"
      decimals="4"
      id="x_4a039ae7-05fb-4883-81a0-442b0a9b8e94"
      unitRef="pure">0.0252</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="CashManagementSharesMember_C000088822_01Jan2016_31Dec2025"
      decimals="4"
      id="x_3cff538d-01a9-4d60-a388-4f5e3aae644f"
      unitRef="pure">0.0148</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="CashManagementSharesMember_C000088822"
      id="d7740d53-0af4-45dd-80b7-5772843b7794">2010-05-14</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="CashManagementSharesMember_S000009243"
      id="x_29f6e8ea-bd4a-49bd-b937-db8b1884384a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Treasury Solutions Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="CashManagementSharesMember_S000009243"
      id="x_77171a24-2c3f-41d5-8099-0a97126a4dc6">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="CashManagementSharesMember_S000009243"
      id="x_4e2a5c65-db5e-4f39-b4dd-eb1cccb0fdfa">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Treasury Solutions Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="CashManagementSharesMember_S000009243"
      id="x_70b5919e-8c17-48f4-845a-db835854ebe4">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="CashManagementSharesMember_S000009243"
      id="x_24184a38-ff85-4a8f-b5b4-355bc546e6bf">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="CashManagementSharesMember_S000009243"
      id="a00fd958-3b85-49a6-a154-4a8dc359c7c1">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="CashManagementSharesMember_S000009243_C000088805"
      decimals="4"
      id="x_6380498f-bd8b-4ed6-8a69-581880b52705"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="CashManagementSharesMember_S000009243_C000088805"
      decimals="4"
      id="f775b2a0-207e-4cc8-bdd3-df487346704d"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="CashManagementSharesMember_S000009243_C000088805"
      decimals="4"
      id="x_45130c12-e40e-4084-b88c-ae22212939be"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="CashManagementSharesMember_S000009243_C000088805"
      decimals="4"
      id="x_933c69b1-a090-43af-861a-8b8adf7712ca"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="CashManagementSharesMember_S000009243_C000088805"
      decimals="4"
      id="x_254a846d-3dd6-446f-9683-205a19ca9abc"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="CashManagementSharesMember_S000009243"
      id="x_443eb27d-4656-4a07-840b-86c16f862ae9">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="CashManagementSharesMember_S000009243_C000088805"
      decimals="4"
      id="x_8972d63b-59ab-4de4-82a4-6c10f10b29ac"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="CashManagementSharesMember_S000009243_C000088805"
      decimals="4"
      id="a20ca5b3-c688-4874-9bd0-a46542d22ee5"
      unitRef="pure">0.0030</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="CashManagementSharesMember_S000009243_C000088805"
      decimals="4"
      id="x_7056f780-fbbd-466b-8c59-b09b77f04d3d"
      unitRef="pure">0.0052</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="CashManagementSharesMember_S000009243_C000088805"
      decimals="4"
      id="eb52b7ab-efcd-49a3-a478-9b0365d20377"
      unitRef="pure">0.0050</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="CashManagementSharesMember_S000009243_C000088805"
      decimals="4"
      id="d2ac4aa5-9369-44eb-a392-21f7307606ff"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="CashManagementSharesMember_S000009243_C000088805"
      decimals="4"
      id="af9ee27b-46a6-4b47-857b-51d9deffff61"
      unitRef="pure">0.0100</oef:ExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="CashManagementSharesMember_S000009243"
      id="x_2ea01ff5-b085-47be-b22c-f07d654cf972">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="CashManagementSharesMember_S000009243"
      id="x_607a57a5-7801-4509-93db-f634b342d547">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Cash Management Shares of the Fund for the time periods indicated and then redeem all of your Cash Management Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="CashManagementSharesMember_S000009243_C000088805"
      decimals="INF"
      id="f83114bc-dbe8-4edb-9c66-115fe9b26b1e"
      unitRef="USD">102</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="CashManagementSharesMember_S000009243_C000088805"
      decimals="INF"
      id="d989697b-2504-4a5d-90cb-7c2ab0493d6e"
      unitRef="USD">318</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="CashManagementSharesMember_S000009243_C000088805"
      decimals="INF"
      id="x_9462691b-8d56-4c17-b956-dc90a4ca902a"
      unitRef="USD">552</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="CashManagementSharesMember_S000009243_C000088805"
      decimals="INF"
      id="x_96f640d4-3326-4cd5-ba9c-1dd9ef7f3454"
      unitRef="USD">1225</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="CashManagementSharesMember_S000009243"
      id="x_907ab321-3194-49a6-b250-ad863ed5baf7">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="CashManagementSharesMember_S000009243"
      id="fe0831e3-c0a5-419b-b6ce-031595586298">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in U.S. Treasury Obligations, which include securities issued or guaranteed&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;by the U.S. Treasury where the payment of principal and interest is backed by the full faith and credit of the U.S. government (&#x201c;U.S. Treasury Obligations&#x201d;), and repurchase agreements with the Federal Reserve Bank of New York collateralized by U.S. Treasury Obligations. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;). &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;), and/or repurchase agreements that are collateralized fully by &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;cash or U.S. Government Securities. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009243_RiskLoseMoneyMember"
      id="x_57d3dbd7-5dd6-4d17-aeb7-17ba4e7dfb05">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009243_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="e347cca8-a9e4-437e-bbaa-0ae40837a698">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009243_RiskNotInsuredDepositoryInstitutionMember"
      id="e98f2b37-9e2b-477e-86c2-f530f7d0e0c0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009243_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_0a0d5cf3-8f6c-41b2-8154-e511dbb10ef0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009243_CreditDefaultRiskMember"
      id="x_145f5777-c8ee-434a-9c71-c4c857b1d92e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009243_InterestRateRiskMember"
      id="x_4995e98e-a0f5-4b72-a72e-ceeb5761930c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009243_LargeShareholderTransactionsRiskMember"
      id="x_6116dbc2-c277-4b7d-9b37-9f8d75467f15">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009243_LiquidityRiskMember"
      id="c328ca42-de70-445d-8869-b8ba702624b9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009243_MarketRiskMember"
      id="d9c288e8-08c4-4ea9-ab47-818708915154">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009243_StableNAVRiskMember"
      id="b28b6402-b11b-4eca-9968-9810298fba22">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="CashManagementSharesMember_S000009243"
      id="d2307860-a2bf-465f-8c59-d591db223f95">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="CashManagementSharesMember_S000009243"
      id="bbdf4601-0af6-4ad8-88c6-7d99765006e4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Cash Management Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Cash Management Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;fee waivers and/or expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="CashManagementSharesMember_S000009243"
      id="x_67390a72-bbe2-4cb1-99ea-0bd1909c14f1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Cash Management Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Cash Management Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="CashManagementSharesMember_S000009243"
      id="d9b0782e-481e-430e-b983-623be8cdc5ce">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="CashManagementSharesMember_S000009243"
      id="eb96526e-4dcb-4a45-a9b5-a4c1909a3f53">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="CashManagementSharesMember_S000009243"
      id="x_072cc393-d6aa-4de1-94bd-3b8dd0d36204">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="CashManagementSharesMember_S000009243"
      id="x_83446a74-87bc-4f84-89c8-e69737918039">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="CashManagementSharesMember_S000009243"
      id="ba6bca4f-00dd-4a8b-b98c-e09057b0405b">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.13%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2022&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="CashManagementSharesMember_S000009243_C000088805"
      id="ec7a296e-57e8-4d93-8aa0-29895e9d3f8a">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="CashManagementSharesMember_S000009243_C000088805"
      decimals="4"
      id="x_39d04916-19da-4fae-9dc1-e4f1c4b43c23"
      unitRef="pure">0.0113</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="CashManagementSharesMember_S000009243_C000088805"
      id="x_06a1d1f5-f8c0-4b2a-ac1b-661afe6f20e1">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="CashManagementSharesMember_S000009243_C000088805"
      id="x_61c385b6-1694-41c5-969f-a0f2f947a464">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="CashManagementSharesMember_S000009243_C000088805"
      decimals="4"
      id="x_784cb2ae-6b36-4c2a-a512-56f8bca83bc6"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="CashManagementSharesMember_S000009243_C000088805"
      id="x_8177f2f7-7048-4804-8c9f-ff2e3a36f50d">2022-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="CashManagementSharesMember_S000009243"
      id="x_24f1fd6c-68e4-4cda-80b5-3ae0c3b33f8e">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="CashManagementSharesMember_C000088805_01Jan2025_31Dec2025"
      decimals="4"
      id="b4751a00-a840-4eea-8b56-cbea4fd50b11"
      unitRef="pure">0.0332</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="CashManagementSharesMember_C000088805_01Jan2021_31Dec2025"
      decimals="4"
      id="x_85479ffd-71f8-4a47-97ea-b464880ec61f"
      unitRef="pure">0.0255</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="CashManagementSharesMember_C000088805_01Jan2016_31Dec2025"
      decimals="4"
      id="e0a2ea6a-b30e-4ed5-a42d-2c830708f91d"
      unitRef="pure">0.0151</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="CashManagementSharesMember_C000088805"
      id="a6b8f608-1676-4aa4-8e9e-f45175211096">2010-05-14</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="CashManagementSharesMember_S000009242"
      id="ec5c0a65-797b-4f3e-8fd0-411a37026dd9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Government Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="CashManagementSharesMember_S000009242"
      id="bc3c731f-0402-4ac0-8bd1-fa3c51c7109e">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="CashManagementSharesMember_S000009242"
      id="x_83eed8da-f996-4445-b188-7da1e6c15d52">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Government Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="CashManagementSharesMember_S000009242"
      id="e23a048b-ce60-4f4b-8254-de40f747c740">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="CashManagementSharesMember_S000009242"
      id="x_3627acd7-b833-4330-a7c2-028b33cf7835">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="CashManagementSharesMember_S000009242"
      id="bb39e181-502d-4cc6-9650-76d191a28ffa">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="CashManagementSharesMember_S000009242_C000088802"
      decimals="4"
      id="b28ed306-a064-407b-bd70-714dec3d6472"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="CashManagementSharesMember_S000009242_C000088802"
      decimals="4"
      id="x_4e09c405-1f3a-405a-9d4e-9fb8fd6d726e"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="CashManagementSharesMember_S000009242_C000088802"
      decimals="4"
      id="d54a5675-9568-487b-b315-940676781efa"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="CashManagementSharesMember_S000009242_C000088802"
      decimals="4"
      id="f3f6ff09-6210-43ab-80fd-feffeef3e83b"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="CashManagementSharesMember_S000009242_C000088802"
      decimals="4"
      id="x_27d44d71-ec60-40ff-9ec0-0586e2f877f0"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="CashManagementSharesMember_S000009242"
      id="f72656a1-8ff4-42b0-8057-2ebed19119d1">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="CashManagementSharesMember_S000009242_C000088802"
      decimals="4"
      id="aec6e7df-8b85-4d40-909d-89164d851268"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="CashManagementSharesMember_S000009242_C000088802"
      decimals="4"
      id="aef40ed2-61d8-4982-b350-96df22b3293b"
      unitRef="pure">0.0030</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="CashManagementSharesMember_S000009242_C000088802"
      decimals="4"
      id="e7eace9c-e372-415a-b12c-9018a3ac9e23"
      unitRef="pure">0.0052</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="CashManagementSharesMember_S000009242_C000088802"
      decimals="4"
      id="x_2bbfd697-a278-4a96-ae38-1d019511194d"
      unitRef="pure">0.0050</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="CashManagementSharesMember_S000009242_C000088802"
      decimals="4"
      id="fddaa84b-0efc-4696-bd74-b1fb438de091"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="CashManagementSharesMember_S000009242_C000088802"
      decimals="4"
      id="b7282119-8ebc-4fb5-825d-e347b20ad525"
      unitRef="pure">0.0098</oef:ExpensesOverAssets>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="CashManagementSharesMember_S000009242"
      id="x_6499021d-96cf-4631-9d3e-bca57a24f562">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.&lt;/span&gt;</oef:ExpensesRestatedToReflectCurrent>
    <oef:ExpenseExampleHeading
      contextRef="CashManagementSharesMember_S000009242"
      id="x_862614c5-15f0-48e7-b877-0f3820d52598">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="CashManagementSharesMember_S000009242"
      id="c8e95aea-4ad1-4e7d-8b66-78e929d2b4e0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Cash Management Shares of the Fund for the time periods indicated and then redeem all of your Cash Management Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="CashManagementSharesMember_S000009242_C000088802"
      decimals="INF"
      id="x_03d78d2f-5555-4ffd-b35b-70dd193fe5d0"
      unitRef="USD">100</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="CashManagementSharesMember_S000009242_C000088802"
      decimals="INF"
      id="x_23d2fc4f-7d90-4de0-ad47-738fe4b2c775"
      unitRef="USD">312</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="CashManagementSharesMember_S000009242_C000088802"
      decimals="INF"
      id="x_165ad88a-a0ed-4a49-b7e8-198783762621"
      unitRef="USD">542</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="CashManagementSharesMember_S000009242_C000088802"
      decimals="INF"
      id="x_0da86fdf-ccdc-4981-9b5b-a4b19185c120"
      unitRef="USD">1201</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="CashManagementSharesMember_S000009242"
      id="x_0f3e50ac-d301-47b6-9730-76456bd4aca2">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="CashManagementSharesMember_S000009242"
      id="cf25b3cf-6318-4090-872a-be16f2c8e34e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in &#x201c;government securities,&#x201d; as such term is defined in or interpreted under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;), and repurchase agreements collateralized by such securities. &#x201c;Government securities&#x201d; generally are securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act. &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, U.S. Government Securities, and/or repurchase agreements that are collateralized fully by cash or U.S. Government Securities. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;&#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009242_RiskLoseMoneyMember"
      id="x_7b1589b1-9e6a-428b-b4b4-08a5672fc462">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009242_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="f51b857f-15ad-43c2-bb15-156ca2a81e82">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009242_RiskNotInsuredDepositoryInstitutionMember"
      id="x_286b9639-0df7-4882-857c-8ef396517b51">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009242_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_054a9087-d9a8-4344-869c-1e57db1a890a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009242_CreditDefaultRiskMember"
      id="x_5afbfc1c-79c6-4c32-8919-95dd3dac4842">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009242_InterestRateRiskMember"
      id="x_3d249406-3221-415b-aec5-4236a7953934">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009242_LargeShareholderTransactionsRiskMember"
      id="x_59127c52-41cf-4df6-af31-4376b6742e50">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009242_LiquidityRiskMember"
      id="x_1dc15970-00d2-48b8-8c03-7b2293fd2e26">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009242_MarketRiskMember"
      id="ce819c4c-30fb-409d-aa17-d02a1b752cfc">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009242_StableNAVRiskMember"
      id="ce2f40c4-6a93-478b-98ba-f0252b0732f0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000009242_USGovernmentSecuritiesRiskMember"
      id="x_80f6a1e9-c54c-49a3-b813-acf4d2b5bfe6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="CashManagementSharesMember_S000009242"
      id="e72eaff0-2a69-4ca0-8a74-62249cbef8b9">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="CashManagementSharesMember_S000009242"
      id="x_52b9b397-d4f6-4c2d-9c4a-8e9c6dc59382">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Cash Management Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Cash Management Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;fee waivers and/or expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="CashManagementSharesMember_S000009242"
      id="d9055448-88a9-41f2-b76d-942bc47457cc">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Cash Management Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Cash Management Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="CashManagementSharesMember_S000009242"
      id="x_18527ccc-09b8-49f9-a707-d3acd739b1f3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="CashManagementSharesMember_S000009242"
      id="x_9bae8d48-02fd-46b8-b7fa-6e9625869a9d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="CashManagementSharesMember_S000009242"
      id="x_9dc789c5-efbf-40ef-97e5-7f532421c4ef">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="CashManagementSharesMember_S000009242"
      id="df55b06a-999a-443b-b29b-c2979fc91375">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="CashManagementSharesMember_S000009242"
      id="c7355456-3d84-49be-8db9-8370dd7737b5">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.12%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;September 30, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="CashManagementSharesMember_S000009242_C000088802"
      id="x_0cced6ad-1657-41a3-a328-232f51c4f44c">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="CashManagementSharesMember_S000009242_C000088802"
      decimals="4"
      id="x_68a59fee-880b-47d2-85ee-ec6c07f3585a"
      unitRef="pure">0.0112</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="CashManagementSharesMember_S000009242_C000088802"
      id="dda6763b-a5b6-43d7-a8b8-f590a7ba06dc">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="CashManagementSharesMember_S000009242_C000088802"
      id="x_6e40c1a1-8bed-4c53-ad9c-ff702889cb1d">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="CashManagementSharesMember_S000009242_C000088802"
      decimals="4"
      id="x_71a500ab-5cdb-4e79-8419-ebb64e663a56"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="CashManagementSharesMember_S000009242_C000088802"
      id="x_2ac1e0e4-d1dc-4c72-8208-58c88c04e54d">2020-09-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="CashManagementSharesMember_S000009242"
      id="x_90c8d426-b267-4085-9abf-a5703f8a0154">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="CashManagementSharesMember_C000088802_01Jan2025_31Dec2025"
      decimals="4"
      id="x_65b12b58-8f68-47f8-8b93-e65cc5118ef0"
      unitRef="pure">0.0338</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="CashManagementSharesMember_C000088802_01Jan2021_31Dec2025"
      decimals="4"
      id="x_4edc7da3-1b83-43eb-a7c1-82868dff5b00"
      unitRef="pure">0.0258</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="CashManagementSharesMember_C000088802_01Jan2016_31Dec2025"
      decimals="4"
      id="x_22220c28-70e9-47ce-8191-112c971e4fcb"
      unitRef="pure">0.0153</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="CashManagementSharesMember_C000088802"
      id="a2a73b97-2b8d-4f24-be2d-cc1999f33481">2010-05-14</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="CashManagementSharesMember_S000051190"
      id="x_29ed9acb-fb92-4f91-8156-6304f11866a8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs Financial Square Federal Instruments Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="CashManagementSharesMember_S000051190"
      id="x_20a32d63-1c4e-429b-9f81-e0fe876ba39f">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="CashManagementSharesMember_S000051190"
      id="ecf7b02e-5082-417c-b8ab-aeb66c185b5f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs Financial Square Federal Instruments Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="CashManagementSharesMember_S000051190"
      id="b021a78c-2762-453d-babb-c8d2b9aa2754">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="CashManagementSharesMember_S000051190"
      id="c58aed7f-1a4e-49a9-a01d-3beeb028087e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="CashManagementSharesMember_S000051190"
      id="aefe3a8d-01b9-4065-b3e8-2d284820a247">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="CashManagementSharesMember_S000051190_C000161786"
      decimals="4"
      id="x_809c8ba0-567b-4834-beaa-359d076d26e0"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="CashManagementSharesMember_S000051190_C000161786"
      decimals="4"
      id="x_06135700-a113-4d50-86e2-8139a8f8d788"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="CashManagementSharesMember_S000051190_C000161786"
      decimals="4"
      id="x_17efbd6f-4f7c-4b7f-a496-e3bad5ca9373"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="CashManagementSharesMember_S000051190_C000161786"
      decimals="4"
      id="x_1c7b3ba5-0698-4421-afca-834b01de5153"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="CashManagementSharesMember_S000051190_C000161786"
      decimals="4"
      id="e851481d-ed2a-48be-87dd-3291a80a3219"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="CashManagementSharesMember_S000051190"
      id="x_9a22d23d-89be-482e-82fc-cb39475f9cc1">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="CashManagementSharesMember_S000051190_C000161786"
      decimals="4"
      id="f3145727-19b1-41e3-8081-d7a0535ee06e"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="CashManagementSharesMember_S000051190_C000161786"
      decimals="4"
      id="d7b9f07c-31df-4a5e-927f-1bc851f63f71"
      unitRef="pure">0.0030</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="CashManagementSharesMember_S000051190_C000161786"
      decimals="4"
      id="x_3b943351-e618-488a-ad4d-6231f5e02bc0"
      unitRef="pure">0.0052</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="CashManagementSharesMember_S000051190_C000161786"
      decimals="4"
      id="ff71f13a-f9b1-4dce-ac94-b7b75680c3e7"
      unitRef="pure">0.0050</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="CashManagementSharesMember_S000051190_C000161786"
      decimals="4"
      id="f435c543-e088-4b1a-8c12-869344a17e07"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="CashManagementSharesMember_S000051190_C000161786"
      decimals="4"
      id="c1aee8a7-9f58-40c2-b1a2-da22b4213a15"
      unitRef="pure">0.0100</oef:ExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="CashManagementSharesMember_S000051190"
      id="d2c9e533-8769-4a1a-be45-8d5eb5e8d7c2">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="CashManagementSharesMember_S000051190"
      id="ebb8ca1c-3353-4f70-9115-dd7e20c9d67d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Cash Management Shares of the Fund for the time periods indicated and then redeem all of your Cash Management Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="CashManagementSharesMember_S000051190_C000161786"
      decimals="INF"
      id="e516d0c2-59cc-482d-8319-3e003cdc3969"
      unitRef="USD">102</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="CashManagementSharesMember_S000051190_C000161786"
      decimals="INF"
      id="f311de54-b86b-4e07-9c7b-f92b576f8745"
      unitRef="USD">318</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="CashManagementSharesMember_S000051190_C000161786"
      decimals="INF"
      id="a90d2e5b-60c8-4256-9bd9-4e8e0188bdd5"
      unitRef="USD">552</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="CashManagementSharesMember_S000051190_C000161786"
      decimals="INF"
      id="c4c91874-d99b-4e7a-a9cf-a92f966782be"
      unitRef="USD">1225</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="CashManagementSharesMember_S000051190"
      id="x_25bd8281-dc99-44d2-b29b-b2be0d3eb288">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="CashManagementSharesMember_S000051190"
      id="x_01e8f91d-aa73-45a3-a7aa-b0c1d814a231">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in &#x201c;government securities,&#x201d; as such term is defined in or interpreted under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;), the interest from which is generally exempt from state income taxation. &#x201c;Government securities&#x201d; generally are securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act. &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash and U.S. Government Securities. Although &#x201c;government money market funds&#x201d; may also invest in repurchase agreements that are &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;collateralized fully by cash or U.S. Government Securities, the Fund may not invest in repurchase agreements. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000051190_RiskLoseMoneyMember"
      id="x_12ab56b3-1a9f-4fb0-9dde-38cc051dd668">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000051190_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_7ef4b0de-b0eb-43d1-b17d-0c3e54bc6e9f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000051190_RiskNotInsuredDepositoryInstitutionMember"
      id="bbd19608-92b4-4652-815b-60a9a864ab82">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000051190_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="b387533e-c8a3-4226-abc6-cff9fe4645dd">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000051190_CreditDefaultRiskMember"
      id="befa8ecf-f2d9-4ed6-87de-869aedf7d787">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000051190_InterestRateRiskMember"
      id="d143c480-fe98-47af-9c0e-735efa167343">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000051190_LargeShareholderTransactionsRiskMember"
      id="x_8599c280-3cd5-4023-aa1e-f5244ce8d983">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000051190_LiquidityRiskMember"
      id="x_6ab75859-6285-49a5-85ac-0ddbd74075e6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000051190_MarketRiskMember"
      id="d02379ab-9e2c-4bcb-a6f6-875017a2a11b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000051190_StableNAVRiskMember"
      id="x_036c73cb-e4d0-4347-9170-60e36d0e29f8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000051190_USGovernmentSecuritiesRiskMember"
      id="aa72d571-5c62-4d0d-b006-ebebd6b2be5a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="CashManagementSharesMember_S000051190"
      id="x_662e9645-da49-400d-9ff7-a2e9db556290">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="CashManagementSharesMember_S000051190"
      id="x_907c920f-ac6c-4273-b945-3dcead77bde9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Cash Management Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Cash Management Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;fee waivers and/or expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="CashManagementSharesMember_S000051190"
      id="x_0ef138dc-861b-472d-a530-7aefd5a59cbd">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Cash Management Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Cash Management Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="CashManagementSharesMember_S000051190"
      id="e80bf1cb-844c-4688-bcf3-4f791f12b959">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="CashManagementSharesMember_S000051190"
      id="x_71313ae8-ae75-4aae-825e-b8a71d7a2edb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="CashManagementSharesMember_S000051190"
      id="df4dc712-8449-4701-af1f-ad46febbaac2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="CashManagementSharesMember_S000051190"
      id="x_3893cb78-aac2-498a-baf5-c4ddda408091">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="CashManagementSharesMember_S000051190"
      id="x_7455bfdd-673e-4357-a9be-a4332467bff8">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.12%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2022&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="CashManagementSharesMember_S000051190_C000161786"
      id="x_80eb5636-e14e-403b-af35-ae4c75f69187">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="CashManagementSharesMember_S000051190_C000161786"
      decimals="4"
      id="x_6fdb7d8c-9059-43f9-b8b4-0e0558ea6667"
      unitRef="pure">0.0112</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="CashManagementSharesMember_S000051190_C000161786"
      id="x_8adf51ff-9b48-48b3-9076-46a9c3858baa">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="CashManagementSharesMember_S000051190_C000161786"
      id="x_3a1dfb6c-ed6a-404f-b9d9-83fc9b846d4b">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="CashManagementSharesMember_S000051190_C000161786"
      decimals="4"
      id="d7a882d5-fcf0-4145-9df3-eedaa5fd7b7a"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="CashManagementSharesMember_S000051190_C000161786"
      id="x_4e99c86a-3d1e-45b7-9ac5-6d45e13a82d2">2022-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="CashManagementSharesMember_S000051190"
      id="b41437c4-9d48-4c98-ae4e-5f40d6c0f6c9">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="CashManagementSharesMember_C000161786_01Jan2025_31Dec2025"
      decimals="4"
      id="cf8a8971-1c6b-46f2-a1d8-eba17408d236"
      unitRef="pure">0.0333</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="CashManagementSharesMember_C000161786_01Jan2021_31Dec2025"
      decimals="4"
      id="x_60aa389c-d12e-4ec7-8696-89c3b6854d5a"
      unitRef="pure">0.0254</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="CashManagementSharesMember_C000161786_01Jan2016_31Dec2025"
      decimals="4"
      id="e064314a-6bbf-4aac-a39a-b9b4b079f8ca"
      unitRef="pure">0.0150</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="CashManagementSharesMember_C000161786"
      id="cb7c367a-3656-4ab3-8fac-543e591f6b79">2015-10-30</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="CashManagementSharesMember_S000051191"
      id="x_9db46c57-cb00-41b8-9b07-9a6a2e3b5cc7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Investor&#160;Money Market Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="CashManagementSharesMember_S000051191"
      id="x_927f8da7-753c-4a9d-8893-eb236ef0798c">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="CashManagementSharesMember_S000051191"
      id="x_4b574838-fbb4-4e2b-8ff0-1f124bff6a4d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Investor&#160;Money Market Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="CashManagementSharesMember_S000051191"
      id="x_1e9f2ab5-615f-4912-84d7-8af475edd6c7">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="CashManagementSharesMember_S000051191"
      id="d00474c8-7f61-40ce-b11d-5b21f6002be4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="CashManagementSharesMember_S000051191"
      id="x_07543888-48c6-45b3-b9f4-2dcd2c29facf">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="CashManagementSharesMember_S000051191_C000172501"
      decimals="4"
      id="e9e40311-ee9e-4726-8154-cd71ace43335"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="CashManagementSharesMember_S000051191_C000172501"
      decimals="4"
      id="x_6a5809b4-6198-41cb-8560-db01cc91e46a"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="CashManagementSharesMember_S000051191_C000172501"
      decimals="4"
      id="f0c37d7f-95af-474a-8836-3d3750d7b58b"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="CashManagementSharesMember_S000051191_C000172501"
      decimals="4"
      id="x_83b94982-dc61-4b68-a914-42e137718597"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="CashManagementSharesMember_S000051191_C000172501"
      decimals="4"
      id="f2734359-a9b6-4c40-b95b-e44f125d0963"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="CashManagementSharesMember_S000051191"
      id="b6517da0-02d3-4481-af44-6dac20b8928b">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="CashManagementSharesMember_S000051191_C000172501"
      decimals="4"
      id="de797026-1c2f-4645-8214-f24f30e84a67"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="CashManagementSharesMember_S000051191_C000172501"
      decimals="4"
      id="x_453530eb-2c86-4b87-96bf-4f92892845ad"
      unitRef="pure">0.0030</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="CashManagementSharesMember_S000051191_C000172501"
      decimals="4"
      id="x_2907b71d-1ad7-42e8-a8b7-82285f3898a5"
      unitRef="pure">0.0053</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="CashManagementSharesMember_S000051191_C000172501"
      decimals="4"
      id="x_5103de4b-9b51-4fb1-b8bf-1ad40e189ec8"
      unitRef="pure">0.0050</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="CashManagementSharesMember_S000051191_C000172501"
      decimals="4"
      id="dc711dae-a759-488b-9c18-239c17fd0063"
      unitRef="pure">0.0003</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="CashManagementSharesMember_S000051191_C000172501"
      decimals="4"
      id="cfd05a5a-ed2b-44b9-8f53-de408246c789"
      unitRef="pure">0.0099</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="CashManagementSharesMember_S000051191_C000172501"
      decimals="4"
      id="f0f8d73f-34ee-4830-83d4-8806a3882daa"
      unitRef="pure">-0.0001</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="CashManagementSharesMember_S000051191_C000172501"
      decimals="4"
      id="x_62dbfd2f-79d6-42d4-9474-2948ab057493"
      unitRef="pure">0.0098</oef:NetExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="CashManagementSharesMember_S000051191"
      id="d0c6eaf0-8ca8-4b99-afc2-afe9e3c03e6e">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;March 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="CashManagementSharesMember_S000051191"
      id="x_201c45a6-2788-4fdc-83a5-709caa0e1426">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="CashManagementSharesMember_S000051191"
      id="b0b19a62-4a33-485f-afd8-c4e44fc53de6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Cash Management Shares of the Fund for the time periods indicated and then redeem all of your Cash Management Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="CashManagementSharesMember_S000051191_C000172501"
      decimals="INF"
      id="x_1c4d6449-465c-44a1-9176-8903f51e98af"
      unitRef="USD">100</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="CashManagementSharesMember_S000051191_C000172501"
      decimals="INF"
      id="ff20af31-da60-48d3-b4fc-9818477a67e2"
      unitRef="USD">314</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="CashManagementSharesMember_S000051191_C000172501"
      decimals="INF"
      id="ff0d8900-1389-4864-957a-ad1cdc7aab87"
      unitRef="USD">546</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="CashManagementSharesMember_S000051191_C000172501"
      decimals="INF"
      id="b1c69f3b-79cb-43c9-90ac-b859a0668402"
      unitRef="USD">1212</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="CashManagementSharesMember_S000051191"
      id="x_1552bece-e2e5-40c0-a5ac-a8a09120fb03">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="CashManagementSharesMember_S000051191"
      id="ff7a2bcc-5c53-4af0-8f28-54f4fd8ccbd1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing in securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;), obligations of banks (which may exceed 25% of its total assets), commercial paper and other short-term obligations of U.S. companies, states, municipalities and other entities, and repurchase agreements. The Fund may also invest in U.S. dollar-denominated obligations of foreign banks, foreign companies and foreign governments. The Fund may not invest more than 25% of its total assets in the securities of any one foreign government. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;retail money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (the &#x201c;Investment Company Act&#x201d;). &#x201c;Retail money market funds&#x201d; are money market funds that have policies and procedures reasonably designed to limit all beneficial owners of the fund to natural persons. As a &#x201c;retail money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity, diversification and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000051191_RiskLoseMoneyMember"
      id="x_2f0a3841-00ed-4159-a762-a23639dfc2cf">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000051191_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_9363306e-b478-4ec7-b101-95af303b1c0a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000051191_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember"
      id="x_79b7efb6-7fd8-47d0-b26b-d9930742581b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund may impose a fee upon the sale of your shares or may temporarily suspend your ability to sell shares if the Fund&#x2019;s liquidity falls below required minimums because of market conditions or other factors.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000051191_RiskNotInsuredDepositoryInstitutionMember"
      id="x_97984bef-2a72-41a2-bbec-cfbb2e880981">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;An investment in the Fund is not a bank account or a deposit of a bank and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000051191_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="f4f368fa-2f93-43a6-b610-f4d9013f2e22">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000051191_BankingIndustryRiskMember"
      id="x_0424a14e-cf33-4e79-a8c1-579221ffffd8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Banking Industry Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An adverse development in the banking industry (domestic or foreign) may affect the value of the Fund&#x2019;s investments more than if the Fund were not invested to such a degree in the banking industry. Banks may be particularly susceptible to certain economic factors such as interest rate changes, adverse developments in the real estate market, fiscal, regulatory and monetary policy and general economic cycles.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000051191_CreditDefaultRiskMember"
      id="x_01683a6e-bfad-405f-945e-004be7b85a7f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000051191_ForeignRiskMember"
      id="fe4fddfe-970e-4a70-b455-b7095fd41a82">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Foreign Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Foreign securities may be subject to risk of loss because of more or less foreign government regulation; less public information; less stringent investor protections; less stringent accounting, corporate governance, financial reporting and disclosure standards; and less economic, political and social stability in the countries in which the Fund invests. The imposition of sanctions, confiscations, trade restrictions (including tariffs) and other government restrictions by the United States and other governments, or from problems in share registration, settlement or custody, may also result in losses. In addition, the Fund will be subject to the risk that an issuer of foreign sovereign debt or the government authorities that control the repayment of the debt may be unable or unwilling to repay the principal or interest when due.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000051191_InterestRateRiskMember"
      id="x_9563724b-fe14-42aa-9275-21960c3644c2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000051191_LargeShareholderTransactionsRiskMember"
      id="ce44e3be-7186-4247-99ad-c6e12da6e357">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders&#160;(including financial intermediaries who may make investment decisions on behalf of underlying clients) purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000051191_LiquidityRiskMember"
      id="e80693cf-5b46-4ccd-9c1b-53347b3cc62d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000051191_MarketRiskMember"
      id="x_29d56e3d-c49f-45b8-a5f5-743c6034d9b8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of &#160;individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000051191_MunicipalSecuritiesRiskMember"
      id="e0ab3921-7c56-4e7d-9075-1f0530b69862">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Municipal Securities Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Municipal securities are subject to credit/default risk, interest rate risk and certain additional risks. The Fund may be more sensitive to adverse economic, business&#160;or political developments if it invests a substantial portion of its assets in the debt securities of similar projects (such as those relating to education, health care, housing, transportation, and utilities), industrial development bonds, or in particular types of municipal securities (such as general obligation bonds, private activity bonds and moral obligation bonds). The Fund may also invest in municipal securities indirectly (including by investing in tender option bonds). While interest earned on municipal securities is generally not subject to federal tax, any interest earned on taxable municipal securities is fully taxable at the federal level and may be subject to tax at the state level.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000051191_StableNAVRiskMember"
      id="ac193d43-ddf5-4b59-80f2-bf380ca0f1d5">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="CashManagementSharesMember_S000051191_USGovernmentSecuritiesRiskMember"
      id="x_41d829c7-2929-4891-9c03-f0f331cefa18">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="CashManagementSharesMember_S000051191"
      id="adff5a6e-e7e9-4fd8-8931-4fd4923015e3">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="CashManagementSharesMember_S000051191"
      id="x_2cf09315-6f31-4fd7-adb0-7df36b43c8ac">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Cash Management Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Cash Management Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;fee waivers and/or expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;. &lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="CashManagementSharesMember_S000051191"
      id="b1b15512-a6aa-4f8d-ba45-a79673607931">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Cash Management Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Cash Management Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="CashManagementSharesMember_S000051191"
      id="x_1af5d79a-8d1e-4710-89b0-6776628a8589">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="CashManagementSharesMember_S000051191"
      id="a1b773d1-da7e-437e-b439-1a08fba21448">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="CashManagementSharesMember_S000051191"
      id="x_781917f9-d405-49c3-96b9-a07c6a725297">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="CashManagementSharesMember_S000051191"
      id="x_9c047df5-7b49-4944-a2d2-4a0879134287">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:113pt;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="CashManagementSharesMember_S000051191"
      id="b48a9266-1533-4394-a3eb-abb8d359d1c7">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.16%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2022&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="CashManagementSharesMember_S000051191_C000172501"
      id="f7dc3823-b17f-4c1f-b52b-c85e99a2fd32">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="CashManagementSharesMember_S000051191_C000172501"
      decimals="4"
      id="fd5f387e-a861-4415-bfb9-cfce9a9912ac"
      unitRef="pure">0.0116</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="CashManagementSharesMember_S000051191_C000172501"
      id="e3402314-1938-4d01-ac8e-409bd7e84813">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="CashManagementSharesMember_S000051191_C000172501"
      id="x_0a6bf1e9-42ab-40a6-b077-ba5232a16976">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="CashManagementSharesMember_S000051191_C000172501"
      decimals="4"
      id="x_814f29f1-208e-4b3a-abfa-f2573fbea259"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="CashManagementSharesMember_S000051191_C000172501"
      id="x_5862cd39-0776-410b-8505-57e4a239e009">2022-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="CashManagementSharesMember_S000051191"
      id="cef93cef-9344-4c32-913d-b91f8a90dfbf">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="CashManagementSharesMember_C000172501_01Jan2025_31Dec2025"
      decimals="4"
      id="f595a204-fb7b-4e27-8896-93142cad6e43"
      unitRef="pure">0.0348</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="CashManagementSharesMember_C000172501_01Jan2021_31Dec2025"
      decimals="4"
      id="x_9b661f12-5595-4b42-bb75-824e3708b34a"
      unitRef="pure">0.0266</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="CashManagementSharesMember_C000172501_31May2016_31Dec2025"
      decimals="4"
      id="x_75af7d4e-1c81-46b1-8dc2-1579562b5364"
      unitRef="pure">0.0171</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="CashManagementSharesMember_C000172501"
      id="c73acd25-c4ef-4b5e-8020-195a4546135f">2016-05-31</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="PremierSharesMember_S000009260"
      id="x_1bbd69ae-a310-4e82-8e45-c4727888743f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Treasury Obligations Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="PremierSharesMember_S000009260"
      id="cdf4137f-6fa2-4ab5-9067-efa67c7b88df">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="PremierSharesMember_S000009260"
      id="ef8a9f1f-e621-41aa-8474-88c1ba805f69">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Treasury Obligations Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="PremierSharesMember_S000009260"
      id="acc683de-d12d-481e-99f6-8af2063891f3">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="PremierSharesMember_S000009260"
      id="x_751ae34c-fc87-4e9b-a31e-7329844446fc">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="PremierSharesMember_S000009260"
      id="x_52e4d558-9a15-46e7-89b0-73e8716b5ba6">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="PremierSharesMember_S000009260_C000088819"
      decimals="4"
      id="x_58bd301f-074e-40f0-99f3-ff1f8f7e6269"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="PremierSharesMember_S000009260_C000088819"
      decimals="4"
      id="x_25df682a-e6e3-46d5-9adb-3b46ad110485"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="PremierSharesMember_S000009260_C000088819"
      decimals="4"
      id="x_3a2677a8-1ad3-4db6-a530-79beb1ff864b"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="PremierSharesMember_S000009260_C000088819"
      decimals="4"
      id="x_73f3777d-2652-4697-a7ff-41817ecb2277"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="PremierSharesMember_S000009260_C000088819"
      decimals="4"
      id="a82c4598-0137-4cf6-ab75-b80145fd96ee"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="PremierSharesMember_S000009260"
      id="b40605e9-3f46-4536-89ad-2cd770001db2">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="PremierSharesMember_S000009260_C000088819"
      decimals="4"
      id="x_5ab51639-cf0c-41e1-ab65-5dc100659b5a"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="PremierSharesMember_S000009260_C000088819"
      decimals="4"
      id="cb791502-5e65-45da-be6f-5b8451551f96"
      unitRef="pure">0.0037</oef:OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="PremierSharesMember_S000009260_C000088819"
      decimals="4"
      id="c920590c-934e-472b-991b-91311dbd8e61"
      unitRef="pure">0.0010</oef:Component1OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="PremierSharesMember_S000009260_C000088819"
      decimals="4"
      id="fcaf6332-075d-4a78-b86f-5d97c24ff44b"
      unitRef="pure">0.0025</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="PremierSharesMember_S000009260_C000088819"
      decimals="4"
      id="x_75cff9b6-33ee-43aa-b79c-3c26fc7a2016"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="PremierSharesMember_S000009260_C000088819"
      decimals="4"
      id="x_4c25d1d6-2dcb-4f78-a351-80700ebfcc43"
      unitRef="pure">0.0055</oef:ExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="PremierSharesMember_S000009260"
      id="x_0d4b6ccd-f412-45fa-9243-688aada92193">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="PremierSharesMember_S000009260"
      id="ead4cd85-fe00-45b9-b3a7-0a4834ef4454">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Premier Shares of the Fund for the time periods indicated and then redeem all of your Premier Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="PremierSharesMember_S000009260_C000088819"
      decimals="INF"
      id="d4249483-19d2-4e34-a45f-6a14ac883c4f"
      unitRef="USD">56</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="PremierSharesMember_S000009260_C000088819"
      decimals="INF"
      id="x_0fd101dc-7ed2-4426-8298-5fe96b2b83f3"
      unitRef="USD">176</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="PremierSharesMember_S000009260_C000088819"
      decimals="INF"
      id="x_2947b49f-3ee0-4eb0-ad9d-e135d9b2ca8a"
      unitRef="USD">307</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="PremierSharesMember_S000009260_C000088819"
      decimals="INF"
      id="d10a39bb-a7a3-4fc0-91da-71a636df82ed"
      unitRef="USD">689</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="PremierSharesMember_S000009260"
      id="a8425bfc-7da1-4230-a2f1-9f469d047bd5">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="PremierSharesMember_S000009260"
      id="x_1d922e92-cf68-47a8-b6f2-d3e10f55fa67">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in U.S. Treasury Obligations, which include securities issued or guaranteed&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;by the U.S. Treasury where the payment of principal and interest is backed by the full faith and credit of the U.S. government (&#x201c;U.S. Treasury Obligations&#x201d;), and repurchase agreements collateralized by U.S. Treasury Obligations. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;). &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;), and/or repurchase agreements that are collateralized fully by &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;cash or U.S. Government Securities. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009260_RiskLoseMoneyMember"
      id="e13ccbb4-a9a9-4898-a1fc-5d03cae1b9fa">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009260_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_770d9ee5-855f-46ce-be87-6c5e71f2bdad">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009260_RiskNotInsuredDepositoryInstitutionMember"
      id="f1759c2d-702c-40bb-a39c-e3dcd028cf4d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009260_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_63b95404-e8e6-4d6f-a3e9-ddbf034e26b2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009260_CreditDefaultRiskMember"
      id="e9bae6e6-68d1-4371-a82c-e903b6b3704c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009260_InterestRateRiskMember"
      id="x_81cccccd-b852-49d0-be9f-1ce99249f89f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009260_LargeShareholderTransactionsRiskMember"
      id="x_18e5dd82-eb09-428c-85ed-dcc251aaa09f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009260_LiquidityRiskMember"
      id="x_94cdd2e9-f653-485b-9078-d76b6ac63bad">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009260_MarketRiskMember"
      id="x_04281e49-c94c-4803-ac5a-e040f8a32265">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009260_StableNAVRiskMember"
      id="f93242dc-829f-496c-9278-7730cff0f2b4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="PremierSharesMember_S000009260"
      id="e424a959-c07a-49d4-88cb-5d52d4a1efea">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="PremierSharesMember_S000009260"
      id="dbc53e8c-16d2-4b66-aee8-8de2848fab7b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Premier Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Premier Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="PremierSharesMember_S000009260"
      id="cbea3a44-eef6-4b29-adc9-b1cd678b15f7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Premier Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Premier Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="PremierSharesMember_S000009260"
      id="b32e8111-24f7-4510-830f-8038e4ed0178">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="PremierSharesMember_S000009260"
      id="x_08af1500-1b08-43e6-bc07-fb25da3833d7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="PremierSharesMember_S000009260"
      id="x_43953898-978e-4ba9-9a22-c2892bc40e50">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="PremierSharesMember_S000009260"
      id="x_503915e3-b675-48f0-ba3b-f050eef8d7b7">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="PremierSharesMember_S000009260"
      id="f98c401c-27a5-4cef-939c-e8dd826cfd5b">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.24%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2022&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="PremierSharesMember_S000009260_C000088819"
      id="x_7b017627-e51c-4a6f-881a-760666e0a394">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="PremierSharesMember_S000009260_C000088819"
      decimals="4"
      id="x_21bc3ecc-6e01-4b81-bcfc-6892e4617779"
      unitRef="pure">0.0124</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="PremierSharesMember_S000009260_C000088819"
      id="b5c7f6be-b17d-4534-a3b5-efd7303c7157">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="PremierSharesMember_S000009260_C000088819"
      id="x_4b57775a-e03c-4939-8343-c7aae4f87ece">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="PremierSharesMember_S000009260_C000088819"
      decimals="4"
      id="ce7e9304-676c-48b1-8401-0ab5dba1b87b"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="PremierSharesMember_S000009260_C000088819"
      id="x_625ce519-fcea-4b58-b8d1-4352849646bc">2022-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="PremierSharesMember_S000009260"
      id="x_7322fe3e-0fde-4101-9aff-fd2afe3ca819">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="PremierSharesMember_C000088819_01Jan2025_31Dec2025"
      decimals="4"
      id="c1ca0bf5-6b3e-4012-846c-34f41cdc3fdd"
      unitRef="pure">0.0381</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="PremierSharesMember_C000088819_01Jan2021_31Dec2025"
      decimals="4"
      id="e4640c2a-f01b-43bd-b1aa-c15c483c44dd"
      unitRef="pure">0.0289</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="PremierSharesMember_C000088819_01Jan2016_31Dec2025"
      decimals="4"
      id="x_2f4f2eb8-553d-44ff-b68e-2922ea3e10c9"
      unitRef="pure">0.0181</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="PremierSharesMember_C000088819"
      id="d3658482-5539-4b54-8f00-e90249c9d700">2010-05-14</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="PremierSharesMember_S000009261"
      id="x_67a4fca1-2783-4b44-9e32-99c8fbca636a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square&#160;Treasury Instruments Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="PremierSharesMember_S000009261"
      id="x_6708ed05-328a-4ba3-a260-479cb9601ebb">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="PremierSharesMember_S000009261"
      id="d23bbbb0-bde6-4ebb-8140-47bb48f75b01">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square&#160;Treasury Instruments Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="PremierSharesMember_S000009261"
      id="ee2e0997-f027-4adb-abb5-7c4eeca95acc">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="PremierSharesMember_S000009261"
      id="x_0d6b9b2c-b7bd-469e-b74e-fe56119d3f19">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="PremierSharesMember_S000009261"
      id="x_75548cfb-6064-45ff-a536-272753e70e87">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="PremierSharesMember_S000009261_C000088823"
      decimals="4"
      id="x_362122ee-e12b-42c0-8d8e-02d47fe37b4a"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="PremierSharesMember_S000009261_C000088823"
      decimals="4"
      id="e7932f64-1efe-4d98-83d2-396b08374174"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="PremierSharesMember_S000009261_C000088823"
      decimals="4"
      id="x_41175f51-f8ea-4d11-b934-08bda1320f4c"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="PremierSharesMember_S000009261_C000088823"
      decimals="4"
      id="x_4cd1d035-da34-4bd6-91b3-5f999a89d67f"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="PremierSharesMember_S000009261_C000088823"
      decimals="4"
      id="x_5096226f-ffe2-4e55-b109-2bedc650f183"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="PremierSharesMember_S000009261"
      id="ef7f37cd-d83c-4689-8c34-84f115fcffc5">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="PremierSharesMember_S000009261_C000088823"
      decimals="4"
      id="b4acf7e3-e943-4456-a92b-015cdcbb3c24"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="PremierSharesMember_S000009261_C000088823"
      decimals="4"
      id="d3888c53-b096-4643-a5b9-ed6c987b59d5"
      unitRef="pure">0.0037</oef:OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="PremierSharesMember_S000009261_C000088823"
      decimals="4"
      id="d54bfff1-cb84-49f3-95ad-6c2fb4cdc7c2"
      unitRef="pure">0.0010</oef:Component1OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="PremierSharesMember_S000009261_C000088823"
      decimals="4"
      id="x_438f78ed-4976-45af-92b7-588b95e5fc44"
      unitRef="pure">0.0025</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="PremierSharesMember_S000009261_C000088823"
      decimals="4"
      id="x_5f67b3d6-d917-4367-80b8-745a02660ff6"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="PremierSharesMember_S000009261_C000088823"
      decimals="4"
      id="x_5ee4a0cb-f060-4532-9ca0-aa33a24d3ead"
      unitRef="pure">0.0055</oef:ExpensesOverAssets>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="PremierSharesMember_S000009261"
      id="ce2497b3-3e2a-4e80-907f-a3b559085164">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.&lt;/span&gt;</oef:ExpensesRestatedToReflectCurrent>
    <oef:ExpenseExampleHeading
      contextRef="PremierSharesMember_S000009261"
      id="e0f8b332-9e74-4228-85e9-f5dcc73630b4">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="PremierSharesMember_S000009261"
      id="f41fcc0b-d2b3-4a96-a69c-9937aca8815b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Premier Shares of the Fund for the time periods indicated and then redeem all of your Premier Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="PremierSharesMember_S000009261_C000088823"
      decimals="INF"
      id="c30dd856-7f07-4b80-b07e-9dd7d3815471"
      unitRef="USD">56</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="PremierSharesMember_S000009261_C000088823"
      decimals="INF"
      id="x_2b6a31fe-5914-456a-9335-b5802160be0d"
      unitRef="USD">176</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="PremierSharesMember_S000009261_C000088823"
      decimals="INF"
      id="x_96023fab-ba88-4a01-98e9-ee3e98ec1a2a"
      unitRef="USD">307</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="PremierSharesMember_S000009261_C000088823"
      decimals="INF"
      id="x_2dc25e8a-e5b7-433a-a9c3-58e9090d33de"
      unitRef="USD">689</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="PremierSharesMember_S000009261"
      id="b3b0a104-2100-477a-bb84-c708e95a36e0">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="PremierSharesMember_S000009261"
      id="x_58ca5ba5-0127-4b8a-b9ee-f12dfe532413">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in U.S. Treasury Obligations, which include securities issued or guaranteed by the U.S. Treasury where the payment of principal and interest is backed by the full faith and credit of the U.S. government (&#x201c;U.S. Treasury Obligations&#x201d;), the interest from which is generally exempt from state income taxation. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;). &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash and securities issued or guaranteed by the United States or certain U.S. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). Although &#x201c;government money market funds&#x201d; may also invest in repurchase agreements that are collateralized fully by cash or U.S. Government Securities, the Fund may not invest in repurchase agreements. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009261_RiskLoseMoneyMember"
      id="d966bb61-a3c0-4f56-b373-ecbe4b31354f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009261_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_4ec2655a-d68a-45f4-be40-9869e389f643">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009261_RiskNotInsuredDepositoryInstitutionMember"
      id="x_2f0c67ed-43be-419e-833c-231740b8b4da">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009261_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="e2eaf413-333f-442b-8efd-e12b36ceca2d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009261_CreditDefaultRiskMember"
      id="x_5c7edc6b-6a83-42fe-ba1d-d229abcb204b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009261_InterestRateRiskMember"
      id="f848fefa-1fd9-4077-8765-06d87dc28059">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009261_LargeShareholderTransactionsRiskMember"
      id="cad68965-1935-44ea-8423-c4abf2b5108b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009261_LiquidityRiskMember"
      id="x_0f4aa828-097b-4028-86d7-52fc1bd1cfd4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009261_MarketRiskMember"
      id="x_2d55da44-2e08-456a-b7ca-b193b097706b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009261_StableNAVRiskMember"
      id="x_7120bf0c-4b68-441c-9fbc-d1b38bb685fa">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="PremierSharesMember_S000009261"
      id="dae5b529-4333-4d12-81f6-1c7d91003f84">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="PremierSharesMember_S000009261"
      id="c5cdea41-d4df-44cb-9b0b-c0afa291d50a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Premier Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Premier Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="PremierSharesMember_S000009261"
      id="a91c522e-1d8d-4c78-b719-470ea19a938a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Premier Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Premier Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="PremierSharesMember_S000009261"
      id="x_14125e0f-770e-45da-91aa-2a533007ad65">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="PremierSharesMember_S000009261"
      id="x_54679e51-f7f7-454f-abfe-ff903fb9e129">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="PremierSharesMember_S000009261"
      id="x_505550df-c4e6-4b70-9475-d378e663cbe3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="PremierSharesMember_S000009261"
      id="bf996f7c-6e78-4c97-8a4a-b5ec2e234b6a">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="PremierSharesMember_S000009261"
      id="ffa6043a-d9ac-4907-9969-9838300a64a0">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.24%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;September 30, 2016&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="PremierSharesMember_S000009261_C000088823"
      id="x_274eb57a-97ff-474b-96a2-8669f83b4d71">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="PremierSharesMember_S000009261_C000088823"
      decimals="4"
      id="x_457ec4e6-c4cf-4f80-addb-cd2146f5a522"
      unitRef="pure">0.0124</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="PremierSharesMember_S000009261_C000088823"
      id="x_875e9fe2-3e00-4add-a9dc-923d08623c44">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="PremierSharesMember_S000009261_C000088823"
      id="x_9ec3ff4e-dbe3-4fdc-b306-76c7f982c47c">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="PremierSharesMember_S000009261_C000088823"
      decimals="4"
      id="e4943679-ee30-46a1-ba79-c391b3d12775"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="PremierSharesMember_S000009261_C000088823"
      id="x_93657bdc-9b98-4337-a32f-9e4f3768d210">2016-09-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="PremierSharesMember_S000009261"
      id="x_8c8ef1ab-11c1-4980-aa42-b41362cbc1bb">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="PremierSharesMember_C000088823_01Jan2025_31Dec2025"
      decimals="4"
      id="x_8a78ac06-c470-455f-adac-17993db1c8c4"
      unitRef="pure">0.0378</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="PremierSharesMember_C000088823_01Jan2021_31Dec2025"
      decimals="4"
      id="b4dbeebf-bd76-455e-b3f1-072ac3408694"
      unitRef="pure">0.0285</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="PremierSharesMember_C000088823_01Jan2016_31Dec2025"
      decimals="4"
      id="x_5be0dca8-791f-4920-802a-2a5a166fd5d8"
      unitRef="pure">0.0178</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="PremierSharesMember_C000088823"
      id="x_39b10489-5a0c-4f78-834f-679dc10afac9">2010-05-14</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="PremierSharesMember_S000009243"
      id="ee9f2919-9e09-400f-8e9b-faaf5cbedd66">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Treasury Solutions Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="PremierSharesMember_S000009243"
      id="x_8016e9d6-9782-452f-9df6-0054413abcf2">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="PremierSharesMember_S000009243"
      id="x_5212aa50-cae9-43e1-a7ea-207ef6e1c37a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Treasury Solutions Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="PremierSharesMember_S000009243"
      id="a2b5372a-3b91-4da7-b688-cf8dfd8db7a4">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="PremierSharesMember_S000009243"
      id="x_738d0276-6b1b-4fa5-a96a-a29a8e904a37">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="PremierSharesMember_S000009243"
      id="x_75e68cc5-aee7-4134-b195-5e44cb550768">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="PremierSharesMember_S000009243_C000088806"
      decimals="4"
      id="d4aeb880-202a-42c6-8cbd-dfbb3aad533f"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="PremierSharesMember_S000009243_C000088806"
      decimals="4"
      id="d33d748f-4938-4440-ba4c-5fc64967113e"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="PremierSharesMember_S000009243_C000088806"
      decimals="4"
      id="dce4ece6-ab42-497b-9c3f-65600a44cc31"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="PremierSharesMember_S000009243_C000088806"
      decimals="4"
      id="x_07226c4a-ca5f-4c7d-a30e-a434c179000b"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="PremierSharesMember_S000009243_C000088806"
      decimals="4"
      id="da92ff28-411b-4278-8e31-6d869c6c5fde"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="PremierSharesMember_S000009243"
      id="abfc0ecb-e2e9-4a9f-ab03-d4d65372e0de">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="PremierSharesMember_S000009243_C000088806"
      decimals="4"
      id="x_4d5ff384-b0e0-4aed-9b7b-342a0fc93cfa"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="PremierSharesMember_S000009243_C000088806"
      decimals="4"
      id="x_417e0f5d-bc71-415e-809d-b862fcc4d6d7"
      unitRef="pure">0.0037</oef:OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="PremierSharesMember_S000009243_C000088806"
      decimals="4"
      id="x_96e529c6-b402-4345-8770-07b73a088a70"
      unitRef="pure">0.0010</oef:Component1OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="PremierSharesMember_S000009243_C000088806"
      decimals="4"
      id="e441ae1a-e917-4a78-b198-ccdaddbc6d08"
      unitRef="pure">0.0025</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="PremierSharesMember_S000009243_C000088806"
      decimals="4"
      id="x_1012aa28-cccb-43d7-ae92-7dfe0c687200"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="PremierSharesMember_S000009243_C000088806"
      decimals="4"
      id="c95cc35e-ece0-4c07-b435-842d1a5b4acb"
      unitRef="pure">0.0055</oef:ExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="PremierSharesMember_S000009243"
      id="x_0076681a-1d47-41d7-8e79-a679bceca4ac">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="PremierSharesMember_S000009243"
      id="b5978f95-63d3-4362-a3c4-283e00e6921a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Premier Shares of the Fund for the time periods indicated and then redeem all of your Premier Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="PremierSharesMember_S000009243_C000088806"
      decimals="INF"
      id="ee9ad210-8a90-4759-8e79-108d27a21c30"
      unitRef="USD">56</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="PremierSharesMember_S000009243_C000088806"
      decimals="INF"
      id="x_787f7c41-66aa-4837-aa70-ec5c81bbd117"
      unitRef="USD">176</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="PremierSharesMember_S000009243_C000088806"
      decimals="INF"
      id="x_5eb1c365-1c6e-46b9-8e31-818e215df5be"
      unitRef="USD">307</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="PremierSharesMember_S000009243_C000088806"
      decimals="INF"
      id="x_5a0c85de-a1d8-4630-8407-fcea49d000a3"
      unitRef="USD">689</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="PremierSharesMember_S000009243"
      id="f94e52e6-4910-40ed-a47a-3e24e61148bb">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="PremierSharesMember_S000009243"
      id="b756d790-dc23-479f-802d-30d0eb015b2d">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in U.S. Treasury Obligations, which include securities issued or guaranteed&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;by the U.S. Treasury where the payment of principal and interest is backed by the full faith and credit of the U.S. government (&#x201c;U.S. Treasury Obligations&#x201d;), and repurchase agreements with the Federal Reserve Bank of New York collateralized by U.S. Treasury Obligations. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;). &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;), and/or repurchase agreements that are collateralized fully by &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;cash or U.S. Government Securities. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009243_RiskLoseMoneyMember"
      id="x_64e9cd5e-be97-4d56-954d-db373e50f4fc">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009243_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="d2f54a58-7dd4-4e2b-b678-deb216457fdb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009243_RiskNotInsuredDepositoryInstitutionMember"
      id="x_70775b61-fe8d-4c5e-9eb9-87bd88326c44">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009243_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_28e7a9c1-3ead-4a46-987d-8d4d649a7e15">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009243_CreditDefaultRiskMember"
      id="x_1b8b90a3-2bca-45f3-bfc0-4a3aff6671c6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009243_InterestRateRiskMember"
      id="a385e838-43c1-41ed-b269-e49d03c41dde">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009243_LargeShareholderTransactionsRiskMember"
      id="x_1fb38331-d4d4-4b96-a59f-507c71a9eed3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009243_LiquidityRiskMember"
      id="b04a7d3a-0ac3-43ef-b6d8-d5c1f3248226">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009243_MarketRiskMember"
      id="x_93d07838-a8d3-42bd-8433-7bdbb9d7a62f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009243_StableNAVRiskMember"
      id="eb57b24c-e08c-4fdc-aa9e-419d97911387">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="PremierSharesMember_S000009243"
      id="x_19d5986a-1991-4b68-8339-ff735ceceb15">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="PremierSharesMember_S000009243"
      id="x_9e59dfdf-67f0-44ed-86d7-7775479dda1b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Premier Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Premier Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="PremierSharesMember_S000009243"
      id="ac8affb3-54ef-4005-b9a7-a8a80dd29797">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Premier Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Premier Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="PremierSharesMember_S000009243"
      id="x_78a50551-8443-4810-b28c-0dbe374a246c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="PremierSharesMember_S000009243"
      id="ed165013-5112-4b0b-a160-bc247dfa389a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="PremierSharesMember_S000009243"
      id="x_2c594fad-e6e1-46d7-94f5-c5e1fa63ab32">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="PremierSharesMember_S000009243"
      id="x_3a298f35-9a57-43ae-b1d8-dace36793984">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="PremierSharesMember_S000009243"
      id="x_4f9b8d1e-fd81-49c2-9b60-2a99f3a4b5bb">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.24%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2022&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="PremierSharesMember_S000009243_C000088806"
      id="x_1fd34e2f-8ea3-46bb-bfcd-0b857d28462f">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="PremierSharesMember_S000009243_C000088806"
      decimals="4"
      id="x_4635beed-f2da-403c-9a27-508553d5c368"
      unitRef="pure">0.0124</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="PremierSharesMember_S000009243_C000088806"
      id="x_508f1b65-bba1-40ef-9266-ff93efcfc59e">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="PremierSharesMember_S000009243_C000088806"
      id="a9865566-be48-490f-b8ee-d06c3d1d899c">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="PremierSharesMember_S000009243_C000088806"
      decimals="4"
      id="x_6c148142-fb55-475b-8d32-9ad5137d1b3c"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="PremierSharesMember_S000009243_C000088806"
      id="x_146e788f-0dcc-4041-be73-e6a8a867e0be">2022-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="PremierSharesMember_S000009243"
      id="x_6f93a771-620b-4a3f-8036-1b21c9aa37e1">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="PremierSharesMember_C000088806_01Jan2025_31Dec2025"
      decimals="4"
      id="x_5486ab18-dd14-496b-8f84-907d8a45b5e1"
      unitRef="pure">0.0378</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="PremierSharesMember_C000088806_01Jan2021_31Dec2025"
      decimals="4"
      id="f57d6e74-f10c-4bce-8cfe-1b4e712e8930"
      unitRef="pure">0.0289</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="PremierSharesMember_C000088806_01Jan2016_31Dec2025"
      decimals="4"
      id="db91a1fe-258d-4b94-8e28-29dfe9f5fd85"
      unitRef="pure">0.0181</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="PremierSharesMember_C000088806"
      id="b4c32f05-0183-4df9-9b6b-769bafa27f51">2010-05-14</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="PremierSharesMember_S000009242"
      id="x_22c65a9a-6f79-4a32-9d18-daa14b21b23f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Government Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="PremierSharesMember_S000009242"
      id="x_907dab34-fac6-4f90-9d69-00310056e2ab">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="PremierSharesMember_S000009242"
      id="x_7330ce19-22df-46e2-ade7-fa4f782a1555">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Government Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="PremierSharesMember_S000009242"
      id="x_90e500b7-79e6-4b86-a0ff-558659f680dc">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="PremierSharesMember_S000009242"
      id="x_1bd6bd18-e280-405e-ae48-9ef37810210e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="PremierSharesMember_S000009242"
      id="ea4a1106-17b6-4afd-b1ca-6ce857b3c145">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="PremierSharesMember_S000009242_C000088803"
      decimals="4"
      id="x_81c110af-1bdf-4575-958e-9aa20ec98b30"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="PremierSharesMember_S000009242_C000088803"
      decimals="4"
      id="x_9ea6b178-5a92-44db-b535-2dd4ec04a7a9"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="PremierSharesMember_S000009242_C000088803"
      decimals="4"
      id="b2f9dd34-434c-46c8-9ac3-40b1637da0fb"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="PremierSharesMember_S000009242_C000088803"
      decimals="4"
      id="x_9ed11f13-3666-42e1-98e0-9d40fc81a48e"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="PremierSharesMember_S000009242_C000088803"
      decimals="4"
      id="x_2a63201e-a8c6-4c0c-9b64-efc6b094b494"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="PremierSharesMember_S000009242"
      id="x_707e308e-ec45-4264-b6b3-6899d2582129">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="PremierSharesMember_S000009242_C000088803"
      decimals="4"
      id="f5e45c43-0bbb-4b5e-9184-222024e699f3"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="PremierSharesMember_S000009242_C000088803"
      decimals="4"
      id="x_4fed05a8-0590-4731-b3d7-204827200915"
      unitRef="pure">0.0037</oef:OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="PremierSharesMember_S000009242_C000088803"
      decimals="4"
      id="x_610ef5a1-552c-40c8-bbc1-1d6ffae53d3f"
      unitRef="pure">0.0010</oef:Component1OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="PremierSharesMember_S000009242_C000088803"
      decimals="4"
      id="e50a22bd-cf35-4b92-a549-1c735d4aebfe"
      unitRef="pure">0.0025</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="PremierSharesMember_S000009242_C000088803"
      decimals="4"
      id="x_5a51f1f8-e514-4e4a-9ff8-f47af11acee4"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="PremierSharesMember_S000009242_C000088803"
      decimals="4"
      id="af4c66c6-ba9c-47d7-b09f-cbdde35f9750"
      unitRef="pure">0.0053</oef:ExpensesOverAssets>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="PremierSharesMember_S000009242"
      id="x_4743ebde-2c6d-43f0-9752-b62371d7ba8e">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.&lt;/span&gt;</oef:ExpensesRestatedToReflectCurrent>
    <oef:ExpenseExampleHeading
      contextRef="PremierSharesMember_S000009242"
      id="x_0a37efcc-b309-4ee0-975f-1b0904b68075">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="PremierSharesMember_S000009242"
      id="x_1703f2da-ee8f-4dce-8e30-f853c6760a7d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Premier Shares of the Fund for the time periods indicated and then redeem all of your Premier Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="PremierSharesMember_S000009242_C000088803"
      decimals="INF"
      id="x_4fd9cd47-10a7-4cba-b25b-078ac45e5ee3"
      unitRef="USD">54</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="PremierSharesMember_S000009242_C000088803"
      decimals="INF"
      id="x_8d5325fe-0387-4528-ae95-3ebb5ae08e75"
      unitRef="USD">170</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="PremierSharesMember_S000009242_C000088803"
      decimals="INF"
      id="x_87158fec-dace-4b69-8429-adc3ccb92a17"
      unitRef="USD">296</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="PremierSharesMember_S000009242_C000088803"
      decimals="INF"
      id="e5019c0c-d8d1-4ff0-a218-d83770693447"
      unitRef="USD">665</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="PremierSharesMember_S000009242"
      id="x_68438b84-6d98-424c-b807-f0bf1d8fc7ab">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="PremierSharesMember_S000009242"
      id="x_35aab506-e69f-4cda-804f-c6f75967bdce">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in &#x201c;government securities,&#x201d; as such term is defined in or interpreted under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;), and repurchase agreements collateralized by such securities. &#x201c;Government securities&#x201d; generally are securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act. &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, U.S. Government Securities, and/or repurchase agreements that are collateralized fully by cash or U.S. Government Securities. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;&#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009242_RiskLoseMoneyMember"
      id="a0a7dd19-9047-49df-86cb-4f8322cd3ac1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009242_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="af1ebf8f-6467-448f-ae66-02866e6e5b9c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009242_RiskNotInsuredDepositoryInstitutionMember"
      id="f8860eb6-acd1-4d0d-aac1-dcb9953e3f12">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009242_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="fff7b2de-7656-447b-99a9-3c40dc6d4192">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009242_CreditDefaultRiskMember"
      id="x_85e243b4-fe42-44e7-a9fd-842d3c4ff1b2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009242_InterestRateRiskMember"
      id="x_555546d9-efb6-4a5a-bbaa-5b87d8bbf05e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009242_LargeShareholderTransactionsRiskMember"
      id="bcd8770b-9efb-4451-b1b0-de26ad88be1f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009242_LiquidityRiskMember"
      id="x_90e0ebeb-9447-411a-95a1-bc3fc75b390d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009242_MarketRiskMember"
      id="x_93230aff-2f85-4efa-8da2-f4fafb4b3629">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009242_StableNAVRiskMember"
      id="x_212a8c0d-df5e-464c-b7f2-9d1515d304c5">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="PremierSharesMember_S000009242_USGovernmentSecuritiesRiskMember"
      id="aa49189e-63fb-491d-893f-b93a5164cf17">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="PremierSharesMember_S000009242"
      id="x_5d4a2d91-b354-4626-a743-62f70a573bc8">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="PremierSharesMember_S000009242"
      id="aaaeb3db-13b2-484f-9e1f-7d2118c7e182">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Premier Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Premier Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="PremierSharesMember_S000009242"
      id="x_1800757a-6f3e-4244-b24b-fe413518679a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Premier Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Premier Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="PremierSharesMember_S000009242"
      id="df33daaf-f75d-4827-82bb-867bac3bbc50">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="PremierSharesMember_S000009242"
      id="ae457cbc-e624-4484-8915-f94db8242735">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="PremierSharesMember_S000009242"
      id="x_76e6c548-8e3d-42cf-8b33-54ba7fae1626">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="PremierSharesMember_S000009242"
      id="b23174d7-2c80-4429-ad2a-03ff43620ac6">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="PremierSharesMember_S000009242"
      id="x_51772434-50dc-45cb-bd74-8c018f6c369c">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.24%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;September 30, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="PremierSharesMember_S000009242_C000088803"
      id="x_38295a38-f86c-4591-9dcb-3fff6311e16e">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="PremierSharesMember_S000009242_C000088803"
      decimals="4"
      id="x_1475b0c4-b32d-4dde-97e8-4ec9cc517057"
      unitRef="pure">0.0124</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="PremierSharesMember_S000009242_C000088803"
      id="fac74112-bcc9-4bcd-aae6-f59efa6c3fa8">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="PremierSharesMember_S000009242_C000088803"
      id="acb2a617-f451-4d78-8d6c-800c84109d1c">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="PremierSharesMember_S000009242_C000088803"
      decimals="4"
      id="x_678de2c2-9978-4631-9894-a92dfb15362a"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="PremierSharesMember_S000009242_C000088803"
      id="x_2f1adeea-15a3-45f8-ba24-a33f8b47a111">2020-09-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="PremierSharesMember_S000009242"
      id="de4c5296-243a-41f1-b46b-4bb73c68c91f">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="PremierSharesMember_C000088803_01Jan2025_31Dec2025"
      decimals="4"
      id="abeba927-4b45-41ff-abb9-74f5f9cbfc17"
      unitRef="pure">0.0385</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="PremierSharesMember_C000088803_01Jan2021_31Dec2025"
      decimals="4"
      id="x_04a973d6-8653-4430-b734-20cb923f8f09"
      unitRef="pure">0.0292</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="PremierSharesMember_C000088803_01Jan2016_31Dec2025"
      decimals="4"
      id="x_6c86e240-3658-4be7-b5fc-d5ba8a6db5db"
      unitRef="pure">0.0183</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="PremierSharesMember_C000088803"
      id="bc1b0c0d-80a5-4902-8d06-a311dbd8dde7">2010-05-14</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="ResourceSharesMember_S000009260"
      id="a66b45ef-d0f2-4f88-a8e8-db64d1e8f1d0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Treasury Obligations Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ResourceSharesMember_S000009260"
      id="f19f3e22-65f4-40e6-8d11-fa6838bdbc84">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ResourceSharesMember_S000009260"
      id="c161547a-b439-4968-92eb-3529fb81496f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Treasury Obligations Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ResourceSharesMember_S000009260"
      id="x_307e17e6-5a68-4ca5-b832-7db1660c4f5a">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ResourceSharesMember_S000009260"
      id="x_40a33c4c-47b5-43a5-a8b6-bac35bccd06b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="ResourceSharesMember_S000009260"
      id="x_08abbb74-8ca6-45c9-b5f5-bf6b1710cac9">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ResourceSharesMember_S000009260_C000088820"
      decimals="4"
      id="beed86ee-21fd-4c30-bc64-fea1f545f896"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ResourceSharesMember_S000009260_C000088820"
      decimals="4"
      id="x_85b4c351-fb07-4bfb-99d4-3c6f96f3890d"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="ResourceSharesMember_S000009260_C000088820"
      decimals="4"
      id="x_051adb94-dc16-4322-837d-dbdad734d118"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="ResourceSharesMember_S000009260_C000088820"
      decimals="4"
      id="f867e3b6-4f91-41ba-8100-6e5b11999e24"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="ResourceSharesMember_S000009260_C000088820"
      decimals="4"
      id="x_10d365e5-5bee-4ee8-ad8c-4ec30841bde6"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="ResourceSharesMember_S000009260"
      id="b828e51e-208e-4e6a-9368-5445ebfaa0c6">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ResourceSharesMember_S000009260_C000088820"
      decimals="4"
      id="x_7d697bec-67f6-445d-9b6e-5aa7f5e953d7"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ResourceSharesMember_S000009260_C000088820"
      decimals="4"
      id="x_10000f00-f0d0-42a3-a1a6-c1f1371c8395"
      unitRef="pure">0.0015</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ResourceSharesMember_S000009260_C000088820"
      decimals="4"
      id="a1b29a56-f30d-466e-8791-f1be380a5d68"
      unitRef="pure">0.0052</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="ResourceSharesMember_S000009260_C000088820"
      decimals="4"
      id="a154e78a-d176-47e6-9126-85ff947d0730"
      unitRef="pure">0.0050</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ResourceSharesMember_S000009260_C000088820"
      decimals="4"
      id="c92ceff8-5a14-46ef-be63-0a85a5df5c14"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ResourceSharesMember_S000009260_C000088820"
      decimals="4"
      id="x_11c129c1-2550-471b-9776-77607be98f2d"
      unitRef="pure">0.0085</oef:ExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="ResourceSharesMember_S000009260"
      id="x_8754a204-66a6-41b4-9fc0-8da6358ae556">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ResourceSharesMember_S000009260"
      id="f47fc1ff-dc23-45cf-9c67-ef8e9b5b0519">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Resource Shares of the Fund for the time periods indicated and then redeem all of your Resource Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ResourceSharesMember_S000009260_C000088820"
      decimals="INF"
      id="f56baa78-83f9-4732-9fbf-c732b51d6aee"
      unitRef="USD">87</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ResourceSharesMember_S000009260_C000088820"
      decimals="INF"
      id="x_2fca8107-eaf1-4141-837c-4f0767f5fb1d"
      unitRef="USD">271</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ResourceSharesMember_S000009260_C000088820"
      decimals="INF"
      id="x_97739ccc-e0fa-48e7-8d4a-3ba3061a2eff"
      unitRef="USD">471</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ResourceSharesMember_S000009260_C000088820"
      decimals="INF"
      id="fa25344d-5394-4538-a8b3-22079c531684"
      unitRef="USD">1049</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="ResourceSharesMember_S000009260"
      id="x_8c48ae24-5253-49c4-b8d5-f9c07b2f20fb">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ResourceSharesMember_S000009260"
      id="x_5f12c68f-ee8f-4703-a8f5-aa20c09a7c27">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in U.S. Treasury Obligations, which include securities issued or guaranteed&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;by the U.S. Treasury where the payment of principal and interest is backed by the full faith and credit of the U.S. government (&#x201c;U.S. Treasury Obligations&#x201d;), and repurchase agreements collateralized by U.S. Treasury Obligations. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;). &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;), and/or repurchase agreements that are collateralized fully by &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;cash or U.S. Government Securities. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ResourceSharesMember_S000009260_RiskLoseMoneyMember"
      id="ca288962-8095-4ce3-bbb1-6c1e3f30ae35">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ResourceSharesMember_S000009260_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_0a265238-be0d-429f-8360-977e780261a3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ResourceSharesMember_S000009260_RiskNotInsuredDepositoryInstitutionMember"
      id="b13db5d0-82a3-419d-9656-c14f8bb9c08f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ResourceSharesMember_S000009260_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_07b88300-3f43-479e-b904-9fd106b0424f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ResourceSharesMember_S000009260_CreditDefaultRiskMember"
      id="x_7f3d07f5-f1ce-4e51-9ce5-570b75b2489d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ResourceSharesMember_S000009260_InterestRateRiskMember"
      id="x_0e709e2b-c64f-4e7f-a600-943ea46d96dc">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ResourceSharesMember_S000009260_LargeShareholderTransactionsRiskMember"
      id="c335570f-b92b-43d1-ac73-70ece405d807">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ResourceSharesMember_S000009260_LiquidityRiskMember"
      id="x_30a3407b-4452-4253-800f-b77fb0e817af">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ResourceSharesMember_S000009260_MarketRiskMember"
      id="x_49001316-bcdf-41d4-b259-1f969c1dbb83">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ResourceSharesMember_S000009260_StableNAVRiskMember"
      id="x_4be115e2-66ae-4fa9-9ecf-78d1c64bebdb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ResourceSharesMember_S000009260"
      id="d3ab5f62-cbfc-4ac9-983a-10b3642d87a8">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ResourceSharesMember_S000009260"
      id="x_64520266-c6e1-426d-a71b-8a6478e72835">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Resource Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Resource Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ResourceSharesMember_S000009260"
      id="x_57de4858-7a1c-43f4-a880-e873816cde8c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Resource Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Resource Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ResourceSharesMember_S000009260"
      id="eaf8f62e-6c38-41fe-bf86-8d6e88ead11f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ResourceSharesMember_S000009260"
      id="x_0290aa15-19f0-4efd-8bea-240ace8823af">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="ResourceSharesMember_S000009260"
      id="x_473f645b-b743-45a7-9d03-837255d95a95">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="ResourceSharesMember_S000009260"
      id="x_056a1785-21e4-4fa0-a510-488076e8abea">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ResourceSharesMember_S000009260"
      id="f65d73b0-e10d-4f27-92a7-5c8ece95f0fa">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.16%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2022&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ResourceSharesMember_S000009260_C000088820"
      id="a6472638-f7c3-4243-8829-29eed5355397">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ResourceSharesMember_S000009260_C000088820"
      decimals="4"
      id="x_5138f2f6-ac60-4279-b0fa-93facfafa9d4"
      unitRef="pure">0.0116</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ResourceSharesMember_S000009260_C000088820"
      id="x_1da9ccc3-28a0-40d3-ba65-541510c70f0c">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ResourceSharesMember_S000009260_C000088820"
      id="x_47b49e6e-a9e6-432a-a06b-60bd59f3eefa">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ResourceSharesMember_S000009260_C000088820"
      decimals="4"
      id="x_4e2e7f80-5e58-4bec-8b10-fda1ae5be251"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ResourceSharesMember_S000009260_C000088820"
      id="x_165b01a6-faa0-4846-94c7-1dab69bfa968">2022-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ResourceSharesMember_S000009260"
      id="e177bdc6-39a3-4f5d-881a-2171f54b8bbd">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="ResourceSharesMember_C000088820_01Jan2025_31Dec2025"
      decimals="4"
      id="feda3cf5-4bcc-465b-a770-93f1de081abb"
      unitRef="pure">0.0350</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ResourceSharesMember_C000088820_01Jan2021_31Dec2025"
      decimals="4"
      id="b3d09457-6ba2-4d60-bf37-c2e276435e83"
      unitRef="pure">0.0267</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ResourceSharesMember_C000088820_01Jan2016_31Dec2025"
      decimals="4"
      id="x_79d367dc-2683-4bbd-8cc2-7e07b515b9ff"
      unitRef="pure">0.0161</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ResourceSharesMember_C000088820"
      id="ced5b94d-ceb2-4810-aa47-49aab6919daa">2010-05-14</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="ResourceSharesMember_S000009242"
      id="x_26c6366a-3ff5-4560-b3aa-cb31d1bb12f6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Government Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ResourceSharesMember_S000009242"
      id="dfc518e2-5166-47b4-87de-292f8eeb4bfc">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ResourceSharesMember_S000009242"
      id="x_27339a61-01f3-4080-b814-37c75234e29b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Government Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ResourceSharesMember_S000009242"
      id="x_4bd0c70a-ecff-493c-87f5-62340ef5b219">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ResourceSharesMember_S000009242"
      id="x_11608b00-9604-459c-bf43-def251188992">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="ResourceSharesMember_S000009242"
      id="f3e4de9f-ee92-4617-8993-68f81ac761e3">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ResourceSharesMember_S000009242_C000088804"
      decimals="4"
      id="x_831a980c-2915-42b0-b203-e2ed94393967"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ResourceSharesMember_S000009242_C000088804"
      decimals="4"
      id="d7cbc220-a3a8-4efe-9348-6d0e4d021314"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="ResourceSharesMember_S000009242_C000088804"
      decimals="4"
      id="x_67221fe7-4353-4813-91c8-9bd88fedd0a2"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="ResourceSharesMember_S000009242_C000088804"
      decimals="4"
      id="c57aaef4-6a93-4860-ae8b-bf507c2a3de7"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="ResourceSharesMember_S000009242_C000088804"
      decimals="4"
      id="x_24b7c2ba-b11b-4fe2-8baf-1ff8bf2457c2"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="ResourceSharesMember_S000009242"
      id="x_75107963-08ed-49f4-8898-5fc882ceb929">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ResourceSharesMember_S000009242_C000088804"
      decimals="4"
      id="x_3f86379b-0db9-43ce-9489-8f6251db0e2b"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ResourceSharesMember_S000009242_C000088804"
      decimals="4"
      id="f7408b41-6b9a-4ddc-9af4-12141c2faf40"
      unitRef="pure">0.0015</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ResourceSharesMember_S000009242_C000088804"
      decimals="4"
      id="x_1c276eeb-b709-492e-b3c9-e87b32f05999"
      unitRef="pure">0.0052</oef:OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="ResourceSharesMember_S000009242_C000088804"
      decimals="4"
      id="a639225e-a6d0-4977-bcff-866e359aff88"
      unitRef="pure">0.0050</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ResourceSharesMember_S000009242_C000088804"
      decimals="4"
      id="b5665c26-7094-4b39-838d-5615fa7d4df2"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ResourceSharesMember_S000009242_C000088804"
      decimals="4"
      id="x_23c376b9-c0cb-453a-8734-e6a64e3b2cd1"
      unitRef="pure">0.0083</oef:ExpensesOverAssets>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="ResourceSharesMember_S000009242"
      id="dde1c94d-47f4-4e29-bb5a-b3eb6f0dc95d">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.&lt;/span&gt;</oef:ExpensesRestatedToReflectCurrent>
    <oef:ExpenseExampleHeading
      contextRef="ResourceSharesMember_S000009242"
      id="fc2d8ac9-5e7a-4785-bfc1-c5f64a2595ce">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ResourceSharesMember_S000009242"
      id="x_83eebc25-ec07-49ca-82da-e5ae6d2e083c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Resource Shares of the Fund for the time periods indicated and then redeem all of your Resource Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ResourceSharesMember_S000009242_C000088804"
      decimals="INF"
      id="x_723b2a51-4d14-4a2c-b1ac-4db58e1a937b"
      unitRef="USD">85</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ResourceSharesMember_S000009242_C000088804"
      decimals="INF"
      id="x_49fa7075-05d5-464f-9e8d-e8c44ff5d50f"
      unitRef="USD">265</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ResourceSharesMember_S000009242_C000088804"
      decimals="INF"
      id="x_5a64c43f-5164-481a-a9fe-d147577806e0"
      unitRef="USD">460</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ResourceSharesMember_S000009242_C000088804"
      decimals="INF"
      id="x_54d82c3d-0953-484e-b5d1-f13d5c694c8c"
      unitRef="USD">1025</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="ResourceSharesMember_S000009242"
      id="x_1b8ec96a-03b4-4064-8ccd-f3a3067e376d">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ResourceSharesMember_S000009242"
      id="x_13049a8e-5138-4ab1-a858-945b4460534f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in &#x201c;government securities,&#x201d; as such term is defined in or interpreted under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;), and repurchase agreements collateralized by such securities. &#x201c;Government securities&#x201d; generally are securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act. &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, U.S. Government Securities, and/or repurchase agreements that are collateralized fully by cash or U.S. Government Securities. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;&#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ResourceSharesMember_S000009242_RiskLoseMoneyMember"
      id="ec233fcd-883c-46a6-b317-751592992911">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ResourceSharesMember_S000009242_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_926ed1e2-ff45-4bee-95a0-4aebef3cec95">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ResourceSharesMember_S000009242_RiskNotInsuredDepositoryInstitutionMember"
      id="x_971b2804-bec1-4eab-a4c8-bc027379166f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ResourceSharesMember_S000009242_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="f67e9930-2a2c-42cc-9ee5-0184c6bf1a46">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ResourceSharesMember_S000009242_CreditDefaultRiskMember"
      id="f48fafd3-a35d-40fe-b47a-335624b434e9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ResourceSharesMember_S000009242_InterestRateRiskMember"
      id="x_8a09020b-9937-4380-96b9-13c09ca3bdb8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ResourceSharesMember_S000009242_LargeShareholderTransactionsRiskMember"
      id="x_27f8177a-830e-45dd-aa4e-e05aafffb161">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ResourceSharesMember_S000009242_LiquidityRiskMember"
      id="x_2401ea4f-c9e0-402a-bed2-fa3353b5627f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ResourceSharesMember_S000009242_MarketRiskMember"
      id="dea5a356-91e8-4c69-b58d-87a0f69c1db1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ResourceSharesMember_S000009242_StableNAVRiskMember"
      id="x_259150dc-d263-4511-a75f-07b09f9b8297">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ResourceSharesMember_S000009242_USGovernmentSecuritiesRiskMember"
      id="x_519c3b00-f56b-42c1-a9c5-eb0d734364ea">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ResourceSharesMember_S000009242"
      id="ddfa4cb9-fc8f-4383-b74d-aa807a98c7a7">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ResourceSharesMember_S000009242"
      id="x_998c6353-e4d9-4d34-894e-8e570ce9af74">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Resource Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Resource Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ResourceSharesMember_S000009242"
      id="e03ac442-be45-4ceb-bda6-d4e45ddf5d2a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Resource Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Resource Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ResourceSharesMember_S000009242"
      id="x_2f48782d-1d4c-4e0e-ade3-c9d2e8903ec8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ResourceSharesMember_S000009242"
      id="aeb3c84c-8d53-43d5-870b-c6f4b5c8c65c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="ResourceSharesMember_S000009242"
      id="d286d903-5ea8-4633-be58-a36f3f690c9c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="ResourceSharesMember_S000009242"
      id="x_74597def-c3f9-4231-97f8-0941130a6989">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ResourceSharesMember_S000009242"
      id="x_1474b7fe-fa3a-4ec6-b3e5-8361cdaea41e">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.16%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;September 30, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ResourceSharesMember_S000009242_C000088804"
      id="x_990b77bc-f70f-4f56-9d47-da20990c045e">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ResourceSharesMember_S000009242_C000088804"
      decimals="4"
      id="c3fb4981-7896-465c-a159-998c9bb005f5"
      unitRef="pure">0.0116</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ResourceSharesMember_S000009242_C000088804"
      id="c1b56090-c6f1-4c26-b96e-9eb444b9b46f">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ResourceSharesMember_S000009242_C000088804"
      id="x_2b0f2665-9f10-4cfa-9c44-54200645c9d8">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ResourceSharesMember_S000009242_C000088804"
      decimals="4"
      id="x_3ab33d6a-e73b-48ce-a8b9-2ef748a6af9d"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ResourceSharesMember_S000009242_C000088804"
      id="x_3ed80afd-47b6-466f-8f40-5c5e4a67f449">2020-09-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ResourceSharesMember_S000009242"
      id="bb09d761-2029-477d-9d4f-f9cd477e0edc">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="ResourceSharesMember_C000088804_01Jan2025_31Dec2025"
      decimals="4"
      id="b442fa1c-1746-4029-82ac-dbe6820c0464"
      unitRef="pure">0.0354</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ResourceSharesMember_C000088804_01Jan2021_31Dec2025"
      decimals="4"
      id="a1a03a52-ce25-42e0-b63f-09b91f2f6563"
      unitRef="pure">0.0269</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ResourceSharesMember_C000088804_01Jan2016_31Dec2025"
      decimals="4"
      id="x_2ae2602d-1532-4c16-aa76-214793ee0283"
      unitRef="pure">0.0163</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ResourceSharesMember_C000088804"
      id="x_5d15baf0-1925-4c09-b98d-fee9d3249c62">2010-05-14</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="DrexelHamiltonClassSharesMember_S000009242"
      id="x_3149ea55-6d40-4bd0-a73b-26c02f8e87e7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Government Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="DrexelHamiltonClassSharesMember_S000009242"
      id="c9f1df79-2ccc-4dff-ac4c-d48f87f8d86d">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="DrexelHamiltonClassSharesMember_S000009242"
      id="b2eb262b-3d86-4d4f-bccc-8c45d638092e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Government Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="DrexelHamiltonClassSharesMember_S000009242"
      id="x_0b7efa36-61c3-4ed6-a21e-b0403ab40315">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="DrexelHamiltonClassSharesMember_S000009242"
      id="x_82c3905b-84e9-4e6d-9dc6-b9c8ccbb4819">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="DrexelHamiltonClassSharesMember_S000009242"
      id="fc964082-0ade-4903-8cc8-90119fb931ff">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="DrexelHamiltonClassSharesMember_S000009242_C000214495"
      decimals="4"
      id="x_8e6470f7-8cfc-4327-b481-fefbc632a779"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="DrexelHamiltonClassSharesMember_S000009242_C000214495"
      decimals="4"
      id="abd88288-1cf8-400a-90df-a91cfb317b0f"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="DrexelHamiltonClassSharesMember_S000009242_C000214495"
      decimals="4"
      id="x_235cc1eb-72ea-43a5-9c9e-35a4dc0115f2"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="DrexelHamiltonClassSharesMember_S000009242_C000214495"
      decimals="4"
      id="fe452d8c-109b-46d6-b6a3-73e3b47f139b"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="DrexelHamiltonClassSharesMember_S000009242_C000214495"
      decimals="4"
      id="x_42eae022-a678-4885-8293-5f43ced0d2ca"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="DrexelHamiltonClassSharesMember_S000009242"
      id="bcc258ea-f117-4e35-b53f-8cf999f9cd46">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="DrexelHamiltonClassSharesMember_S000009242_C000214495"
      decimals="4"
      id="a430f014-1ab3-420e-a502-4672f08858dc"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="DrexelHamiltonClassSharesMember_S000009242_C000214495"
      decimals="4"
      id="adbb9d7a-f6d0-4484-b02b-3c1cae7e0178"
      unitRef="pure">0.0002</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="DrexelHamiltonClassSharesMember_S000009242_C000214495"
      decimals="4"
      id="x_0771521c-29c0-4f24-820d-d12fa53031f5"
      unitRef="pure">0.0018</oef:ExpensesOverAssets>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="DrexelHamiltonClassSharesMember_S000009242"
      id="e413d31e-c4af-4404-aaf6-0706afafc641">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.&lt;/span&gt;</oef:ExpensesRestatedToReflectCurrent>
    <oef:ExpenseExampleHeading
      contextRef="DrexelHamiltonClassSharesMember_S000009242"
      id="e1a73af5-b2f8-4d9b-a256-b213ed324507">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="DrexelHamiltonClassSharesMember_S000009242"
      id="b6eb359a-66b7-4dde-be9b-b0c740a8ea23">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Drexel Hamilton Class Shares of the Fund for the time periods indicated and then redeem all of your Drexel Hamilton Class Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same. Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="DrexelHamiltonClassSharesMember_S000009242_C000214495"
      decimals="INF"
      id="f845148f-f48c-4954-8e1b-646965ebda82"
      unitRef="USD">18</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="DrexelHamiltonClassSharesMember_S000009242_C000214495"
      decimals="INF"
      id="x_372f7505-44b5-46a0-9cf2-5ea764cae27a"
      unitRef="USD">58</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="DrexelHamiltonClassSharesMember_S000009242_C000214495"
      decimals="INF"
      id="x_6128a099-df9a-4b0c-87ab-fd3e89dc2546"
      unitRef="USD">101</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="DrexelHamiltonClassSharesMember_S000009242_C000214495"
      decimals="INF"
      id="x_68bc719e-2a2f-4010-a79d-b455d449d7a7"
      unitRef="USD">230</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="DrexelHamiltonClassSharesMember_S000009242"
      id="x_1e12354d-8d07-442f-b711-45458904b993">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="DrexelHamiltonClassSharesMember_S000009242"
      id="x_2bb043ed-0570-4893-aafc-0afdff22253b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in &#x201c;government securities,&#x201d; as such term is defined in or interpreted under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;), and repurchase agreements collateralized by such securities. &#x201c;Government securities&#x201d; generally are securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act. &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, U.S. Government Securities, and/or repurchase agreements that are collateralized fully by cash or U.S. Government Securities. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="DrexelHamiltonClassSharesMember_S000009242_RiskLoseMoneyMember"
      id="x_2046e1d0-c40c-4a29-8fe8-68da97ef7288">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="DrexelHamiltonClassSharesMember_S000009242_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="b33df04a-241c-46df-843b-6ce98df7f77f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="DrexelHamiltonClassSharesMember_S000009242_RiskNotInsuredDepositoryInstitutionMember"
      id="x_86713b16-3233-44f9-b5cf-d4e9718ef2ac">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="DrexelHamiltonClassSharesMember_S000009242_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="ad2531b6-375f-4efc-8cc0-601e170b95c7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="DrexelHamiltonClassSharesMember_S000009242_CreditDefaultRiskMember"
      id="d657a5cc-ae6a-49de-a92e-d1addf288ae1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="DrexelHamiltonClassSharesMember_S000009242_InterestRateRiskMember"
      id="x_8b6c0720-ab2c-4b62-9e27-c858e47c96ee">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="DrexelHamiltonClassSharesMember_S000009242_LargeShareholderTransactionsRiskMember"
      id="x_9b0924e4-d3e4-4e50-b813-2a93421dd16e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="DrexelHamiltonClassSharesMember_S000009242_LiquidityRiskMember"
      id="db536756-8bd2-4f48-805a-59f118045a9e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="DrexelHamiltonClassSharesMember_S000009242_MarketRiskMember"
      id="c8c30caa-dd03-476e-9919-ff4ca4c4e252">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="DrexelHamiltonClassSharesMember_S000009242_StableNAVRiskMember"
      id="x_363b6314-ce24-4028-b1db-cfa0e1b7a30b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="DrexelHamiltonClassSharesMember_S000009242_USGovernmentSecuritiesRiskMember"
      id="x_0c00258e-ab40-4bb9-b12d-345f8b0e1d4c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;and credit of the United States. The maximum potential liability of the issuers of some U.S. Government securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="DrexelHamiltonClassSharesMember_S000009242"
      id="x_629d9c42-42be-4783-a7ae-d6ef110861ad">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="DrexelHamiltonClassSharesMember_S000009242"
      id="x_0c9e1237-d724-4add-90fb-931b97bffab3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Drexel Hamilton Class Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Drexel Hamilton Class Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;reflects fee waivers and/or expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="DrexelHamiltonClassSharesMember_S000009242"
      id="x_19376e30-9f83-40bb-a031-d4d233dc6601">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Drexel Hamilton Class Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Drexel Hamilton Class Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="DrexelHamiltonClassSharesMember_S000009242"
      id="e26b9d6e-6c7f-4d15-8276-4fa830e0152f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="DrexelHamiltonClassSharesMember_S000009242"
      id="db301545-e637-4360-8da1-95a19539da3f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="DrexelHamiltonClassSharesMember_S000009242"
      id="ecae2293-5875-4a6e-acc2-e54c5d7bf505">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="DrexelHamiltonClassSharesMember_S000009242"
      id="x_048c3bee-4ab7-425b-84e5-a14d78e55642">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="DrexelHamiltonClassSharesMember_S000009242"
      id="x_85a713c5-93eb-49ae-9a33-884ed7e65896">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.33%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.01%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="DrexelHamiltonClassSharesMember_S000009242_C000214495"
      id="x_5802e62b-361f-4f38-90be-84253e5a1de8">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="DrexelHamiltonClassSharesMember_S000009242_C000214495"
      decimals="4"
      id="x_60c1cdd8-84f3-4436-bb4a-d397621b6ca6"
      unitRef="pure">0.0133</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="DrexelHamiltonClassSharesMember_S000009242_C000214495"
      id="df2aebf6-7735-433f-88d4-1dbae4d1bf90">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="DrexelHamiltonClassSharesMember_S000009242_C000214495"
      id="x_742094d3-43c9-4d05-a7aa-1f10892c7d7d">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="DrexelHamiltonClassSharesMember_S000009242_C000214495"
      decimals="4"
      id="x_892004ac-7ce2-4742-9bcb-b2a77e9bf667"
      unitRef="pure">0.0001</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="DrexelHamiltonClassSharesMember_S000009242_C000214495"
      id="x_683e1a9d-4cb2-4b77-ac5d-fc7e5509c020">2020-12-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="DrexelHamiltonClassSharesMember_S000009242"
      id="x_26cc94f9-6935-489d-a239-1e33b6afc138">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="DrexelHamiltonClassSharesMember_C000214495_01Jan2025_31Dec2025"
      decimals="4"
      id="x_0effa356-7a77-4aa4-9504-66c3f3020a9c"
      unitRef="pure">0.0421</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="DrexelHamiltonClassSharesMember_C000214495_01Jan2021_31Dec2025"
      decimals="4"
      id="x_9bd1b2b4-d80b-4eb4-8c57-952751f2a317"
      unitRef="pure">0.0319</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="DrexelHamiltonClassSharesMember_C000214495_09Sep2019_31Dec2025"
      decimals="4"
      id="x_4d0ce86f-2e10-4116-a70a-637abbffca58"
      unitRef="pure">0.0267</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="DrexelHamiltonClassSharesMember_C000214495"
      id="x_55f7f956-0bbb-4d1d-9156-34052f9cf2f4">2019-09-09</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="ClassR6SharesMember_S000009242"
      id="x_05df8cfd-ce10-4fcd-b1a0-a7f554080064">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Government Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ClassR6SharesMember_S000009242"
      id="x_896ad3f1-faa3-4572-8e76-2625f975acf1">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ClassR6SharesMember_S000009242"
      id="d701e345-1210-43ce-a2a7-b0f0a2d3381d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Government Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ClassR6SharesMember_S000009242"
      id="x_4d33372f-ec8f-49d4-abe3-816f2b8dd1b4">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ClassR6SharesMember_S000009242"
      id="x_74b4b95d-d11f-4d96-b8a2-121da60d7b63">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="ClassR6SharesMember_S000009242"
      id="c1e8b87a-a3a6-43ea-8f8b-56cc0d5539b7">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassR6SharesMember_S000009242_C000167141"
      decimals="4"
      id="b6c1f7b4-4fd2-4394-aa26-8bbcfe871e85"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassR6SharesMember_S000009242_C000167141"
      decimals="4"
      id="aadc1a32-bcc1-4516-a42c-8f9b917ada79"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="ClassR6SharesMember_S000009242_C000167141"
      decimals="4"
      id="ccfacd21-62fe-4681-a9db-0961093f4574"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="ClassR6SharesMember_S000009242_C000167141"
      decimals="4"
      id="e0033ce8-55bd-48ea-978d-bbe32c9ca0c6"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="ClassR6SharesMember_S000009242_C000167141"
      decimals="4"
      id="cbb97c43-a771-4925-bb8f-683d89a62506"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="ClassR6SharesMember_S000009242"
      id="a4d0d9db-bff0-425e-9f28-58666f44a2d5">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ClassR6SharesMember_S000009242_C000167141"
      decimals="4"
      id="d41e8ef6-9b92-4585-a0d8-9869c5b615d3"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassR6SharesMember_S000009242_C000167141"
      decimals="4"
      id="x_44551745-04f8-48fb-b3d1-97b71ed26b7d"
      unitRef="pure">0.0002</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassR6SharesMember_S000009242_C000167141"
      decimals="4"
      id="x_2df4cfd6-9286-4564-a54c-8fa5529d4d2b"
      unitRef="pure">0.0018</oef:ExpensesOverAssets>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="ClassR6SharesMember_S000009242"
      id="eddc1545-3c71-4fa3-9b63-d710586fc0f4">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.&lt;/span&gt;</oef:ExpensesRestatedToReflectCurrent>
    <oef:ExpenseExampleHeading
      contextRef="ClassR6SharesMember_S000009242"
      id="x_20fc05da-10ba-41d0-8a89-56bbf2cbf6e2">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ClassR6SharesMember_S000009242"
      id="d470b1ae-e063-4551-893a-b28903fd7408">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Class R6 Shares of the Fund for the time periods indicated and then redeem all of your Class R6 Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ClassR6SharesMember_S000009242_C000167141"
      decimals="INF"
      id="x_5127e755-848f-4812-b536-9a3768b90335"
      unitRef="USD">18</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassR6SharesMember_S000009242_C000167141"
      decimals="INF"
      id="x_134e21bd-be8f-43cd-9ab7-de8349452691"
      unitRef="USD">58</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassR6SharesMember_S000009242_C000167141"
      decimals="INF"
      id="x_7a85b49b-1488-49e4-9e49-8c06c7220d62"
      unitRef="USD">101</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassR6SharesMember_S000009242_C000167141"
      decimals="INF"
      id="a88e7ec1-937d-4cb2-8c54-8f00943f0162"
      unitRef="USD">230</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="ClassR6SharesMember_S000009242"
      id="a65bc509-d0b4-4051-80da-7be64fbbe069">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ClassR6SharesMember_S000009242"
      id="x_2e364b97-a2dd-4d3c-b6df-5db2231a0f0d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in &#x201c;government securities,&#x201d; as such term is defined in or interpreted under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;), and repurchase agreements collateralized by such securities. &#x201c;Government securities&#x201d; generally are securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act. &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, U.S. Government Securities, and/or repurchase agreements that are collateralized fully by cash or U.S. Government Securities. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassR6SharesMember_S000009242_RiskLoseMoneyMember"
      id="x_463b4bed-43a2-44f4-b976-9eccdbe839eb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassR6SharesMember_S000009242_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_2c8b18c4-3c80-4a73-98e6-8fcb32051380">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassR6SharesMember_S000009242_RiskNotInsuredDepositoryInstitutionMember"
      id="x_50c466cd-815e-415b-9b89-0411b442128c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassR6SharesMember_S000009242_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="b59c95d6-2bd0-42c7-8348-4b4d450bf1ac">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassR6SharesMember_S000009242_CreditDefaultRiskMember"
      id="x_30475463-a5f0-4392-8083-5f5362d7dce6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassR6SharesMember_S000009242_InterestRateRiskMember"
      id="c3992a73-9f0c-4391-b16e-b9705c85b2f6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassR6SharesMember_S000009242_LargeShareholderTransactionsRiskMember"
      id="x_6fde09a5-56df-4592-8c6d-406b82bf83fa">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassR6SharesMember_S000009242_LiquidityRiskMember"
      id="x_91d39ce0-c497-4605-9e5a-79d47d3265e0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassR6SharesMember_S000009242_MarketRiskMember"
      id="ac001109-6518-408c-bd18-6b3d802dcbb4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassR6SharesMember_S000009242_StableNAVRiskMember"
      id="ce449784-abd8-4866-b4de-6ce1056bec32">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassR6SharesMember_S000009242_USGovernmentSecuritiesRiskMember"
      id="dc3a33cd-54e6-4c5f-89f4-1e5a97aadba8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ClassR6SharesMember_S000009242"
      id="c408f7b5-72f3-42e4-9316-abad1cad395b">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ClassR6SharesMember_S000009242"
      id="x_9a26bf37-2178-48fa-ab18-f5f7d9261e16">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class R6 Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Class R6 Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ClassR6SharesMember_S000009242"
      id="x_49afae36-337a-49e3-8bc0-a84a41d630c9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class R6 Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Class R6 Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ClassR6SharesMember_S000009242"
      id="x_4ee3f725-92d7-4587-8dbc-4ba9c7b58648">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ClassR6SharesMember_S000009242"
      id="a6069931-53ee-41de-896d-25c3bb97c173">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="ClassR6SharesMember_S000009242"
      id="a75068a2-15d0-4042-b992-e63c3b42d06b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="ClassR6SharesMember_S000009242"
      id="x_1229972e-10ed-4d12-b5c7-cb949d5718b0">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ClassR6SharesMember_S000009242"
      id="e886d1be-1567-482b-8d50-cebe41ca8152">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.33%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.01%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ClassR6SharesMember_S000009242_C000167141"
      id="x_5a77e3c6-c22c-41e0-b572-fd013c12625b">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ClassR6SharesMember_S000009242_C000167141"
      decimals="4"
      id="b65388ce-2a64-4fbb-bee7-76fb9ff66ac7"
      unitRef="pure">0.0133</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ClassR6SharesMember_S000009242_C000167141"
      id="x_9f52b763-53f2-4a14-9ab0-20995b4f69f3">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ClassR6SharesMember_S000009242_C000167141"
      id="d52afaeb-b47e-45e4-a714-c3b330c7bd9f">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ClassR6SharesMember_S000009242_C000167141"
      decimals="4"
      id="x_75a0f585-fbcb-47da-8710-9477c69afb7c"
      unitRef="pure">0.0001</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ClassR6SharesMember_S000009242_C000167141"
      id="x_0ede9c53-7af9-4aba-a90c-50e7abe0316e">2020-12-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ClassR6SharesMember_S000009242"
      id="d67ad424-680c-4076-b137-a91e90a799df">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="ClassR6SharesMember_C000167141_01Jan2025_31Dec2025"
      decimals="4"
      id="x_73683eba-aef4-4128-b82d-443aba7b0ff8"
      unitRef="pure">0.0421</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassR6SharesMember_C000167141_01Jan2021_31Dec2025"
      decimals="4"
      id="x_3ed8bf7f-7656-4cc9-a533-f983225f54f0"
      unitRef="pure">0.0319</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassR6SharesMember_C000167141_01Jan2016_31Dec2025"
      decimals="4"
      id="x_4aafea72-cd18-44ba-b905-31eecc0a2718"
      unitRef="pure">0.0212</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassR6SharesMember_C000167141"
      id="x_154f3464-d220-4cea-8f59-a2b62c891110">2015-12-29</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="ClassACSharesMember_S000009242"
      id="x_10e50ab9-82f3-41e9-806d-c40373d8bcf3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Government Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ClassACSharesMember_S000009242"
      id="e32f0016-225a-45f4-9f2a-da6a9a6e765f">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ClassACSharesMember_S000009242"
      id="bc1d1852-8784-427a-9d20-2ca89726f898">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Government Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ClassACSharesMember_S000009242"
      id="d3ec8df9-6cc0-4be5-9856-33eae0d67ef2">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ClassACSharesMember_S000009242"
      id="x_82982986-dd31-48d9-b37a-09f29c8e9f87">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Information about sales charge waivers is available from your financial professional and in &#x201c;Shareholder Guide&#x2014;Common Questions Applicable to the Purchase of Class C Shares&#x201d; beginning on page 43 and in &#x201c;Appendix C&#x2014;Additional Information About Sales Charge Variations, Waivers and Discounts&#x201d; on page 65 of the Prospectus.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="ClassACSharesMember_S000009242"
      id="x_873e2366-f352-4548-b952-19b6fcc6ccd0">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACSharesMember_S000009242_C000166882"
      decimals="4"
      id="b739a0ce-e3f6-4048-9b63-d62750f865c5"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACSharesMember_S000009242_C000166883"
      decimals="4"
      id="x_9d8248a8-59b3-4841-9eee-3d9dd109b77d"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACSharesMember_S000009242_C000166882"
      decimals="4"
      id="bf745922-8d5c-4ee8-8dd5-4d04938af120"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACSharesMember_S000009242_C000166883"
      decimals="4"
      id="x_9f5fc7be-6c21-4704-a8fd-79a1c6288ac5"
      unitRef="pure">0.0100</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="ClassACSharesMember_S000009242_C000166882"
      decimals="4"
      id="x_4cb734f3-2bca-495d-a6a9-8175225348d5"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="ClassACSharesMember_S000009242_C000166883"
      decimals="4"
      id="x_69112fc2-ab84-421d-b774-ae672cdf8b49"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="ClassACSharesMember_S000009242_C000166882"
      decimals="4"
      id="x_6a124c11-ac49-450a-a0f8-b1007b2862d2"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:RedemptionFeeOverRedemption
      contextRef="ClassACSharesMember_S000009242_C000166883"
      decimals="4"
      id="x_1cbecd87-dec2-47e0-9f28-cf3ffe2771e5"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="ClassACSharesMember_S000009242_C000166882"
      decimals="4"
      id="f5d87d8f-8155-4a9f-a78b-772e44b5bda0"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="ClassACSharesMember_S000009242_C000166883"
      decimals="4"
      id="x_0c1ab32c-5890-4b95-bf95-8ecc8521f5cd"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="ClassACSharesMember_S000009242"
      id="cbf9c99f-f298-407e-a9cb-ca3c531c913c">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACSharesMember_S000009242_C000166882"
      decimals="4"
      id="x_584b45c8-18bd-42c6-a274-96b421a60853"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACSharesMember_S000009242_C000166883"
      decimals="4"
      id="cf853e7c-1e77-4e3e-b16e-9cd4988d75ed"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACSharesMember_S000009242_C000166882"
      decimals="4"
      id="x_3a62ab7f-c131-492e-8504-292e01149a40"
      unitRef="pure">0.0025</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACSharesMember_S000009242_C000166883"
      decimals="4"
      id="be2274da-11a7-4ad9-9646-51655e897057"
      unitRef="pure">0.0075</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACSharesMember_S000009242_C000166882"
      decimals="4"
      id="x_48c3cb2e-820b-4d4d-a752-e786e8ff2450"
      unitRef="pure">0.0002</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACSharesMember_S000009242_C000166883"
      decimals="4"
      id="x_680c3652-0e3d-48d9-b7a9-5219e8d6e480"
      unitRef="pure">0.0027</oef:OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACSharesMember_S000009242_C000166882"
      decimals="4"
      id="d9cf2152-2a5f-4c1b-a80b-19d627ef09f1"
      unitRef="pure">0.0000</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACSharesMember_S000009242_C000166883"
      decimals="4"
      id="x_7e197de1-1da7-450f-94b4-388ae8e2e5c6"
      unitRef="pure">0.0025</oef:Component1OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACSharesMember_S000009242_C000166882"
      decimals="4"
      id="x_61e3f4f1-702d-4422-988f-bf90b55e9abb"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACSharesMember_S000009242_C000166883"
      decimals="4"
      id="a6b28a0b-ddaa-44e6-b585-81d388e43afc"
      unitRef="pure">0.0002</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACSharesMember_S000009242_C000166882"
      decimals="4"
      id="x_74a64ce2-8890-4d0a-813c-00cfe82bf134"
      unitRef="pure">0.0043</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACSharesMember_S000009242_C000166883"
      decimals="4"
      id="x_8c5b49ab-27e2-4e87-a09e-d7acbcdc3859"
      unitRef="pure">0.0118</oef:ExpensesOverAssets>
    <oef:ExpensesDeferredChargesTextBlock
      contextRef="ClassACSharesMember_S000009242"
      id="x_90c0795c-f296-4df4-a0d7-3f5d0d1fdaff">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Class C Shares may be subject to a contingent deferred sales charge (&#x201c;CDSC&#x201d;) of 1.00% during the first 12 months, measured from the time the original shares subject to the CDSC were acquired.&lt;/span&gt;</oef:ExpensesDeferredChargesTextBlock>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="ClassACSharesMember_S000009242"
      id="x_200bfebe-5563-466b-8a01-533ae32c3aa9">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.&lt;/span&gt;</oef:ExpensesRestatedToReflectCurrent>
    <oef:ExpenseExampleHeading
      contextRef="ClassACSharesMember_S000009242"
      id="x_25196787-452a-4e00-9ef1-45905f3643c5">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ClassACSharesMember_S000009242"
      id="b727c626-c746-4ff0-82be-757b32061bde">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Class A and/or Class C Shares of the Fund for the time periods indicated and then redeem all of your Class A and/or Class C Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ClassACSharesMember_S000009242_C000166882"
      decimals="INF"
      id="e776936c-bd3d-4474-95ff-abfda5bd0a59"
      unitRef="USD">44</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACSharesMember_S000009242_C000166882"
      decimals="INF"
      id="x_2c339c15-c68b-4205-a2b6-3979197e45bb"
      unitRef="USD">138</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACSharesMember_S000009242_C000166882"
      decimals="INF"
      id="x_34ad3033-c9cd-4f30-b529-77b2ad759cef"
      unitRef="USD">241</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACSharesMember_S000009242_C000166882"
      decimals="INF"
      id="d6f50020-9c82-4509-9bb8-7e8679e91f48"
      unitRef="USD">542</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACSharesMember_S000009242_C000166883"
      decimals="INF"
      id="x_08f89938-8949-42f9-8330-12f4381460ea"
      unitRef="USD">220</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACSharesMember_S000009242_C000166883"
      decimals="INF"
      id="x_495fdfcd-fe2c-488a-9ac6-12b9d9baad45"
      unitRef="USD">375</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACSharesMember_S000009242_C000166883"
      decimals="INF"
      id="ef822c37-19a2-4a54-8558-f579c2fc2c3f"
      unitRef="USD">649</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACSharesMember_S000009242_C000166883"
      decimals="INF"
      id="x_312b127b-a87f-4766-8fe1-cdfaa71364e9"
      unitRef="USD">1432</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleNoRedemptionByYearColumnName
      contextRef="ClassACSharesMember_S000009242_C000166883"
      id="x_60bec9d3-49ac-40f7-aeeb-d5af9326016f">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Class C Shares &#x2013; Assuming no redemption&lt;/span&gt;</oef:ExpenseExampleNoRedemptionByYearColumnName>
    <oef:ExpenseExampleNoRedemptionYear01
      contextRef="ClassACSharesMember_S000009242_C000166883"
      decimals="INF"
      id="e6719cca-b732-45d7-98eb-e86728fd3cbc"
      unitRef="USD">120</oef:ExpenseExampleNoRedemptionYear01>
    <oef:ExpenseExampleNoRedemptionYear03
      contextRef="ClassACSharesMember_S000009242_C000166883"
      decimals="INF"
      id="x_5eebf5a5-e893-44f4-a619-c805f0cda15a"
      unitRef="USD">375</oef:ExpenseExampleNoRedemptionYear03>
    <oef:ExpenseExampleNoRedemptionYear05
      contextRef="ClassACSharesMember_S000009242_C000166883"
      decimals="INF"
      id="fedb8d0c-cf6e-422e-bd7e-05d4e435f761"
      unitRef="USD">649</oef:ExpenseExampleNoRedemptionYear05>
    <oef:ExpenseExampleNoRedemptionYear10
      contextRef="ClassACSharesMember_S000009242_C000166883"
      decimals="INF"
      id="ea64d7d4-bc2a-4e03-8143-6646a79f5200"
      unitRef="USD">1432</oef:ExpenseExampleNoRedemptionYear10>
    <oef:StrategyHeading
      contextRef="ClassACSharesMember_S000009242"
      id="c7a7685b-8e34-4e85-bb79-6597e1b13c65">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ClassACSharesMember_S000009242"
      id="x_9fee0c18-4f33-45b5-96ed-88e00f7ed0bc">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in &#x201c;government securities,&#x201d; as such term is defined in or interpreted under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;), and repurchase agreements collateralized by such securities. &#x201c;Government securities&#x201d; generally are securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act. &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, U.S. Government Securities, and/or repurchase agreements that are collateralized fully by cash or U.S. Government Securities. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000009242_RiskLoseMoneyMember"
      id="x_261a1d92-633f-4f42-add8-3761c74bdb86">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000009242_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_5ef55b03-bbcb-4226-a96b-60f8fd7015aa">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000009242_RiskNotInsuredDepositoryInstitutionMember"
      id="c4eefdde-5828-4025-a0c0-ea2a321b68de">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000009242_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_82dd247a-5f2f-42b9-922c-cb6b36ae91e4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000009242_CreditDefaultRiskMember"
      id="x_7cb9b760-21c2-46d5-bdfc-03a8e66ce153">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000009242_InterestRateRiskMember"
      id="x_44ecacdf-b623-4fcf-9b55-faadae41a457">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000009242_LargeShareholderTransactionsRiskMember"
      id="x_994470b9-2513-431b-ac3f-bc4a7be52d92">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000009242_LiquidityRiskMember"
      id="x_601e55e5-f737-48e4-9332-cb1bab018a7e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000009242_MarketRiskMember"
      id="x_8d986a7b-1a77-48a5-8a70-0cd2f27eccd8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000009242_StableNAVRiskMember"
      id="a68d23a3-20fe-4d7a-8a52-b3d62bb687e9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000009242_USGovernmentSecuritiesRiskMember"
      id="x_92ae690e-cea6-4cb6-b955-4bbf987b6931">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ClassACSharesMember_S000009242"
      id="x_28c5f5d7-fa82-449e-b977-836a4673b10e">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ClassACSharesMember_S000009242"
      id="d8c8918d-67f6-4116-81c2-09ed04bbeb13">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class A Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Class A and Class C Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;and/or expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-526-7384&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ClassACSharesMember_S000009242"
      id="x_5a2e9b07-5961-4237-9c91-b8d1d1d60d7e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class A Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Class A and Class C Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ClassACSharesMember_S000009242"
      id="b46820d4-c433-44fb-a01a-f7b1e709e0e7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ClassACSharesMember_S000009242"
      id="x_9a2ef99c-6dd4-49bf-aa03-29244237de44">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="ClassACSharesMember_S000009242"
      id="a70a6b6b-e7e5-4873-b295-7bec09507680">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-526-7384&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="ClassACSharesMember_S000009242"
      id="x_4d91bcd0-ceb3-4aff-83ca-3531e4a31e6c">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR (CLASS A SHARES)&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ClassACSharesMember_S000009242"
      id="x_9d6b48d8-dd22-4b48-b4a3-1dbd600a6ce6">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.26%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;September 30, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ClassACSharesMember_S000009242_C000166882"
      id="x_0633db2e-3a66-4513-aaa1-1223b516fa17">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ClassACSharesMember_S000009242_C000166882"
      decimals="4"
      id="x_630f916e-ef59-4d07-bbaf-f4a1711a9a98"
      unitRef="pure">0.0126</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ClassACSharesMember_S000009242_C000166882"
      id="x_73ee9517-b754-4383-86b2-720a908cefcf">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ClassACSharesMember_S000009242_C000166882"
      id="x_0670abac-0a14-474b-99a9-ac52a77194f5">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ClassACSharesMember_S000009242_C000166882"
      decimals="4"
      id="x_47fa7691-88bf-4ccb-9dca-262b3d215910"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ClassACSharesMember_S000009242_C000166882"
      id="ac06151b-32be-4fd1-a992-30d196b073cc">2020-09-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ClassACSharesMember_S000009242"
      id="x_134d00f4-5fd8-41d1-abb4-3a7ba4223f8f">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACSharesMember_C000166882_01Jan2025_31Dec2025"
      decimals="4"
      id="cede2b5f-2562-4900-82d5-4543d6905be3"
      unitRef="pure">0.0395</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACSharesMember_C000166882_01Jan2021_31Dec2025"
      decimals="4"
      id="x_117a25c0-9991-4a6a-9405-c996efca00d6"
      unitRef="pure">0.0299</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACSharesMember_C000166882_29Feb2016_31Dec2025"
      decimals="4"
      id="x_0b0b8331-37ca-4641-a219-12b1f5e7dc45"
      unitRef="pure">0.0194</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACSharesMember_C000166882"
      id="x_21c9245b-d760-4f48-aaad-7251da42ac48">2016-02-29</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACSharesMember_C000166883_01Jan2025_31Dec2025"
      decimals="4"
      id="x_226fd80b-8958-4364-bf21-144a6bc31fd3"
      unitRef="pure">0.0318</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACSharesMember_C000166883_01Jan2021_31Dec2025"
      decimals="4"
      id="e32521a1-9ffc-4d2e-ba60-fcb1965bc26c"
      unitRef="pure">0.0244</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACSharesMember_C000166883_29Feb2016_31Dec2025"
      decimals="4"
      id="x_5328dd32-b6b7-4aec-ab90-bf423206689b"
      unitRef="pure">0.0143</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACSharesMember_C000166883"
      id="e3ab18b5-2c5f-4a00-932c-f92b87108363">2016-02-29</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="ClassACSharesMember_S000051191"
      id="x_29348a7a-9aa4-426a-8197-81f31038b9ce">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Investor&#160;Money Market Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ClassACSharesMember_S000051191"
      id="x_96ff5a2a-1c1f-4f2b-bee1-d0b90aa378ec">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ClassACSharesMember_S000051191"
      id="x_1df567d7-4d25-4cda-921b-50c35d7b44f2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Investor&#160;Money Market Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ClassACSharesMember_S000051191"
      id="x_6e254366-d528-401b-9373-09c3432cb9fa">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ClassACSharesMember_S000051191"
      id="x_192c3fdb-90c5-4b37-80ff-eb4fc1803845">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Information about sales charge waivers is available from your financial professional and in &#x201c;Shareholder Guide&#x2014;Common Questions Applicable to the Purchase of Class C Shares&#x201d; beginning on page 43 and in &#x201c;Appendix C&#x2014;Additional Information About Sales Charge Variations, Waivers and Discounts&#x201d; on page 65 of the Prospectus.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="ClassACSharesMember_S000051191"
      id="x_016bf29b-1dac-4b5e-8fad-f09e84260f90">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACSharesMember_S000051191_C000166000"
      decimals="4"
      id="e73dcc64-aa06-4007-a26d-30c11606fcc7"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACSharesMember_S000051191_C000166001"
      decimals="4"
      id="x_0d610f30-fed3-49f6-ad23-076b9a5a621a"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACSharesMember_S000051191_C000166000"
      decimals="4"
      id="x_9956bf9b-850b-47f4-8db4-6227b6dc8503"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACSharesMember_S000051191_C000166001"
      decimals="4"
      id="a4389f30-a34e-40ec-b684-4fb8c184d0ce"
      unitRef="pure">0.0100</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="ClassACSharesMember_S000051191_C000166000"
      decimals="4"
      id="x_8538203c-048d-486b-af79-47aad702ddce"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="ClassACSharesMember_S000051191_C000166001"
      decimals="4"
      id="a4d4446f-9556-4255-a4f9-b628d353f7cf"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="ClassACSharesMember_S000051191_C000166000"
      decimals="4"
      id="x_7f636be1-c0c3-4793-be8e-bc555f047c74"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:RedemptionFeeOverRedemption
      contextRef="ClassACSharesMember_S000051191_C000166001"
      decimals="4"
      id="fad201fb-2779-48ec-be15-0736f63154ad"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="ClassACSharesMember_S000051191_C000166000"
      decimals="4"
      id="dc418774-d1ef-4b0a-bf05-f051fd461135"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="ClassACSharesMember_S000051191_C000166001"
      decimals="4"
      id="x_4a67d0a1-9772-4ba4-bfb9-b41836cf0709"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="ClassACSharesMember_S000051191"
      id="x_5ab6807c-a61e-4f0d-9af9-8c6649dee3d2">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACSharesMember_S000051191_C000166000"
      decimals="4"
      id="x_6635e735-7b22-485c-b629-46c96a73b578"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACSharesMember_S000051191_C000166001"
      decimals="4"
      id="b73b321f-e2bf-404d-a486-49e876dbb81d"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACSharesMember_S000051191_C000166000"
      decimals="4"
      id="x_9d2fbafd-e0e6-459a-95a9-4c3da753b51e"
      unitRef="pure">0.0025</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACSharesMember_S000051191_C000166001"
      decimals="4"
      id="x_46aa9d51-a107-4690-8c84-3091f98f1ee8"
      unitRef="pure">0.0075</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACSharesMember_S000051191_C000166000"
      decimals="4"
      id="x_3a5e39a8-cdf3-45af-92b5-4bb68fea2343"
      unitRef="pure">0.0003</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACSharesMember_S000051191_C000166001"
      decimals="4"
      id="f0bd3792-7a1b-4078-bc4a-3aafa22d2f71"
      unitRef="pure">0.0028</oef:OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACSharesMember_S000051191_C000166000"
      decimals="4"
      id="f930b8f9-6086-4232-808c-8d6fb38998cf"
      unitRef="pure">0.0000</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACSharesMember_S000051191_C000166001"
      decimals="4"
      id="f72a04ff-e866-4a51-80bc-4bca9ed2e19a"
      unitRef="pure">0.0025</oef:Component1OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACSharesMember_S000051191_C000166000"
      decimals="4"
      id="ec39cb8d-dd42-4db0-b174-f0aca59ab493"
      unitRef="pure">0.0003</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACSharesMember_S000051191_C000166001"
      decimals="4"
      id="a8f3ef1d-3b06-4996-88ba-1d034fa6b097"
      unitRef="pure">0.0003</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACSharesMember_S000051191_C000166000"
      decimals="4"
      id="c415e2ad-3b87-4a7a-86ba-d4453c9bfe7a"
      unitRef="pure">0.0044</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACSharesMember_S000051191_C000166001"
      decimals="4"
      id="c769010d-df20-4826-a989-28ce2c660b32"
      unitRef="pure">0.0119</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACSharesMember_S000051191_C000166000"
      decimals="4"
      id="x_695e0150-4735-4099-baa6-b929808fdf67"
      unitRef="pure">-0.0001</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACSharesMember_S000051191_C000166001"
      decimals="4"
      id="x_35cf6186-721a-4a5a-80b7-2d8bc23c323c"
      unitRef="pure">-0.0001</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACSharesMember_S000051191_C000166000"
      decimals="4"
      id="ceb12b54-f223-43a0-b236-f85a6e077ad0"
      unitRef="pure">0.0043</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACSharesMember_S000051191_C000166001"
      decimals="4"
      id="x_761a160e-b5ad-4f96-a537-4bc268157f0f"
      unitRef="pure">0.0118</oef:NetExpensesOverAssets>
    <oef:ExpensesDeferredChargesTextBlock
      contextRef="ClassACSharesMember_S000051191"
      id="x_894bd57b-a6e7-494c-8545-60662442db08">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Class C Shares may be subject to a contingent deferred sales charge (&#x201c;CDSC&#x201d;) of 1.00% during the first 12 months, measured from the time the original shares subject to the CDSC were acquired.&lt;/span&gt;</oef:ExpensesDeferredChargesTextBlock>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="ClassACSharesMember_S000051191"
      id="x_218c3f46-9baf-48ab-aab9-dc4cdb4ef667">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;March 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="ClassACSharesMember_S000051191"
      id="x_1a7d34ca-e13e-43da-b6ba-dbde8b432c04">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ClassACSharesMember_S000051191"
      id="x_0eb7b90c-0026-434c-9939-99679b076c1a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Class A and/or Class C Shares of the Fund for the time periods indicated and then redeem all of your Class A and/or Class C Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ClassACSharesMember_S000051191_C000166000"
      decimals="INF"
      id="x_0b41da4d-6e5b-4250-badd-c05214efb713"
      unitRef="USD">44</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACSharesMember_S000051191_C000166000"
      decimals="INF"
      id="x_183e94f7-c992-4c1d-8fe3-e1d985539801"
      unitRef="USD">140</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACSharesMember_S000051191_C000166000"
      decimals="INF"
      id="x_0be6ba45-8483-4c7f-b584-f3d64aded89c"
      unitRef="USD">245</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACSharesMember_S000051191_C000166000"
      decimals="INF"
      id="x_5aa0f1c2-3b20-4568-a140-74b97481ca3a"
      unitRef="USD">554</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACSharesMember_S000051191_C000166001"
      decimals="INF"
      id="x_0c325dec-1894-4c6d-b832-42d5704e3967"
      unitRef="USD">220</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACSharesMember_S000051191_C000166001"
      decimals="INF"
      id="x_3de412a8-de3a-4896-944b-b83f191c9adf"
      unitRef="USD">377</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACSharesMember_S000051191_C000166001"
      decimals="INF"
      id="x_91d63338-1207-45f3-80d2-66fd75ead87d"
      unitRef="USD">653</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACSharesMember_S000051191_C000166001"
      decimals="INF"
      id="x_9d5fd171-c905-40c3-9738-9f4f0d5e47af"
      unitRef="USD">1442</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleNoRedemptionByYearColumnName
      contextRef="ClassACSharesMember_S000051191_C000166001"
      id="d56ef59a-6f49-45ea-80d2-d1274f4dca38">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Class C Shares &#x2013; Assuming no redemption&lt;/span&gt;</oef:ExpenseExampleNoRedemptionByYearColumnName>
    <oef:ExpenseExampleNoRedemptionYear01
      contextRef="ClassACSharesMember_S000051191_C000166001"
      decimals="INF"
      id="x_76f48d46-ed97-4a5d-844b-164f5ad5dd99"
      unitRef="USD">120</oef:ExpenseExampleNoRedemptionYear01>
    <oef:ExpenseExampleNoRedemptionYear03
      contextRef="ClassACSharesMember_S000051191_C000166001"
      decimals="INF"
      id="e25e1fc8-f8d3-4659-be92-b81afc0590b7"
      unitRef="USD">377</oef:ExpenseExampleNoRedemptionYear03>
    <oef:ExpenseExampleNoRedemptionYear05
      contextRef="ClassACSharesMember_S000051191_C000166001"
      decimals="INF"
      id="x_6bdc53d8-909c-4661-98a2-89ac1c379467"
      unitRef="USD">653</oef:ExpenseExampleNoRedemptionYear05>
    <oef:ExpenseExampleNoRedemptionYear10
      contextRef="ClassACSharesMember_S000051191_C000166001"
      decimals="INF"
      id="x_2ffa8c9b-c8f7-45ce-9e85-3008c74b2cc2"
      unitRef="USD">1442</oef:ExpenseExampleNoRedemptionYear10>
    <oef:StrategyHeading
      contextRef="ClassACSharesMember_S000051191"
      id="bfaa95ea-0e0a-4649-9439-c9fdbb602129">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ClassACSharesMember_S000051191"
      id="x_1ec06abf-7a1d-4f14-ae7f-e55f07f37947">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing in securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;), obligations of banks (which may exceed 25% of its total assets), commercial paper and other short-term obligations of U.S. companies, states, municipalities and other entities, and repurchase agreements. The Fund may also invest in U.S. dollar-denominated obligations of foreign banks, foreign companies and foreign governments. The Fund may not invest more than 25% of its total assets in the securities of any one foreign government. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;retail money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (the &#x201c;Investment Company Act&#x201d;). &#x201c;Retail money market funds&#x201d; are money market funds that have policies and procedures reasonably designed to limit all beneficial owners of the fund to natural persons. As a &#x201c;retail money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity, diversification and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000051191_RiskLoseMoneyMember"
      id="x_5b17d0c0-ca48-4055-8f0c-5a481e723ebf">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000051191_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_22e562f8-b5fe-4f10-8665-ae088d482aba">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000051191_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember"
      id="x_9b994b41-6959-4d27-ba53-27f880e972be">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund may impose a fee upon sale of your shares.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000051191_RiskNotInsuredDepositoryInstitutionMember"
      id="x_76fca80b-60e0-4500-84c0-4bc4177d5986">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;bank account or a deposit of a bank and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000051191_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="d726440b-f0c6-4eb5-b0c6-b7ca496fd370">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000051191_BankingIndustryRiskMember"
      id="dd57a37f-a0c1-4de5-8036-8304a58a9dc1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Banking Industry Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An adverse development in the banking industry (domestic or foreign) may affect the value of the Fund&#x2019;s investments more than if the Fund were not invested to such a degree in the banking industry. Banks may be particularly susceptible to certain economic factors such as interest rate changes, adverse developments in the real estate market, fiscal, regulatory and monetary policy and general economic cycles.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000051191_CreditDefaultRiskMember"
      id="x_40a0c31e-2ed4-4749-ade1-95afbda88b0b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000051191_ForeignRiskMember"
      id="a49d94bd-9b15-489d-9421-f8eec74cd81f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Foreign Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Foreign securities may be subject to risk of loss because of more or less foreign government regulation; less public information; less stringent investor protections; less stringent accounting, corporate governance, financial reporting and disclosure standards; and less economic, political and social stability in the countries in which the Fund invests. The imposition of sanctions, confiscations, trade restrictions (including tariffs) and other government restrictions by the United States and other governments, or from problems in share registration, settlement or custody, may also result in losses. In addition, the Fund will be subject to the risk that an issuer of foreign sovereign debt or the government authorities that control the repayment of the debt may be unable or unwilling to repay the principal or interest when due.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000051191_InterestRateRiskMember"
      id="x_69c7004e-eae7-47b9-8b56-348fcaec8db0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000051191_LargeShareholderTransactionsRiskMember"
      id="x_16c41900-30c5-4c96-8a78-31a7bf50ef83">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders&#160;(including financial intermediaries who may make investment decisions on behalf of underlying clients) purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000051191_LiquidityRiskMember"
      id="x_0e3a0c7b-40f7-4dcf-b462-c0ba2405a4c3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000051191_MarketRiskMember"
      id="x_0f0b1aa8-d460-4ba8-9014-18f1bc53479e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of &#160;individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000051191_MunicipalSecuritiesRiskMember"
      id="b57ca10a-c789-4a20-bc4f-07b10261283e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Municipal Securities Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Municipal securities are subject to credit/default risk, interest rate risk and certain additional risks. The Fund may be more sensitive to adverse economic, business&#160;or political developments if it invests a substantial portion of its assets in the debt securities of similar projects (such as those relating to education, health care, housing, transportation, and utilities), industrial development bonds, or in particular types of municipal securities (such as general obligation bonds, private activity bonds and moral obligation bonds). The Fund may also invest in municipal securities indirectly (including by investing in tender option bonds). While interest earned on municipal securities is generally not subject to federal tax, any interest earned on taxable municipal securities is fully taxable at the federal level and may be subject to tax at the state level.&#160;Municipal securities may be more susceptible to downgrades or defaults during recessions or similar periods of economic stress. In addition, since some municipal securities may be secured, guaranteed or otherwise supported by banks and other institutions, the risk to the Fund could increase if the banking or financial sector suffers an economic downturn and/or if the credit ratings of the institutions issuing the guarantee or demand feature are downgraded or at risk of being downgraded by a national rating organization. Such a downward revision or risk of being downgraded may have an adverse effect on the market prices of municipal securities and thus cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000051191_StableNAVRiskMember"
      id="x_50fbcf18-0242-4f72-98f4-3c2e69964100">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000051191_USGovernmentSecuritiesRiskMember"
      id="x_5d49afbb-868c-4c18-8e59-4e94d0065891">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ClassACSharesMember_S000051191"
      id="x_2a03efa3-8863-47c0-9a35-7577e4dd6e3a">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ClassACSharesMember_S000051191"
      id="x_231e60ac-3abe-49bd-a4a7-4b8eb6694780">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class A Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Class A and Class C Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;and/or expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-526-7384&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ClassACSharesMember_S000051191"
      id="x_56a07d2f-2d00-41b8-a7df-d94b951c43ce">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class A Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Class A and Class C Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ClassACSharesMember_S000051191"
      id="x_7b0e6875-0cc1-4e54-a4e4-0b2406feaf93">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ClassACSharesMember_S000051191"
      id="x_5f75b9f9-1819-40d6-a4f2-d6b9dc8346bf">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="ClassACSharesMember_S000051191"
      id="x_61427375-8628-4588-a37d-d963196e02c1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-526-7384&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="ClassACSharesMember_S000051191"
      id="x_999e29dd-1fd8-4b6f-b084-bb1ea120af77">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR (CLASS A SHARES)&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ClassACSharesMember_S000051191"
      id="b366f4e9-f594-4a0f-8579-c51812dd7fbb">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.30%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ClassACSharesMember_S000051191_C000166000"
      id="x_6f6bec9c-0677-43db-9a1f-4c93727d372c">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ClassACSharesMember_S000051191_C000166000"
      decimals="4"
      id="dc6d120d-4f6b-49c7-8310-0ecb8a9ffdae"
      unitRef="pure">0.0130</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ClassACSharesMember_S000051191_C000166000"
      id="x_67f32a7f-1b70-4abd-9da8-46dd630d3839">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ClassACSharesMember_S000051191_C000166000"
      id="ffbfc42e-2eaf-45a4-949c-b1bf3fadf7be">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ClassACSharesMember_S000051191_C000166000"
      decimals="4"
      id="x_02bcb4a5-4fe5-485a-8258-931ba2bf06b7"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ClassACSharesMember_S000051191_C000166000"
      id="x_502304fa-ded6-4f25-8918-6f8c86b63d95">2020-12-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ClassACSharesMember_S000051191"
      id="x_76b3b9eb-5551-4900-af2a-13214068a570">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACSharesMember_C000166000_01Jan2025_31Dec2025"
      decimals="4"
      id="x_720bd5f5-f033-43f3-90f8-59a8aba1d8f4"
      unitRef="pure">0.0405</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACSharesMember_C000166000_01Jan2021_31Dec2025"
      decimals="4"
      id="x_2cffbee3-491a-404c-9aaa-239c8f52e6b5"
      unitRef="pure">0.0308</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACSharesMember_C000166000_29Jan2016_31Dec2025"
      decimals="4"
      id="b66c72ed-a217-4034-bbdc-46d0d7fd1ea4"
      unitRef="pure">0.0207</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACSharesMember_C000166000"
      id="x_08475cd9-3b1c-4eca-a961-d0c642cc3626">2016-01-29</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACSharesMember_C000166001_01Jan2025_31Dec2025"
      decimals="4"
      id="x_785b4aa7-5bd9-4a0b-88b1-1166f2a89394"
      unitRef="pure">0.0327</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACSharesMember_C000166001_01Jan2021_31Dec2025"
      decimals="4"
      id="a04df532-0eb8-450f-9255-b8f8b2aad711"
      unitRef="pure">0.0252</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACSharesMember_C000166001_29Jan2016_31Dec2025"
      decimals="4"
      id="x_50e86a4b-e70f-4234-952b-e41220c55903"
      unitRef="pure">0.0152</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACSharesMember_C000166001"
      id="af86b49b-b437-4c88-bca2-e84190d5ab10">2016-01-29</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="ClassACSharesMember_S000009244"
      id="x_49967f0e-094e-41da-9f3e-48972b97f52e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Investor Tax-Exempt Money Market Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ClassACSharesMember_S000009244"
      id="x_66265bbc-c151-49f8-be46-408162425af3">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ClassACSharesMember_S000009244"
      id="x_72a4eee3-5d49-4206-b06d-925c80bb842b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Investor Tax-Exempt Money Market Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ClassACSharesMember_S000009244"
      id="a20683b9-3f1d-465a-8a5e-7833dbd7ad58">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ClassACSharesMember_S000009244"
      id="x_21b586af-2ace-465c-87a6-9ff6dff83ef7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Information about sales charge waivers is available from your financial professional and in &#x201c;Shareholder Guide&#x2014;Common Questions Applicable to the Purchase of Class C Shares&#x201d; beginning on page 43 and in &#x201c;Appendix C&#x2014;Additional Information About Sales Charge Variations, Waivers and Discounts&#x201d; on page 65 of the Prospectus.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="ClassACSharesMember_S000009244"
      id="x_6898f7a2-bf79-4fd1-8713-db61bb3c0ca3">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACSharesMember_S000009244_C000166884"
      decimals="4"
      id="x_19ab9e6e-644b-4a60-a363-a60a34ccb284"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACSharesMember_S000009244_C000166885"
      decimals="4"
      id="x_91fb26e5-06a6-4f70-89fc-0fea46c7621c"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACSharesMember_S000009244_C000166884"
      decimals="4"
      id="x_93c4be1e-a2a3-4d14-ac09-b05915196cd2"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACSharesMember_S000009244_C000166885"
      decimals="4"
      id="x_220ec707-0dbf-4736-a0a5-0e8fda7a5c45"
      unitRef="pure">0.0100</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="ClassACSharesMember_S000009244_C000166884"
      decimals="4"
      id="x_996ad07e-fd3b-4a2f-b63d-2dfbdb1834ab"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="ClassACSharesMember_S000009244_C000166885"
      decimals="4"
      id="x_747d2811-b4f2-4f50-9a37-a4dba14affaa"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="ClassACSharesMember_S000009244_C000166884"
      decimals="4"
      id="f0888569-1192-4c1e-af0e-5eae734f9dc8"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:RedemptionFeeOverRedemption
      contextRef="ClassACSharesMember_S000009244_C000166885"
      decimals="4"
      id="aac4d1bb-358c-4144-8078-342d8562edb8"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="ClassACSharesMember_S000009244_C000166884"
      decimals="4"
      id="x_37a77395-a321-46d6-b2d2-c05688a91cbe"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="ClassACSharesMember_S000009244_C000166885"
      decimals="4"
      id="f5318ca8-13b4-4e38-a738-5bab3561cc93"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="ClassACSharesMember_S000009244"
      id="x_94dde3b1-b1af-486c-870d-12a9c11c1634">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACSharesMember_S000009244_C000166884"
      decimals="4"
      id="d2fdba3d-bb30-45f3-9262-4f979cb94bc4"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACSharesMember_S000009244_C000166885"
      decimals="4"
      id="x_1499eb83-65b0-4791-b7e9-f0c8be3b585a"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACSharesMember_S000009244_C000166884"
      decimals="4"
      id="x_832fc10d-7dbf-410f-853f-347b3d747255"
      unitRef="pure">0.0025</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACSharesMember_S000009244_C000166885"
      decimals="4"
      id="x_46e57dc9-5eed-4744-b714-0d102a4ff164"
      unitRef="pure">0.0075</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACSharesMember_S000009244_C000166884"
      decimals="4"
      id="x_5396c373-6f21-4fc2-a2e8-d790f8f22a2f"
      unitRef="pure">0.0003</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACSharesMember_S000009244_C000166885"
      decimals="4"
      id="fe41306f-63bf-44d0-b9e5-bac2a950967b"
      unitRef="pure">0.0028</oef:OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACSharesMember_S000009244_C000166884"
      decimals="4"
      id="a941d690-696f-464e-b3e1-3345c52daf68"
      unitRef="pure">0.0000</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACSharesMember_S000009244_C000166885"
      decimals="4"
      id="x_72b8924a-9421-44b7-8982-f79e7bacfa84"
      unitRef="pure">0.0025</oef:Component1OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACSharesMember_S000009244_C000166884"
      decimals="4"
      id="x_38a3ee1e-3fdc-4ece-9c40-d8525287bb88"
      unitRef="pure">0.0003</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACSharesMember_S000009244_C000166885"
      decimals="4"
      id="x_592f8449-ee97-49b2-94d8-d310c7484e02"
      unitRef="pure">0.0003</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACSharesMember_S000009244_C000166884"
      decimals="4"
      id="x_540a1371-c15b-48bf-a357-d030277ca364"
      unitRef="pure">0.0044</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACSharesMember_S000009244_C000166885"
      decimals="4"
      id="x_861563a0-1cf1-4114-aab7-a8d2cb0e0c37"
      unitRef="pure">0.0119</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACSharesMember_S000009244_C000166884"
      decimals="4"
      id="x_3cbfd520-cca8-4fe1-a7c7-4c7226e976d6"
      unitRef="pure">-0.0001</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACSharesMember_S000009244_C000166885"
      decimals="4"
      id="e0bec6c6-6087-48e0-969c-8200e968ce49"
      unitRef="pure">-0.0001</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACSharesMember_S000009244_C000166884"
      decimals="4"
      id="x_08bdac53-8273-436c-ac96-8b79b20dd07c"
      unitRef="pure">0.0043</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACSharesMember_S000009244_C000166885"
      decimals="4"
      id="b65bc366-7194-42aa-8b6e-711168295785"
      unitRef="pure">0.0118</oef:NetExpensesOverAssets>
    <oef:ExpensesDeferredChargesTextBlock
      contextRef="ClassACSharesMember_S000009244"
      id="x_651c175c-e172-482f-9835-99a6b3cdbea6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Class C Shares may be subject to a contingent deferred sales charge (&#x201c;CDSC&#x201d;) of 1.00% during the first 12 months, measured from the time the original shares subject to the CDSC were acquired.&lt;/span&gt;</oef:ExpensesDeferredChargesTextBlock>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="ClassACSharesMember_S000009244"
      id="x_23175bf9-982a-4fab-b3a5-b79a4b9bc106">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;March 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="ClassACSharesMember_S000009244"
      id="bfba8931-20c5-49ee-a59c-8854f17c6aa0">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ClassACSharesMember_S000009244"
      id="bbe74fdd-dd0e-4079-bfd7-bf1f91fdd059">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Class A and/or Class C Shares of the Fund for the time periods indicated and then redeem all of your Class A and/or Class C Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ClassACSharesMember_S000009244_C000166884"
      decimals="INF"
      id="db8ef886-e07a-4b41-90c9-fea02064ea32"
      unitRef="USD">44</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACSharesMember_S000009244_C000166884"
      decimals="INF"
      id="x_770e1ba4-ef7f-4278-8688-27a3a7d1f9f7"
      unitRef="USD">140</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACSharesMember_S000009244_C000166884"
      decimals="INF"
      id="d4308276-f850-49ed-8623-029e35171cb2"
      unitRef="USD">245</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACSharesMember_S000009244_C000166884"
      decimals="INF"
      id="x_74da2634-edcd-4e4b-aa53-3d590a441769"
      unitRef="USD">554</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACSharesMember_S000009244_C000166885"
      decimals="INF"
      id="a12bcff6-3238-4bc3-a171-8184c639357b"
      unitRef="USD">220</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACSharesMember_S000009244_C000166885"
      decimals="INF"
      id="x_2b1f176c-ffd6-49f2-94fe-4641e3662e22"
      unitRef="USD">377</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACSharesMember_S000009244_C000166885"
      decimals="INF"
      id="x_3d63e278-2699-4266-858e-6ce78465532e"
      unitRef="USD">653</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACSharesMember_S000009244_C000166885"
      decimals="INF"
      id="x_0658986d-05ca-4455-b1b7-b29f1c1c7e19"
      unitRef="USD">1442</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleNoRedemptionByYearColumnName
      contextRef="ClassACSharesMember_S000009244_C000166885"
      id="x_8a15e887-fd2c-4ee3-996e-98f3c614cdc0">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Class C Shares &#x2013; Assuming no redemption&lt;/span&gt;</oef:ExpenseExampleNoRedemptionByYearColumnName>
    <oef:ExpenseExampleNoRedemptionYear01
      contextRef="ClassACSharesMember_S000009244_C000166885"
      decimals="INF"
      id="eceaf766-5a9b-4d2c-bd4d-21f80fcb30c5"
      unitRef="USD">120</oef:ExpenseExampleNoRedemptionYear01>
    <oef:ExpenseExampleNoRedemptionYear03
      contextRef="ClassACSharesMember_S000009244_C000166885"
      decimals="INF"
      id="x_1edbea65-d1ee-4c93-91c0-6c8bd67ea8cd"
      unitRef="USD">377</oef:ExpenseExampleNoRedemptionYear03>
    <oef:ExpenseExampleNoRedemptionYear05
      contextRef="ClassACSharesMember_S000009244_C000166885"
      decimals="INF"
      id="x_60c33e6b-6b6b-402e-b23a-565e0354f2ad"
      unitRef="USD">653</oef:ExpenseExampleNoRedemptionYear05>
    <oef:ExpenseExampleNoRedemptionYear10
      contextRef="ClassACSharesMember_S000009244_C000166885"
      decimals="INF"
      id="d05e08c8-a551-4617-9735-a833a03a38bf"
      unitRef="USD">1442</oef:ExpenseExampleNoRedemptionYear10>
    <oef:StrategyHeading
      contextRef="ClassACSharesMember_S000009244"
      id="ab0539ec-b1e7-42c9-8acd-11f751483d95">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ClassACSharesMember_S000009244"
      id="x_7d6073ab-9ebb-438a-bf99-b8eeb2149038">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing at least 80% of its net assets plus any borrowings for investment purposes (measured at the time of investment) (&#x201c;Net Assets&#x201d;) in securities issued by or on behalf of states, territories and possessions of the United States and their political subdivisions, agencies, authorities and instrumentalities, and the District of Columbia, the interest from which, if any, is in the opinion of bond counsel excluded from gross income for federal income tax purposes, and generally not an item of tax preference under the federal alternative minimum tax (&#x201c;AMT&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser ordinarily expects the Fund to invest in municipal obligations directly or indirectly (including by investing in tender option bonds), but the Fund may invest in short-term taxable instruments for temporary investment purposes. The Fund may also invest up to 20% of its Net Assets in securities the interest from which may be subject to federal income tax and an item of tax preference under the AMT. Such investments include securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;retail money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (the &#x201c;Investment Company Act&#x201d;). &#x201c;Retail money market funds&#x201d; are money market funds that have policies and procedures reasonably designed to limit all beneficial owners of the fund to natural persons. As a &#x201c;retail money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity, diversification and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000009244_RiskLoseMoneyMember"
      id="a77baad2-a02e-417f-9570-acf2bec7863d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000009244_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="a092736d-8a82-4e1d-892a-f55ecf3cae69">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000009244_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember"
      id="x_9cf2ac1d-3466-442a-b4fb-2e80b2a64a4c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund may impose a fee upon sale of your shares.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000009244_RiskNotInsuredDepositoryInstitutionMember"
      id="x_1904eb1c-18ad-4d64-9ffa-976767b779fa">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;bank account or a deposit of a bank and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000009244_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_5d39499a-ddb8-42e8-82b6-cbad12287a2a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000009244_CreditDefaultRiskMember"
      id="x_8c38e40b-1998-4d7a-94a9-00bef67ea740">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund may default on its obligation to pay interest and repay principal or default on any other obligation. This also includes the risk of default on letters of credit, guarantees, demand features or insurance policies that back or otherwise support municipal securities. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000009244_GeographicandSectorRiskMember"
      id="x_9ddbb7ea-59fc-4b0d-8d56-095fb944be07">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Geographic and Sector Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; If the Fund invests a significant portion of its total assets in certain issuers within the same state, geographic region or economic sector, an adverse economic, business, political, environmental or other development affecting that state, region or sector may affect the value of the Fund&#x2019;s investments more than if its investments were not so focused.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000009244_InterestRateRiskMember"
      id="afae5ffb-ef5f-4cda-8de8-b90ff57e0375">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000009244_LargeShareholderTransactionsRiskMember"
      id="aaf8e595-e85a-4ca2-a482-c3618cbdba49">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders&#160;(including financial intermediaries who may make investment decisions on behalf of underlying clients) purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000009244_LiquidityRiskMember"
      id="x_9a726ea5-3772-440b-871e-fc598242fcd5">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000009244_MarketRiskMember"
      id="b1223cae-7202-44af-842a-7bc985506920">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of &#160;individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000009244_MunicipalSecuritiesRiskMember"
      id="a0df4cf8-3b6c-4df5-b8a4-c1d12465ccfb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Municipal Securities Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Municipal securities are subject to credit/default risk, interest rate risk and certain additional risks. The Fund may be more sensitive to adverse economic, business&#160;or political developments if it invests a substantial portion of its assets in the debt securities of similar projects (such as those relating to education, health care, housing, transportation, and utilities), industrial development bonds, or in particular types of municipal securities (such as general obligation bonds, private activity bonds and moral obligation bonds). The Fund may also invest in municipal securities indirectly (including by investing in tender option bonds). While interest earned on municipal securities is generally not subject to federal tax, any interest earned on taxable municipal securities is fully taxable at the federal level and may be subject to tax at the state level.&#160;Municipal securities may be more susceptible to downgrades or defaults during recessions or similar periods of economic stress. In addition, since some municipal securities may be secured, guaranteed or otherwise supported by banks and other institutions, the risk to the Fund could increase if the banking or financial sector suffers an economic downturn and/or if the credit ratings of the institutions issuing the guarantee or demand feature are downgraded or at risk of being downgraded by a national rating organization. Such a downward revision or risk of being downgraded may have an adverse effect on the market prices of municipal securities and thus cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000009244_StableNAVRiskMember"
      id="ffa512a4-d6e2-4734-9a82-67cbcfa90bef">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000009244_TaxRiskMember"
      id="e528432f-5165-4ecc-bf86-f782106bdae1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Tax Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Future legislative or administrative changes or court decisions may materially affect the value of the Fund&#x2019;s portfolio holdings and/or the ability of the Fund to pay federal tax-exempt dividends. The Fund would not be a suitable investment within IRAs, other tax-exempt or tax-deferred accounts, or for investors who are not sensitive to the federal tax consequences of their investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACSharesMember_S000009244_USGovernmentSecuritiesRiskMember"
      id="x_97047b30-b95f-400d-bbc5-6eef7877568b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ClassACSharesMember_S000009244"
      id="x_94282bc5-0451-4352-92cf-42dfd0125b3b">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ClassACSharesMember_S000009244"
      id="x_97444f67-47c4-419f-86dd-cdb13cceeba1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class A Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Class A and Class C Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;and/or expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-526-7384&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ClassACSharesMember_S000009244"
      id="x_2bef49ec-2a49-4079-8073-76482bf40359">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class A Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Class A and Class C Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ClassACSharesMember_S000009244"
      id="x_93cd86c8-b1ae-4b58-b29c-cbe9b58a66e0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ClassACSharesMember_S000009244"
      id="x_96e2a5a5-dd08-4c42-bae1-ce78485de35f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="ClassACSharesMember_S000009244"
      id="x_06705231-8226-4890-a2d2-642f65859501">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-526-7384&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="ClassACSharesMember_S000009244"
      id="x_15ea2b2e-fbb9-48aa-9ebb-5b5ee0fad53c">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR (CLASS A SHARES)&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ClassACSharesMember_S000009244"
      id="x_87b813a9-8fb6-4f46-a1df-9d62f0c7084c">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.80%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2021&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ClassACSharesMember_S000009244_C000166884"
      id="bd19e1b8-4c43-4d28-b5cc-1987d32a4350">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ClassACSharesMember_S000009244_C000166884"
      decimals="4"
      id="e00a74de-1344-4087-8f98-f4455867a7e5"
      unitRef="pure">0.0080</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ClassACSharesMember_S000009244_C000166884"
      id="x_2811ed8a-1cd5-4229-9934-21607183549e">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ClassACSharesMember_S000009244_C000166884"
      id="x_37bfc091-64d1-4ea7-bf6d-c0046b7fbe85">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ClassACSharesMember_S000009244_C000166884"
      decimals="4"
      id="x_7fb6d625-92ac-4474-8704-7c21c831dbe9"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ClassACSharesMember_S000009244_C000166884"
      id="x_4b49e223-759e-44c6-9708-723cdd12f2ec">2021-12-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ClassACSharesMember_S000009244"
      id="c8408ecf-956f-4f0b-b887-d922037d55d1">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACSharesMember_C000166884_01Jan2025_31Dec2025"
      decimals="4"
      id="x_1cf59a20-183d-4c96-8d57-9bb1e7fde12d"
      unitRef="pure">0.0249</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACSharesMember_C000166884_01Jan2021_31Dec2025"
      decimals="4"
      id="x_34dd50c1-5f2b-47e0-9d33-e18e36010f06"
      unitRef="pure">0.0181</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACSharesMember_C000166884_31Mar2016_31Dec2025"
      decimals="4"
      id="x_5a6fbaa2-ffbd-463c-991a-3897f6540911"
      unitRef="pure">0.0122</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACSharesMember_C000166884"
      id="x_04c55d50-90ea-4dd6-a4f5-6810a9b0a9b4">2016-03-31</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACSharesMember_C000166885_01Jan2025_31Dec2025"
      decimals="4"
      id="x_347a96eb-8882-405a-a200-3dafeadf33e5"
      unitRef="pure">0.0173</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACSharesMember_C000166885_01Jan2021_31Dec2025"
      decimals="4"
      id="x_18dcfd48-1062-4b1a-b506-a3497100615f"
      unitRef="pure">0.0128</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACSharesMember_C000166885_31Mar2016_31Dec2025"
      decimals="4"
      id="cee7a7e3-4a62-41ee-899e-f9caf9066664"
      unitRef="pure">0.0073</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACSharesMember_C000166885"
      id="x_16d531f8-8dec-4d89-8999-f68d858d69be">2016-03-31</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="ClassASharesMember_S000086404"
      id="b7d2cc25-db74-43cb-aa6e-1ecf08c9e5dc">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Investor Tax-Exempt California Money Market&#160;Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ClassASharesMember_S000086404"
      id="ac06da3c-9351-430c-a0af-3a266c7262c4">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ClassASharesMember_S000086404"
      id="x_629670b9-7f9d-434c-a3cc-5e6b791ae3ff">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs Investor Tax-Exempt California Money Market Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing primarily in high quality money market instruments, the interest on which is exempt from federal income tax and California State personal income tax.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ClassASharesMember_S000086404"
      id="bff4d16a-20e1-4d9d-abf8-1588ff962f7b">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ClassASharesMember_S000086404"
      id="x_975aeeb2-d778-406d-acfb-bad126623b1d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="ClassASharesMember_S000086404"
      id="b6b6b773-b1ca-4d0e-8305-7f4af9b6b230">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassASharesMember_S000086404_C000251956"
      decimals="4"
      id="x_01f977d9-4ece-4387-b841-682ff92740dc"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassASharesMember_S000086404_C000251956"
      decimals="4"
      id="deb29247-0089-40da-9486-6e593cf23514"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="ClassASharesMember_S000086404_C000251956"
      decimals="4"
      id="x_3538bbd7-b693-4f00-9743-c135d3b1d949"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="ClassASharesMember_S000086404_C000251956"
      decimals="4"
      id="e8cd8a0a-ef3e-48b8-b9e2-5b98c9a97b62"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="ClassASharesMember_S000086404_C000251956"
      decimals="4"
      id="a39eb70d-bf25-49f7-a8e7-a0d8f608ec8d"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="ClassASharesMember_S000086404"
      id="x_0ba17054-455d-4588-801a-9fb7d5341ef5">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ClassASharesMember_S000086404_C000251956"
      decimals="4"
      id="e8256500-b1f3-48be-b102-bef612f4c9f5"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassASharesMember_S000086404_C000251956"
      decimals="4"
      id="x_25f14007-33f4-4b6f-858a-475eeec25321"
      unitRef="pure">0.0025</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassASharesMember_S000086404_C000251956"
      decimals="4"
      id="f6ffe5cc-4a3f-431b-85be-0495c535210b"
      unitRef="pure">0.0287</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassASharesMember_S000086404_C000251956"
      decimals="4"
      id="a2baefd6-eef9-4361-bac4-31d670caa018"
      unitRef="pure">0.0328</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassASharesMember_S000086404_C000251956"
      decimals="4"
      id="x_85e36a7d-6818-43e6-90f6-07237140ee46"
      unitRef="pure">-0.0285</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassASharesMember_S000086404_C000251956"
      decimals="4"
      id="fbcb8e3b-c9ae-4ba5-9f9d-02541332cafa"
      unitRef="pure">0.0043</oef:NetExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="ClassASharesMember_S000086404"
      id="x_7b6d6766-2285-464e-875a-fdeb0b66163c">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;March 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="ClassASharesMember_S000086404"
      id="x_8e9fc622-62f9-491c-af81-7e0672c844e2">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ClassASharesMember_S000086404"
      id="e3548849-0497-4461-9c0a-5200f1d8e4dd">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Class A Shares of the Fund for the time periods indicated and then redeem all of your Class A Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same&#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements&#160;for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ClassASharesMember_S000086404_C000251956"
      decimals="INF"
      id="x_603e5e93-3107-48d1-bc01-69cba1d5ab63"
      unitRef="USD">44</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassASharesMember_S000086404_C000251956"
      decimals="INF"
      id="e19f590c-2bda-4215-ba08-6cbff8805e08"
      unitRef="USD">742</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassASharesMember_S000086404_C000251956"
      decimals="INF"
      id="x_70d4ad22-7f65-41b8-af49-5c1443dc1ea3"
      unitRef="USD">1464</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassASharesMember_S000086404_C000251956"
      decimals="INF"
      id="x_76417137-9ed0-4556-98be-146f58f3b2a2"
      unitRef="USD">3380</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="ClassASharesMember_S000086404"
      id="bfa48957-3950-4d2f-bade-23c745bf8a24">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ClassASharesMember_S000086404"
      id="e478c59b-a3f5-4a79-b68a-6822c40c9eb9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing at least 80% of its net assets plus any borrowings for investment purposes (measured at the time of investment) (&#x201c;Net Assets&#x201d;) in securities issued by or on behalf of (i) the State of California, its political subdivisions, agencies, authorities and instrumentalities and (ii) territories and possessions of the United States and their political &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;subdivisions, agencies, authorities and instrumentalities, in each case, the interest from which, if any, is in the opinion of bond counsel excluded from gross income for federal income tax purposes, generally not an item of tax preference under the federal alternative minimum tax (&#x201c;AMT&#x201d;) and exempt from California State personal income tax (&#x201c;California Obligations&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser ordinarily expects the Fund to invest in municipal obligations directly or indirectly (including by investing in tender option bonds), but the Fund may invest in short-term taxable instruments for temporary investment purposes. The Fund may also invest up to 20% of its Net Assets in securities the interest from which is exempt from California State personal income tax, but may be subject to federal income tax and an item of tax preference under the AMT. Such investments include securities issued or guaranteed by the United States or certain U.S. government&#160;agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;retail money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (the &#x201c;Investment Company Act&#x201d;). &#x201c;Retail money market funds&#x201d; are money market funds that have policies and procedures reasonably designed to limit all beneficial owners of the fund to natural persons. As a &#x201c;retail money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity, diversification and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassASharesMember_S000086404_RiskLoseMoneyMember"
      id="ec9cd8d4-befd-4a54-acba-321271f014a0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassASharesMember_S000086404_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_37962ac7-fcdc-46b3-8b53-e80e03acac5d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassASharesMember_S000086404_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember"
      id="bf7c045d-8788-4f37-b0cd-37c79ab40bca">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund may impose a fee upon sale of your shares.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassASharesMember_S000086404_RiskNotInsuredDepositoryInstitutionMember"
      id="x_3978fa4f-d312-4810-afa5-a2c3f2234588">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassASharesMember_S000086404_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="d2606ada-f6f1-4b6e-8f61-f8527776bb60">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassASharesMember_S000086404_CaliforniaRiskMember"
      id="x_825e6096-5b9c-4fad-990b-bf773d212052">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;California Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund intends to invest primarily in California Obligations. The Fund&#x2019;s investments are, therefore, significantly affected by political and economic developments within this state, and by the financial condition of this state, its political subdivisions, agencies, authorities and instrumentalities. If California or any of its political subdivisions, agencies, authorities or instrumentalities are unable to meet their financial obligations, the Fund&#x2019;s income, NAV, and ability to preserve or realize appreciation of capital or liquidity could be adversely affected. While California&#x2019;s economy is broad and diversified, it does have major concentrations in certain sectors, including technology, manufacturing, entertainment, agriculture, tourism, construction and professional services, and will be disproportionately sensitive to economic problems affecting those sectors. In addition, as a single state money market fund, the Fund is less diversified and is allowed to invest a significantly greater portion of its assets in one issuer as compared to other money market funds. Because of the flexibility to invest a significantly greater portion of its assets in one issuer and the relatively limited number of issuers of California Obligations, the Fund&#x2019;s performance may be disproportionately affected by the success of one or a few issuers than is the performance of a more diversified money market fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassASharesMember_S000086404_CreditDefaultRiskMember"
      id="x_72657a3d-9168-4728-93fc-1013e8797540">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund may default on its obligation to pay interest and repay principal or default on any other obligation. This also includes the risk of default on letters of credit, guarantees, demand features or insurance policies that back or otherwise support municipal securities. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassASharesMember_S000086404_InterestRateRiskMember"
      id="x_4bc06481-b2fa-4fe4-8a4e-a6366e30458f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassASharesMember_S000086404_LargeShareholderTransactionsRiskMember"
      id="x_93c73740-16d3-4c81-9708-5e4fca9fd6f0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders&#160;(including financial intermediaries who may make investment decisions on behalf of underlying clients) purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassASharesMember_S000086404_LiquidityRiskMember"
      id="x_8fdfb600-a85e-4a37-83de-c92a188a4d5c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund's ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassASharesMember_S000086404_MarketRiskMember"
      id="a479cd58-13bf-4b40-a097-79d493c2d973">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of &#160;individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassASharesMember_S000086404_MunicipalSecuritiesRiskMember"
      id="ca127de2-947d-4b16-ba51-39499f4c5cc3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Municipal Securities Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Municipal securities are subject to credit/default risk, interest rate risk and certain additional risks. The Fund may be more sensitive to adverse economic, business&#160;or political developments if it invests a substantial portion of its assets in the debt securities of similar projects (such as those relating to education, health care, housing, transportation, and utilities), industrial development bonds, or in particular types of municipal securities (such as general obligation bonds, private activity bonds and moral obligation bonds). The Fund may also invest in municipal securities indirectly (including by investing in tender option bonds). While interest earned on municipal securities is generally not subject to federal tax, any interest earned on taxable municipal securities is fully taxable at the federal level and may be subject to tax at the state level.&#160;Municipal securities may be more susceptible to downgrades or defaults during recessions or similar periods of economic stress. In addition, since some municipal securities may be secured, guaranteed or otherwise supported by banks and other institutions, the risk to the Fund could increase if the banking or financial sector suffers an economic downturn and/or if the credit ratings of the institutions issuing the guarantee or demand feature are downgraded or at risk of being downgraded by a national rating organization. Such a downward revision or risk of being downgraded may have an adverse effect on the market prices of municipal securities and thus cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassASharesMember_S000086404_StableNAVRiskMember"
      id="ab84ff62-1eb8-4f52-9d1b-c2fe15983729">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassASharesMember_S000086404_TaxRiskMember"
      id="x_78e0cefc-1c09-4a32-a975-8cd084341278">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Tax Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Future legislative or administrative changes or court decisions may materially affect the value of the Fund&#x2019;s portfolio holdings and/or the ability of the Fund to pay federal tax-exempt dividends. The Fund would not be a suitable investment within IRAs, other tax-exempt or tax-deferred accounts, or for investors who are not sensitive to the federal tax consequences of their investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassASharesMember_S000086404_USGovernmentSecuritiesRiskMember"
      id="x_4db5ef72-928c-45b2-b209-115d653eefbe">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ClassASharesMember_S000086404"
      id="ed6ec9e7-c817-48b3-9847-03fbc2056133">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ClassASharesMember_S000086404"
      id="x_15eaf106-f8f5-4780-930a-deed96d42d4e">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class A Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Class&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;A Shares.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;1-800-&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;621-2550&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ClassASharesMember_S000086404"
      id="cac7f368-48eb-4043-846e-1e8a35dc6825">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class A Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Class&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;A Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ClassASharesMember_S000086404"
      id="fdfc7147-2b6f-4c36-bebb-6d32ceade3ca">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ClassASharesMember_S000086404"
      id="x_45453f75-3669-40c6-87e1-5411ca36c01f">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="ClassASharesMember_S000086404"
      id="x_7819f970-c233-4cdb-85f4-ac3367f53978">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;1-800-&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="ClassASharesMember_S000086404"
      id="x_4294dd7c-404b-4c12-a9df-c867abda9f6f">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ClassASharesMember_S000086404"
      id="d07fdc3d-4bfa-4024-ab1f-e3320fcb04f8">&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.57%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;June 30, 2025&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.46%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;September 30, 2025&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ClassASharesMember_S000086404_C000251956"
      id="x_20b7577e-5552-468e-a607-f60544b12ae3">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ClassASharesMember_S000086404_C000251956"
      decimals="4"
      id="c06411c5-a2fe-4eb1-8b6e-bece1e8575fa"
      unitRef="pure">0.0057</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ClassASharesMember_S000086404_C000251956"
      id="x_0ba49955-fbd5-4c2c-9d45-896c2eb39abd">2025-06-30</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ClassASharesMember_S000086404_C000251956"
      id="x_32772ff4-e2e1-416a-8a14-980939827728">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ClassASharesMember_S000086404_C000251956"
      decimals="4"
      id="b88e853a-04d8-4242-9f65-b9542ba45ed3"
      unitRef="pure">0.0046</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ClassASharesMember_S000086404_C000251956"
      id="x_2f330b10-d4e0-47a9-ae69-e05a26bb1981">2025-09-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ClassASharesMember_S000086404"
      id="x_7e74ec6d-f911-402d-9d7e-fa28ac0eb2a9">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="ClassASharesMember_C000251956_01Jan2025_31Dec2025"
      decimals="4"
      id="x_8d000a04-7f77-4f6b-84b4-c8249feab15b"
      unitRef="pure">0.0206</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassASharesMember_C000251956_10Sep2024_31Dec2025"
      decimals="4"
      id="c1c13d9e-1e8a-49ba-b5bc-463cfedc2450"
      unitRef="pure">0.0214</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassASharesMember_C000251956"
      id="x_89195540-0edc-40bb-9ee9-3989bc39f56b">2024-09-10</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="ClassASharesMember_S000086405"
      id="x_8cfd2a87-0cf4-4950-afa6-21f27947d43b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Investor Tax-Exempt New York&#160;Money Market Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ClassASharesMember_S000086405"
      id="ac2a112c-ca59-4bf4-a0d6-e52ebc805731">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ClassASharesMember_S000086405"
      id="a34bda8a-7dee-4f20-8f85-b4059581fe4d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs Investor Tax-Exempt New York Money Market Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing primarily in high quality money market instruments, the interest on which is exempt from federal income tax and New York State and New York City personal income taxes.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ClassASharesMember_S000086405"
      id="x_5e45832e-3be5-41f8-9cae-262cdfcabc7f">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ClassASharesMember_S000086405"
      id="x_0a720465-0ee9-4764-aff4-4f7661134deb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="ClassASharesMember_S000086405"
      id="x_1f22601a-c104-410c-a0c2-983fdd83626e">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassASharesMember_S000086405_C000251961"
      decimals="4"
      id="x_3dcf1786-3ac0-4b4e-9478-e6edebd48d4b"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassASharesMember_S000086405_C000251961"
      decimals="4"
      id="x_819e20ae-3351-4178-9cd5-54268fb89d1c"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="ClassASharesMember_S000086405_C000251961"
      decimals="4"
      id="x_31b9671b-0962-49c3-b19f-3adff19c9000"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="ClassASharesMember_S000086405_C000251961"
      decimals="4"
      id="x_2a20f457-62d9-43dd-9e7a-febe5ca5b670"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="ClassASharesMember_S000086405_C000251961"
      decimals="4"
      id="cef74afb-5a0f-4b58-9642-a02a6749354a"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="ClassASharesMember_S000086405"
      id="b55ade8a-b9e8-438e-b4b7-35ad98c628e9">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ClassASharesMember_S000086405_C000251961"
      decimals="4"
      id="x_9bf4dccc-c5c4-43b9-88e6-69f16d86f6a5"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassASharesMember_S000086405_C000251961"
      decimals="4"
      id="x_2bab7d2f-368c-4184-8a54-732860470cda"
      unitRef="pure">0.0025</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassASharesMember_S000086405_C000251961"
      decimals="4"
      id="x_3690eb5c-a6b5-499b-bce7-bb96426cafc9"
      unitRef="pure">0.0107</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassASharesMember_S000086405_C000251961"
      decimals="4"
      id="b9b4c1c3-6158-46fd-8ef3-e82a97a62b69"
      unitRef="pure">0.0148</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassASharesMember_S000086405_C000251961"
      decimals="4"
      id="f24c1679-8201-43cd-8c62-cc40c7e39519"
      unitRef="pure">-0.0105</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassASharesMember_S000086405_C000251961"
      decimals="4"
      id="cfd952e6-3bfe-4aa5-b886-de4de0f03319"
      unitRef="pure">0.0043</oef:NetExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="ClassASharesMember_S000086405"
      id="x_920dab0e-5f9c-4ab0-8ed0-140142e05f48">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;March 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="ClassASharesMember_S000086405"
      id="faecd9ee-2160-41a0-9af4-3c8749a7d86d">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ClassASharesMember_S000086405"
      id="b634af42-88c9-439b-bc1e-40fa43d33171">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Class A Shares of the Fund for the time periods indicated and then redeem all of your Class A Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same&#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements&#160;for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ClassASharesMember_S000086405_C000251961"
      decimals="INF"
      id="x_0089cf69-9244-40ff-a8b7-66f142ffecb1"
      unitRef="USD">44</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassASharesMember_S000086405_C000251961"
      decimals="INF"
      id="x_0d49d298-e5ed-4bbd-8050-26c1f369dca9"
      unitRef="USD">365</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassASharesMember_S000086405_C000251961"
      decimals="INF"
      id="x_8c98136e-14ee-47b4-b586-7061300452ed"
      unitRef="USD">708</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassASharesMember_S000086405_C000251961"
      decimals="INF"
      id="f76eb04b-ceaf-421e-b1e5-baf640fece96"
      unitRef="USD">1678</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="ClassASharesMember_S000086405"
      id="x_8e6b4e54-1d73-410f-8119-469a1b741a4d">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ClassASharesMember_S000086405"
      id="x_2bf6efe5-39c2-42ee-926f-df4b5a357f80">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing at least 80% of its net assets plus any borrowings for investment purposes (measured at the time of investment) (&#x201c;Net Assets&#x201d;) in securities issued by or on behalf of (i) the State of New York, its political subdivisions, agencies, authorities and instrumentalities and (ii) territories and possessions of the United States and their political &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;subdivisions, agencies, authorities and instrumentalities, in each case, the interest from which, if any, is in the opinion of bond counsel excluded from gross income for federal income tax purposes, generally not an item of tax preference under the federal alternative minimum tax (&#x201c;AMT&#x201d;) and exempt from New York State and New York City personal income taxes (&#x201c;New York Obligations&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser ordinarily expects the Fund to invest in municipal obligations directly or indirectly (including by investing in tender option bonds), but the Fund may invest in short-term taxable instruments for temporary investment purposes. The Fund may also invest up to 20% of its Net Assets in securities the interest from which is exempt from New York State and New York City personal income tax, but may be subject to federal income tax and an item of tax preference under the AMT.&#160;Such investments include securities issued or guaranteed by the United States or certain U.S. government&#160;agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;retail money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (the &#x201c;Investment Company Act&#x201d;). &#x201c;Retail money market funds&#x201d; are money market funds that have policies and procedures reasonably designed to limit all beneficial owners of the fund to natural persons. As a &#x201c;retail money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity, diversification and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassASharesMember_S000086405_RiskLoseMoneyMember"
      id="x_18515e48-19b5-4ab1-9788-050c1884f3cf">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassASharesMember_S000086405_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="bad726a0-7eb6-4b37-bcea-a8cc420f6f8c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassASharesMember_S000086405_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember"
      id="x_5a263302-1b1e-4ae8-a1c4-44db70d55493">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund may impose a fee upon sale of your shares.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassASharesMember_S000086405_RiskNotInsuredDepositoryInstitutionMember"
      id="x_5924e01e-e728-493a-b26e-86981e198142">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;bank account or a deposit of a bank and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassASharesMember_S000086405_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_1dbb926c-4a92-4bc9-a41c-1f8e0f4216bb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassASharesMember_S000086405_CreditDefaultRiskMember"
      id="x_03b2edb0-fca1-4097-a67c-6b3383bce0e3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund may default on its obligation to pay interest and repay principal or default on any other obligation. This also includes the risk of default on letters of credit, guarantees, demand features or insurance policies that back or otherwise support municipal securities. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassASharesMember_S000086405_InterestRateRiskMember"
      id="x_3abfcaa7-017e-4d3a-81c8-a133828cb279">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassASharesMember_S000086405_LargeShareholderTransactionsRiskMember"
      id="e23c5150-a536-40cd-a041-38c1d840fcf3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders&#160;(including financial intermediaries who may make investment decisions on behalf of underlying clients) purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassASharesMember_S000086405_LiquidityRiskMember"
      id="x_7afb098d-8197-451b-8ffc-6d2395e59505">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund's ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassASharesMember_S000086405_MarketRiskMember"
      id="x_9e9244be-910c-4c21-a625-583fb3133ea1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of &#160;individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassASharesMember_S000086405_MunicipalSecuritiesRiskMember"
      id="x_5d4223ea-8315-4469-a880-1def20b8511b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Municipal Securities Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Municipal securities are subject to credit/default risk, interest rate risk and certain additional risks. The Fund may be more sensitive to adverse economic, business&#160;or political developments if it invests a substantial portion of its assets in the debt securities of similar projects (such as those relating to education, health care, housing, transportation, and utilities), industrial development bonds, or in particular types of municipal securities (such as general obligation bonds, private activity bonds and moral obligation bonds). The Fund may also invest in municipal securities indirectly (including by investing in tender option bonds). While interest earned on municipal securities is generally not subject to federal tax, any interest earned on taxable municipal securities is fully taxable at the federal level and may be subject to tax at the state level.&#160;Municipal securities may be more susceptible to downgrades or defaults during recessions or similar periods of economic stress. In addition, since some municipal securities may be secured, guaranteed or otherwise supported by banks and other institutions, the risk to the Fund could increase if the banking or financial sector suffers an economic downturn and/or if the credit ratings of the institutions issuing the guarantee or demand feature are downgraded or at risk of being downgraded by a national rating organization. Such a downward revision or risk of being downgraded may have an adverse effect on the market prices of municipal securities and thus cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassASharesMember_S000086405_NewYorkRiskMember"
      id="x_2de5b211-9b26-4196-932b-2dfb3812a9b1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;New York Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund intends to invest primarily in New York Obligations. The Fund&#x2019;s investments are, therefore, significantly affected by political and economic developments within this state, and by the financial condition of this state, its political subdivisions, agencies, authorities and instrumentalities. If New York or any of its political subdivisions, agencies, authorities or instrumentalities are unable to meet their financial obligations, the Fund&#x2019;s income, NAV, and ability to preserve or realize appreciation of capital or liquidity could be adversely affected. As the nation&#x2019;s financial capital, the economies of New York State and New York City are heavily dependent on the financial sector and will be disproportionately sensitive to economic problems affecting the sector. In addition, as a single state money market fund, the Fund is less diversified and is allowed to invest a significantly greater portion of its assets in one issuer as compared to other money market funds. Because of the flexibility to invest a significantly greater portion of its assets in one issuer and the relatively limited number of issuers of New York Obligations, the Fund&#x2019;s performance may be disproportionately affected by the success of one or a few issuers than is the performance of a more diversified money market fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassASharesMember_S000086405_StableNAVRiskMember"
      id="x_68a09479-78e7-4e0b-860d-4133912bbcd9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassASharesMember_S000086405_TaxRiskMember"
      id="x_9cb9aae1-edb6-4067-91b3-dddeda1d0a4f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Tax Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Future legislative or administrative changes or court decisions may materially affect the value of the Fund&#x2019;s portfolio holdings and/or the ability of the Fund to pay federal tax-exempt dividends. The Fund would not be a suitable investment within IRAs, other tax-exempt or tax-deferred accounts, or for investors who are not sensitive to the federal tax consequences of their investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassASharesMember_S000086405_USGovernmentSecuritiesRiskMember"
      id="x_03896eb0-9e35-434c-86c8-5bcd51120edb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ClassASharesMember_S000086405"
      id="x_097942b9-f928-4a1e-9a4e-45ac0b8d895b">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ClassASharesMember_S000086405"
      id="c69d1d50-f97c-4fe5-95ef-788bdefd145e">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class A Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Class&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;A Shares.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;1-800-&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;621-2550&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ClassASharesMember_S000086405"
      id="x_356d57d7-8041-4233-9c6d-36db57673dbd">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class A Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Class&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;A Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ClassASharesMember_S000086405"
      id="f101864d-174e-41be-a692-27fd579c8939">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ClassASharesMember_S000086405"
      id="e6d72ff9-ecc9-447f-9746-3484284de474">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="ClassASharesMember_S000086405"
      id="x_4f8f0e2a-1ed4-40fe-8a47-b4fcb3c807fc">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;1-800-&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="ClassASharesMember_S000086405"
      id="x_98121d5c-2c37-4520-b37e-3817a5ad2236">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ClassASharesMember_S000086405"
      id="x_379c3e07-7d78-4650-9480-748d18d70441">&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.64%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;June 30, 2025&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.57%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2025&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ClassASharesMember_S000086405_C000251961"
      id="x_3b698e26-e51f-46b1-b303-742c3ba25afb">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ClassASharesMember_S000086405_C000251961"
      decimals="4"
      id="x_518cb808-0222-4c23-a5b0-fec2f7b05c47"
      unitRef="pure">0.0064</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ClassASharesMember_S000086405_C000251961"
      id="x_5dea5c15-abd9-40b6-b0c0-dea63b983e20">2025-06-30</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ClassASharesMember_S000086405_C000251961"
      id="a400252f-495d-4326-bd98-d2135c56287c">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ClassASharesMember_S000086405_C000251961"
      decimals="4"
      id="ba4c1eff-52b8-4218-87d0-b17e76ffc161"
      unitRef="pure">0.0057</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ClassASharesMember_S000086405_C000251961"
      id="x_22963435-9623-4c12-b1d3-3c9a1c5c2a01">2025-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ClassASharesMember_S000086405"
      id="x_6caf20e3-9b26-41d4-8843-b5fc01f52d55">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="ClassASharesMember_C000251961_01Jan2025_31Dec2025"
      decimals="4"
      id="f17dafe9-2c88-4582-941b-cd955f44284a"
      unitRef="pure">0.0242</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassASharesMember_C000251961_10Sep2024_31Dec2025"
      decimals="4"
      id="x_937bcbe2-acd4-49eb-9f30-76a5108b5aca"
      unitRef="pure">0.0251</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassASharesMember_C000251961"
      id="x_99842475-8553-47c1-a980-a282ff509c86">2024-09-10</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="LoopClassSharesMember_S000009261"
      id="x_44f02cee-9de8-45fc-8fcf-c72e27085386">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Financial Square Treasury Instruments Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="LoopClassSharesMember_S000009261"
      id="x_8d1d7dd4-0e6d-479c-b78b-11e5ac24e82d">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="LoopClassSharesMember_S000009261"
      id="cbfe91ae-61d1-4f48-8850-c5ee90225d0b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Financial Square Treasury Instruments Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="LoopClassSharesMember_S000009261"
      id="x_43a0330a-263c-419e-bd27-b5d6a858a34a">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="LoopClassSharesMember_S000009261"
      id="a53b92ac-77f6-4a39-b522-71d5c3c65a37">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="LoopClassSharesMember_S000009261"
      id="x_816d9d2e-b387-4691-8e77-d44bd9dc05c9">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="LoopClassSharesMember_S000009261_C000229777"
      decimals="4"
      id="x_15f5bc67-c4a1-4837-a248-9ff95665b6ef"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="LoopClassSharesMember_S000009261_C000229777"
      decimals="4"
      id="x_374a1bb7-bec7-499c-9389-470119f60ba7"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="LoopClassSharesMember_S000009261_C000229777"
      decimals="4"
      id="ede270ac-9a3e-4bbb-a967-55c16ebfaa9b"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="LoopClassSharesMember_S000009261_C000229777"
      decimals="4"
      id="x_27543e66-170b-4cb6-b3d0-40dd2b926c8e"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="LoopClassSharesMember_S000009261_C000229777"
      decimals="4"
      id="cf361211-93ea-4f6c-a532-65cf2c273ad9"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="LoopClassSharesMember_S000009261"
      id="c1c55399-fc54-43a6-9043-a3d20abb6055">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="LoopClassSharesMember_S000009261_C000229777"
      decimals="4"
      id="faf6c04e-71eb-4b98-8704-78fe311b9136"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="LoopClassSharesMember_S000009261_C000229777"
      decimals="4"
      id="x_7747f730-e5e3-46c9-94c3-289077c1d320"
      unitRef="pure">0.0002</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="LoopClassSharesMember_S000009261_C000229777"
      decimals="4"
      id="f22ac834-f2bd-4bcd-ad92-eac22714a2d0"
      unitRef="pure">0.0020</oef:ExpensesOverAssets>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="LoopClassSharesMember_S000009261"
      id="x_8e6d8c2d-9cbb-4ddf-98dd-7a1130379a76">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.&lt;/span&gt;</oef:ExpensesRestatedToReflectCurrent>
    <oef:ExpenseExampleHeading
      contextRef="LoopClassSharesMember_S000009261"
      id="x_1b7d81df-953b-4144-9be7-8a11de9dacbd">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="LoopClassSharesMember_S000009261"
      id="x_5ca6f76f-029e-408d-b38b-95aaf0ef6c52">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Loop Class Shares of the Fund for the time periods indicated and then redeem all of your Loop Class Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same. Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="LoopClassSharesMember_S000009261_C000229777"
      decimals="INF"
      id="x_8510e051-e9f1-41c3-8c4e-69c699432ccd"
      unitRef="USD">20</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="LoopClassSharesMember_S000009261_C000229777"
      decimals="INF"
      id="e9f01fee-cf1d-45a2-951f-594615246554"
      unitRef="USD">64</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="LoopClassSharesMember_S000009261_C000229777"
      decimals="INF"
      id="c9a27f2d-8225-4483-b34a-22d0d20c3c37"
      unitRef="USD">113</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="LoopClassSharesMember_S000009261_C000229777"
      decimals="INF"
      id="x_0bc7a4c6-6c49-43b7-987e-7bc591312f64"
      unitRef="USD">255</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="LoopClassSharesMember_S000009261"
      id="x_6d8a237c-b785-4922-a0e3-67bdf3b85ced">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="LoopClassSharesMember_S000009261"
      id="x_33d2f138-f6e1-48e6-8585-41bf2a6b1b35">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in U.S. Treasury Obligations, which include securities issued or guaranteed by the U.S. Treasury where the payment of principal and interest is backed by the full faith and credit of the U.S. government (&#x201c;U.S. Treasury Obligations&#x201d;), the interest from which is generally exempt from state income taxation. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;). &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash and securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). Although &#x201c;government money market funds&#x201d; may also invest in repurchase agreements that are collateralized fully by cash or U.S. Government Securities, the Fund may not invest in &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;repurchase agreements. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="LoopClassSharesMember_S000009261_RiskLoseMoneyMember"
      id="x_9a8551dd-d68d-4885-9a93-f14bb7a416de">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="LoopClassSharesMember_S000009261_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_81450014-d722-4f72-b40a-4bc1b2d0209d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="LoopClassSharesMember_S000009261_RiskNotInsuredDepositoryInstitutionMember"
      id="fb7577a9-13ff-4f9f-8ee8-795a1d2e627c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="LoopClassSharesMember_S000009261_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="c6d07564-c754-4a75-ad79-ee7d08d84c50">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="LoopClassSharesMember_S000009261_CreditDefaultRiskMember"
      id="ef39224f-b22c-49a3-939f-8ecd8ffc1391">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="LoopClassSharesMember_S000009261_InterestRateRiskMember"
      id="x_72e536c9-4acd-4e14-ba57-cf12b25d60b1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="LoopClassSharesMember_S000009261_LargeShareholderTransactionsRiskMember"
      id="x_9f5e4091-57e7-4bd6-8513-f65744bf6926">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="LoopClassSharesMember_S000009261_LiquidityRiskMember"
      id="c3133917-2193-4e8a-b0fb-a7b7bbc02f69">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund's ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="LoopClassSharesMember_S000009261_MarketRiskMember"
      id="x_4e8482c4-8fd4-46c4-ac3b-fd511510d3f2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="LoopClassSharesMember_S000009261_StableNAVRiskMember"
      id="x_68aedba6-5281-4074-a88d-1855e1c2f579">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="LoopClassSharesMember_S000009261"
      id="abef913f-a91c-4048-b805-c9e6646e414e">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="LoopClassSharesMember_S000009261"
      id="x_025578f2-9226-4438-88dd-7b1f5498a6ba">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Loop Class Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Loop Class Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="LoopClassSharesMember_S000009261"
      id="c364f46b-8502-43c0-b15c-caf0563260ef">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Loop Class Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Loop Class Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="LoopClassSharesMember_S000009261"
      id="x_4d682682-4504-49da-a198-74bf0c25e317">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="LoopClassSharesMember_S000009261"
      id="x_20f2dcd4-802b-40fc-bd87-d83d240dfd9e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="LoopClassSharesMember_S000009261"
      id="x_1050dce3-2274-4819-8218-b86ba633254f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="LoopClassSharesMember_S000009261"
      id="x_8ddc8d63-bb43-467b-b523-68c40384eaeb">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="LoopClassSharesMember_S000009261"
      id="x_4b7eee4f-17fa-4996-a46c-cf3a5bf72a1f">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.33%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.01%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2022&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="LoopClassSharesMember_S000009261_C000229777"
      id="bb906888-033e-443d-b639-9d64da7d82fa">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="LoopClassSharesMember_S000009261_C000229777"
      decimals="4"
      id="b2e73b97-4579-4fa6-971e-fc31f47c65ed"
      unitRef="pure">0.0133</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="LoopClassSharesMember_S000009261_C000229777"
      id="b6a496d7-aba6-4208-a7c6-1a382725eca5">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="LoopClassSharesMember_S000009261_C000229777"
      id="ee13c748-bef4-49d6-9486-0c843c4290f3">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="LoopClassSharesMember_S000009261_C000229777"
      decimals="4"
      id="x_30121a80-a866-47eb-ab3a-8a88718fd41d"
      unitRef="pure">0.0001</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="LoopClassSharesMember_S000009261_C000229777"
      id="x_13e003ac-d955-41fd-b87e-958fe9279411">2022-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="LoopClassSharesMember_S000009261"
      id="x_41f76ed0-ea4d-4f56-8c3a-643f2fc5f40f">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="LoopClassSharesMember_C000229777_01Jan2025_31Dec2025"
      decimals="4"
      id="x_3ed36930-c826-477e-bd07-e7dc89df828d"
      unitRef="pure">0.0415</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="LoopClassSharesMember_C000229777_23Aug2021_31Dec2025"
      decimals="4"
      id="x_946bfc6f-438d-47c7-8e51-ebd0c27d2983"
      unitRef="pure">0.0359</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="LoopClassSharesMember_C000229777"
      id="x_22fe3c3c-49c0-4d5f-bd24-b3cdf463c404">2021-08-23</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="LoopClassSharesMember_S000009242"
      id="x_3baadba3-ac04-4214-b820-e9980b50579d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Government Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="LoopClassSharesMember_S000009242"
      id="x_9e9e136b-550c-45af-9c0f-fbedef5580b8">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="LoopClassSharesMember_S000009242"
      id="x_9708645d-3a32-460e-9a8b-f5eb4108aa1f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Government Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="LoopClassSharesMember_S000009242"
      id="x_74dcd77b-fa5b-4494-9779-ce520e4d52c8">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="LoopClassSharesMember_S000009242"
      id="x_362b8042-0ccf-41d4-9575-731c2affecc9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="LoopClassSharesMember_S000009242"
      id="x_7c578c2e-d984-4b8d-9675-8dbef8a491f7">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="LoopClassSharesMember_S000009242_C000229775"
      decimals="4"
      id="x_6f4fa918-1911-4c4e-bb45-2c20a9ab51b3"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="LoopClassSharesMember_S000009242_C000229775"
      decimals="4"
      id="bdccc6cc-c8ee-4b04-bde5-0b38cac81d93"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="LoopClassSharesMember_S000009242_C000229775"
      decimals="4"
      id="x_77a428a6-3e9d-405f-a376-03cf22d1c45b"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="LoopClassSharesMember_S000009242_C000229775"
      decimals="4"
      id="x_63ef66c6-8843-4a11-80d6-f8394bad2c7a"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="LoopClassSharesMember_S000009242_C000229775"
      decimals="4"
      id="b91568a2-cb9d-4c17-b816-d74bcc578477"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="LoopClassSharesMember_S000009242"
      id="x_228dfb0b-5a5e-41af-96c3-dce6d588b850">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="LoopClassSharesMember_S000009242_C000229775"
      decimals="4"
      id="x_10da2675-8eb9-4c65-8b7a-c2c601a05c7d"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="LoopClassSharesMember_S000009242_C000229775"
      decimals="4"
      id="fa35ba6c-b3c4-42b2-a46f-73a7c1b3f599"
      unitRef="pure">0.0002</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="LoopClassSharesMember_S000009242_C000229775"
      decimals="4"
      id="x_9fb5e11d-7af7-45f4-acd0-5919d5a8922f"
      unitRef="pure">0.0018</oef:ExpensesOverAssets>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="LoopClassSharesMember_S000009242"
      id="x_257e7f13-c934-4432-9ff4-7e9234a26724">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.&lt;/span&gt;</oef:ExpensesRestatedToReflectCurrent>
    <oef:ExpenseExampleHeading
      contextRef="LoopClassSharesMember_S000009242"
      id="d8b573f9-159f-4de2-85c1-7d6b20d03c9c">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="LoopClassSharesMember_S000009242"
      id="x_2c0456b4-8274-47a9-9b45-c6f16b28ba97">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Loop Class Shares of the Fund for the time periods indicated and then redeem all of your Loop Class Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same. Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="LoopClassSharesMember_S000009242_C000229775"
      decimals="INF"
      id="x_56949d33-122d-48a4-ab6a-12d63f5ec548"
      unitRef="USD">18</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="LoopClassSharesMember_S000009242_C000229775"
      decimals="INF"
      id="x_7aab11b6-bbb5-4805-a104-7d6e9551fb45"
      unitRef="USD">58</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="LoopClassSharesMember_S000009242_C000229775"
      decimals="INF"
      id="x_4076df83-8c73-499e-aaa9-510c9a8a3d50"
      unitRef="USD">101</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="LoopClassSharesMember_S000009242_C000229775"
      decimals="INF"
      id="c77a5761-ddbd-48da-8645-792041ff2e46"
      unitRef="USD">230</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="LoopClassSharesMember_S000009242"
      id="x_5f4b8d37-e492-47fa-b21d-d40206a54882">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="LoopClassSharesMember_S000009242"
      id="eb54f9c1-53b5-4fdb-9171-e724a607ec2b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in &#x201c;government securities,&#x201d; as such term is defined in or interpreted under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;), and repurchase agreements collateralized by such securities. &#x201c;Government securities&#x201d; generally are securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act. &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, U.S. Government Securities, and/or repurchase agreements that are collateralized fully by cash or U.S. Government Securities. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="LoopClassSharesMember_S000009242_RiskLoseMoneyMember"
      id="x_10fbfb03-8e85-409b-8d25-e2e657aff304">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="LoopClassSharesMember_S000009242_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_2d8c602f-5559-4efa-9f57-651d43af37fb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="LoopClassSharesMember_S000009242_RiskNotInsuredDepositoryInstitutionMember"
      id="x_0564b417-7db8-45cf-b0e1-5e2c4e60f527">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="LoopClassSharesMember_S000009242_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_413a00c4-68ce-4bda-9d24-3021d83d846e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="LoopClassSharesMember_S000009242_CreditDefaultRiskMember"
      id="bee5cc13-d86f-431e-bf16-e79c1fa49671">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="LoopClassSharesMember_S000009242_InterestRateRiskMember"
      id="x_08513aa4-ddc4-4c3f-9380-f119268dd941">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="LoopClassSharesMember_S000009242_LargeShareholderTransactionsRiskMember"
      id="d22905fa-8795-4e8e-908a-886ffab3440b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="LoopClassSharesMember_S000009242_LiquidityRiskMember"
      id="x_799275e4-1f8f-47f6-8df1-01d7219d9138">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund's ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="LoopClassSharesMember_S000009242_MarketRiskMember"
      id="e03adb82-461e-4cf1-883e-2f3c1b8c81ea">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="LoopClassSharesMember_S000009242_StableNAVRiskMember"
      id="f719dbde-e764-4843-8112-c28d43a56575">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="LoopClassSharesMember_S000009242_USGovernmentSecuritiesRiskMember"
      id="c8411608-cdf4-494f-8c50-7623a1e8a19c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;and credit of the United States. The maximum potential liability of the issuers of some U.S. Government securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="LoopClassSharesMember_S000009242"
      id="b6bcebb2-d8a5-45cf-b8fd-b930ccc34ba6">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="LoopClassSharesMember_S000009242"
      id="a64d3620-d312-4b71-aafb-83a21d38e833">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Loop Class Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Loop Class Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="LoopClassSharesMember_S000009242"
      id="f6feb982-3d35-4ead-a546-5265c3076fd7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Loop Class Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Loop Class Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="LoopClassSharesMember_S000009242"
      id="x_973043d0-5812-4171-bc89-3df3d4581a9c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="LoopClassSharesMember_S000009242"
      id="x_257ab7f3-9e0f-42c8-9f37-c34f595db665">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="LoopClassSharesMember_S000009242"
      id="x_281b0469-aabb-4561-b680-e2a19d498275">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="LoopClassSharesMember_S000009242"
      id="c7be59b7-7606-4e99-9319-703cf3bd4390">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="LoopClassSharesMember_S000009242"
      id="x_0472df6b-7b37-440f-b901-e2c50c522219">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.33%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.02%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2022&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="LoopClassSharesMember_S000009242_C000229775"
      id="bb9a9e68-339e-4ee4-9562-5c20621bab24">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="LoopClassSharesMember_S000009242_C000229775"
      decimals="4"
      id="x_14c905ba-289c-4d24-bc27-96905c817447"
      unitRef="pure">0.0133</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="LoopClassSharesMember_S000009242_C000229775"
      id="d176e084-8f68-4ee9-aa19-457ae464f2e9">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="LoopClassSharesMember_S000009242_C000229775"
      id="e2d87381-6c18-4a96-a2e4-d94dba85fd49">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="LoopClassSharesMember_S000009242_C000229775"
      decimals="4"
      id="x_32a8aaa0-d0f5-4e3c-88e5-e70847a57f6b"
      unitRef="pure">0.0002</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="LoopClassSharesMember_S000009242_C000229775"
      id="ac1455bc-1ecd-4469-b34e-9e8eba58d709">2022-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="LoopClassSharesMember_S000009242"
      id="x_01601722-3da1-48cc-b9ec-058ac8661eef">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="LoopClassSharesMember_C000229775_01Jan2025_31Dec2025"
      decimals="4"
      id="bf753a53-67d3-4e1c-9cd4-4d4e697de509"
      unitRef="pure">0.0421</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="LoopClassSharesMember_C000229775_23Aug2021_31Dec2025"
      decimals="4"
      id="x_05a7193a-2b61-48a9-93d4-d2e84446ed78"
      unitRef="pure">0.0366</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="LoopClassSharesMember_C000229775"
      id="d436433b-844b-4680-8001-044411304fdd">2021-08-23</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="SeelausClassSharesMember_S000009261"
      id="a47fdcc2-39f2-46b7-979f-cf5819f29420">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs Financial Square Treasury Instruments Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="SeelausClassSharesMember_S000009261"
      id="x_0c49f0e2-16b7-4c90-b777-9b8a703abd19">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="SeelausClassSharesMember_S000009261"
      id="f8c69c8c-7037-42df-8cf5-11c1973386be">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs Financial Square Treasury Instruments Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="SeelausClassSharesMember_S000009261"
      id="x_1b8aeaa5-6962-46c1-b7e6-7d53423e3c99">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="SeelausClassSharesMember_S000009261"
      id="x_53d01671-e9ca-4f06-96ed-bfab89dcfd9c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="SeelausClassSharesMember_S000009261"
      id="e0a824a0-6c7e-4ad4-bc68-64e9b716f12f">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="SeelausClassSharesMember_S000009261_C000229776"
      decimals="4"
      id="x_1afb3768-fc1e-4c86-9b6e-6823e08a882f"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="SeelausClassSharesMember_S000009261_C000229776"
      decimals="4"
      id="x_61aa8949-46d1-442a-9e87-e19d3dc76ab4"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="SeelausClassSharesMember_S000009261_C000229776"
      decimals="4"
      id="d06cfb66-81f5-4aea-a0aa-cea87c1ab22b"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="SeelausClassSharesMember_S000009261_C000229776"
      decimals="4"
      id="c4959c23-0ae8-49d1-a2ee-14d6c259e890"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="SeelausClassSharesMember_S000009261_C000229776"
      decimals="4"
      id="x_5fb20fe7-6b23-4c31-9702-8d7ce33f2806"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="SeelausClassSharesMember_S000009261"
      id="bebcc64e-3106-4104-ab00-a5477b2a681c">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="SeelausClassSharesMember_S000009261_C000229776"
      decimals="4"
      id="d55d178d-3936-48dc-975d-683ce1578ab9"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="SeelausClassSharesMember_S000009261_C000229776"
      decimals="4"
      id="x_0ecef10d-7327-4d0d-817d-953c9026e952"
      unitRef="pure">0.0002</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="SeelausClassSharesMember_S000009261_C000229776"
      decimals="4"
      id="b5903b5b-a02a-4f73-ae10-bd820bcc1ded"
      unitRef="pure">0.0020</oef:ExpensesOverAssets>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="SeelausClassSharesMember_S000009261"
      id="dc0bb834-efce-4e1e-803e-c08af1659496">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.&lt;/span&gt;</oef:ExpensesRestatedToReflectCurrent>
    <oef:ExpenseExampleHeading
      contextRef="SeelausClassSharesMember_S000009261"
      id="b22b3553-2526-4e69-83cf-0ebf6ae5d4da">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="SeelausClassSharesMember_S000009261"
      id="x_99423b20-d3a2-4ce9-88df-615ae245f98e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Seelaus Class Shares of the Fund for the time periods indicated and then redeem all of your Seelaus Class Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same. Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="SeelausClassSharesMember_S000009261_C000229776"
      decimals="INF"
      id="a15becfd-2625-4335-b377-413d4f2ab626"
      unitRef="USD">20</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="SeelausClassSharesMember_S000009261_C000229776"
      decimals="INF"
      id="cc42991d-7064-4516-8e88-96fedd98e3a4"
      unitRef="USD">64</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="SeelausClassSharesMember_S000009261_C000229776"
      decimals="INF"
      id="b2a4d797-f3fd-4c4d-9156-416a55b5f6b7"
      unitRef="USD">113</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="SeelausClassSharesMember_S000009261_C000229776"
      decimals="INF"
      id="d7ccde09-13a8-4df8-ba8f-515947b3c8a4"
      unitRef="USD">255</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="SeelausClassSharesMember_S000009261"
      id="x_0562efa4-a0b7-4f50-af88-36f79213b543">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="SeelausClassSharesMember_S000009261"
      id="x_1ac30fa2-f735-47ff-a8ae-1100013f39d9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in U.S. Treasury Obligations, which include securities issued or guaranteed by the U.S. Treasury where the payment of principal and interest is backed by the full faith and credit of the U.S. government (&#x201c;U.S. Treasury Obligations&#x201d;), the interest from which is generally exempt from state income taxation. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;). &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash and securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). Although &#x201c;government money market funds&#x201d; may also invest in repurchase agreements that are collateralized fully by cash or U.S. Government Securities, the Fund may not invest in &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;repurchase agreements. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="SeelausClassSharesMember_S000009261_RiskLoseMoneyMember"
      id="x_6d9d85fa-0708-497c-8b9d-d43445c8a3f5">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SeelausClassSharesMember_S000009261_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="a7adb587-7613-499d-90ae-fc1fdb065042">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SeelausClassSharesMember_S000009261_RiskNotInsuredDepositoryInstitutionMember"
      id="x_5a6fb5fe-19bf-42fb-b4d3-295ef76d8c18">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SeelausClassSharesMember_S000009261_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="ae5ddbac-229b-4d47-8b76-ce7969247c3a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SeelausClassSharesMember_S000009261_CreditDefaultRiskMember"
      id="x_5d5e7134-eedb-41b4-99e4-a17a6199322e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SeelausClassSharesMember_S000009261_InterestRateRiskMember"
      id="x_256d4471-e360-429f-87bd-023c0878030c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SeelausClassSharesMember_S000009261_LargeShareholderTransactionsRiskMember"
      id="x_4ab48710-9a2c-4be3-a6cf-c93801747831">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SeelausClassSharesMember_S000009261_LiquidityRiskMember"
      id="x_027e2063-dc66-4af3-b4c9-eacc09b56d58">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund's ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SeelausClassSharesMember_S000009261_MarketRiskMember"
      id="x_2f02c57f-fed8-4982-9622-2b874e2ac26f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SeelausClassSharesMember_S000009261_StableNAVRiskMember"
      id="x_4a06d97c-ec76-46cd-ab56-7548448bb12a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="SeelausClassSharesMember_S000009261"
      id="c2c05698-a2ee-4812-b58e-2456c5fe883b">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="SeelausClassSharesMember_S000009261"
      id="ffb02487-4d1f-44ba-a5d1-162ebca627e4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Seelaus Class Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Seelaus Class Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;and/or expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="SeelausClassSharesMember_S000009261"
      id="x_086a02f3-a687-4e17-b7e2-2c365b7846d0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Seelaus Class Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Seelaus Class Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="SeelausClassSharesMember_S000009261"
      id="x_861d84c3-211b-4662-b3d4-ab30d409c463">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="SeelausClassSharesMember_S000009261"
      id="x_9d551025-97bb-49da-90ef-9f024bddab33">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="SeelausClassSharesMember_S000009261"
      id="x_05b10d37-d15f-4526-b3c1-344fe8fec4c3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="SeelausClassSharesMember_S000009261"
      id="b77042bd-392a-44de-a881-b052d2d184f7">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="SeelausClassSharesMember_S000009261"
      id="f55f7fde-d603-4772-9d40-bd2b388a8268">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.33%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.01%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2022&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="SeelausClassSharesMember_S000009261_C000229776"
      id="x_5e79da2f-033f-49dc-9191-a8aafb94ba00">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="SeelausClassSharesMember_S000009261_C000229776"
      decimals="4"
      id="x_7ae285e8-7f39-4ece-b5f5-2626799b93c6"
      unitRef="pure">0.0133</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="SeelausClassSharesMember_S000009261_C000229776"
      id="x_540f5e6b-f2f4-4eea-bf29-45aebda06528">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="SeelausClassSharesMember_S000009261_C000229776"
      id="e8226469-918f-4d76-8ec7-ecd708eca833">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="SeelausClassSharesMember_S000009261_C000229776"
      decimals="4"
      id="x_1f0b677c-21f7-4a1d-a963-8f7afc1af5c3"
      unitRef="pure">0.0001</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="SeelausClassSharesMember_S000009261_C000229776"
      id="x_7d678b87-4aaa-4a98-8e7e-74051cf76182">2022-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="SeelausClassSharesMember_S000009261"
      id="d9efec80-5bd3-43b6-84f7-fc5600104a60">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="SeelausClassSharesMember_C000229776_01Jan2025_31Dec2025"
      decimals="4"
      id="cdce538a-8256-4324-8aee-3dedad0ee113"
      unitRef="pure">0.0415</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="SeelausClassSharesMember_C000229776_23Aug2021_31Dec2025"
      decimals="4"
      id="x_4b6689d3-5071-4c7e-9526-325a6db44fa2"
      unitRef="pure">0.0359</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="SeelausClassSharesMember_C000229776"
      id="x_7713a44a-ba47-4340-a7dc-305c8f5d9a30">2021-08-23</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="SeelausClassSharesMember_S000009242"
      id="x_242bb0ab-75f0-4beb-affc-9cc28a74742b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs&#160;Financial Square Government Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="SeelausClassSharesMember_S000009242"
      id="a6013eb1-14de-4a63-ac1f-50122cf2f46d">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="SeelausClassSharesMember_S000009242"
      id="x_46776cc4-db16-48d9-9dbc-2981d32d2e77">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs&#160;Financial Square Government Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="SeelausClassSharesMember_S000009242"
      id="x_2ed34417-bd06-4f0b-a617-dbb92ffd7d1f">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="SeelausClassSharesMember_S000009242"
      id="x_5599b1a0-b758-44ed-99d1-be46fcce57d5">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="SeelausClassSharesMember_S000009242"
      id="c1861068-ee43-4355-bf5e-bda0d90714a3">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="SeelausClassSharesMember_S000009242_C000229774"
      decimals="4"
      id="b39b2f75-757f-4e6c-9b4a-3f490426d8ab"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="SeelausClassSharesMember_S000009242_C000229774"
      decimals="4"
      id="e724a844-f913-4138-a9c5-5a6f75d04886"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="SeelausClassSharesMember_S000009242_C000229774"
      decimals="4"
      id="b1ae3a87-f01d-4ae4-b4a5-accfc06ad254"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="SeelausClassSharesMember_S000009242_C000229774"
      decimals="4"
      id="x_6c006194-47be-4df9-951d-38713632d9fc"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="SeelausClassSharesMember_S000009242_C000229774"
      decimals="4"
      id="x_0691db54-1b1f-4304-908e-2f9efb9090ed"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="SeelausClassSharesMember_S000009242"
      id="x_53024038-4b6b-40b5-aafd-628df2f570a0">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="SeelausClassSharesMember_S000009242_C000229774"
      decimals="4"
      id="a21004e4-94b2-419d-99f0-842667d2f454"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="SeelausClassSharesMember_S000009242_C000229774"
      decimals="4"
      id="x_11f575f3-262f-468a-8545-cdb9f4bb8d42"
      unitRef="pure">0.0002</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="SeelausClassSharesMember_S000009242_C000229774"
      decimals="4"
      id="aca21c74-66c7-43fe-9548-86c6be1e3a25"
      unitRef="pure">0.0018</oef:ExpensesOverAssets>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="SeelausClassSharesMember_S000009242"
      id="dbecb214-18ac-4a58-874c-eb8e433e6fc7">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.&lt;/span&gt;</oef:ExpensesRestatedToReflectCurrent>
    <oef:ExpenseExampleHeading
      contextRef="SeelausClassSharesMember_S000009242"
      id="x_075d109b-29d2-46fb-9d9f-75c8bf6ef4d9">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="SeelausClassSharesMember_S000009242"
      id="a6aba98c-a998-4ed4-a71c-77eaf3437d54">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Seelaus Class Shares of the Fund for the time periods indicated and then redeem all of your Seelaus Class Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same. Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="SeelausClassSharesMember_S000009242_C000229774"
      decimals="INF"
      id="x_7f5c324f-fd26-48e8-ad70-498bff78c6c3"
      unitRef="USD">18</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="SeelausClassSharesMember_S000009242_C000229774"
      decimals="INF"
      id="baad900a-5e9f-4b92-a1b4-0320bfaa8326"
      unitRef="USD">58</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="SeelausClassSharesMember_S000009242_C000229774"
      decimals="INF"
      id="b34cc692-8fdf-4a10-9f92-09e66e903d1d"
      unitRef="USD">101</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="SeelausClassSharesMember_S000009242_C000229774"
      decimals="INF"
      id="x_05ea0f3c-31e1-49f3-b4e9-f576f7e99090"
      unitRef="USD">230</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="SeelausClassSharesMember_S000009242"
      id="x_39e4f2de-742b-4749-993e-a725ce365f3e">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="SeelausClassSharesMember_S000009242"
      id="x_20713d84-5e56-4992-812b-2f8ec533723a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in &#x201c;government securities,&#x201d; as such term is defined in or interpreted under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;), and repurchase agreements collateralized by such securities. &#x201c;Government securities&#x201d; generally are securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act. &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, U.S. Government Securities, and/or repurchase agreements that are collateralized fully by cash or U.S. Government Securities. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="SeelausClassSharesMember_S000009242_RiskLoseMoneyMember"
      id="x_4332dba3-38d5-4585-8d0c-0fdd13d9e068">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SeelausClassSharesMember_S000009242_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_69c448cc-c6e8-4422-817d-b4194cefbbef">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SeelausClassSharesMember_S000009242_RiskNotInsuredDepositoryInstitutionMember"
      id="c231bfd4-e83c-490c-aad6-477f77d2f76e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SeelausClassSharesMember_S000009242_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="d2b2b28f-230d-488a-b01c-132d12106579">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SeelausClassSharesMember_S000009242_CreditDefaultRiskMember"
      id="x_2764abfb-cf90-47ae-b222-ab42ee672302">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SeelausClassSharesMember_S000009242_InterestRateRiskMember"
      id="x_0a1d26d8-a0ad-4b1a-999c-719c480df953">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SeelausClassSharesMember_S000009242_LargeShareholderTransactionsRiskMember"
      id="cb956198-0892-4d1a-b264-7bc1665575e1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SeelausClassSharesMember_S000009242_LiquidityRiskMember"
      id="b6e794df-d817-4b27-89a3-b64606ca970f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund's ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SeelausClassSharesMember_S000009242_MarketRiskMember"
      id="e71f4138-514a-4730-8830-fb8a2cad85f9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SeelausClassSharesMember_S000009242_StableNAVRiskMember"
      id="x_760a048b-c5f8-46f8-85ee-74a77249bc3e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="SeelausClassSharesMember_S000009242_USGovernmentSecuritiesRiskMember"
      id="x_2d1ed38c-a678-4394-9407-0b68d62f608e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;and credit of the United States. The maximum potential liability of the issuers of some U.S. Government securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="SeelausClassSharesMember_S000009242"
      id="x_7b490751-03e4-43a7-896d-2565c94f20e0">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="SeelausClassSharesMember_S000009242"
      id="dd62df29-5063-49dd-a06d-9984126a5507">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Seelaus Class Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Seelaus Class Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;and/or expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="SeelausClassSharesMember_S000009242"
      id="d3f81a2b-ddb2-4014-97ad-af987e99c5d1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Seelaus Class Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Seelaus Class Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="SeelausClassSharesMember_S000009242"
      id="x_5453d16f-79c5-4afd-8bfc-e3c4313f59ec">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="SeelausClassSharesMember_S000009242"
      id="x_0d62242a-f6ba-4072-a458-a040569f29c2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="SeelausClassSharesMember_S000009242"
      id="x_71abc772-7000-4c7b-9f24-44e83787abb9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="SeelausClassSharesMember_S000009242"
      id="x_88c1fbda-c893-4e49-9a5c-269ab4c68191">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="SeelausClassSharesMember_S000009242"
      id="fb7ad626-7ed4-441c-adf8-22bf24b9ef97">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.33%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.02%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2022&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="SeelausClassSharesMember_S000009242_C000229774"
      id="x_049411ac-9b38-4e0f-ae42-40c07d5f8484">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="SeelausClassSharesMember_S000009242_C000229774"
      decimals="4"
      id="x_1784dd1c-2ce9-4aa5-a941-e3d9a5409652"
      unitRef="pure">0.0133</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="SeelausClassSharesMember_S000009242_C000229774"
      id="d5cdf260-22f4-4d57-a2a9-5c43c0e70c61">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="SeelausClassSharesMember_S000009242_C000229774"
      id="x_9445d50f-cc2a-44bc-925c-c1aa6eb79668">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="SeelausClassSharesMember_S000009242_C000229774"
      decimals="4"
      id="f057fffb-0fc1-4ba7-a490-c11dd10083e7"
      unitRef="pure">0.0002</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="SeelausClassSharesMember_S000009242_C000229774"
      id="d68ebbeb-7932-4d5f-9142-6131657a9f90">2022-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="SeelausClassSharesMember_S000009242"
      id="d6a2f8c3-d369-49f5-81ea-ca0b6265332d">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="SeelausClassSharesMember_C000229774_01Jan2025_31Dec2025"
      decimals="4"
      id="ca7b6413-3b5d-4e11-97f8-e3acdde26819"
      unitRef="pure">0.0421</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="SeelausClassSharesMember_C000229774_23Aug2021_31Dec2025"
      decimals="4"
      id="a238d38a-2e80-4e5c-b727-a4e38ac2e1bc"
      unitRef="pure">0.0366</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="SeelausClassSharesMember_C000229774"
      id="x_2430518e-8ecb-4639-b86c-d59e4628ac0c">2021-08-23</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="ClassDSharesMember_S000009261"
      id="x_3526a1b2-eb0b-42ec-b96d-88d89a783d57">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Financial Square Treasury Instruments Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ClassDSharesMember_S000009261"
      id="x_1d0e8916-df1d-405f-ae21-9e37e0ef09e3">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ClassDSharesMember_S000009261"
      id="x_99d0cbfb-04b4-40cd-be2b-0f02cb907b59">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Financial Square Treasury Instruments Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ClassDSharesMember_S000009261"
      id="x_99dc83f9-5a80-42cb-81a9-62dfd8c39f38">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ClassDSharesMember_S000009261"
      id="a9404523-1974-4068-abc5-05983aab96da">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="ClassDSharesMember_S000009261"
      id="x_789294ce-d85b-4d06-8eda-1c7135c40c2f">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassDSharesMember_S000009261_C000240871"
      decimals="4"
      id="x_18ccba62-dc2a-43c2-8dfa-d710679ba633"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassDSharesMember_S000009261_C000240871"
      decimals="4"
      id="afff3c74-9d36-4dc3-8aac-5a992871d54f"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="ClassDSharesMember_S000009261_C000240871"
      decimals="4"
      id="da630d10-9383-4ed3-a8cb-295846de995d"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="ClassDSharesMember_S000009261_C000240871"
      decimals="4"
      id="x_0ec4e61b-7f11-44a6-bdb0-371a49e72053"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="ClassDSharesMember_S000009261_C000240871"
      decimals="4"
      id="x_35c72dd3-9404-4ecb-967d-ac3cffabb6f0"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="ClassDSharesMember_S000009261"
      id="aee31d30-5e70-4bd0-88f6-d2640e500fe3">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ClassDSharesMember_S000009261_C000240871"
      decimals="4"
      id="f19360c0-d901-4da2-a95a-b8b522af7c3b"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassDSharesMember_S000009261_C000240871"
      decimals="4"
      id="bb5c5ce6-9b05-42a1-a8a3-88ba892717d7"
      unitRef="pure">0.0002</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassDSharesMember_S000009261_C000240871"
      decimals="4"
      id="x_1354d759-f03d-4985-9fb3-1e6225106e43"
      unitRef="pure">0.0020</oef:ExpensesOverAssets>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="ClassDSharesMember_S000009261"
      id="da9646dc-f876-4df9-bfb4-be02968f87f1">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.&lt;/span&gt;</oef:ExpensesRestatedToReflectCurrent>
    <oef:ExpenseExampleHeading
      contextRef="ClassDSharesMember_S000009261"
      id="x_6502f104-df00-4503-8e8d-119633188ba0">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ClassDSharesMember_S000009261"
      id="x_2f86375d-6be6-4c6c-bd73-18bd0c5b2ac8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Class D Shares of the Fund for the time periods indicated and then redeem all of your Class D Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same&#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ClassDSharesMember_S000009261_C000240871"
      decimals="INF"
      id="x_333b8026-419e-4578-aa31-6c3dc98e429e"
      unitRef="USD">20</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassDSharesMember_S000009261_C000240871"
      decimals="INF"
      id="x_771c28c7-1b56-4034-a311-f327bd53598c"
      unitRef="USD">64</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassDSharesMember_S000009261_C000240871"
      decimals="INF"
      id="ea3ddf66-8b3b-4617-a6c1-6a17c9568c8d"
      unitRef="USD">113</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassDSharesMember_S000009261_C000240871"
      decimals="INF"
      id="b7872e89-97d3-4621-b5f9-a3bbf204a803"
      unitRef="USD">255</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="ClassDSharesMember_S000009261"
      id="ba14c3f9-dfa4-42db-934d-b8edc0d949cf">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ClassDSharesMember_S000009261"
      id="x_43d93c0d-e238-48ce-86db-ad19bd45cc8b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in U.S. Treasury Obligations, which include securities issued or guaranteed by the U.S. Treasury where the payment of principal and interest is backed by the full faith and credit of the U.S. government (&#x201c;U.S. Treasury Obligations&#x201d;), the interest from which is generally exempt from state income taxation. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;). &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash and securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). Although &#x201c;government money market funds&#x201d; may also invest in repurchase agreements that are collateralized fully by cash or U.S. Government Securities, the Fund may not invest in &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;repurchase agreements. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000009261_RiskLoseMoneyMember"
      id="c343ce96-bb9d-46a6-a9f3-a1612f3e61f7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000009261_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_1c0ab147-7308-4810-8685-2d56a3ff71d8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000009261_RiskNotInsuredDepositoryInstitutionMember"
      id="cb89ec42-7e2e-4fb4-bff8-ccc5bd41bb82">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000009261_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="e2ecc2e6-d41a-44f8-b417-55055cbc3f42">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000009261_CreditDefaultRiskMember"
      id="x_1a78a4e0-2560-492e-ad5a-592762df11b2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000009261_InterestRateRiskMember"
      id="e13b9d4a-faf1-4159-87b0-1a71f8062e33">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000009261_LargeShareholderTransactionsRiskMember"
      id="x_1adb0dde-a5a1-40c2-9012-601d3a2b5625">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000009261_LiquidityRiskMember"
      id="x_0f23150e-a2b8-42bd-ae56-aec12b61ac9f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000009261_MarketRiskMember"
      id="acb1c655-5627-4b55-acc1-8332e919ae20">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000009261_StableNAVRiskMember"
      id="b7b8a053-0258-47ff-a586-620fc229bc52">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ClassDSharesMember_S000009261"
      id="c34e68ae-a885-4dc5-aa46-7d4f1b69af9d">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ClassDSharesMember_S000009261"
      id="c0d2e189-5044-47c9-b9c6-8c81533f0959">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) the performance of the Fund&#x2019;s Class D Shares; and (b) the average annual total returns of the Fund&#x2019;s Class D Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or expense limitations in effect during &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ClassDSharesMember_S000009261"
      id="f27c8398-1cbc-4f0d-a73f-6f71d25c35c0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) the performance of the Fund&#x2019;s Class D Shares; and (b) the average annual total returns of the Fund&#x2019;s Class D Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ClassDSharesMember_S000009261"
      id="bb2d144f-7832-4f7f-8bfd-2e8e4245c89d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ClassDSharesMember_S000009261"
      id="a320c135-2bcc-4da6-b09b-7f2a2d85cdac">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="ClassDSharesMember_S000009261"
      id="dd83c1c4-9a91-4e53-b9d4-82a10825ff4d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="ClassDSharesMember_S000009261"
      id="x_3293f922-4907-4e57-a395-83454de9443e">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ClassDSharesMember_S000009261"
      id="x_051c3cf3-e1ba-4524-85de-b497cb01c3e2">&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.29%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2024&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.97%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2025&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ClassDSharesMember_S000009261_C000240871"
      id="x_2fe981ac-2481-4163-af44-f740c76d3e63">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ClassDSharesMember_S000009261_C000240871"
      decimals="4"
      id="x_70af3ee0-9cca-4d5e-9e57-f35325ab9dbc"
      unitRef="pure">0.0129</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ClassDSharesMember_S000009261_C000240871"
      id="x_22f9f7a2-7333-48b5-aa35-46889d300b71">2024-03-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ClassDSharesMember_S000009261_C000240871"
      id="x_468486c9-1ada-4a11-a2a3-94978e92516a">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ClassDSharesMember_S000009261_C000240871"
      decimals="4"
      id="cf52d3ab-8255-4a95-b345-71fff889b26c"
      unitRef="pure">0.0097</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ClassDSharesMember_S000009261_C000240871"
      id="x_4210c9f9-25dc-4e17-99a1-5524b8f9bab7">2025-12-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ClassDSharesMember_S000009261"
      id="a52bc38a-b8b3-4240-a059-4fe23ca6aa26">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="ClassDSharesMember_C000240871_01Jan2025_31Dec2025"
      decimals="4"
      id="x_0b2b111a-d4d9-488d-b4bc-b560957aa953"
      unitRef="pure">0.0415</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassDSharesMember_C000240871_31Jan2023_31Dec2025"
      decimals="4"
      id="d72257fa-a7ed-4dcf-b003-8380392efc1a"
      unitRef="pure">0.0476</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassDSharesMember_C000240871"
      id="x_5af0656a-1b55-4e1d-b53a-1e259cd42870">2023-01-31</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="ClassDSharesMember_S000009242"
      id="fc92570c-7df8-44d8-82b9-c1ecaaef3b98">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Financial Square Government Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ClassDSharesMember_S000009242"
      id="x_856206cb-ef82-455c-86d7-15424ce12840">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ClassDSharesMember_S000009242"
      id="x_32f772ac-ddc0-49b2-9f73-3ac5b8e91684">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Financial Square Government Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ClassDSharesMember_S000009242"
      id="x_1fb4ff77-8fc5-464b-ae92-eea7a4796198">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ClassDSharesMember_S000009242"
      id="x_6826b304-81d3-4dc9-8dc4-c11ce4fadbe9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="ClassDSharesMember_S000009242"
      id="x_1cc79748-9f99-4463-9dbe-cb7df76c59d0">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassDSharesMember_S000009242_C000237844"
      decimals="4"
      id="aa653a4d-5807-41a4-9894-5af2c5bb1a2c"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassDSharesMember_S000009242_C000237844"
      decimals="4"
      id="x_35a8c072-ad0c-485f-ba45-46f878c6d49f"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="ClassDSharesMember_S000009242_C000237844"
      decimals="4"
      id="f0c5d983-89ce-4731-b311-181e14a0ffc9"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="ClassDSharesMember_S000009242_C000237844"
      decimals="4"
      id="a73452b0-8173-4d38-9c47-9b9bb2cc9e32"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="ClassDSharesMember_S000009242_C000237844"
      decimals="4"
      id="x_77977608-2316-4b6e-861f-0386e6442a10"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="ClassDSharesMember_S000009242"
      id="x_0bf150f2-c7b0-4aa5-9fed-ca863f24094a">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ClassDSharesMember_S000009242_C000237844"
      decimals="4"
      id="x_74c51075-c83e-47b4-86e5-287bb8c3d2dd"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassDSharesMember_S000009242_C000237844"
      decimals="4"
      id="x_90073a4d-d45e-423b-87bb-55e08f5aed67"
      unitRef="pure">0.0002</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassDSharesMember_S000009242_C000237844"
      decimals="4"
      id="x_63922102-24b7-4b84-9a91-4967182df2d9"
      unitRef="pure">0.0018</oef:ExpensesOverAssets>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="ClassDSharesMember_S000009242"
      id="cd7698a5-8f76-437b-80a8-9b1d34160997">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.&lt;/span&gt;</oef:ExpensesRestatedToReflectCurrent>
    <oef:ExpenseExampleHeading
      contextRef="ClassDSharesMember_S000009242"
      id="x_5780c35c-5f1c-40d9-b33a-20d29ae102e1">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ClassDSharesMember_S000009242"
      id="c1fb140b-b945-44df-9056-e24ff8275d23">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Class D Shares of the Fund for the time periods indicated and then redeem all of your Class D Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same&#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ClassDSharesMember_S000009242_C000237844"
      decimals="INF"
      id="fe303d79-3506-4782-8ecf-6e6b3dd7d568"
      unitRef="USD">18</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassDSharesMember_S000009242_C000237844"
      decimals="INF"
      id="x_48a5df89-d138-4848-8ee0-bc445bc7f37b"
      unitRef="USD">58</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassDSharesMember_S000009242_C000237844"
      decimals="INF"
      id="cc0cea5e-c10a-4cdb-95bb-9826ec7c2992"
      unitRef="USD">101</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassDSharesMember_S000009242_C000237844"
      decimals="INF"
      id="x_2a2c1986-ec54-4bc3-b6bc-9e0f2ba1e756"
      unitRef="USD">230</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="ClassDSharesMember_S000009242"
      id="x_78f346c2-60a8-4f43-90e5-47dcd2a9780b">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ClassDSharesMember_S000009242"
      id="x_465bf341-30cc-480a-b612-bcb07b911ad5">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in &#x201c;government securities,&#x201d; as such term is defined in or interpreted under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;), and repurchase agreements collateralized by such securities. &#x201c;Government securities&#x201d; generally are securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act. &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, U.S. Government Securities, and/or repurchase agreements that are collateralized fully by cash or U.S. Government Securities. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000009242_RiskLoseMoneyMember"
      id="x_62d5d2f9-51ca-42b8-8168-0c6dcc1ada96">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000009242_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="b4d7a2df-9a26-476d-8703-0836980362eb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000009242_RiskNotInsuredDepositoryInstitutionMember"
      id="x_5e9089d3-eb61-4cd6-9dd6-c87422b3c487">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000009242_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="fc1312b0-d8c1-45bd-a9a8-113ad0a13dc6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000009242_CreditDefaultRiskMember"
      id="a520dcaf-0a1f-4bdf-a194-27f26c9fb164">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000009242_InterestRateRiskMember"
      id="x_860a0e96-a508-4886-ac0e-f60c247cb838">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000009242_LargeShareholderTransactionsRiskMember"
      id="x_2ac0397c-1f2e-417f-8ad2-0d3e5b9160e5">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000009242_LiquidityRiskMember"
      id="x_7eb8dac3-4cfa-4e62-bf84-1e2adf3e8cde">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000009242_MarketRiskMember"
      id="x_8853e2c3-0673-43b3-8220-2f62d3e723c1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000009242_StableNAVRiskMember"
      id="x_855f381f-9d67-415a-8124-1192ecd1e27d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000009242_USGovernmentSecuritiesRiskMember"
      id="x_8b9ed7b6-12ef-410f-bc41-dd476c1df0c9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ClassDSharesMember_S000009242"
      id="x_4c6bb286-d0d8-47bc-bd85-1dfccd4db123">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ClassDSharesMember_S000009242"
      id="f049f38d-97d9-4e5a-9c12-45d3c686a90c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class D Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Class D Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ClassDSharesMember_S000009242"
      id="x_4e8f9478-4640-4b0d-abf9-9abc830a26bf">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class D Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Class D Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ClassDSharesMember_S000009242"
      id="f0033fdd-b09d-4fde-8054-1895322490a3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ClassDSharesMember_S000009242"
      id="efab822d-3b6b-4fee-bcd2-820dc62bbab0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="ClassDSharesMember_S000009242"
      id="x_24491031-06f9-41ec-a499-b9af13e89c08">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="ClassDSharesMember_S000009242"
      id="deccb5f3-459c-408b-aca9-f136dc475841">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ClassDSharesMember_S000009242"
      id="c8a7b46f-6d1b-4726-8089-b36f4b2dc619">&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.33%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.98%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2025&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ClassDSharesMember_S000009242_C000237844"
      id="c7f490d3-249b-43c4-aa87-1a371d9bca64">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ClassDSharesMember_S000009242_C000237844"
      decimals="4"
      id="c3ba902b-50c8-417b-b2c8-11f76b6bf476"
      unitRef="pure">0.0133</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ClassDSharesMember_S000009242_C000237844"
      id="aa5c47e1-e981-4786-9a31-cb071ec1c0c8">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ClassDSharesMember_S000009242_C000237844"
      id="eebf16dc-8c3d-4d0c-a4af-7a3166f4e46d">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ClassDSharesMember_S000009242_C000237844"
      decimals="4"
      id="x_8172037a-a91c-4e91-a889-45b772587057"
      unitRef="pure">0.0098</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ClassDSharesMember_S000009242_C000237844"
      id="x_7a81f75a-02f8-4375-a0f2-c62df8118130">2025-12-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ClassDSharesMember_S000009242"
      id="eac186d1-4753-497a-87c2-f60299ee7709">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="ClassDSharesMember_C000237844_01Jan2025_31Dec2025"
      decimals="4"
      id="x_035a2654-0d0b-4e35-b296-152f0d171e79"
      unitRef="pure">0.0421</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassDSharesMember_C000237844_22Aug2022_31Dec2025"
      decimals="4"
      id="x_629e3c6d-6230-4961-8a50-5d1f28d395ae"
      unitRef="pure">0.0463</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassDSharesMember_C000237844"
      id="x_51e07d0e-148e-4776-87fb-c70c0fe25cfa">2022-08-22</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="ClassDSharesMember_S000051190"
      id="x_7b870397-e6b5-4d1e-9c40-6d7394d4f6dd">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Financial Square Federal Instruments Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ClassDSharesMember_S000051190"
      id="x_4970f712-90bf-4df2-ba2f-e43edee4000f">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ClassDSharesMember_S000051190"
      id="x_0351c6b6-ad8d-45a7-b0ec-091cba8d5729">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Financial Square Federal Instruments Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ClassDSharesMember_S000051190"
      id="bb73b2af-5fbf-4623-b775-c97a6b4bebcb">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ClassDSharesMember_S000051190"
      id="b1797c6c-7f0f-4d68-8b48-a435d955d455">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="ClassDSharesMember_S000051190"
      id="x_5bde1549-1ed7-40db-8845-f7baf707ba03">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassDSharesMember_S000051190_C000240872"
      decimals="4"
      id="x_04d9a07a-b55b-4d3d-8a51-2350951af344"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassDSharesMember_S000051190_C000240872"
      decimals="4"
      id="f4b15e24-0133-457b-bf6c-db04cb02a784"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="ClassDSharesMember_S000051190_C000240872"
      decimals="4"
      id="cf109e53-ba7f-4a20-b79e-879136a3879b"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="ClassDSharesMember_S000051190_C000240872"
      decimals="4"
      id="f0dc91cf-0f24-4d31-80d1-78f0bfbb9b81"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="ClassDSharesMember_S000051190_C000240872"
      decimals="4"
      id="x_312274ac-b87d-4a3c-9e33-cbe398c947a3"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="ClassDSharesMember_S000051190"
      id="x_3c1746e6-553e-4b1b-9249-aebfeb479a96">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ClassDSharesMember_S000051190_C000240872"
      decimals="4"
      id="x_022b507b-6c96-4311-bdbc-94181b60ed25"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassDSharesMember_S000051190_C000240872"
      decimals="4"
      id="b559f3e3-ab05-4506-a435-87cb0384180b"
      unitRef="pure">0.0002</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassDSharesMember_S000051190_C000240872"
      decimals="4"
      id="x_1f2c09b1-7389-4dc8-ba9c-850bd5742565"
      unitRef="pure">0.0020</oef:ExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="ClassDSharesMember_S000051190"
      id="x_4fbe90d4-09c4-4ab2-8940-6bf548f5ec1d">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ClassDSharesMember_S000051190"
      id="x_5f273241-b74c-428b-92a0-e25dd894157c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Class D Shares of the Fund for the time periods indicated and then redeem all of your Class D Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same&#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ClassDSharesMember_S000051190_C000240872"
      decimals="INF"
      id="x_274f3fd5-9a50-492f-8965-b3f0203cd819"
      unitRef="USD">20</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassDSharesMember_S000051190_C000240872"
      decimals="INF"
      id="x_07dadc92-48f8-4ce6-a18f-ae6c12e57c89"
      unitRef="USD">64</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassDSharesMember_S000051190_C000240872"
      decimals="INF"
      id="x_4a8bc233-e442-4f2c-a6dd-60466a885f56"
      unitRef="USD">113</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassDSharesMember_S000051190_C000240872"
      decimals="INF"
      id="b539d396-83db-4a77-a68c-32b402e9990c"
      unitRef="USD">255</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="ClassDSharesMember_S000051190"
      id="x_31af1f16-6735-4ecf-a8fa-d610fee78b64">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ClassDSharesMember_S000051190"
      id="x_5e8e2810-b06e-4819-943c-59d9ae94e969">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in &#x201c;government securities,&#x201d; as such term is defined in or interpreted under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;), the interest from which is generally exempt from state income taxation. &#x201c;Government securities&#x201d; generally are securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act. &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash and U.S. Government Securities. Although &#x201c;government money market funds&#x201d; may also invest in repurchase agreements that are collateralized fully by cash or U.S. Government Securities, the Fund may not invest in repurchase agreements. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000051190_RiskLoseMoneyMember"
      id="x_0d38c3a6-20ee-475a-b8c6-208981b6ba64">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000051190_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="e7e94bad-73ae-4783-b126-6924590058a6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000051190_RiskNotInsuredDepositoryInstitutionMember"
      id="fdd759bc-510f-48cd-9eca-2839cf2dc590">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000051190_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="f9d0fa18-6851-4fcb-8318-9af77eed5f31">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000051190_CreditDefaultRiskMember"
      id="x_2bc48936-782e-411c-aeaf-6bc7156dfbd7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000051190_InterestRateRiskMember"
      id="x_52d056d6-d754-40ce-b6bf-a5c757156a5e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000051190_LargeShareholderTransactionsRiskMember"
      id="x_1dcdd92b-7a7e-4692-8876-86868b64a424">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000051190_LiquidityRiskMember"
      id="x_7b9c08c1-9c8d-43fd-8da3-7900f1e3379a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000051190_MarketRiskMember"
      id="x_82419116-d685-4781-b41f-023b028f6cb3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000051190_StableNAVRiskMember"
      id="x_8b6acc05-9eed-4b72-800d-88b52a156625">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000051190_USGovernmentSecuritiesRiskMember"
      id="x_0743be90-3f32-41eb-9c0d-4002e93bb241">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ClassDSharesMember_S000051190"
      id="x_35eb4b55-9c57-42cf-a448-c9647a233a33">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ClassDSharesMember_S000051190"
      id="x_8e19344a-a5a6-4a31-9c23-8f572db1d6fb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) the performance of the Fund&#x2019;s Class D Shares; and (b) the average annual total returns of the Fund&#x2019;s Class D Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or expense limitations in effect during &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ClassDSharesMember_S000051190"
      id="x_60b485d1-fb96-479a-a1c0-dfd86b5b16cf">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) the performance of the Fund&#x2019;s Class D Shares; and (b) the average annual total returns of the Fund&#x2019;s Class D Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ClassDSharesMember_S000051190"
      id="e4d4db81-0c5c-4677-a301-96682e959ac0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ClassDSharesMember_S000051190"
      id="x_1da4bc93-d00c-4517-93b7-c2ba16e580a6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="ClassDSharesMember_S000051190"
      id="e88d3527-c989-45fb-8bb5-63da4fb703e5">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="ClassDSharesMember_S000051190"
      id="a136d8ea-2563-4596-86c6-5a33437160a3">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ClassDSharesMember_S000051190"
      id="a3fdfa81-6e6f-4ea7-a558-81a86ffd7847">&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.30%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2024&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.97%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2025&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ClassDSharesMember_S000051190_C000240872"
      id="x_5f4a17aa-a975-4b34-9991-11aa9aaae43f">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ClassDSharesMember_S000051190_C000240872"
      decimals="4"
      id="x_6d137561-dc9f-4d21-8401-ebc671d50f6d"
      unitRef="pure">0.0130</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ClassDSharesMember_S000051190_C000240872"
      id="e5a8a0fd-5b3a-4eb5-9e15-f583bfcee7c9">2024-03-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ClassDSharesMember_S000051190_C000240872"
      id="c7cbf35f-56cf-494b-bd6c-d617ff31c084">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ClassDSharesMember_S000051190_C000240872"
      decimals="4"
      id="ba330f03-4520-476e-aa08-a8f7082c28a2"
      unitRef="pure">0.0097</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ClassDSharesMember_S000051190_C000240872"
      id="x_8fdbd86c-22e2-4b0c-ac9b-6115b87108c2">2025-12-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ClassDSharesMember_S000051190"
      id="x_967c4170-3a58-4106-85ce-bfefcb80ef3f">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="ClassDSharesMember_C000240872_01Jan2025_31Dec2025"
      decimals="4"
      id="x_30077be3-64db-49d0-a7a1-de6bcafa4fd5"
      unitRef="pure">0.0416</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassDSharesMember_C000240872_31Jan2023_31Dec2025"
      decimals="4"
      id="x_7d3e5b67-a860-4364-adde-5ff49997f461"
      unitRef="pure">0.0478</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassDSharesMember_C000240872"
      id="a7c7d933-7e8b-45b8-8022-d9e8b66e81bb">2023-01-31</oef:PerfInceptionDate>
    <oef:RiskReturnHeading
      contextRef="ClassDSharesMember_S000051191"
      id="x_1359692f-a245-47e2-8e06-60d2efab5a51">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs Investor Money Market Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ClassDSharesMember_S000051191"
      id="f0a47411-69f8-4a47-9c39-1977a9d81963">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ClassDSharesMember_S000051191"
      id="ef2759f7-af4d-4fbf-8214-cabd0173701b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs Investor Money Market Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ClassDSharesMember_S000051191"
      id="x_2b2bdcdd-d22d-4de4-878c-9c141cc009a7">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ClassDSharesMember_S000051191"
      id="x_38504b40-fc5e-4f2d-b95d-427a4ac0d2ed">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="ClassDSharesMember_S000051191"
      id="x_981590ab-f342-4131-bdc7-8036d3d4038b">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassDSharesMember_S000051191_C000240873"
      decimals="4"
      id="a68b0231-e37f-4059-84ee-e91ad33264a8"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassDSharesMember_S000051191_C000240873"
      decimals="4"
      id="d8949466-1e44-44e5-8173-493ff261bae1"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="ClassDSharesMember_S000051191_C000240873"
      decimals="4"
      id="b86629fd-9c24-4dfb-9ca8-86a74258d395"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="ClassDSharesMember_S000051191_C000240873"
      decimals="4"
      id="x_8a097830-c7ad-449c-b206-209be519b611"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="ClassDSharesMember_S000051191_C000240873"
      decimals="4"
      id="cc13d9a2-8324-48fe-8a2c-17b8fff98ffd"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="ClassDSharesMember_S000051191"
      id="x_411a2e25-1092-487f-8b4b-a31275a62448">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ClassDSharesMember_S000051191_C000240873"
      decimals="4"
      id="x_5d8702d5-2596-43df-aecf-be6d1a3695ff"
      unitRef="pure">0.0016</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassDSharesMember_S000051191_C000240873"
      decimals="4"
      id="c90e6746-12fd-4afc-98d1-636457ce131b"
      unitRef="pure">0.0003</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassDSharesMember_S000051191_C000240873"
      decimals="4"
      id="x_6668ecc8-c610-4390-aeb1-ced0a3e2a018"
      unitRef="pure">0.0019</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassDSharesMember_S000051191_C000240873"
      decimals="4"
      id="e5ebe611-694d-4e1e-9426-82dc7677245c"
      unitRef="pure">-0.0001</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassDSharesMember_S000051191_C000240873"
      decimals="4"
      id="f71a408a-db60-4743-be21-bca25f359975"
      unitRef="pure">0.0018</oef:NetExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="ClassDSharesMember_S000051191"
      id="ea2e856e-b255-4637-8ace-e5df9ab7ba88">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;March 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="ClassDSharesMember_S000051191"
      id="x_05f2d535-4bbe-4eda-9b75-73715976205c">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ClassDSharesMember_S000051191"
      id="x_44ec965d-185b-4984-9bfa-80c80a2cd09b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Class D Shares of the Fund for the time periods indicated and then redeem all of your Class D Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same&#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ClassDSharesMember_S000051191_C000240873"
      decimals="INF"
      id="c327e5be-fb4d-4367-a9eb-e1311c9526ac"
      unitRef="USD">18</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassDSharesMember_S000051191_C000240873"
      decimals="INF"
      id="x_59e002c1-7fbd-4785-8806-88da5358cab8"
      unitRef="USD">60</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassDSharesMember_S000051191_C000240873"
      decimals="INF"
      id="f69dc726-c076-4a7a-bebe-a904e56e8cd8"
      unitRef="USD">106</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassDSharesMember_S000051191_C000240873"
      decimals="INF"
      id="bd3ca487-23cb-4758-b5cc-41cede363a31"
      unitRef="USD">242</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="ClassDSharesMember_S000051191"
      id="x_26182613-c8df-430c-8b67-793b9540f05b">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ClassDSharesMember_S000051191"
      id="x_2095bd7c-fd0b-4823-af22-93e4e1cd77cb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing in securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;), obligations of banks (which may exceed 25% of its total assets), commercial paper and other short-term obligations of U.S. companies, states, municipalities and other entities, and repurchase agreements. The Fund may also invest in U.S. dollar-denominated obligations of foreign banks, foreign companies and foreign governments. The Fund may not invest more than 25% of its total assets in the securities of any one foreign government. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;retail money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (the &#x201c;Investment Company Act&#x201d;). &#x201c;Retail money market funds&#x201d; are money market funds that have policies and procedures reasonably designed to limit all beneficial owners of the fund to natural persons. As a &#x201c;retail money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity, diversification and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000051191_RiskLoseMoneyMember"
      id="x_8f4275ff-97ce-49a8-9430-5e504653c824">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000051191_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_375fe29b-7562-490d-a7bd-466c9b3c5990">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000051191_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember"
      id="x_7e6d6171-00ca-411b-86c4-4ee186c1bcd7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund may impose a fee upon sale of your shares.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000051191_RiskNotInsuredDepositoryInstitutionMember"
      id="x_8b1b75e2-8e8b-48e9-ae2b-6872b98a69aa">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;bank account or a deposit of a bank and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000051191_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_60c6104c-83bf-4054-82bb-cc28f75cb700">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000051191_BankingIndustryRiskMember"
      id="x_04fc9b58-ada3-47a8-9a9d-b368cb1bfbe9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Banking Industry Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An adverse development in the banking industry (domestic or foreign) may affect the value of the Fund&#x2019;s investments more than if the Fund were not invested to such a degree in the banking industry. Banks may be particularly susceptible to certain economic factors such as interest rate changes, adverse developments in the real estate market, fiscal, regulatory and monetary policy and general economic cycles.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000051191_CreditDefaultRiskMember"
      id="aee5a44f-86a4-4a45-9994-113d2562fe64">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000051191_ForeignRiskMember"
      id="x_7432d22c-01b1-49e1-9878-f06efe2b42f1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Foreign Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Foreign securities may be subject to risk of loss because of more or less foreign government regulation; less public information; less stringent investor protections; less stringent accounting, corporate governance, financial reporting and disclosure standards; and less economic, political and social stability in the countries in which the Fund invests. The imposition of sanctions, confiscations, trade restrictions (including tariffs) and other government restrictions by the United States and other governments, or from problems in share registration, settlement or custody, may also result in losses. In addition, the Fund will be subject to the risk that an issuer of foreign sovereign debt or the government authorities that control the repayment of the debt may be unable or unwilling to repay the principal or interest when due.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000051191_InterestRateRiskMember"
      id="x_8a84804a-f27f-4257-8add-ae9adeec156c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000051191_LargeShareholderTransactionsRiskMember"
      id="a3787ef8-2794-4d2f-9f64-e177264b7ed2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders&#160;(including financial intermediaries who may make investment decisions on behalf of underlying clients) purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000051191_LiquidityRiskMember"
      id="x_22e41770-f5eb-4cee-8b8f-8ea969369eee">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000051191_MarketRiskMember"
      id="x_1e4f6a31-e78a-4026-b9e4-c94faf648c07">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of &#160;individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000051191_MunicipalSecuritiesRiskMember"
      id="x_0927d3a3-d5e3-4b1e-b7be-4ac3f562159d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Municipal Securities Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Municipal securities are subject to credit/default risk, interest rate risk and certain additional risks. The Fund may be more sensitive to adverse economic, business&#160;or political developments if it invests a substantial portion of its assets in the debt securities of similar projects (such as those relating to education, health care, housing, transportation, and utilities), industrial development bonds, or in particular types of municipal securities (such as general obligation bonds, private activity bonds and moral obligation bonds). The Fund may also invest in municipal securities indirectly (including by investing in tender option bonds). While interest earned on municipal securities is generally not subject to federal tax, any interest earned on taxable municipal securities is fully taxable at the federal level and may be subject to tax at the state level.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000051191_StableNAVRiskMember"
      id="x_95365192-6d0f-417c-9d85-e46a908ecdac">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassDSharesMember_S000051191_USGovernmentSecuritiesRiskMember"
      id="f3248620-b2b9-4d99-a44b-50185adec4af">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law.&#160;Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ClassDSharesMember_S000051191"
      id="x_5544cb04-4bb8-4cbe-bafe-6001f448064f">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ClassDSharesMember_S000051191"
      id="x_64fc7fea-0eaf-4add-84e2-64ad9704b989">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) the performance of the Fund&#x2019;s Class D Shares; and (b) the average annual total returns of the Fund&#x2019;s Class D Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or expense limitations in effect during &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ClassDSharesMember_S000051191"
      id="x_538103f6-75ba-4172-8438-064ed66171c0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) the performance of the Fund&#x2019;s Class D Shares; and (b) the average annual total returns of the Fund&#x2019;s Class D Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ClassDSharesMember_S000051191"
      id="b420c5d0-ffc9-4141-88c0-feff598f9bf0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ClassDSharesMember_S000051191"
      id="x_5c23624d-c99a-4994-b10b-95235c4d6aa7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="ClassDSharesMember_S000051191"
      id="x_45883f14-2a25-4279-9112-1ca70b56d2f2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="ClassDSharesMember_S000051191"
      id="x_82921125-900c-4ff5-8a90-0c5e8564e5ae">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ClassDSharesMember_S000051191"
      id="x_5fa2e1b4-c449-4a6b-96f2-7b35089e1557">&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.33%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2024&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.01%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2025&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ClassDSharesMember_S000051191_C000240873"
      id="x_0cb864a0-8213-4e3c-8118-97c465365de4">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ClassDSharesMember_S000051191_C000240873"
      decimals="4"
      id="x_33cb7442-1cc5-4faf-bb61-d16f92000a25"
      unitRef="pure">0.0133</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ClassDSharesMember_S000051191_C000240873"
      id="x_9c15b9af-700f-40dd-8025-843cbdbc6f0c">2024-03-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ClassDSharesMember_S000051191_C000240873"
      id="ab724dc2-5fed-42e9-85bb-7cf53316fa5a">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ClassDSharesMember_S000051191_C000240873"
      decimals="4"
      id="x_37318c25-f076-443c-b1a7-a0d373a8d555"
      unitRef="pure">0.0101</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ClassDSharesMember_S000051191_C000240873"
      id="x_96f3134d-5446-4043-9186-1d632a7209cb">2025-12-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ClassDSharesMember_S000051191"
      id="x_97de1816-39c1-47ab-8427-61c26bc12903">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="ClassDSharesMember_C000240873_01Jan2025_31Dec2025"
      decimals="4"
      id="x_1aadcccb-e8ab-49f7-95c3-5be571ab6be7"
      unitRef="pure">0.0431</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassDSharesMember_C000240873_31Jan2023_31Dec2025"
      decimals="4"
      id="x_01771367-7e17-41e5-9085-b5ae04fe88ab"
      unitRef="pure">0.0492</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassDSharesMember_C000240873"
      id="ff39e7b7-c1e1-46b0-9803-84bbd5009861">2023-01-31</oef:PerfInceptionDate>
    <oef:ProspectusDate
      contextRef="D_30Nov2025_30Nov2025"
      id="apid_68fcc373-e450-4a89-9040-cc6e79a4760d">2026-03-30</oef:ProspectusDate>
    <oef:RiskReturnHeading
      contextRef="TokenSharesMember_S000009261"
      id="x_58a543e6-f4bd-4b34-bd7c-41f81f4c2f5c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs Financial Square Treasury Instruments Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="TokenSharesMember_S000009261"
      id="d78d342a-96f8-4de6-803c-7a73055bd390">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="TokenSharesMember_S000009261"
      id="x_5d32aa19-a307-4d28-b4fe-5e68e821680b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs Financial Square Treasury Instruments Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="TokenSharesMember_S000009261"
      id="x_037469c6-f779-4c90-b636-6ad49168fff8">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="TokenSharesMember_S000009261"
      id="x_0712ad38-0100-4da2-a743-8d540412fe70">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="TokenSharesMember_S000009261"
      id="d7ec4ae7-ff63-44ad-9e06-af10e645109a">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="TokenSharesMember_S000009261_C000260398"
      decimals="4"
      id="c305680d-bb1f-4b00-aa5d-aa5ec32a1578"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="TokenSharesMember_S000009261_C000260398"
      decimals="4"
      id="x_5a262bf1-8dc4-49a7-840a-938b28f3684f"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="TokenSharesMember_S000009261_C000260398"
      decimals="4"
      id="f028dcd2-29a8-4523-b3c1-308f915815ce"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="TokenSharesMember_S000009261_C000260398"
      decimals="4"
      id="x_66da36e3-08b4-42ab-89b4-2f8128ca2f03"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="TokenSharesMember_S000009261_C000260398"
      decimals="4"
      id="x_4d09b030-0c97-4afe-b668-64c50988f8ad"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="TokenSharesMember_S000009261"
      id="x_923fdcac-bdab-4576-9e80-a68cc445a1b0">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="TokenSharesMember_S000009261_C000260398"
      decimals="4"
      id="a10e09b0-7123-45cb-8f05-5e7bb96c9486"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="TokenSharesMember_S000009261_C000260398"
      decimals="4"
      id="x_0ff25120-7249-4d46-a137-c6fd4dbb5086"
      unitRef="pure">0.0002</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="TokenSharesMember_S000009261_C000260398"
      decimals="4"
      id="x_3c95d325-b4a7-4182-9836-87fea3df9a03"
      unitRef="pure">0.0020</oef:ExpensesOverAssets>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="TokenSharesMember_S000009261"
      id="x_0386930b-1afe-4e5e-9e8e-613ffab70a45">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.&lt;/span&gt;</oef:ExpensesRestatedToReflectCurrent>
    <oef:ExpenseExampleHeading
      contextRef="TokenSharesMember_S000009261"
      id="x_064f8fc4-1c8e-41a2-8c59-d23f970c821d">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="TokenSharesMember_S000009261"
      id="bde38392-f7c4-4967-8be6-b06b1e9c13e0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Token Shares of the Fund for the time periods indicated and then redeem all of your Token Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same&#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="TokenSharesMember_S000009261_C000260398"
      decimals="INF"
      id="x_72c89175-343b-4996-af4d-fedbbb168b16"
      unitRef="USD">20</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="TokenSharesMember_S000009261_C000260398"
      decimals="INF"
      id="dda25636-3bc4-47ec-8b9e-d40eaadc311c"
      unitRef="USD">64</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="TokenSharesMember_S000009261_C000260398"
      decimals="INF"
      id="caa55ccd-aa8f-44b6-a852-c4470126ce22"
      unitRef="USD">113</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="TokenSharesMember_S000009261_C000260398"
      decimals="INF"
      id="x_8abfc70c-5703-40be-8eb5-6ff374d7b980"
      unitRef="USD">255</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="TokenSharesMember_S000009261"
      id="x_4654aa0c-c670-49c4-9572-2bf2587995b1">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="TokenSharesMember_S000009261"
      id="x_37e0ba10-0ff8-47a7-a367-16f930ca9091">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing only in U.S. Treasury Obligations, which include securities issued or guaranteed by the U.S. Treasury where the payment of principal and interest is backed by the full faith and credit of the U.S. government (&#x201c;U.S. Treasury Obligations&#x201d;), the interest from which is generally exempt from state income taxation. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;). &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash and securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;). Although &#x201c;government money market funds&#x201d; may also invest in repurchase agreements that are collateralized fully by cash or U.S. Government Securities, the Fund may not invest in &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;repurchase agreements. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="TokenSharesMember_S000009261_RiskLoseMoneyMember"
      id="x_1d6e23ac-1da6-4859-a7d9-63566d9d137a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="TokenSharesMember_S000009261_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="a0252824-4de6-4d5b-b0cc-bf72110da4d5">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="TokenSharesMember_S000009261_RiskNotInsuredDepositoryInstitutionMember"
      id="x_12a9cc5e-540b-45b6-ada0-dd8524cbcf0a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="TokenSharesMember_S000009261_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_7eca99cc-a186-4d25-8ad3-bfb73d748016">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="TokenSharesMember_S000009261_CreditDefaultRiskMember"
      id="x_1a93d3fa-e911-4b80-8074-9483f78b5f16">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="TokenSharesMember_S000009261_InterestRateRiskMember"
      id="e4d34db7-f16b-4485-9160-82370eb52bd1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="TokenSharesMember_S000009261_LargeShareholderTransactionsRiskMember"
      id="x_8d22af7a-c81d-4535-a2a9-9c26858e8d08">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="TokenSharesMember_S000009261_LiquidityRiskMember"
      id="x_937e3cac-1c3e-4851-ac27-5dd9da3812df">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="TokenSharesMember_S000009261_MarketRiskMember"
      id="x_67e7101a-ce29-489c-a935-430d869a4102">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, sanctions, the spread of infectious illness or other public health threats could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="TokenSharesMember_S000009261_StableNAVRiskMember"
      id="x_19520a7f-35a3-414e-94c4-fc22c03e7ae0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="TokenSharesMember_S000009261"
      id="a4c19212-1abd-46d7-9ea1-25d427c83f7d">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="TokenSharesMember_S000009261"
      id="x_9c4003c5-acc4-459b-a368-3fa9272a8774">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Institutional Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Institutional Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects fee waivers and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;expense limitations in effect during the periods shown. Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="TokenSharesMember_S000009261"
      id="x_813498af-5b56-4574-b628-cf1bcb2bbbe1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Institutional Shares from year to year; and (b) the average annual total returns of the Fund&#x2019;s Institutional Shares.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="TokenSharesMember_S000009261"
      id="b85f0a31-f9cb-4ebe-9bf2-1f76aa28b682">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="TokenSharesMember_S000009261"
      id="d8225077-ea53-428a-8c0b-212636418380">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="TokenSharesMember_S000009261"
      id="d611f9e0-31eb-4c48-b6ef-012deba95a04">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="TokenSharesMember_S000009261"
      id="x_8e21b557-57f5-471c-ada3-6dc3c975758c">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR *&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="TokenSharesMember_S000009261"
      id="b1c3e43b-6380-4b94-9bf1-0b2f369ad454">&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;1.33%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2023&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;September 30, 2021&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="TokenSharesMember_S000009261_C000025309"
      id="x_36a419b1-da53-45f8-8faa-fa7cc3cdc6e3">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="TokenSharesMember_S000009261_C000025309"
      decimals="4"
      id="b1cf0779-15c6-4135-a8ea-82af510716c0"
      unitRef="pure">0.0133</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="TokenSharesMember_S000009261_C000025309"
      id="e4320168-fe36-4b84-8593-0a9107e6b3a9">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="TokenSharesMember_S000009261_C000025309"
      id="b38499e8-cf39-4018-ba65-1641477c169a">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="TokenSharesMember_S000009261_C000025309"
      decimals="4"
      id="x_4a7c460d-00ef-457e-9cad-f0ca8a2f75df"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="TokenSharesMember_S000009261_C000025309"
      id="c7d4fb77-6d9f-4fa9-ab7d-3381fde52095">2021-09-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="TokenSharesMember_S000009261"
      id="x_3c39f2b3-d566-4471-825e-0525b8497141">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="TokenSharesMember_C000025309_01Jan2025_31Dec2025"
      decimals="4"
      id="x_760503b9-5098-4337-b883-914244cadfe2"
      unitRef="pure">0.0415</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TokenSharesMember_C000025309_01Jan2021_31Dec2025"
      decimals="4"
      id="ed6dc4f2-faec-45dd-9696-0f19d704f92e"
      unitRef="pure">0.0312</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TokenSharesMember_C000025309_01Jan2016_31Dec2025"
      decimals="4"
      id="x_8c7eef6b-a497-49bf-b8ad-61419f6c7c9f"
      unitRef="pure">0.0206</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="TokenSharesMember_C000025309"
      id="fb599ccd-8605-4145-8cec-7c99bf704041">1997-03-03</oef:PerfInceptionDate>
    <oef:BarChartFootnotesTextBlock
      contextRef="TokenSharesMember_S000009261"
      id="c8d90672-ab5f-4061-8469-500e45c6bcb2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;*&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Because Token Shares have not had returns for a full calendar year as of the date of this Prospectus, the figures shown above provide performance for Institutional Shares of the Fund (which are not offered in this Prospectus). Token Shares would have substantially similar annual returns because the shares are invested in the same portfolio of securities and the annual returns would differ only to the extent that the share classes do not have the same expenses.&lt;/span&gt;</oef:BarChartFootnotesTextBlock>
    <oef:BarChartReturnsForClassNotOfferedInProspectus
      contextRef="TokenSharesMember_S000009261"
      id="x_516aa5c6-b78c-4e0f-84c3-46e1a1fe30e9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Because Token Shares have not had returns for a full calendar year as of the date of this Prospectus, the figures shown above provide performance for Institutional Shares of the Fund (which are not offered in this Prospectus). Token Shares would have substantially similar annual returns because the shares are invested in the same portfolio of securities and the annual returns would differ only to the extent that the share classes do not have the same expenses.&lt;/span&gt;</oef:BarChartReturnsForClassNotOfferedInProspectus>
    <oef:ProspectusDate
      contextRef="D_30Nov2025_30Nov2025"
      id="apid_769d3b3e-a153-4e47-af0d-54ad1e95dd45">2026-03-30</oef:ProspectusDate>
    <oef:RiskReturnHeading
      contextRef="S000096115"
      id="x_701b6197-7917-4cab-85e0-561e2b425834">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Stablecoin Reserves Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="S000096115"
      id="cfd5a748-085e-4df0-825f-7443899841b7">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="S000096115"
      id="x_2c0ba881-f911-466e-b7e9-f52b12f2a87d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Stablecoin Reserves Fund (the &#x201c;Fund&#x201d;) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="S000096115"
      id="x_4e91bd69-2e26-4aaf-af7f-7f66034c83a3">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="S000096115"
      id="e55fd928-1824-4667-a52b-90cfb39654cc">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="S000096115"
      id="f7b69082-0065-4b23-9803-09676e529784">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="S000096115_C000264902"
      decimals="4"
      id="x_2b807767-8f62-4df7-bc53-5b616a04111d"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="S000096115_C000264902"
      decimals="4"
      id="f2cc8942-dcca-4130-8cf1-b62e291c9af0"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther
      contextRef="S000096115_C000264902"
      decimals="4"
      id="x_28936730-5372-4847-9ade-84f9accb1987"
      unitRef="pure">0</oef:MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther>
    <oef:RedemptionFeeOverRedemption
      contextRef="S000096115_C000264902"
      decimals="4"
      id="x_87d78c2a-d208-4dde-b8ac-7de01aac7ed0"
      unitRef="pure">0</oef:RedemptionFeeOverRedemption>
    <oef:ExchangeFeeOverRedemption
      contextRef="S000096115_C000264902"
      decimals="4"
      id="ebc8b2a9-1adc-4b97-be41-007ee66db7e8"
      unitRef="pure">0</oef:ExchangeFeeOverRedemption>
    <oef:OperatingExpensesCaption
      contextRef="S000096115"
      id="x_6b47a0fa-cdda-42c3-8d9c-8b35817ec945">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="S000096115_C000264902"
      decimals="4"
      id="f5635b95-5657-4324-9dc3-1ad8722e55c1"
      unitRef="pure">0.0018</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="S000096115_C000264902"
      decimals="4"
      id="x_666bc351-5568-42a7-ba3d-9b4b4066baa6"
      unitRef="pure">0.0178</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="S000096115_C000264902"
      decimals="4"
      id="x_4fbac7d0-70c0-46d5-bba2-cb89681e1de4"
      unitRef="pure">0.0196</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="S000096115_C000264902"
      decimals="4"
      id="x_8a33a706-4128-4d35-9eff-11935b627001"
      unitRef="pure">-0.0176</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="S000096115_C000264902"
      decimals="4"
      id="x_8ff3cdf4-2764-404b-9291-ffbd977754cd"
      unitRef="pure">0.0020</oef:NetExpensesOverAssets>
    <oef:OtherExpensesNewFundBasedOnEstimates
      contextRef="S000096115"
      id="x_493dbd07-58b4-4074-b027-49e770106555">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The Fund's &#x201c;Other Expenses&#x201d; have been estimated to reflect expenses to be incurred during the first fiscal year.&lt;/span&gt;</oef:OtherExpensesNewFundBasedOnEstimates>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="S000096115"
      id="x_0b858710-1527-496d-84d3-73761d2152ad">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;March 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="S000096115"
      id="fbaaf4b7-f2fe-43f1-9de9-eeffcfb76784">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="S000096115"
      id="x_4eba6f05-2ebd-4955-b2f5-e95bafe7d2ed">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Institutional Shares of the Fund for the time periods indicated and then redeem all of your Institutional Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same&#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="S000096115_C000264902"
      decimals="INF"
      id="x_94c798db-914f-4c57-be7c-13e8574cefd0"
      unitRef="USD">20</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="S000096115_C000264902"
      decimals="INF"
      id="x_3ca452ba-f9e4-42ec-ac42-9dd70e084916"
      unitRef="USD">444</oef:ExpenseExampleYear03>
    <oef:StrategyHeading
      contextRef="S000096115"
      id="a41d263b-d3dd-4f64-9467-d6a751d3ad8d">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="S000096115"
      id="x_64c280ae-7248-4fcd-87d8-c27050b9b1d4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund pursues its investment objective by investing, under normal circumstances, only in certain eligible reserve assets that payment stablecoin issuers are permitted to maintain under the Guiding and Establishing National Innovation for U.S. Stablecoins Act (known as the &#x201c;GENIUS Act&#x201d;) and any regulations adopted thereunder. These eligible reserve assets include, and the Fund intends to invest only in, cash, U.S. Treasury bills, notes and bonds (&#x201c;U.S. Treasury Obligations&#x201d;) with a remaining maturity of 93 days or less or issued with a maturity of 93 days or less and overnight repurchase agreements collateralized by U.S. Treasury Obligations. The Fund primarily intends to serve as a reserve asset for stablecoin issuers. The Fund does not invest in stablecoins or stablecoin issuers. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund intends to be a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;). &#x201c;Government money market funds&#x201d; are money market funds that invest at least 99.5% of their total assets in cash, securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (&#x201c;U.S. Government Securities&#x201d;), and/or repurchase agreements that are collateralized fully by cash or U.S. Government Securities. &#x201c;Government money market funds&#x201d; are exempt from requirements that permit and, under certain circumstances, require money market funds to impose a &#x201c;liquidity fee&#x201d; on redemptions. As a &#x201c;government money market fund,&#x201d; the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity and liquidity.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="S000096115_RiskLoseMoneyMember"
      id="x_7aeb5043-ce22-4698-9a81-9b6fe0855f0c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="S000096115_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="e31c4eb6-09bd-4a5f-9155-08af070fac98">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="S000096115_RiskNotInsuredDepositoryInstitutionMember"
      id="x_404a4c4d-41c9-4033-b236-aad80c183b15">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt; An investment in the Fund is not a bank account or a deposit of a bank and is not &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="S000096115_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_94c9a987-c8e7-4e87-a573-732ad24c720d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;The Fund&#x2019;s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="S000096115_CreditDefaultRiskMember"
      id="x_82b72da4-a38d-4326-8767-b2e92e2fbb1e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund&#x2019;s liquidity and cause significant deterioration in NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="S000096115_InterestRateRiskMember"
      id="x_53d3045e-003e-4e41-af01-8cdf6782d967">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, the Fund&#x2019;s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing&#160;interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund&#x2019;s portfolio holdings may have an adverse impact on the Fund&#x2019;s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund&#x2019;s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="S000096115_LargeShareholderTransactionsRiskMember"
      id="x_7a3dc06f-beb9-42e8-bbc6-702f2e999220">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; &#160;NAV&#160; and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="S000096115_LiquidityRiskMember"
      id="b109f73e-c19f-4689-a46b-e796b5033b03">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund&#x2019;s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="S000096115_MarketRiskMember"
      id="x_38f1144e-bbb2-41f2-8039-f6e17fcd8fa4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The value of the securities in which the Fund invests may go up or down in response to the prospects of governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="S000096115_StableNAVRiskMember"
      id="x_743dbe79-8b48-4e0d-be26-7d6da3952c1d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stable NAV Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund&#x2019;s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="S000096115_StablecoinIssuerReservesRiskMember"
      id="x_1fcf5cf8-09e2-475b-81af-b1bd55bfc82d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stablecoin Issuer Reserves Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Shares of the Fund are expected to be held primarily by one or more stablecoin issuers as all or a portion of the reserve assets that back the stablecoins issued to their customers. Stablecoins generally are a type of cryptocurrency that are designed to maintain a stable value by pegging their value to another asset, such as a fiat currency like the U.S. dollar, and stablecoin holders generally are permitted to redeem their stablecoins for a fixed amount of value. Although the Fund does not invest in stablecoins or stablecoin issuers, the assets of the Fund are expected to fluctuate depending on the creation (minting) of additional stablecoins or the redemption (burning) of outstanding stablecoins. Stablecoins or other digital assets that stablecoins may be used to purchase or sell may face periods of uncertainty and volatility that result in the potential for rapid or unexpected requests by one or more stablecoin issuers to redeem or purchase the Fund&#x2019;s shares. Such uncertainty or volatility may result from events that are not specifically related to a stablecoin issuer, such as changes in general market conditions, economic, technological or legal trends or changes to the laws or regulation of stablecoins, or events that are specifically related to a particular stablecoin issuer, such as uncertainty about the stablecoin issuer&#x2019;s ability to maintain a consistent peg between the stablecoins issued to its customers and another asset, such as a fiat currency like the U.S. dollar. Because the Fund intends to invest only in certain eligible reserve assets that payment stablecoin issuers are permitted to maintain under the GENIUS Act, the Fund&#x2019;s yield may be lower than other money market funds that are permitted to invest in a wider universe of investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="S000096115_USTreasuryObligationsRiskMember"
      id="dd17c55e-675a-48e7-9a97-29b4d3c63dee">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Treasury Obligations Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; U.S. Treasury Obligations have historically involved minimal risk of loss of principal if held to maturity. Securities issued or guaranteed by the U.S. Treasury are backed by the full faith and credit of the United States, but are guaranteed only as to the timely payment of interest and principal when held to maturity, and the market prices for such securities will fluctuate. Notwithstanding that U.S. Treasury Obligations are backed by the full faith and credit of the United States, circumstances could arise that would prevent the timely payment of interest or principal, which could result in losses to the Fund (e.g., Congressional debt ceiling impasses). Such non-payment could result in losses to and redemptions from the Fund and substantial negative consequences for the U.S. economy and the global financial system.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="S000096115"
      id="x_3a6cb67d-1cec-4507-852a-5c0e162e8693">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="S000096115"
      id="x_4dedc86f-7873-4da9-825b-c5dd70a061cc">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Because the Fund had not operated for a full calendar year as of the date of the Prospectus, there is no performance information quoted for the Fund.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceOneYearOrLess
      contextRef="S000096115"
      id="c2113d4c-31fb-4438-887a-4b808f5487fe">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Because the Fund had not operated for a full calendar year as of the date of the Prospectus, there is no performance information quoted for the Fund.&lt;/span&gt;</oef:PerformanceOneYearOrLess>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="S000096115"
      id="x_1e7b2ab1-f9b2-490a-8785-b6cf0320d42e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="S000096115"
      id="x_269cf3a3-22c9-4892-a91c-b124ce1222fc">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;1-800-621-2550&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <link:footnoteLink
      xlink:role="http://www.xbrl.org/2003/role/link"
      xlink:type="extended">
        <link:loc
          xlink:href="#x_7747f730-e5e3-46c9-94c3-289077c1d320"
          xlink:label="x_7747f730-e5e3-46c9-94c3-289077c1d320"
          xlink:type="locator"/>
        <link:footnote id="x_00051y_29f0ee12-d6d1-41ed-a5f2-34c5fd444dac" xlink:label="x_00051y_29f0ee12-d6d1-41ed-a5f2-34c5fd444dac" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_7747f730-e5e3-46c9-94c3-289077c1d320"
          xlink:to="x_00051y_29f0ee12-d6d1-41ed-a5f2-34c5fd444dac"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_0ecef10d-7327-4d0d-817d-953c9026e952"
          xlink:label="x_0ecef10d-7327-4d0d-817d-953c9026e952"
          xlink:type="locator"/>
        <link:footnote id="x_000524_7b9a5e9b-a31b-4438-9447-896bd94353c1" xlink:label="x_000524_7b9a5e9b-a31b-4438-9447-896bd94353c1" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_0ecef10d-7327-4d0d-817d-953c9026e952"
          xlink:to="x_000524_7b9a5e9b-a31b-4438-9447-896bd94353c1"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#bb5c5ce6-9b05-42a1-a8a3-88ba892717d7"
          xlink:label="bb5c5ce6-9b05-42a1-a8a3-88ba892717d7"
          xlink:type="locator"/>
        <link:footnote id="x_0003d_1eccaf09-dd9c-418a-9dc7-5486b523c0fe" xlink:label="x_0003d_1eccaf09-dd9c-418a-9dc7-5486b523c0fe" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="bb5c5ce6-9b05-42a1-a8a3-88ba892717d7"
          xlink:to="x_0003d_1eccaf09-dd9c-418a-9dc7-5486b523c0fe"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_0ff25120-7249-4d46-a137-c6fd4dbb5086"
          xlink:label="x_0ff25120-7249-4d46-a137-c6fd4dbb5086"
          xlink:type="locator"/>
        <link:footnote id="x_003t_121c0270-31bc-475c-94b7-5bbfeee9b61d" xlink:label="x_003t_121c0270-31bc-475c-94b7-5bbfeee9b61d" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_0ff25120-7249-4d46-a137-c6fd4dbb5086"
          xlink:to="x_003t_121c0270-31bc-475c-94b7-5bbfeee9b61d"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_3892e2de-5763-46a7-add8-e80f2f97187d"
          xlink:label="x_3892e2de-5763-46a7-add8-e80f2f97187d"
          xlink:type="locator"/>
        <link:footnote id="x_0000mf_46fbd98a-fb68-4481-9064-24c3d7dcde3f" xlink:label="x_0000mf_46fbd98a-fb68-4481-9064-24c3d7dcde3f" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_3892e2de-5763-46a7-add8-e80f2f97187d"
          xlink:to="x_0000mf_46fbd98a-fb68-4481-9064-24c3d7dcde3f"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_8b02481d-5d29-42b2-a2e6-26062434c12d"
          xlink:label="x_8b02481d-5d29-42b2-a2e6-26062434c12d"
          xlink:type="locator"/>
        <link:footnote id="x_000186_b884a8a8-28d4-47be-93be-03e3761ddb75" xlink:label="x_000186_b884a8a8-28d4-47be-93be-03e3761ddb75" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_8b02481d-5d29-42b2-a2e6-26062434c12d"
          xlink:to="x_000186_b884a8a8-28d4-47be-93be-03e3761ddb75"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_0858175b-b463-417e-b65e-0b19fc6e342b"
          xlink:label="x_0858175b-b463-417e-b65e-0b19fc6e342b"
          xlink:type="locator"/>
        <link:footnote id="x_0000nj_3531bc0c-6660-4af6-bba4-f3fff7288b2d" xlink:label="x_0000nj_3531bc0c-6660-4af6-bba4-f3fff7288b2d" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_0858175b-b463-417e-b65e-0b19fc6e342b"
          xlink:to="x_0000nj_3531bc0c-6660-4af6-bba4-f3fff7288b2d"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_5491a009-21dd-41fb-b374-a031f34545e6"
          xlink:label="x_5491a009-21dd-41fb-b374-a031f34545e6"
          xlink:type="locator"/>
        <link:footnote id="x_0000no_1ffc199f-777d-4b3c-9c22-69162f40cea6" xlink:label="x_0000no_1ffc199f-777d-4b3c-9c22-69162f40cea6" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_5491a009-21dd-41fb-b374-a031f34545e6"
          xlink:to="x_0000no_1ffc199f-777d-4b3c-9c22-69162f40cea6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_3f922814-0475-4f59-a7b6-5d313319b650"
          xlink:label="x_3f922814-0475-4f59-a7b6-5d313319b650"
          xlink:type="locator"/>
        <link:footnote id="x_00010t_94d633e1-eb15-4f74-b4f0-5182484ab77c" xlink:label="x_00010t_94d633e1-eb15-4f74-b4f0-5182484ab77c" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_3f922814-0475-4f59-a7b6-5d313319b650"
          xlink:to="x_00010t_94d633e1-eb15-4f74-b4f0-5182484ab77c"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_4e1c0dea-b035-4bf6-87ff-741eaca95882"
          xlink:label="x_4e1c0dea-b035-4bf6-87ff-741eaca95882"
          xlink:type="locator"/>
        <link:footnote id="x_0000mz_72bc7d6e-7147-4e4e-a65e-96f24c54987c" xlink:label="x_0000mz_72bc7d6e-7147-4e4e-a65e-96f24c54987c" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_4e1c0dea-b035-4bf6-87ff-741eaca95882"
          xlink:to="x_0000mz_72bc7d6e-7147-4e4e-a65e-96f24c54987c"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_29a648ee-0c98-4ab2-92f4-b766b1300dd4"
          xlink:label="x_29a648ee-0c98-4ab2-92f4-b766b1300dd4"
          xlink:type="locator"/>
        <link:footnote id="x_0001gr_ad50e168-eb72-4ebe-b26e-cb20e1e6ee9c" xlink:label="x_0001gr_ad50e168-eb72-4ebe-b26e-cb20e1e6ee9c" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_29a648ee-0c98-4ab2-92f4-b766b1300dd4"
          xlink:to="x_0001gr_ad50e168-eb72-4ebe-b26e-cb20e1e6ee9c"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#d3888c53-b096-4643-a5b9-ed6c987b59d5"
          xlink:label="d3888c53-b096-4643-a5b9-ed6c987b59d5"
          xlink:type="locator"/>
        <link:footnote id="x_0001hc_0617a038-6fdc-48a5-aa94-8bb11d9b67a5" xlink:label="x_0001hc_0617a038-6fdc-48a5-aa94-8bb11d9b67a5" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="d3888c53-b096-4643-a5b9-ed6c987b59d5"
          xlink:to="x_0001hc_0617a038-6fdc-48a5-aa94-8bb11d9b67a5"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_93c4be1e-a2a3-4d14-ac09-b05915196cd2"
          xlink:label="x_93c4be1e-a2a3-4d14-ac09-b05915196cd2"
          xlink:type="locator"/>
        <link:footnote id="x_00031t_72e4060a-2635-467a-89ac-554a3c340f71" xlink:label="x_00031t_72e4060a-2635-467a-89ac-554a3c340f71" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">Class C Shares may be subject to a contingent deferred sales charge (&#x201c;CDSC&#x201d;) of 1.00% during the first 12 months, measured from the time the original shares subject to the CDSC were acquired.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_93c4be1e-a2a3-4d14-ac09-b05915196cd2"
          xlink:to="x_00031t_72e4060a-2635-467a-89ac-554a3c340f71"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_220ec707-0dbf-4736-a0a5-0e8fda7a5c45"
          xlink:label="x_220ec707-0dbf-4736-a0a5-0e8fda7a5c45"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_220ec707-0dbf-4736-a0a5-0e8fda7a5c45"
          xlink:to="x_00031t_72e4060a-2635-467a-89ac-554a3c340f71"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_3cbfd520-cca8-4fe1-a7c7-4c7226e976d6"
          xlink:label="x_3cbfd520-cca8-4fe1-a7c7-4c7226e976d6"
          xlink:type="locator"/>
        <link:footnote id="x_00031u_72e4060a-2635-467a-89ac-554a3c340f71" xlink:label="x_00031u_72e4060a-2635-467a-89ac-554a3c340f71" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, transfer agency fees and expenses, service fees, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.014% of the Fund&#x2019;s average daily net assets through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">March 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date, the Investment Adviser may not terminate the arrangement without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_3cbfd520-cca8-4fe1-a7c7-4c7226e976d6"
          xlink:to="x_00031u_72e4060a-2635-467a-89ac-554a3c340f71"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#e0bec6c6-6087-48e0-969c-8200e968ce49"
          xlink:label="e0bec6c6-6087-48e0-969c-8200e968ce49"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="e0bec6c6-6087-48e0-969c-8200e968ce49"
          xlink:to="x_00031u_72e4060a-2635-467a-89ac-554a3c340f71"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_49464ff9-ecc2-4f8e-902f-312f9c138967"
          xlink:label="x_49464ff9-ecc2-4f8e-902f-312f9c138967"
          xlink:type="locator"/>
        <link:footnote id="x_00004s_0b39160b-79dd-48e4-a8c3-5b01a29b9232" xlink:label="x_00004s_0b39160b-79dd-48e4-a8c3-5b01a29b9232" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, transfer agency fees and expenses, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.014% of the Fund&#x2019;s average daily net assets. This arrangement will remain in effect through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">March 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date the Investment Adviser may not terminate the arrangement without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_49464ff9-ecc2-4f8e-902f-312f9c138967"
          xlink:to="x_00004s_0b39160b-79dd-48e4-a8c3-5b01a29b9232"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_8c5cf23e-7beb-4ea5-9542-b5107306cc3a"
          xlink:label="x_8c5cf23e-7beb-4ea5-9542-b5107306cc3a"
          xlink:type="locator"/>
        <link:footnote id="x_00004i_e2af72a1-fb42-4dbe-8f7d-47386ba29be4" xlink:label="x_00004i_e2af72a1-fb42-4dbe-8f7d-47386ba29be4" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, shareholder administration fees, transfer agency fees and expenses, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.014% of the Fund&#x2019;s average daily net assets through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">March 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date, the Investment Adviser may not terminate the arrangement without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_8c5cf23e-7beb-4ea5-9542-b5107306cc3a"
          xlink:to="x_00004i_e2af72a1-fb42-4dbe-8f7d-47386ba29be4"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_245a4bff-f665-4f28-a635-af599ad113cc"
          xlink:label="x_245a4bff-f665-4f28-a635-af599ad113cc"
          xlink:type="locator"/>
        <link:footnote id="x_00004d_e2269897-fbe6-4572-ac3c-4d164e69037c" xlink:label="x_00004d_e2269897-fbe6-4572-ac3c-4d164e69037c" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, administration fees, transfer agency fees and expenses, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.014% of the Fund&#x2019;s average daily net assets through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">March 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date the Investment Adviser may not terminate the arrangement without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_245a4bff-f665-4f28-a635-af599ad113cc"
          xlink:to="x_00004d_e2269897-fbe6-4572-ac3c-4d164e69037c"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#f2ecc298-3baf-4cd4-adfc-20302c0ec4ad"
          xlink:label="f2ecc298-3baf-4cd4-adfc-20302c0ec4ad"
          xlink:type="locator"/>
        <link:footnote id="x_00004n_ab515332-da7e-45f5-a212-58483852a2b3" xlink:label="x_00004n_ab515332-da7e-45f5-a212-58483852a2b3" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, administration fees, transfer agency fees and expenses, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.014% of the Fund&#x2019;s average daily net assets. This arrangement will remain in effect through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">March 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date the Investment Adviser may not terminate the arrangement without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="f2ecc298-3baf-4cd4-adfc-20302c0ec4ad"
          xlink:to="x_00004n_ab515332-da7e-45f5-a212-58483852a2b3"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#f24c1679-8201-43cd-8c62-cc40c7e39519"
          xlink:label="f24c1679-8201-43cd-8c62-cc40c7e39519"
          xlink:type="locator"/>
        <link:footnote id="x_00058p_d39b5c47-966e-45d6-8e50-44145aea9208" xlink:label="x_00058p_d39b5c47-966e-45d6-8e50-44145aea9208" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, transfer agency fees and expenses, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.014% of the Fund&#x2019;s average daily net assets. This arrangement will remain in effect through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">March 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date the Investment Adviser may not terminate the arrangement without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="f24c1679-8201-43cd-8c62-cc40c7e39519"
          xlink:to="x_00058p_d39b5c47-966e-45d6-8e50-44145aea9208"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#b0097a05-f4f2-4b76-b6c6-ba4202808bac"
          xlink:label="b0097a05-f4f2-4b76-b6c6-ba4202808bac"
          xlink:type="locator"/>
        <link:footnote id="x_00059a_e05ba7e2-acdc-47f5-8fc1-eaa40bd8b3c3" xlink:label="x_00059a_e05ba7e2-acdc-47f5-8fc1-eaa40bd8b3c3" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, transfer agency fees and expenses, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.014% of the Fund&#x2019;s average daily net assets. This arrangement will remain in effect through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">March 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date the Investment Adviser may not terminate the arrangement without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="b0097a05-f4f2-4b76-b6c6-ba4202808bac"
          xlink:to="x_00059a_e05ba7e2-acdc-47f5-8fc1-eaa40bd8b3c3"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_23d04225-6412-43f6-a070-82ebab1d6f68"
          xlink:label="x_23d04225-6412-43f6-a070-82ebab1d6f68"
          xlink:type="locator"/>
        <link:footnote id="x_000597_a774be3d-3220-4b0f-9f95-34bd8b59f7e9" xlink:label="x_000597_a774be3d-3220-4b0f-9f95-34bd8b59f7e9" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, shareholder administration fees, transfer agency fees and expenses, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.014% of the Fund&#x2019;s average daily net assets. This arrangement will remain in effect through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">March 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date the Investment Adviser may not terminate the arrangement without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_23d04225-6412-43f6-a070-82ebab1d6f68"
          xlink:to="x_000597_a774be3d-3220-4b0f-9f95-34bd8b59f7e9"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#d42287fc-23a4-4b25-9d7d-3258917a21b5"
          xlink:label="d42287fc-23a4-4b25-9d7d-3258917a21b5"
          xlink:type="locator"/>
        <link:footnote id="x_000590_9fec230d-36c6-4828-be3c-afaa070e976a" xlink:label="x_000590_9fec230d-36c6-4828-be3c-afaa070e976a" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, administration fees, transfer agency fees and expenses, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.014% of the Fund&#x2019;s average daily net assets. This arrangement will remain in effect through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">March 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date the Investment Adviser may not terminate the arrangement without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="d42287fc-23a4-4b25-9d7d-3258917a21b5"
          xlink:to="x_000590_9fec230d-36c6-4828-be3c-afaa070e976a"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_14653421-4551-4807-9073-9815f366c999"
          xlink:label="x_14653421-4551-4807-9073-9815f366c999"
          xlink:type="locator"/>
        <link:footnote id="x_00058v_1ad92b2d-6db3-4981-b89d-6ca352be091b" xlink:label="x_00058v_1ad92b2d-6db3-4981-b89d-6ca352be091b" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, administration fees, transfer agency fees and expenses, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.014% of the Fund&#x2019;s average daily net assets. This arrangement will remain in effect through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">March 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date the Investment Adviser may not terminate the arrangement without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_14653421-4551-4807-9073-9815f366c999"
          xlink:to="x_00058v_1ad92b2d-6db3-4981-b89d-6ca352be091b"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_666bc351-5568-42a7-ba3d-9b4b4066baa6"
          xlink:label="x_666bc351-5568-42a7-ba3d-9b4b4066baa6"
          xlink:type="locator"/>
        <link:footnote id="x_0005aw_fd45c0e1-0545-452a-97d0-aac06f2b3aa9" xlink:label="x_0005aw_fd45c0e1-0545-452a-97d0-aac06f2b3aa9" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Fund's &#x201c;Other Expenses&#x201d; have been estimated to reflect expenses to be incurred during the first fiscal year.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_666bc351-5568-42a7-ba3d-9b4b4066baa6"
          xlink:to="x_0005aw_fd45c0e1-0545-452a-97d0-aac06f2b3aa9"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_8a33a706-4128-4d35-9eff-11935b627001"
          xlink:label="x_8a33a706-4128-4d35-9eff-11935b627001"
          xlink:type="locator"/>
        <link:footnote id="x_0005ax_fd45c0e1-0545-452a-97d0-aac06f2b3aa9" xlink:label="x_0005ax_fd45c0e1-0545-452a-97d0-aac06f2b3aa9" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, transfer agency fees and expenses, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.014% of the Fund&#x2019;s average daily net assets. This arrangement will remain in effect through at least </xhtml:span><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">March 30, 2027</xhtml:span><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date the Investment Adviser may not terminate the arrangement without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_8a33a706-4128-4d35-9eff-11935b627001"
          xlink:to="x_0005ax_fd45c0e1-0545-452a-97d0-aac06f2b3aa9"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_9956bf9b-850b-47f4-8db4-6227b6dc8503"
          xlink:label="x_9956bf9b-850b-47f4-8db4-6227b6dc8503"
          xlink:type="locator"/>
        <link:footnote id="x_000354_e88da464-168f-4e73-9187-89fec30d2ab2" xlink:label="x_000354_e88da464-168f-4e73-9187-89fec30d2ab2" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">Class C Shares may be subject to a contingent deferred sales charge (&#x201c;CDSC&#x201d;) of 1.00% during the first 12 months, measured from the time the original shares subject to the CDSC were acquired.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_9956bf9b-850b-47f4-8db4-6227b6dc8503"
          xlink:to="x_000354_e88da464-168f-4e73-9187-89fec30d2ab2"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#a4389f30-a34e-40ec-b684-4fb8c184d0ce"
          xlink:label="a4389f30-a34e-40ec-b684-4fb8c184d0ce"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="a4389f30-a34e-40ec-b684-4fb8c184d0ce"
          xlink:to="x_000354_e88da464-168f-4e73-9187-89fec30d2ab2"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_695e0150-4735-4099-baa6-b929808fdf67"
          xlink:label="x_695e0150-4735-4099-baa6-b929808fdf67"
          xlink:type="locator"/>
        <link:footnote id="x_000356_e88da464-168f-4e73-9187-89fec30d2ab2" xlink:label="x_000356_e88da464-168f-4e73-9187-89fec30d2ab2" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, transfer agency fees and expenses, service fees, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.014% of the Fund&#x2019;s average daily net assets through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">March 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date, the Investment Adviser may not terminate the arrangement without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_695e0150-4735-4099-baa6-b929808fdf67"
          xlink:to="x_000356_e88da464-168f-4e73-9187-89fec30d2ab2"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_35cf6186-721a-4a5a-80b7-2d8bc23c323c"
          xlink:label="x_35cf6186-721a-4a5a-80b7-2d8bc23c323c"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_35cf6186-721a-4a5a-80b7-2d8bc23c323c"
          xlink:to="x_000356_e88da464-168f-4e73-9187-89fec30d2ab2"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#e5ebe611-694d-4e1e-9426-82dc7677245c"
          xlink:label="e5ebe611-694d-4e1e-9426-82dc7677245c"
          xlink:type="locator"/>
        <link:footnote id="x_00055v_06e8f8ec-be8a-4873-afff-bcc475ab2ac9" xlink:label="x_00055v_06e8f8ec-be8a-4873-afff-bcc475ab2ac9" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, transfer agency fees and expenses, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.014% of the Fund&#x2019;s average daily net assets. This arrangement will remain in effect through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">March 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date the Investment Adviser may not terminate the arrangement without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="e5ebe611-694d-4e1e-9426-82dc7677245c"
          xlink:to="x_00055v_06e8f8ec-be8a-4873-afff-bcc475ab2ac9"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#c892f9ea-84ce-4d21-ac5f-f630310e58f9"
          xlink:label="c892f9ea-84ce-4d21-ac5f-f630310e58f9"
          xlink:type="locator"/>
        <link:footnote id="x_00034j_516a0345-7c75-464e-82d2-fe493aa3fb51" xlink:label="x_00034j_516a0345-7c75-464e-82d2-fe493aa3fb51" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, transfer agency fees and expenses, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.014% of the Fund&#x2019;s average daily net assets. This arrangement will remain in effect through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">March 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date the Investment Adviser may not terminate the arrangement without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="c892f9ea-84ce-4d21-ac5f-f630310e58f9"
          xlink:to="x_00034j_516a0345-7c75-464e-82d2-fe493aa3fb51"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_6e97957a-4c03-415e-8584-f093d3ee5833"
          xlink:label="x_6e97957a-4c03-415e-8584-f093d3ee5833"
          xlink:type="locator"/>
        <link:footnote id="x_00030z_9c66a7e1-eb28-4b29-b61f-938a0b79122e" xlink:label="x_00030z_9c66a7e1-eb28-4b29-b61f-938a0b79122e" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, shareholder administration fees, transfer agency fees and expenses, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.014% of the Fund&#x2019;s average daily net assets through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">March 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date, the Investment Adviser may not terminate the arrangement without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_6e97957a-4c03-415e-8584-f093d3ee5833"
          xlink:to="x_00030z_9c66a7e1-eb28-4b29-b61f-938a0b79122e"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_2d136a60-dca8-4f3e-b250-764260bb9318"
          xlink:label="x_2d136a60-dca8-4f3e-b250-764260bb9318"
          xlink:type="locator"/>
        <link:footnote id="x_000347_064546d2-ee1e-4e8e-9593-aed6ff9a1f6e" xlink:label="x_000347_064546d2-ee1e-4e8e-9593-aed6ff9a1f6e" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, administration fees, transfer agency fees and expenses, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.014% of the Fund&#x2019;s average daily net assets. This arrangement will remain in effect through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">March 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date the Investment Adviser may not terminate the arrangement without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_2d136a60-dca8-4f3e-b250-764260bb9318"
          xlink:to="x_000347_064546d2-ee1e-4e8e-9593-aed6ff9a1f6e"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#f0f8d73f-34ee-4830-83d4-8806a3882daa"
          xlink:label="f0f8d73f-34ee-4830-83d4-8806a3882daa"
          xlink:type="locator"/>
        <link:footnote id="x_00031e_95ad0463-ef27-4846-8126-da55b8e557f7" xlink:label="x_00031e_95ad0463-ef27-4846-8126-da55b8e557f7" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, transfer agency fees and expenses, service and administration fees, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.014% of the Fund&#x2019;s average daily net assets through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">March 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date, the Investment Adviser may not terminate the arrangement without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="f0f8d73f-34ee-4830-83d4-8806a3882daa"
          xlink:to="x_00031e_95ad0463-ef27-4846-8126-da55b8e557f7"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_1c276eeb-b709-492e-b3c9-e87b32f05999"
          xlink:label="x_1c276eeb-b709-492e-b3c9-e87b32f05999"
          xlink:type="locator"/>
        <link:footnote id="x_0001k4_14f8fd6c-e370-4ca0-a1eb-f434ec26cce5" xlink:label="x_0001k4_14f8fd6c-e370-4ca0-a1eb-f434ec26cce5" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_1c276eeb-b709-492e-b3c9-e87b32f05999"
          xlink:to="x_0001k4_14f8fd6c-e370-4ca0-a1eb-f434ec26cce5"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#adbb9d7a-f6d0-4484-b02b-3c1cae7e0178"
          xlink:label="adbb9d7a-f6d0-4484-b02b-3c1cae7e0178"
          xlink:type="locator"/>
        <link:footnote id="x_003dhcs_b855fba2-8dc8-44e6-a29d-6996afdd2a87" xlink:label="x_003dhcs_b855fba2-8dc8-44e6-a29d-6996afdd2a87" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="adbb9d7a-f6d0-4484-b02b-3c1cae7e0178"
          xlink:to="x_003dhcs_b855fba2-8dc8-44e6-a29d-6996afdd2a87"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_44551745-04f8-48fb-b3d1-97b71ed26b7d"
          xlink:label="x_44551745-04f8-48fb-b3d1-97b71ed26b7d"
          xlink:type="locator"/>
        <link:footnote id="x_00035j_7cf6e33a-2d45-438d-bc07-93779e98fc09" xlink:label="x_00035j_7cf6e33a-2d45-438d-bc07-93779e98fc09" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_44551745-04f8-48fb-b3d1-97b71ed26b7d"
          xlink:to="x_00035j_7cf6e33a-2d45-438d-bc07-93779e98fc09"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#bf745922-8d5c-4ee8-8dd5-4d04938af120"
          xlink:label="bf745922-8d5c-4ee8-8dd5-4d04938af120"
          xlink:type="locator"/>
        <link:footnote id="x_00033c_ee55ac90-337b-40dd-a707-48676326ec98" xlink:label="x_00033c_ee55ac90-337b-40dd-a707-48676326ec98" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">Class C Shares may be subject to a contingent deferred sales charge (&#x201c;CDSC&#x201d;) of 1.00% during the first 12 months, measured from the time the original shares subject to the CDSC were acquired.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="bf745922-8d5c-4ee8-8dd5-4d04938af120"
          xlink:to="x_00033c_ee55ac90-337b-40dd-a707-48676326ec98"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_9f5fc7be-6c21-4704-a8fd-79a1c6288ac5"
          xlink:label="x_9f5fc7be-6c21-4704-a8fd-79a1c6288ac5"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_9f5fc7be-6c21-4704-a8fd-79a1c6288ac5"
          xlink:to="x_00033c_ee55ac90-337b-40dd-a707-48676326ec98"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_48c3cb2e-820b-4d4d-a752-e786e8ff2450"
          xlink:label="x_48c3cb2e-820b-4d4d-a752-e786e8ff2450"
          xlink:type="locator"/>
        <link:footnote id="x_00033j_ee55ac90-337b-40dd-a707-48676326ec98" xlink:label="x_00033j_ee55ac90-337b-40dd-a707-48676326ec98" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_48c3cb2e-820b-4d4d-a752-e786e8ff2450"
          xlink:to="x_00033j_ee55ac90-337b-40dd-a707-48676326ec98"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_680c3652-0e3d-48d9-b7a9-5219e8d6e480"
          xlink:label="x_680c3652-0e3d-48d9-b7a9-5219e8d6e480"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_680c3652-0e3d-48d9-b7a9-5219e8d6e480"
          xlink:to="x_00033j_ee55ac90-337b-40dd-a707-48676326ec98"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#fa35ba6c-b3c4-42b2-a46f-73a7c1b3f599"
          xlink:label="fa35ba6c-b3c4-42b2-a46f-73a7c1b3f599"
          xlink:type="locator"/>
        <link:footnote id="x_00051z_7fc94da8-2a89-4f94-bef9-914491c4b709" xlink:label="x_00051z_7fc94da8-2a89-4f94-bef9-914491c4b709" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="fa35ba6c-b3c4-42b2-a46f-73a7c1b3f599"
          xlink:to="x_00051z_7fc94da8-2a89-4f94-bef9-914491c4b709"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_11f575f3-262f-468a-8545-cdb9f4bb8d42"
          xlink:label="x_11f575f3-262f-468a-8545-cdb9f4bb8d42"
          xlink:type="locator"/>
        <link:footnote id="x_000527_bf99e334-37f1-455e-8006-e24e1ef75564" xlink:label="x_000527_bf99e334-37f1-455e-8006-e24e1ef75564" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_11f575f3-262f-468a-8545-cdb9f4bb8d42"
          xlink:to="x_000527_bf99e334-37f1-455e-8006-e24e1ef75564"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_90073a4d-d45e-423b-87bb-55e08f5aed67"
          xlink:label="x_90073a4d-d45e-423b-87bb-55e08f5aed67"
          xlink:type="locator"/>
        <link:footnote id="x_0003d_ff0fb703-1fee-4a55-be84-f2fd66319986" xlink:label="x_0003d_ff0fb703-1fee-4a55-be84-f2fd66319986" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_90073a4d-d45e-423b-87bb-55e08f5aed67"
          xlink:to="x_0003d_ff0fb703-1fee-4a55-be84-f2fd66319986"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#aad5a8da-e888-4e4d-bdc6-4b6dc6675b3a"
          xlink:label="aad5a8da-e888-4e4d-bdc6-4b6dc6675b3a"
          xlink:type="locator"/>
        <link:footnote id="x_000061_d2ed0ecb-6b46-48ee-a08f-9dec602fd2ae" xlink:label="x_000061_d2ed0ecb-6b46-48ee-a08f-9dec602fd2ae" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="aad5a8da-e888-4e4d-bdc6-4b6dc6675b3a"
          xlink:to="x_000061_d2ed0ecb-6b46-48ee-a08f-9dec602fd2ae"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_805283e6-900e-4f18-a4da-06b82e6fcf47"
          xlink:label="x_805283e6-900e-4f18-a4da-06b82e6fcf47"
          xlink:type="locator"/>
        <link:footnote id="x_00019f_75189b76-a883-4daa-8a5c-a867b0aa1951" xlink:label="x_00019f_75189b76-a883-4daa-8a5c-a867b0aa1951" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_805283e6-900e-4f18-a4da-06b82e6fcf47"
          xlink:to="x_00019f_75189b76-a883-4daa-8a5c-a867b0aa1951"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#c90ab866-4f1b-465a-bbdb-e9bb52d5d6a9"
          xlink:label="c90ab866-4f1b-465a-bbdb-e9bb52d5d6a9"
          xlink:type="locator"/>
        <link:footnote id="x_00005r_e4af4f04-364c-472e-9333-735f9d0d8669" xlink:label="x_00005r_e4af4f04-364c-472e-9333-735f9d0d8669" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="c90ab866-4f1b-465a-bbdb-e9bb52d5d6a9"
          xlink:to="x_00005r_e4af4f04-364c-472e-9333-735f9d0d8669"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#ee46f430-aba0-4928-9666-2bba11f1132a"
          xlink:label="ee46f430-aba0-4928-9666-2bba11f1132a"
          xlink:type="locator"/>
        <link:footnote id="x_00005m_cf7ce4d7-b481-4c5a-bbc5-70c5532fdcd9" xlink:label="x_00005m_cf7ce4d7-b481-4c5a-bbc5-70c5532fdcd9" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="ee46f430-aba0-4928-9666-2bba11f1132a"
          xlink:to="x_00005m_cf7ce4d7-b481-4c5a-bbc5-70c5532fdcd9"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_3881e5d4-6822-41ec-8041-621195ee845e"
          xlink:label="x_3881e5d4-6822-41ec-8041-621195ee845e"
          xlink:type="locator"/>
        <link:footnote id="x_00010o_dde1aa57-7be7-40d3-ad3c-926a1b866887" xlink:label="x_00010o_dde1aa57-7be7-40d3-ad3c-926a1b866887" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_3881e5d4-6822-41ec-8041-621195ee845e"
          xlink:to="x_00010o_dde1aa57-7be7-40d3-ad3c-926a1b866887"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_03f7eff5-ba2f-4445-9210-27e8cec6e738"
          xlink:label="x_03f7eff5-ba2f-4445-9210-27e8cec6e738"
          xlink:type="locator"/>
        <link:footnote id="x_00005w_840d14e5-131e-4286-9c6e-d875a9bb9d8d" xlink:label="x_00005w_840d14e5-131e-4286-9c6e-d875a9bb9d8d" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_03f7eff5-ba2f-4445-9210-27e8cec6e738"
          xlink:to="x_00005w_840d14e5-131e-4286-9c6e-d875a9bb9d8d"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#e7eace9c-e372-415a-b12c-9018a3ac9e23"
          xlink:label="e7eace9c-e372-415a-b12c-9018a3ac9e23"
          xlink:type="locator"/>
        <link:footnote id="x_0001ki_a315f383-a550-4cce-bcd9-f3659bb8854c" xlink:label="x_0001ki_a315f383-a550-4cce-bcd9-f3659bb8854c" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="e7eace9c-e372-415a-b12c-9018a3ac9e23"
          xlink:to="x_0001ki_a315f383-a550-4cce-bcd9-f3659bb8854c"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_4fed05a8-0590-4731-b3d7-204827200915"
          xlink:label="x_4fed05a8-0590-4731-b3d7-204827200915"
          xlink:type="locator"/>
        <link:footnote id="x_0001kq_cfcd1fe5-b562-4e7b-9001-029aab9f2500" xlink:label="x_0001kq_cfcd1fe5-b562-4e7b-9001-029aab9f2500" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Other Expenses&#x201d; have been restated to reflect expenses expected to be incurred during the current fiscal year.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_4fed05a8-0590-4731-b3d7-204827200915"
          xlink:to="x_0001kq_cfcd1fe5-b562-4e7b-9001-029aab9f2500"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_85e36a7d-6818-43e6-90f6-07237140ee46"
          xlink:label="x_85e36a7d-6818-43e6-90f6-07237140ee46"
          xlink:type="locator"/>
        <link:footnote id="x_00058s_572768db-4835-4f21-87b8-7141951813a1" xlink:label="x_00058s_572768db-4835-4f21-87b8-7141951813a1" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, transfer agency fees and expenses, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.014% of the Fund&#x2019;s average daily net assets. This arrangement will remain in effect through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">March 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date the Investment Adviser may not terminate the arrangement without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_85e36a7d-6818-43e6-90f6-07237140ee46"
          xlink:to="x_00058s_572768db-4835-4f21-87b8-7141951813a1"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_9d044134-a75d-42ce-999b-222ff999c4f8"
          xlink:label="x_9d044134-a75d-42ce-999b-222ff999c4f8"
          xlink:type="locator"/>
        <link:footnote id="x_00059f_b081c234-e458-4d64-bc2f-1566d2b5c4bb" xlink:label="x_00059f_b081c234-e458-4d64-bc2f-1566d2b5c4bb" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, transfer agency fees and expenses, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.014% of the Fund&#x2019;s average daily net assets. This arrangement will remain in effect through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">March 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date the Investment Adviser may not terminate the arrangement without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_9d044134-a75d-42ce-999b-222ff999c4f8"
          xlink:to="x_00059f_b081c234-e458-4d64-bc2f-1566d2b5c4bb"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_4c5b4d57-e190-4ca0-8e0e-ba2a59c96ac2"
          xlink:label="x_4c5b4d57-e190-4ca0-8e0e-ba2a59c96ac2"
          xlink:type="locator"/>
        <link:footnote id="x_000594_546bc4c5-7f69-4b14-8da2-5677a9288aa8" xlink:label="x_000594_546bc4c5-7f69-4b14-8da2-5677a9288aa8" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, shareholder administration fees, transfer agency fees and expenses, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.014% of the Fund&#x2019;s average daily net assets. This arrangement will remain in effect through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">March 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date the Investment Adviser may not terminate the arrangement without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_4c5b4d57-e190-4ca0-8e0e-ba2a59c96ac2"
          xlink:to="x_000594_546bc4c5-7f69-4b14-8da2-5677a9288aa8"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_3a2619dd-70bb-40a2-8a0e-cf2847588525"
          xlink:label="x_3a2619dd-70bb-40a2-8a0e-cf2847588525"
          xlink:type="locator"/>
        <link:footnote id="x_000591_b0a75f9e-64f6-4741-b82e-3aa259b4f239" xlink:label="x_000591_b0a75f9e-64f6-4741-b82e-3aa259b4f239" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, administration fees, transfer agency fees and expenses, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.014% of the Fund&#x2019;s average daily net assets. This arrangement will remain in effect through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">March 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date the Investment Adviser may not terminate the arrangement without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_3a2619dd-70bb-40a2-8a0e-cf2847588525"
          xlink:to="x_000591_b0a75f9e-64f6-4741-b82e-3aa259b4f239"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#c0c853af-fd1a-4a16-bb54-f19e8331d979"
          xlink:label="c0c853af-fd1a-4a16-bb54-f19e8331d979"
          xlink:type="locator"/>
        <link:footnote id="x_00058m_ddf8edf1-b999-41f6-af17-dd6cacaed063" xlink:label="x_00058m_ddf8edf1-b999-41f6-af17-dd6cacaed063" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, administration fees, transfer agency fees and expenses, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.014% of the Fund&#x2019;s average daily net assets. This arrangement will remain in effect through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">March 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date the Investment Adviser may not terminate the arrangement without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="c0c853af-fd1a-4a16-bb54-f19e8331d979"
          xlink:to="x_00058m_ddf8edf1-b999-41f6-af17-dd6cacaed063"
          xlink:type="arc"/>
    </link:footnoteLink>
</xbrl>
