{
 "version": "2.2",
 "instance": {
  "d931546dncsr.htm": {
   "nsprefix": "gsam",
   "nsuri": "http://gsam/20250331",
   "dts": {
    "inline": {
     "local": [
      "d931546dncsr.htm"
     ]
    },
    "schema": {
     "local": [
      "gsam-20250331.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://www.xbrl.org/lrr/arcrole/deprecated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/deprecated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://www.xbrl.org/dtr/type/2022-03-31/types.xsd",
      "https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd",
      "https://xbrl.fasb.org/srt/2024/elts/srt-roles-2024.xsd",
      "https://xbrl.fasb.org/srt/2024/elts/srt-types-2024.xsd",
      "https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd",
      "https://xbrl.fasb.org/us-gaap/2024/elts/us-roles-2024.xsd",
      "https://xbrl.fasb.org/us-gaap/2024/elts/us-types-2024.xsd",
      "https://xbrl.sec.gov/country/2024/country-2024.xsd",
      "https://xbrl.sec.gov/country/2024/country-2024_def.xsd",
      "https://xbrl.sec.gov/dei/2024/dei-2024.xsd",
      "https://xbrl.sec.gov/oef/2024/oef-2024.xsd",
      "https://xbrl.sec.gov/oef/2024/oef-2024_lab.xsd",
      "https://xbrl.sec.gov/oef/2024/oef-sr-2024.xsd",
      "https://xbrl.sec.gov/stpr/2024/stpr-2024.xsd"
     ]
    }
   },
   "keyStandard": 39,
   "keyCustom": 0,
   "axisStandard": 5,
   "axisCustom": 0,
   "memberStandard": 1,
   "memberCustom": 401,
   "hidden": {
    "total": 6,
    "http://xbrl.sec.gov/dei/2024": 6
   },
   "contextCount": 6078,
   "entityCount": 1,
   "segmentCount": 402,
   "elementCount": 520,
   "unitCount": 6,
   "baseTaxonomies": {
    "http://xbrl.sec.gov/oef/2024": 8997,
    "http://fasb.org/us-gaap/2024": 244,
    "http://xbrl.sec.gov/dei/2024": 128
   },
   "report": {
    "R1": {
     "role": "http://xbrl.sec.gov/oef/role/NcsrCover",
     "longName": "030000 - Disclosure - Form N-CSR Cover",
     "shortName": "Form N-CSR Cover",
     "isDefault": "true",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Cover",
     "order": "1",
     "firstAnchor": null,
     "uniqueAnchor": null
    },
    "R2": {
     "role": "http://xbrl.sec.gov/oef/role/ShareholderReport",
     "longName": "030001 - Disclosure - Shareholder Report",
     "shortName": "Shareholder Report",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "2",
     "firstAnchor": {
      "contextRef": "From2024-04-01to2025-03-31_C000025422Member",
      "name": "oef:FundName",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "h1",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d931546dncsr.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "From2024-04-01to2025-03-31_C000025422Member",
      "name": "oef:FundName",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "h1",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d931546dncsr.htm",
      "first": true,
      "unique": true
     }
    },
    "R3": {
     "role": "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails",
     "longName": "040010 - Disclosure - Shareholder Report, Line Graph (Details)",
     "shortName": "Shareholder Report, Line Graph (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "3",
     "firstAnchor": {
      "contextRef": "From2024-04-01to2025-03-31_C000025422Member",
      "name": "oef:LineGraphAndTableMeasureName",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "th",
       "tr",
       "thead",
       "table",
       "oef:LineGraphTableTextBlock",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d931546dncsr.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "AsOf2025-03-31_C000025422Member",
      "name": "oef:AcctVal",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "tbody",
       "table",
       "oef:LineGraphTableTextBlock",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d931546dncsr.htm",
      "unique": true
     }
    },
    "R4": {
     "role": "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
     "longName": "040015 - Disclosure - Shareholder Report, Average Annual Return (Details)",
     "shortName": "Shareholder Report, Average Annual Return (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "4",
     "firstAnchor": {
      "contextRef": "From2024-04-01to2025-03-31_C000025422Member",
      "name": "oef:LineGraphAndTableMeasureName",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "th",
       "tr",
       "thead",
       "table",
       "oef:LineGraphTableTextBlock",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d931546dncsr.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "From2024-04-01to2025-03-31_C000025422Member",
      "name": "oef:AvgAnnlRtrPct",
      "unitRef": "Pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "div",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "oef:AvgAnnlRtrTableTextBlock",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d931546dncsr.htm",
      "unique": true
     }
    },
    "R5": {
     "role": "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
     "longName": "040020 - Disclosure - Shareholder Report, Holdings (Details)",
     "shortName": "Shareholder Report, Holdings (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "5",
     "firstAnchor": {
      "contextRef": "AsOf2025-03-31_C000025422Member_SectorMediaSectorMember",
      "name": "oef:PctOfNav",
      "unitRef": "Pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "div",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d931546dncsr.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "AsOf2025-03-31_C000025422Member_SectorMediaSectorMember",
      "name": "oef:PctOfNav",
      "unitRef": "Pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "div",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d931546dncsr.htm",
      "first": true,
      "unique": true
     }
    }
   },
   "tag": {
    "oef_AccountValueLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AccountValueLineItems",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Account Value [Line Items]"
       }
      }
     },
     "auth_ref": [
      "r33"
     ]
    },
    "oef_AccountValueTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AccountValueTable",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Account Value [Table]"
       }
      }
     },
     "auth_ref": [
      "r33"
     ]
    },
    "oef_AccountValueTableAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AccountValueTableAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Account Value Table [Abstract]"
       }
      }
     },
     "auth_ref": [
      "r33"
     ]
    },
    "oef_AccountantChngDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AccountantChngDate",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accountant Change Date"
       }
      }
     },
     "auth_ref": [
      "r57"
     ]
    },
    "oef_AccountantChngDisagreementsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AccountantChngDisagreementsTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accountant Change Disagreements [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r58"
     ]
    },
    "oef_AccountantChngStatementTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AccountantChngStatementTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accountant Change Statement [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r57"
     ]
    },
    "oef_AcctVal": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AcctVal",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Account Value"
       }
      }
     },
     "auth_ref": [
      "r34"
     ]
    },
    "oef_AdditionalIndexAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AdditionalIndexAxis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Index [Axis]"
       }
      }
     },
     "auth_ref": [
      "r33"
     ]
    },
    "oef_AdditionalIndexDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AdditionalIndexDomain",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Index [Domain]"
       }
      }
     },
     "auth_ref": [
      "r33"
     ]
    },
    "oef_AddlFundStatisticsSignificanceOrLimitsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AddlFundStatisticsSignificanceOrLimitsTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Fund Statistics Significance or Limits [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r47"
     ]
    },
    "oef_AddlFundStatisticsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AddlFundStatisticsTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Fund Statistics [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r46"
     ]
    },
    "oef_AddlInfoEmail": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AddlInfoEmail",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Information Email"
       }
      }
     },
     "auth_ref": [
      "r25"
     ]
    },
    "oef_AddlInfoPhoneNumber": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AddlInfoPhoneNumber",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Information Phone Number"
       }
      }
     },
     "auth_ref": [
      "r25"
     ]
    },
    "oef_AddlInfoTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AddlInfoTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Information [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r23"
     ]
    },
    "oef_AddlInfoWebsite": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AddlInfoWebsite",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Information Website"
       }
      }
     },
     "auth_ref": [
      "r25"
     ]
    },
    "oef_AdvisoryFeesPaidAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AdvisoryFeesPaidAmt",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Advisory Fees Paid, Amount"
       }
      }
     },
     "auth_ref": [
      "r46"
     ]
    },
    "dei_AmendmentDescription": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "AmendmentDescription",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/NcsrCover",
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amendment Description",
        "documentation": "Description of changes contained within amended document."
       }
      }
     },
     "auth_ref": []
    },
    "dei_AmendmentFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "AmendmentFlag",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/NcsrCover",
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amendment Flag",
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission."
       }
      }
     },
     "auth_ref": []
    },
    "oef_AnnlOrSemiAnnlStatementTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AnnlOrSemiAnnlStatementTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual or Semi-Annual Statement [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r22"
     ]
    },
    "us-gaap_AssetsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AssetsNet",
     "crdr": "debit",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "AssetsNet",
        "documentation": "Amount of net assets (liabilities)."
       }
      }
     },
     "auth_ref": [
      "r0"
     ]
    },
    "oef_AverageAnnualReturnAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AverageAnnualReturnAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Average Annual Return:"
       }
      }
     },
     "auth_ref": [
      "r61"
     ]
    },
    "oef_AverageAnnualReturnLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AverageAnnualReturnLineItems",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Average Annual Return [Line Items]"
       }
      }
     },
     "auth_ref": []
    },
    "oef_AverageAnnualReturnTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AverageAnnualReturnTable",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Average Annual Return [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "oef_AvgAnnlRtrPct": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AvgAnnlRtrPct",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Average Annual Return, Percent"
       }
      }
     },
     "auth_ref": [
      "r40"
     ]
    },
    "oef_AvgAnnlRtrTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AvgAnnlRtrTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Average Annual Return [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r40"
     ]
    },
    "oef_BroadBasedIndexAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "BroadBasedIndexAxis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Broad Based Index [Axis]"
       }
      }
     },
     "auth_ref": [
      "r33"
     ]
    },
    "oef_BroadBasedIndexDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "BroadBasedIndexDomain",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Broad Based Index [Domain]"
       }
      }
     },
     "auth_ref": [
      "r33"
     ]
    },
    "gsam_C000025377Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000025377Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000025377"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025378Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000025378Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000025378"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025379Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000025379Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000025379"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025381Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000025381Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000025381"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025382Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000025382Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000025382"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025388Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000025388Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000025388"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025389Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000025389Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000025389"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025390Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000025390Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000025390"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025392Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000025392Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000025392"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025394Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000025394Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000025394"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025395Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000025395Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000025395"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025396Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000025396Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000025396"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025398Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000025398Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000025398"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025400Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000025400Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000025400"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025401Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000025401Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000025401"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025402Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000025402Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000025402"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025404Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000025404Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000025404"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025405Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000025405Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000025405"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025406Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000025406Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000025406"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025408Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000025408Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000025408"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025410Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000025410Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000025410"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025411Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000025411Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000025411"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025412Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000025412Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000025412"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025414Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000025414Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000025414"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025415Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000025415Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000025415"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025416Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000025416Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000025416"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025418Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000025418Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000025418"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025420Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000025420Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000025420"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025421Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000025421Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000025421"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025422Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000025422Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000025422"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025424Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000025424Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000025424"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000037783Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000037783Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000037783"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000037818Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000037818Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000037818"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000037819Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000037819Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000037819"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000037820Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000037820Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000037820"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000041010Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000041010Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000041010"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000051524Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000051524Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000051524"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000051525Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000051525Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000051525"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000051526Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000051526Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000051526"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000056392Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000056392Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000056392"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000056393Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000056393Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000056393"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000056394Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000056394Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000056394"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000058952Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000058952Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000058952"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000058953Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000058953Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000058953"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000058954Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000058954Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000058954"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000058955Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000058955Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000058955"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000058956Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000058956Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000058956"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000058957Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000058957Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000058957"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000058958Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000058958Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000058958"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000058984Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000058984Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000058984"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000058985Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000058985Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000058985"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000059010Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000059010Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000059010"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000059011Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000059011Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000059011"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000090150Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000090150Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000090150"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000090151Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000090151Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000090151"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000090152Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000090152Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000090152"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000090153Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000090153Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000090153"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000090154Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000090154Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000090154"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000090159Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000090159Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000090159"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000090160Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000090160Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000090160"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000090161Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000090161Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000090161"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000090162Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000090162Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000090162"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000090163Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000090163Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000090163"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000090758Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000090758Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000090758"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000090759Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000090759Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000090759"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000090760Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000090760Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000090760"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000090761Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000090761Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000090761"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000090762Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000090762Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000090762"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000090763Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000090763Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000090763"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000110983Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000110983Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000110983"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000110984Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000110984Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000110984"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000110985Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000110985Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000110985"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000110986Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000110986Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000110986"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000110987Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000110987Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000110987"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000133721Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000133721Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000133721"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000133722Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000133722Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000133722"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000133723Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000133723Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000133723"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000133724Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000133724Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000133724"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000136680Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000136680Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000136680"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000161283Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000161283Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000161283"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000161284Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000161284Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000161284"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000161286Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000161286Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000161286"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000161287Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000161287Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000161287"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000161288Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000161288Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000161288"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000161289Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000161289Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000161289"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000161290Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000161290Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000161290"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000161291Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000161291Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000161291"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000161292Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000161292Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000161292"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000161293Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000161293Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000161293"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000161294Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000161294Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000161294"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000161295Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000161295Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000161295"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000161296Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000161296Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000161296"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000174582Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000174582Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000174582"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000195493Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000195493Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000195493"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000195494Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000195494Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000195494"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000195497Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000195497Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000195497"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000195498Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000195498Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000195498"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000202005Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000202005Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000202005"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000202031Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000202031Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000202031"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000202032Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000202032Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000202032"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000202034Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000202034Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000202034"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000202035Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000202035Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000202035"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000202036Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000202036Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000202036"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000202037Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000202037Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000202037"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000202038Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000202038Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000202038"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000202039Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000202039Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000202039"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000202040Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000202040Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000202040"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000202041Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000202041Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000202041"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000202042Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000202042Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000202042"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000202043Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000202043Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000202043"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000202044Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000202044Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000202044"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000202045Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000202045Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000202045"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000202046Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000202046Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000202046"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000202048Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000202048Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000202048"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000204425Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000204425Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000204425"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000215834Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000215834Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000215834"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000215835Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000215835Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000215835"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000215837Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000215837Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000215837"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000215838Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000215838Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000215838"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000215839Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000215839Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000215839"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000215840Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000215840Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000215840"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000231823Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "C000231823Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000231823"
       }
      }
     },
     "auth_ref": []
    },
    "oef_ClassAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ClassAxis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class [Axis]"
       }
      }
     },
     "auth_ref": [
      "r20"
     ]
    },
    "oef_ClassName": {
     "xbrltype": "securityTitleItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ClassName",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class Name"
       }
      }
     },
     "auth_ref": [
      "r25"
     ]
    },
    "dei_CoverAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "CoverAbstract",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cover page."
       }
      }
     },
     "auth_ref": []
    },
    "oef_CreditQualityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "CreditQualityAxis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Credit Quality [Axis]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_CreditQualityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "CreditQualityDomain",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Credit Quality [Domain]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_CreditQualityExplanationTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "CreditQualityExplanationTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Credit Quality Explanation [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_CreditRatingsSelectionTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "CreditRatingsSelectionTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Credit Ratings Selection [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_DistOfCapitalTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "DistOfCapitalTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Distribution of Capital [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r42"
     ]
    },
    "dei_DocumentPeriodEndDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "DocumentPeriodEndDate",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/NcsrCover",
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Period End Date",
        "documentation": "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period. The format of the date is YYYY-MM-DD."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentType": {
     "xbrltype": "submissionTypeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "DocumentType",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/NcsrCover",
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Type",
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityCentralIndexKey": {
     "xbrltype": "centralIndexKeyItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityCentralIndexKey",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/NcsrCover",
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Central Index Key",
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK."
       }
      }
     },
     "auth_ref": [
      "r18"
     ]
    },
    "dei_EntityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityDomain",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Series",
        "documentation": "All the names of the entities being reported upon in a document. Any legal structure used to conduct activities or to hold assets. Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts. This item does not include business and geographical segments which are included in the geographical or business segments domains."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityInvCompanyType": {
     "xbrltype": "invCompanyType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityInvCompanyType",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/NcsrCover",
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Investment Company Type",
        "documentation": "One of: N-1A (Mutual Fund), N-1 (Open-End Separate Account with No Variable Annuities), N-2 (Closed-End Investment Company), N-3 (Separate Account Registered as Open-End Management Investment Company), N-4 (Variable Annuity UIT Separate Account), N-5 (Small Business Investment Company), N-6 (Variable Life UIT Separate Account), S-1 or S-3 (Face Amount Certificate Company), S-6 (UIT, Non-Insurance Product)."
       }
      }
     },
     "auth_ref": [
      "r62"
     ]
    },
    "dei_EntityRegistrantName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityRegistrantName",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/NcsrCover",
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Registrant Name",
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC."
       }
      }
     },
     "auth_ref": [
      "r18"
     ]
    },
    "oef_EtfDiscountNumDays": {
     "xbrltype": "integerItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "EtfDiscountNumDays",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ETF Discount, Number of Days"
       }
      }
     },
     "auth_ref": [
      "r43"
     ]
    },
    "oef_EtfPastPerfTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "EtfPastPerfTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ETF Past Performance [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r45"
     ]
    },
    "oef_EtfPremiumDiscountTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "EtfPremiumDiscountTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ETF Premium Discount [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r43"
     ]
    },
    "oef_EtfPremiumNumDays": {
     "xbrltype": "integerItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "EtfPremiumNumDays",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ETF Premium, Number of Days"
       }
      }
     },
     "auth_ref": [
      "r43"
     ]
    },
    "oef_EtfPurchaseExplanationTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "EtfPurchaseExplanationTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ETF Purchase Explanation [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "oef_ExpenseRatioPct": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpenseRatioPct",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Ratio, Percent"
       }
      }
     },
     "auth_ref": [
      "r28"
     ]
    },
    "oef_ExpensesExclExtraordinaryExpensesPct": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpensesExclExtraordinaryExpensesPct",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses Excluding Extraordinary Expenses, Percent"
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "oef_ExpensesPaidAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpensesPaidAmt",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses Paid, Amount"
       }
      }
     },
     "auth_ref": [
      "r27"
     ]
    },
    "oef_ExpensesRepresentBothMasterAndFeeder": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpensesRepresentBothMasterAndFeeder",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses Represent Both Master and Feeder [Text]"
       }
      }
     },
     "auth_ref": [
      "r29",
      "r59"
     ]
    },
    "oef_ExpensesShortPeriodFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpensesShortPeriodFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses Short Period Footnote [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r30"
     ]
    },
    "oef_ExpensesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpensesTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r26"
     ]
    },
    "oef_ExposureBasisExplanationTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExposureBasisExplanationTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exposure Basis Explanation [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_ExtraordinaryExpensesFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExtraordinaryExpensesFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Extraordinary Expenses Footnote [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "oef_FactorsAffectingPerfTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "FactorsAffectingPerfTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Factors Affecting Performance [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r32"
     ]
    },
    "oef_FundName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "FundName",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fund Name"
       }
      }
     },
     "auth_ref": [
      "r21"
     ]
    },
    "oef_GeographicRegionAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "GeographicRegionAxis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Geographic Region [Axis]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_GeographicRegionDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "GeographicRegionDomain",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Geographic Region [Domain]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "gsam_GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16325BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16325BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD",
        "label": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD_16325"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16326BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16326BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD",
        "label": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD_16326"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16327BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16327BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD",
        "label": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD_16327"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16328BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16328BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD",
        "label": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD_16328"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16329BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16329BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD",
        "label": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD_16329"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16330BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16330BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD",
        "label": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD_16330"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16331BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16331BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD",
        "label": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD_16331"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16502BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16502BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD",
        "label": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD_16502"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16503BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16503BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD",
        "label": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD_16503"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16504BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16504BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD",
        "label": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD_16504"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16505BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16505BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD",
        "label": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD_16505"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16506BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16506BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD",
        "label": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD_16506"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16507BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16507BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD",
        "label": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD_16507"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16520BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16520BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD",
        "label": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD_16520"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16521BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16521BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD",
        "label": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD_16521"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16522BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16522BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD",
        "label": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD_16522"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16523BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16523BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD",
        "label": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD_16523"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16524BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16524BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD",
        "label": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD_16524"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16525BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergGlobalAggregateBondIndexGrossHedgedUSD16525BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD",
        "label": "Goldman Sachs Index: Bloomberg Global Aggregate Bond Index Gross, Hedged, USD_16525"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergShortMinusTermGovernmentCorporateIndex16549AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergShortMinusTermGovernmentCorporateIndex16549AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg Short-Term Government/Corporate Index",
        "label": "Goldman Sachs Index: Bloomberg Short-Term Government/Corporate Index_16549"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergShortMinusTermGovernmentCorporateIndex16550AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergShortMinusTermGovernmentCorporateIndex16550AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg Short-Term Government/Corporate Index",
        "label": "Goldman Sachs Index: Bloomberg Short-Term Government/Corporate Index_16550"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergShortMinusTermGovernmentCorporateIndex16552AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergShortMinusTermGovernmentCorporateIndex16552AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg Short-Term Government/Corporate Index",
        "label": "Goldman Sachs Index: Bloomberg Short-Term Government/Corporate Index_16552"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergShortMinusTermGovernmentCorporateIndex16553AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergShortMinusTermGovernmentCorporateIndex16553AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg Short-Term Government/Corporate Index",
        "label": "Goldman Sachs Index: Bloomberg Short-Term Government/Corporate Index_16553"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergShortMinusTermGovernmentCorporateIndex16555AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergShortMinusTermGovernmentCorporateIndex16555AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg Short-Term Government/Corporate Index",
        "label": "Goldman Sachs Index: Bloomberg Short-Term Government/Corporate Index_16555"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUS1Minus3YearCorporateBondIndex16436AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUS1Minus3YearCorporateBondIndex16436AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. 1-3 Year Corporate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. 1-3 Year Corporate Bond Index_16436"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUS1Minus3YearCorporateBondIndex16437AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUS1Minus3YearCorporateBondIndex16437AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. 1-3 Year Corporate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. 1-3 Year Corporate Bond Index_16437"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUS1Minus3YearCorporateBondIndex16438AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUS1Minus3YearCorporateBondIndex16438AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. 1-3 Year Corporate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. 1-3 Year Corporate Bond Index_16438"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUS1Minus3YearCorporateBondIndex16439AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUS1Minus3YearCorporateBondIndex16439AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. 1-3 Year Corporate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. 1-3 Year Corporate Bond Index_16439"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUS1Minus3YearCorporateBondIndex16440AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUS1Minus3YearCorporateBondIndex16440AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. 1-3 Year Corporate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. 1-3 Year Corporate Bond Index_16440"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUS1Minus3YearCorporateBondIndex16441AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUS1Minus3YearCorporateBondIndex16441AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. 1-3 Year Corporate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. 1-3 Year Corporate Bond Index_16441"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUS1Minus3YearCorporateBondIndex16442AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUS1Minus3YearCorporateBondIndex16442AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. 1-3 Year Corporate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. 1-3 Year Corporate Bond Index_16442"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUS1Minus3YearGovernmentBondIndex16436AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUS1Minus3YearGovernmentBondIndex16436AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. 1-3 Year Government Bond Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. 1-3 Year Government Bond Index_16436"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUS1Minus3YearGovernmentBondIndex16437AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUS1Minus3YearGovernmentBondIndex16437AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. 1-3 Year Government Bond Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. 1-3 Year Government Bond Index_16437"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUS1Minus3YearGovernmentBondIndex16438AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUS1Minus3YearGovernmentBondIndex16438AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. 1-3 Year Government Bond Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. 1-3 Year Government Bond Index_16438"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUS1Minus3YearGovernmentBondIndex16439AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUS1Minus3YearGovernmentBondIndex16439AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. 1-3 Year Government Bond Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. 1-3 Year Government Bond Index_16439"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUS1Minus3YearGovernmentBondIndex16440AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUS1Minus3YearGovernmentBondIndex16440AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. 1-3 Year Government Bond Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. 1-3 Year Government Bond Index_16440"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUS1Minus3YearGovernmentBondIndex16441AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUS1Minus3YearGovernmentBondIndex16441AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. 1-3 Year Government Bond Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. 1-3 Year Government Bond Index_16441"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUS1Minus3YearGovernmentBondIndex16442AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUS1Minus3YearGovernmentBondIndex16442AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. 1-3 Year Government Bond Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. 1-3 Year Government Bond Index_16442"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16318BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16318BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16318"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16319BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16319BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16319"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16320BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16320BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16320"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16321BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16321BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16321"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16322BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16322BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16322"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16323BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16323BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16323"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16324BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16324BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16324"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16332BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16332BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16332"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16333BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16333BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16333"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16334BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16334BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16334"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16335BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16335BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16335"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16336BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16336BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16336"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16337BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16337BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16337"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16338BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16338BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16338"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16339BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16339BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16339"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16340BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16340BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16340"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16341BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16341BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16341"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16342BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16342BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16342"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16343BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16343BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16343"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16344BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16344BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16344"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16345BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16345BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16345"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16346BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16346BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16346"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16347BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16347BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16347"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16348BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16348BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16348"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16349BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16349BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16349"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16350BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16350BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16350"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16351BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16351BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16351"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16352BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16352BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16352"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16353BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16353BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16353"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16354BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16354BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16354"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16355BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16355BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16355"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16429BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16429BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16429"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16430BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16430BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16430"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16431BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16431BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16431"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16432BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16432BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16432"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16433BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16433BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16433"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16434BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16434BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16434"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16435BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16435BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16435"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16436BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16436BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16436"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16437BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16437BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16437"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16438BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16438BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16438"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16439BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16439BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16439"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16440BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16440BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16440"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16441BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16441BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16441"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16442BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16442BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16442"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16445BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16445BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16445"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16446BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16446BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16446"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16447BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16447BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16447"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16448BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16448BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16448"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16449BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16449BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16449"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16450BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16450BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16450"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16466BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16466BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16466"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16467BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16467BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16467"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16468BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16468BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16468"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16469BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16469BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16469"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16470BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16470BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16470"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16471BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16471BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16471"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16472BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16472BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16472"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16473BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16473BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16473"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16482BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16482BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16482"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16483BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16483BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16483"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16484BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16484BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16484"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16485BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16485BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16485"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16486BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16486BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16486"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16487BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16487BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16487"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16488BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16488BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16488"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16508BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16508BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16508"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16509BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16509BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16509"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16510BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16510BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16510"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16511BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16511BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16511"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16512BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16512BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16512"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16513BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16513BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16513"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16514BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16514BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16514"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16515BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16515BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16515"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16516BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16516BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16516"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16517BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16517BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16517"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16518BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16518BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16518"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16519BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16519BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16519"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16526BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16526BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16526"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16527BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16527BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16527"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16528BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16528BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16528"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16529BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16529BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16529"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16530BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16530BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16530"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16532BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16532BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16532"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16535BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16535BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16535"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16536BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16536BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16536"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16537BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16537BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16537"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16538BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16538BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16538"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16539BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16539BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16539"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16540BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16540BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16540"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16541BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16541BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16541"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16542BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16542BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16542"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16543BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16543BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16543"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16544BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16544BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16544"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16545BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16545BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16545"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16546BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16546BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16546"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16547BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16547BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16547"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16548BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16548BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16548"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16549BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16549BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16549"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16550BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16550BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16550"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16552BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16552BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16552"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16553BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16553BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16553"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSAggregateBondIndex16555BroadBasedIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSAggregateBondIndex16555BroadBasedIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index",
        "label": "Goldman Sachs Index: Bloomberg US Aggregate Bond Index_16555"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSCreditIndex16508AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSCreditIndex16508AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. Credit Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. Credit Index_16508"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSCreditIndex16509AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSCreditIndex16509AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. Credit Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. Credit Index_16509"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSCreditIndex16510AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSCreditIndex16510AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. Credit Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. Credit Index_16510"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSCreditIndex16511AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSCreditIndex16511AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. Credit Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. Credit Index_16511"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSCreditIndex16512AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSCreditIndex16512AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. Credit Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. Credit Index_16512"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSCreditIndex16513AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSCreditIndex16513AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. Credit Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. Credit Index_16513"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSGovernmentMortgageIndex16332AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSGovernmentMortgageIndex16332AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. Government/Mortgage Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. Government/Mortgage Index_16332"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSGovernmentMortgageIndex16333AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSGovernmentMortgageIndex16333AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. Government/Mortgage Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. Government/Mortgage Index_16333"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSGovernmentMortgageIndex16334AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSGovernmentMortgageIndex16334AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. Government/Mortgage Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. Government/Mortgage Index_16334"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSGovernmentMortgageIndex16335AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSGovernmentMortgageIndex16335AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. Government/Mortgage Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. Government/Mortgage Index_16335"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSGovernmentMortgageIndex16336AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSGovernmentMortgageIndex16336AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. Government/Mortgage Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. Government/Mortgage Index_16336"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSGovernmentMortgageIndex16337AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSGovernmentMortgageIndex16337AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. Government/Mortgage Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. Government/Mortgage Index_16337"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSGovernmentMortgageIndex16338AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSGovernmentMortgageIndex16338AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. Government/Mortgage Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. Government/Mortgage Index_16338"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSGovernmentMortgageIndex16339AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSGovernmentMortgageIndex16339AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. Government/Mortgage Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. Government/Mortgage Index_16339"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSHighMinusYield2IssuerCappedBondIndex16348AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSHighMinusYield2IssuerCappedBondIndex16348AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. High-Yield 2% Issuer Capped Bond Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. High-Yield 2% Issuer Capped Bond Index_16348"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSHighMinusYield2IssuerCappedBondIndex16349AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSHighMinusYield2IssuerCappedBondIndex16349AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. High-Yield 2% Issuer Capped Bond Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. High-Yield 2% Issuer Capped Bond Index_16349"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSHighMinusYield2IssuerCappedBondIndex16350AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSHighMinusYield2IssuerCappedBondIndex16350AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. High-Yield 2% Issuer Capped Bond Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. High-Yield 2% Issuer Capped Bond Index_16350"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSHighMinusYield2IssuerCappedBondIndex16351AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSHighMinusYield2IssuerCappedBondIndex16351AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. High-Yield 2% Issuer Capped Bond Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. High-Yield 2% Issuer Capped Bond Index_16351"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSHighMinusYield2IssuerCappedBondIndex16352AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSHighMinusYield2IssuerCappedBondIndex16352AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. High-Yield 2% Issuer Capped Bond Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. High-Yield 2% Issuer Capped Bond Index_16352"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSHighMinusYield2IssuerCappedBondIndex16353AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSHighMinusYield2IssuerCappedBondIndex16353AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. High-Yield 2% Issuer Capped Bond Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. High-Yield 2% Issuer Capped Bond Index_16353"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSHighMinusYield2IssuerCappedBondIndex16354AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSHighMinusYield2IssuerCappedBondIndex16354AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. High-Yield 2% Issuer Capped Bond Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. High-Yield 2% Issuer Capped Bond Index_16354"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSHighMinusYield2IssuerCappedBondIndex16355AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSHighMinusYield2IssuerCappedBondIndex16355AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. High-Yield 2% Issuer Capped Bond Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. High-Yield 2% Issuer Capped Bond Index_16355"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSHighYieldBaB1Minus5YearTotalReturnUSDIndex16526AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSHighYieldBaB1Minus5YearTotalReturnUSDIndex16526AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US High Yield Ba/B 1-5 Year Total Return USD Index",
        "label": "Goldman Sachs Index: Bloomberg US High Yield Ba/B 1-5 Year Total Return USD Index_16526"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSHighYieldBaB1Minus5YearTotalReturnUSDIndex16527AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSHighYieldBaB1Minus5YearTotalReturnUSDIndex16527AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US High Yield Ba/B 1-5 Year Total Return USD Index",
        "label": "Goldman Sachs Index: Bloomberg US High Yield Ba/B 1-5 Year Total Return USD Index_16527"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSHighYieldBaB1Minus5YearTotalReturnUSDIndex16528AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSHighYieldBaB1Minus5YearTotalReturnUSDIndex16528AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US High Yield Ba/B 1-5 Year Total Return USD Index",
        "label": "Goldman Sachs Index: Bloomberg US High Yield Ba/B 1-5 Year Total Return USD Index_16528"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSHighYieldBaB1Minus5YearTotalReturnUSDIndex16529AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSHighYieldBaB1Minus5YearTotalReturnUSDIndex16529AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US High Yield Ba/B 1-5 Year Total Return USD Index",
        "label": "Goldman Sachs Index: Bloomberg US High Yield Ba/B 1-5 Year Total Return USD Index_16529"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSHighYieldBaB1Minus5YearTotalReturnUSDIndex16530AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSHighYieldBaB1Minus5YearTotalReturnUSDIndex16530AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US High Yield Ba/B 1-5 Year Total Return USD Index",
        "label": "Goldman Sachs Index: Bloomberg US High Yield Ba/B 1-5 Year Total Return USD Index_16530"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSHighYieldBaB1Minus5YearTotalReturnUSDIndex16532AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSHighYieldBaB1Minus5YearTotalReturnUSDIndex16532AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg US High Yield Ba/B 1-5 Year Total Return USD Index",
        "label": "Goldman Sachs Index: Bloomberg US High Yield Ba/B 1-5 Year Total Return USD Index_16532"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSSecuritizedBondIndex16514AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSSecuritizedBondIndex16514AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. Securitized Bond Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. Securitized Bond Index_16514"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSSecuritizedBondIndex16515AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSSecuritizedBondIndex16515AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. Securitized Bond Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. Securitized Bond Index_16515"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSSecuritizedBondIndex16516AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSSecuritizedBondIndex16516AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. Securitized Bond Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. Securitized Bond Index_16516"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSSecuritizedBondIndex16517AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSSecuritizedBondIndex16517AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. Securitized Bond Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. Securitized Bond Index_16517"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSSecuritizedBondIndex16518AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSSecuritizedBondIndex16518AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. Securitized Bond Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. Securitized Bond Index_16518"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSSecuritizedBondIndex16519AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSSecuritizedBondIndex16519AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. Securitized Bond Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. Securitized Bond Index_16519"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSTreasuryInflationMinusProtectedSecuritiesTIPSIndex16482AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSTreasuryInflationMinusProtectedSecuritiesTIPSIndex16482AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. Treasury Inflation-Protected Securities (TIPS) Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. Treasury Inflation-Protected Securities (TIPS) Index_16482"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSTreasuryInflationMinusProtectedSecuritiesTIPSIndex16483AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSTreasuryInflationMinusProtectedSecuritiesTIPSIndex16483AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. Treasury Inflation-Protected Securities (TIPS) Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. Treasury Inflation-Protected Securities (TIPS) Index_16483"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSTreasuryInflationMinusProtectedSecuritiesTIPSIndex16484AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSTreasuryInflationMinusProtectedSecuritiesTIPSIndex16484AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. Treasury Inflation-Protected Securities (TIPS) Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. Treasury Inflation-Protected Securities (TIPS) Index_16484"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSTreasuryInflationMinusProtectedSecuritiesTIPSIndex16485AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSTreasuryInflationMinusProtectedSecuritiesTIPSIndex16485AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. Treasury Inflation-Protected Securities (TIPS) Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. Treasury Inflation-Protected Securities (TIPS) Index_16485"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSTreasuryInflationMinusProtectedSecuritiesTIPSIndex16486AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSTreasuryInflationMinusProtectedSecuritiesTIPSIndex16486AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. Treasury Inflation-Protected Securities (TIPS) Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. Treasury Inflation-Protected Securities (TIPS) Index_16486"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSTreasuryInflationMinusProtectedSecuritiesTIPSIndex16487AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSTreasuryInflationMinusProtectedSecuritiesTIPSIndex16487AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. Treasury Inflation-Protected Securities (TIPS) Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. Treasury Inflation-Protected Securities (TIPS) Index_16487"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexBloombergUSTreasuryInflationMinusProtectedSecuritiesTIPSIndex16488AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexBloombergUSTreasuryInflationMinusProtectedSecuritiesTIPSIndex16488AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Bloomberg U.S. Treasury Inflation-Protected Securities (TIPS) Index",
        "label": "Goldman Sachs Index: Bloomberg U.S. Treasury Inflation-Protected Securities (TIPS) Index_16488"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexCreditSuisseLeveragedLoanIndexTRUnhedgedUSD16535AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexCreditSuisseLeveragedLoanIndexTRUnhedgedUSD16535AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Credit Suisse Leveraged Loan Index (TR, Unhedged, USD,)",
        "label": "Goldman Sachs Index: Credit Suisse Leveraged Loan Index (TR, Unhedged, USD,)_16535"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexCreditSuisseLeveragedLoanIndexTRUnhedgedUSD16536AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexCreditSuisseLeveragedLoanIndexTRUnhedgedUSD16536AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Credit Suisse Leveraged Loan Index (TR, Unhedged, USD,)",
        "label": "Goldman Sachs Index: Credit Suisse Leveraged Loan Index (TR, Unhedged, USD,)_16536"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexCreditSuisseLeveragedLoanIndexTRUnhedgedUSD16537AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexCreditSuisseLeveragedLoanIndexTRUnhedgedUSD16537AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Credit Suisse Leveraged Loan Index (TR, Unhedged, USD,)",
        "label": "Goldman Sachs Index: Credit Suisse Leveraged Loan Index (TR, Unhedged, USD,)_16537"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexCreditSuisseLeveragedLoanIndexTRUnhedgedUSD16538AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexCreditSuisseLeveragedLoanIndexTRUnhedgedUSD16538AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Credit Suisse Leveraged Loan Index (TR, Unhedged, USD,)",
        "label": "Goldman Sachs Index: Credit Suisse Leveraged Loan Index (TR, Unhedged, USD,)_16538"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexCreditSuisseLeveragedLoanIndexTRUnhedgedUSD16539AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexCreditSuisseLeveragedLoanIndexTRUnhedgedUSD16539AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Credit Suisse Leveraged Loan Index (TR, Unhedged, USD,)",
        "label": "Goldman Sachs Index: Credit Suisse Leveraged Loan Index (TR, Unhedged, USD,)_16539"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexCreditSuisseLeveragedLoanIndexTRUnhedgedUSD16540AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexCreditSuisseLeveragedLoanIndexTRUnhedgedUSD16540AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Credit Suisse Leveraged Loan Index (TR, Unhedged, USD,)",
        "label": "Goldman Sachs Index: Credit Suisse Leveraged Loan Index (TR, Unhedged, USD,)_16540"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexCreditSuisseLeveragedLoanIndexTRUnhedgedUSD16541AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexCreditSuisseLeveragedLoanIndexTRUnhedgedUSD16541AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Credit Suisse Leveraged Loan Index (TR, Unhedged, USD,)",
        "label": "Goldman Sachs Index: Credit Suisse Leveraged Loan Index (TR, Unhedged, USD,)_16541"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexGoldmanSachsShortDurationBondFundCompositeIndex16436AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexGoldmanSachsShortDurationBondFundCompositeIndex16436AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Goldman Sachs Short Duration Bond Fund Composite Index",
        "label": "Goldman Sachs Index: Goldman Sachs Short Duration Bond Fund Composite Index_16436"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexGoldmanSachsShortDurationBondFundCompositeIndex16437AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexGoldmanSachsShortDurationBondFundCompositeIndex16437AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Goldman Sachs Short Duration Bond Fund Composite Index",
        "label": "Goldman Sachs Index: Goldman Sachs Short Duration Bond Fund Composite Index_16437"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexGoldmanSachsShortDurationBondFundCompositeIndex16438AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexGoldmanSachsShortDurationBondFundCompositeIndex16438AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Goldman Sachs Short Duration Bond Fund Composite Index",
        "label": "Goldman Sachs Index: Goldman Sachs Short Duration Bond Fund Composite Index_16438"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexGoldmanSachsShortDurationBondFundCompositeIndex16439AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexGoldmanSachsShortDurationBondFundCompositeIndex16439AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Goldman Sachs Short Duration Bond Fund Composite Index",
        "label": "Goldman Sachs Index: Goldman Sachs Short Duration Bond Fund Composite Index_16439"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexGoldmanSachsShortDurationBondFundCompositeIndex16440AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexGoldmanSachsShortDurationBondFundCompositeIndex16440AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Goldman Sachs Short Duration Bond Fund Composite Index",
        "label": "Goldman Sachs Index: Goldman Sachs Short Duration Bond Fund Composite Index_16440"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexGoldmanSachsShortDurationBondFundCompositeIndex16441AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexGoldmanSachsShortDurationBondFundCompositeIndex16441AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Goldman Sachs Short Duration Bond Fund Composite Index",
        "label": "Goldman Sachs Index: Goldman Sachs Short Duration Bond Fund Composite Index_16441"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexGoldmanSachsShortDurationBondFundCompositeIndex16442AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexGoldmanSachsShortDurationBondFundCompositeIndex16442AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: Goldman Sachs Short Duration Bond Fund Composite Index",
        "label": "Goldman Sachs Index: Goldman Sachs Short Duration Bond Fund Composite Index_16442"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexICEBofA3MinusMonthUSTreasuryBillIndex16526AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexICEBofA3MinusMonthUSTreasuryBillIndex16526AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: ICE BofA 3-Month U.S. Treasury Bill Index",
        "label": "Goldman Sachs Index: ICE BofA 3-Month U.S. Treasury Bill Index_16526"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexICEBofA3MinusMonthUSTreasuryBillIndex16527AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexICEBofA3MinusMonthUSTreasuryBillIndex16527AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: ICE BofA 3-Month U.S. Treasury Bill Index",
        "label": "Goldman Sachs Index: ICE BofA 3-Month U.S. Treasury Bill Index_16527"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexICEBofA3MinusMonthUSTreasuryBillIndex16528AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexICEBofA3MinusMonthUSTreasuryBillIndex16528AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: ICE BofA 3-Month U.S. Treasury Bill Index",
        "label": "Goldman Sachs Index: ICE BofA 3-Month U.S. Treasury Bill Index_16528"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexICEBofA3MinusMonthUSTreasuryBillIndex16529AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexICEBofA3MinusMonthUSTreasuryBillIndex16529AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: ICE BofA 3-Month U.S. Treasury Bill Index",
        "label": "Goldman Sachs Index: ICE BofA 3-Month U.S. Treasury Bill Index_16529"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexICEBofA3MinusMonthUSTreasuryBillIndex16530AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexICEBofA3MinusMonthUSTreasuryBillIndex16530AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: ICE BofA 3-Month U.S. Treasury Bill Index",
        "label": "Goldman Sachs Index: ICE BofA 3-Month U.S. Treasury Bill Index_16530"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexICEBofA3MinusMonthUSTreasuryBillIndex16532AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexICEBofA3MinusMonthUSTreasuryBillIndex16532AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: ICE BofA 3-Month U.S. Treasury Bill Index",
        "label": "Goldman Sachs Index: ICE BofA 3-Month U.S. Treasury Bill Index_16532"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexICEBofA3MinusMonthUSTreasuryBillIndex16542AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexICEBofA3MinusMonthUSTreasuryBillIndex16542AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: ICE BofA 3-Month U.S. Treasury Bill Index",
        "label": "Goldman Sachs Index: ICE BofA 3-Month U.S. Treasury Bill Index_16542"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexICEBofA3MinusMonthUSTreasuryBillIndex16543AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexICEBofA3MinusMonthUSTreasuryBillIndex16543AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: ICE BofA 3-Month U.S. Treasury Bill Index",
        "label": "Goldman Sachs Index: ICE BofA 3-Month U.S. Treasury Bill Index_16543"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexICEBofA3MinusMonthUSTreasuryBillIndex16544AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexICEBofA3MinusMonthUSTreasuryBillIndex16544AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: ICE BofA 3-Month U.S. Treasury Bill Index",
        "label": "Goldman Sachs Index: ICE BofA 3-Month U.S. Treasury Bill Index_16544"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexICEBofA3MinusMonthUSTreasuryBillIndex16545AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexICEBofA3MinusMonthUSTreasuryBillIndex16545AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: ICE BofA 3-Month U.S. Treasury Bill Index",
        "label": "Goldman Sachs Index: ICE BofA 3-Month U.S. Treasury Bill Index_16545"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexICEBofA3MinusMonthUSTreasuryBillIndex16546AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexICEBofA3MinusMonthUSTreasuryBillIndex16546AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: ICE BofA 3-Month U.S. Treasury Bill Index",
        "label": "Goldman Sachs Index: ICE BofA 3-Month U.S. Treasury Bill Index_16546"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexICEBofA3MinusMonthUSTreasuryBillIndex16547AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexICEBofA3MinusMonthUSTreasuryBillIndex16547AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: ICE BofA 3-Month U.S. Treasury Bill Index",
        "label": "Goldman Sachs Index: ICE BofA 3-Month U.S. Treasury Bill Index_16547"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexICEBofA3MinusMonthUSTreasuryBillIndex16548AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexICEBofA3MinusMonthUSTreasuryBillIndex16548AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: ICE BofA 3-Month U.S. Treasury Bill Index",
        "label": "Goldman Sachs Index: ICE BofA 3-Month U.S. Treasury Bill Index_16548"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexICEBofAML3Minus6MonthUSTreasuryBillIndex16549AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexICEBofAML3Minus6MonthUSTreasuryBillIndex16549AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: ICE BofAML 3-6 Month U.S. Treasury Bill Index",
        "label": "Goldman Sachs Index: ICE BofAML 3-6 Month U.S. Treasury Bill Index_16549"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexICEBofAML3Minus6MonthUSTreasuryBillIndex16550AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexICEBofAML3Minus6MonthUSTreasuryBillIndex16550AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: ICE BofAML 3-6 Month U.S. Treasury Bill Index",
        "label": "Goldman Sachs Index: ICE BofAML 3-6 Month U.S. Treasury Bill Index_16550"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexICEBofAML3Minus6MonthUSTreasuryBillIndex16552AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexICEBofAML3Minus6MonthUSTreasuryBillIndex16552AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: ICE BofAML 3-6 Month U.S. Treasury Bill Index",
        "label": "Goldman Sachs Index: ICE BofAML 3-6 Month U.S. Treasury Bill Index_16552"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexICEBofAML3Minus6MonthUSTreasuryBillIndex16553AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexICEBofAML3Minus6MonthUSTreasuryBillIndex16553AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: ICE BofAML 3-6 Month U.S. Treasury Bill Index",
        "label": "Goldman Sachs Index: ICE BofAML 3-6 Month U.S. Treasury Bill Index_16553"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexICEBofAML3Minus6MonthUSTreasuryBillIndex16555AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexICEBofAML3Minus6MonthUSTreasuryBillIndex16555AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: ICE BofAML 3-6 Month U.S. Treasury Bill Index",
        "label": "Goldman Sachs Index: ICE BofAML 3-6 Month U.S. Treasury Bill Index_16555"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexICEBofAMLOneMinusYearUSTreasury16429AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexICEBofAMLOneMinusYearUSTreasury16429AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: ICE BofAML One-Year U.S. Treasury",
        "label": "Goldman Sachs Index: ICE BofAML One-Year U.S. Treasury_16429"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexICEBofAMLOneMinusYearUSTreasury16430AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexICEBofAMLOneMinusYearUSTreasury16430AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: ICE BofAML One-Year U.S. Treasury",
        "label": "Goldman Sachs Index: ICE BofAML One-Year U.S. Treasury_16430"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexICEBofAMLOneMinusYearUSTreasury16431AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexICEBofAMLOneMinusYearUSTreasury16431AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: ICE BofAML One-Year U.S. Treasury",
        "label": "Goldman Sachs Index: ICE BofAML One-Year U.S. Treasury_16431"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexICEBofAMLOneMinusYearUSTreasury16432AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexICEBofAMLOneMinusYearUSTreasury16432AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: ICE BofAML One-Year U.S. Treasury",
        "label": "Goldman Sachs Index: ICE BofAML One-Year U.S. Treasury_16432"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexICEBofAMLOneMinusYearUSTreasury16433AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexICEBofAMLOneMinusYearUSTreasury16433AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: ICE BofAML One-Year U.S. Treasury",
        "label": "Goldman Sachs Index: ICE BofAML One-Year U.S. Treasury_16433"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexICEBofAMLOneMinusYearUSTreasury16434AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexICEBofAMLOneMinusYearUSTreasury16434AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: ICE BofAML One-Year U.S. Treasury",
        "label": "Goldman Sachs Index: ICE BofAML One-Year U.S. Treasury_16434"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexICEBofAMLOneMinusYearUSTreasury16435AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexICEBofAMLOneMinusYearUSTreasury16435AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: ICE BofAML One-Year U.S. Treasury",
        "label": "Goldman Sachs Index: ICE BofAML One-Year U.S. Treasury_16435"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexICEBofAMLTwoMinusYearUSTreasury16318AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexICEBofAMLTwoMinusYearUSTreasury16318AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: ICE BofAML Two-Year U.S. Treasury",
        "label": "Goldman Sachs Index: ICE BofAML Two-Year U.S. Treasury_16318"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexICEBofAMLTwoMinusYearUSTreasury16319AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexICEBofAMLTwoMinusYearUSTreasury16319AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: ICE BofAML Two-Year U.S. Treasury",
        "label": "Goldman Sachs Index: ICE BofAML Two-Year U.S. Treasury_16319"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexICEBofAMLTwoMinusYearUSTreasury16320AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexICEBofAMLTwoMinusYearUSTreasury16320AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: ICE BofAML Two-Year U.S. Treasury",
        "label": "Goldman Sachs Index: ICE BofAML Two-Year U.S. Treasury_16320"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexICEBofAMLTwoMinusYearUSTreasury16321AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexICEBofAMLTwoMinusYearUSTreasury16321AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: ICE BofAML Two-Year U.S. Treasury",
        "label": "Goldman Sachs Index: ICE BofAML Two-Year U.S. Treasury_16321"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexICEBofAMLTwoMinusYearUSTreasury16322AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexICEBofAMLTwoMinusYearUSTreasury16322AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: ICE BofAML Two-Year U.S. Treasury",
        "label": "Goldman Sachs Index: ICE BofAML Two-Year U.S. Treasury_16322"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexICEBofAMLTwoMinusYearUSTreasury16323AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexICEBofAMLTwoMinusYearUSTreasury16323AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: ICE BofAML Two-Year U.S. Treasury",
        "label": "Goldman Sachs Index: ICE BofAML Two-Year U.S. Treasury_16323"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexICEBofAMLTwoMinusYearUSTreasury16324AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexICEBofAMLTwoMinusYearUSTreasury16324AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: ICE BofAML Two-Year U.S. Treasury",
        "label": "Goldman Sachs Index: ICE BofAML Two-Year U.S. Treasury_16324"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexJPMorganCorporateEmergingMarketsBondIndexCEMBISMBroadDiversifiedIndexGrossUSDUnhedged16520AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexJPMorganCorporateEmergingMarketsBondIndexCEMBISMBroadDiversifiedIndexGrossUSDUnhedged16520AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: J.P. Morgan Corporate Emerging Markets Bond Index (CEMBI SM) Broad Diversified Index (Gross, USD, Unhedged)",
        "label": "Goldman Sachs Index: J.P. Morgan Corporate Emerging Markets Bond Index (CEMBI SM) Broad Diversified Index (Gross, USD, Unhedged)_16520"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexJPMorganCorporateEmergingMarketsBondIndexCEMBISMBroadDiversifiedIndexGrossUSDUnhedged16521AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexJPMorganCorporateEmergingMarketsBondIndexCEMBISMBroadDiversifiedIndexGrossUSDUnhedged16521AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: J.P. Morgan Corporate Emerging Markets Bond Index (CEMBI SM) Broad Diversified Index (Gross, USD, Unhedged)",
        "label": "Goldman Sachs Index: J.P. Morgan Corporate Emerging Markets Bond Index (CEMBI SM) Broad Diversified Index (Gross, USD, Unhedged)_16521"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexJPMorganCorporateEmergingMarketsBondIndexCEMBISMBroadDiversifiedIndexGrossUSDUnhedged16522AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexJPMorganCorporateEmergingMarketsBondIndexCEMBISMBroadDiversifiedIndexGrossUSDUnhedged16522AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: J.P. Morgan Corporate Emerging Markets Bond Index (CEMBI SM) Broad Diversified Index (Gross, USD, Unhedged)",
        "label": "Goldman Sachs Index: J.P. Morgan Corporate Emerging Markets Bond Index (CEMBI SM) Broad Diversified Index (Gross, USD, Unhedged)_16522"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexJPMorganCorporateEmergingMarketsBondIndexCEMBISMBroadDiversifiedIndexGrossUSDUnhedged16523AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexJPMorganCorporateEmergingMarketsBondIndexCEMBISMBroadDiversifiedIndexGrossUSDUnhedged16523AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: J.P. Morgan Corporate Emerging Markets Bond Index (CEMBI SM) Broad Diversified Index (Gross, USD, Unhedged)",
        "label": "Goldman Sachs Index: J.P. Morgan Corporate Emerging Markets Bond Index (CEMBI SM) Broad Diversified Index (Gross, USD, Unhedged)_16523"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexJPMorganCorporateEmergingMarketsBondIndexCEMBISMBroadDiversifiedIndexGrossUSDUnhedged16524AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexJPMorganCorporateEmergingMarketsBondIndexCEMBISMBroadDiversifiedIndexGrossUSDUnhedged16524AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: J.P. Morgan Corporate Emerging Markets Bond Index (CEMBI SM) Broad Diversified Index (Gross, USD, Unhedged)",
        "label": "Goldman Sachs Index: J.P. Morgan Corporate Emerging Markets Bond Index (CEMBI SM) Broad Diversified Index (Gross, USD, Unhedged)_16524"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexJPMorganCorporateEmergingMarketsBondIndexCEMBISMBroadDiversifiedIndexGrossUSDUnhedged16525AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexJPMorganCorporateEmergingMarketsBondIndexCEMBISMBroadDiversifiedIndexGrossUSDUnhedged16525AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: J.P. Morgan Corporate Emerging Markets Bond Index (CEMBI SM) Broad Diversified Index (Gross, USD, Unhedged)",
        "label": "Goldman Sachs Index: J.P. Morgan Corporate Emerging Markets Bond Index (CEMBI SM) Broad Diversified Index (Gross, USD, Unhedged)_16525"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexJPMorganEmergingMarketsBondIndexEMBIGlobalDiversifiedIndexGrossUSDUnhedged16502AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexJPMorganEmergingMarketsBondIndexEMBIGlobalDiversifiedIndexGrossUSDUnhedged16502AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: J.P. Morgan Emerging Markets Bond Index (EMBI) Global Diversified Index (Gross, USD, Unhedged)",
        "label": "Goldman Sachs Index: J.P. Morgan Emerging Markets Bond Index (EMBI) Global Diversified Index (Gross, USD, Unhedged)_16502"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexJPMorganEmergingMarketsBondIndexEMBIGlobalDiversifiedIndexGrossUSDUnhedged16503AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexJPMorganEmergingMarketsBondIndexEMBIGlobalDiversifiedIndexGrossUSDUnhedged16503AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: J.P. Morgan Emerging Markets Bond Index (EMBI) Global Diversified Index (Gross, USD, Unhedged)",
        "label": "Goldman Sachs Index: J.P. Morgan Emerging Markets Bond Index (EMBI) Global Diversified Index (Gross, USD, Unhedged)_16503"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexJPMorganEmergingMarketsBondIndexEMBIGlobalDiversifiedIndexGrossUSDUnhedged16504AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexJPMorganEmergingMarketsBondIndexEMBIGlobalDiversifiedIndexGrossUSDUnhedged16504AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: J.P. Morgan Emerging Markets Bond Index (EMBI) Global Diversified Index (Gross, USD, Unhedged)",
        "label": "Goldman Sachs Index: J.P. Morgan Emerging Markets Bond Index (EMBI) Global Diversified Index (Gross, USD, Unhedged)_16504"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexJPMorganEmergingMarketsBondIndexEMBIGlobalDiversifiedIndexGrossUSDUnhedged16505AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexJPMorganEmergingMarketsBondIndexEMBIGlobalDiversifiedIndexGrossUSDUnhedged16505AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: J.P. Morgan Emerging Markets Bond Index (EMBI) Global Diversified Index (Gross, USD, Unhedged)",
        "label": "Goldman Sachs Index: J.P. Morgan Emerging Markets Bond Index (EMBI) Global Diversified Index (Gross, USD, Unhedged)_16505"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexJPMorganEmergingMarketsBondIndexEMBIGlobalDiversifiedIndexGrossUSDUnhedged16506AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexJPMorganEmergingMarketsBondIndexEMBIGlobalDiversifiedIndexGrossUSDUnhedged16506AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: J.P. Morgan Emerging Markets Bond Index (EMBI) Global Diversified Index (Gross, USD, Unhedged)",
        "label": "Goldman Sachs Index: J.P. Morgan Emerging Markets Bond Index (EMBI) Global Diversified Index (Gross, USD, Unhedged)_16506"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_GoldmanSachsIndexJPMorganEmergingMarketsBondIndexEMBIGlobalDiversifiedIndexGrossUSDUnhedged16507AdditionalIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "GoldmanSachsIndexJPMorganEmergingMarketsBondIndexEMBIGlobalDiversifiedIndexGrossUSDUnhedged16507AdditionalIndexMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs Index: J.P. Morgan Emerging Markets Bond Index (EMBI) Global Diversified Index (Gross, USD, Unhedged)",
        "label": "Goldman Sachs Index: J.P. Morgan Emerging Markets Bond Index (EMBI) Global Diversified Index (Gross, USD, Unhedged)_16507"
       }
      }
     },
     "auth_ref": []
    },
    "oef_HoldingsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "HoldingsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Holdings [Abstract]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_HoldingsCount": {
     "xbrltype": "integerItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "HoldingsCount",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Holdings Count"
       }
      }
     },
     "auth_ref": [
      "r46"
     ]
    },
    "oef_HoldingsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "HoldingsLineItems",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Holdings [Line Items]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_HoldingsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "HoldingsTable",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Holdings [Table]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_HoldingsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "HoldingsTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Holdings [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_InabilityToMeetDistLevelTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "InabilityToMeetDistLevelTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Inability to Meet Distribution Level [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r42"
     ]
    },
    "oef_IndustrySectorAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "IndustrySectorAxis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Industry Sector [Axis]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_IndustrySectorDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "IndustrySectorDomain",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Industry Sector [Domain]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "us-gaap_InvestmentCompanyPortfolioTurnover": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InvestmentCompanyPortfolioTurnover",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "InvestmentCompanyPortfolioTurnover",
        "documentation": "Percentage of lesser of purchase or sale of portfolio securities to average value of portfolio securities owned."
       }
      }
     },
     "auth_ref": [
      "r63"
     ]
    },
    "us-gaap_InvestmentTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InvestmentTypeAxis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of investments."
       }
      }
     },
     "auth_ref": [
      "r1",
      "r2",
      "r3",
      "r4",
      "r5",
      "r6",
      "r7",
      "r8",
      "r9",
      "r10",
      "r11",
      "r12",
      "r13",
      "r14",
      "r15",
      "r16",
      "r17"
     ]
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InvestmentTypeCategorizationMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Asset obtained to generate income or appreciate in value."
       }
      }
     },
     "auth_ref": [
      "r1",
      "r2",
      "r3",
      "r4",
      "r5",
      "r6",
      "r7",
      "r8",
      "r9",
      "r10",
      "r11",
      "r12",
      "r13",
      "r14",
      "r15",
      "r16",
      "r17"
     ]
    },
    "oef_LargestHoldingAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "LargestHoldingAxis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Largest Holding [Axis]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_LargestHoldingsDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "LargestHoldingsDomain",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Largest Holdings [Domain]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_LargestHoldingsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "LargestHoldingsTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Largest Holdings [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "dei_LegalEntityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "LegalEntityAxis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Series [Axis]",
        "documentation": "The set of legal entities associated with a report."
       }
      }
     },
     "auth_ref": []
    },
    "oef_LineGraphAndTableMeasureName": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "LineGraphAndTableMeasureName",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Line Graph and Table Measure Name"
       }
      }
     },
     "auth_ref": [
      "r34"
     ]
    },
    "oef_LineGraphTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "LineGraphTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Line Graph [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r33"
     ]
    },
    "oef_MaterialChngDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "MaterialChngDate",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Change Date"
       }
      }
     },
     "auth_ref": [
      "r38"
     ]
    },
    "oef_MaterialChngDescriptionTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "MaterialChngDescriptionTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Change Description [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r38"
     ]
    },
    "oef_MaterialFundChngAdviserTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "MaterialFundChngAdviserTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Fund Change Adviser [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r55"
     ]
    },
    "oef_MaterialFundChngExpensesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "MaterialFundChngExpensesTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Fund Change Expenses [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r52"
     ]
    },
    "oef_MaterialFundChngNameTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "MaterialFundChngNameTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Fund Change Name [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r50"
     ]
    },
    "oef_MaterialFundChngNoticeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "MaterialFundChngNoticeTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Fund Change Notice [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r24"
     ]
    },
    "oef_MaterialFundChngObjectivesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "MaterialFundChngObjectivesTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Fund Change Objectives [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r51"
     ]
    },
    "oef_MaterialFundChngRisksChngTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "MaterialFundChngRisksChngTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Fund Change Risks Change [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r54"
     ]
    },
    "oef_MaterialFundChngStrategiesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "MaterialFundChngStrategiesTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Fund Change Strategies [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_MaterialFundChngTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "MaterialFundChngTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Fund Change [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r49"
     ]
    },
    "oef_MaturityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "MaturityAxis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maturity [Axis]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_MaturityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "MaturityDomain",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maturity [Domain]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_NoDeductionOfTaxesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "NoDeductionOfTaxesTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Deduction of Taxes [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r35"
     ]
    },
    "dei_NoTradingSymbolFlag": {
     "xbrltype": "trueItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "NoTradingSymbolFlag",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Trading Symbol [Flag]",
        "documentation": "Boolean flag that is true only for a security having no trading symbol."
       }
      }
     },
     "auth_ref": []
    },
    "oef_OtherCategory1Axis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "OtherCategory1Axis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Category 1 [Axis]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_OtherCategory1Domain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "OtherCategory1Domain",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Category 1 [Domain]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_OtherCategory2Axis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "OtherCategory2Axis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Category 2 [Axis]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_OtherCategory2Domain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "OtherCategory2Domain",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Category 2 [Domain]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_PctOfNav": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PctOfNav",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Percent of Net Asset Value"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_PctOfNetLongExposure": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PctOfNetLongExposure",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Percent of Net Long Exposure"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_PctOfNetShortExposure": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PctOfNetShortExposure",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Percent of Net Short Exposure"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_PctOfTotalInv": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PctOfTotalInv",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Percent of Total Investments"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_PctOfTotalLongExposure": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PctOfTotalLongExposure",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Percent of Total Long Exposure"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_PctOfTotalShortExposure": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PctOfTotalShortExposure",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Percent of Total Short Exposure"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_PerfInceptionDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PerfInceptionDate",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Inception Date"
       }
      }
     },
     "auth_ref": [
      "r34"
     ]
    },
    "oef_PerfTableMarketIndexChngdTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PerfTableMarketIndexChngdTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Market Index Changed [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r41"
     ]
    },
    "oef_PerformancePastDoesNotIndicateFuture": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PerformancePastDoesNotIndicateFuture",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Past Does Not Indicate Future [Text]"
       }
      }
     },
     "auth_ref": [
      "r36",
      "r60"
     ]
    },
    "oef_PreviousInvestmentAdviserTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PreviousInvestmentAdviserTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Previous Investment Adviser [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r37"
     ]
    },
    "oef_PriorMarketIndexComparisonTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PriorMarketIndexComparisonTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prior Market Index Comparison [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r41"
     ]
    },
    "oef_SalesLoadAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "SalesLoadAxis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sales Load [Axis]"
       }
      }
     },
     "auth_ref": [
      "r40"
     ]
    },
    "gsam_SectorAerospaceDefenseSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorAerospaceDefenseSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorAerospace &amp; Defense"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorAgencyDebenturesSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorAgencyDebenturesSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorAgency Debentures"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorAutomotiveSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorAutomotiveSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorAutomotive"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorBanksSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorBanksSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorBanks"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorBuildingMaterialsSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorBuildingMaterialsSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorBuilding Materials"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorChemicalsSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorChemicalsSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorChemicals"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorCollateralizedLoanObligationsSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorCollateralizedLoanObligationsSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorCollateralized Loan Obligations"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorCollateralizedMortgageObligationsSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorCollateralizedMortgageObligationsSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorCollateralized Mortgage Obligations"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorCommercialMortgageMinusBackedSecuritiesSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorCommercialMortgageMinusBackedSecuritiesSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorCommercial Mortgage-Backed Securities"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorCommercialServicesSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorCommercialServicesSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorCommercial Services"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorConsumerCyclicalServicesSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorConsumerCyclicalServicesSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorConsumer Cyclical Services"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorCreditCardSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorCreditCardSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorCredit Card"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorDiversifiedFinancialServicesSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorDiversifiedFinancialServicesSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorDiversified Financial Services"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorElectricalSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorElectricalSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorElectrical"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorEngineeringConstructionSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorEngineeringConstructionSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorEngineering &amp; Construction"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorEntertainmentSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorEntertainmentSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorEntertainment"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorFederalAgenciesSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorFederalAgenciesSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorFederal Agencies"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorFoodDrugRetailingSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorFoodDrugRetailingSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorFood &amp; Drug Retailing"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorGamingSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorGamingSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorGaming"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorHealthcareProvidersServicesSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorHealthcareProvidersServicesSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorHealthcare Providers &amp; Services"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorInsuranceSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorInsuranceSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorInsurance"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorLeisureTimeSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorLeisureTimeSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorLeisure Time"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorMediaSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorMediaSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorMedia"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorMiningSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorMiningSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorMining"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorMunicipalGovernmentObligationSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorMunicipalGovernmentObligationSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorMunicipal Government Obligation"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorOilFieldServicesSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorOilFieldServicesSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorOil Field Services"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorOtherLineSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorOtherLineSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sector Other Line"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorPackagingSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorPackagingSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorPackaging"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorPharmaceuticalsSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorPharmaceuticalsSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorPharmaceuticals"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorPipelinesSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorPipelinesSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorPipelines"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorRealEstateInvestmentTrustSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorRealEstateInvestmentTrustSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorReal Estate Investment Trust"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorRetailingSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorRetailingSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorRetailing"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorShortMinusTermInvestmentsSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorShortMinusTermInvestmentsSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorShort-Term Investments"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorSoftwareSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorSoftwareSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorSoftware"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorSovereignDebtObligationsSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorSovereignDebtObligationsSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorSovereign Debt Obligations"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorStudentLoanSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorStudentLoanSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorStudent Loan"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorTechnologyMinusSoftwareSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorTechnologyMinusSoftwareSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorTechnology - Software"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorTelecommunicationServicesSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorTelecommunicationServicesSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorTelecommunication Services"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_SectorUSTreasuryObligationsSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20250331",
     "localname": "SectorUSTreasuryObligationsSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorU.S. Treasury Obligations"
       }
      }
     },
     "auth_ref": []
    },
    "dei_SecurityExchangeName": {
     "xbrltype": "edgarExchangeCodeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "SecurityExchangeName",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Exchange Name",
        "terseLabel": "Exchange",
        "documentation": "Name of the Exchange on which a security is registered."
       }
      }
     },
     "auth_ref": [
      "r19"
     ]
    },
    "oef_ShareClassDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ShareClassDomain",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share Classes"
       }
      }
     },
     "auth_ref": [
      "r20"
     ]
    },
    "oef_ShareholderReportAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ShareholderReportAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholder Report [Abstract]"
       }
      }
     },
     "auth_ref": [
      "r40"
     ]
    },
    "oef_ShareholderReportAnnualOrSemiAnnual": {
     "xbrltype": "shareholderReportTypeItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ShareholderReportAnnualOrSemiAnnual",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholder Report Annual or Semi-Annual"
       }
      }
     },
     "auth_ref": [
      "r22"
     ]
    },
    "oef_ShareholderReportLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ShareholderReportLineItems",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/NcsrCover",
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholder Report [Line Items]"
       }
      }
     },
     "auth_ref": [
      "r40"
     ]
    },
    "oef_ShareholderReportTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ShareholderReportTable",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/NcsrCover",
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholder Report [Table]"
       }
      }
     },
     "auth_ref": [
      "r40"
     ]
    },
    "oef_SummaryOfChngLegendTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "SummaryOfChngLegendTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Summary of Change Legend [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r56"
     ]
    },
    "dei_TradingSymbol": {
     "xbrltype": "tradingSymbolItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "TradingSymbol",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Symbol",
        "terseLabel": "Ticker",
        "documentation": "Trading symbol of an instrument as listed on an exchange."
       }
      }
     },
     "auth_ref": []
    },
    "oef_UpdPerfInfoLocationTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "UpdPerfInfoLocationTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Updated Performance Information Location [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r39"
     ]
    },
    "oef_UpdProspectusEmailAddress": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "UpdProspectusEmailAddress",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Updated Prospectus Email Address"
       }
      }
     },
     "auth_ref": [
      "r56"
     ]
    },
    "oef_UpdProspectusPhoneNumber": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "UpdProspectusPhoneNumber",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Updated Prospectus Phone Number"
       }
      }
     },
     "auth_ref": [
      "r56"
     ]
    },
    "oef_UpdProspectusWebAddress": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "UpdProspectusWebAddress",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Updated Prospectus Web Address"
       }
      }
     },
     "auth_ref": [
      "r56"
     ]
    },
    "oef_WithSalesLdMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "WithSalesLoadMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "With Sales Load [Member]"
       }
      }
     },
     "auth_ref": [
      "r40"
     ]
    },
    "oef_WithoutSalesLoadMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "WithoutSalesLoadMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Without Sales Load [Member]"
       }
      }
     },
     "auth_ref": [
      "r40"
     ]
    }
   }
  }
 },
 "std_ref": {
  "r0": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "SubTopic": "30",
   "Topic": "205",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479910/205-30-50-1"
  },
  "r1": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-1"
  },
  "r2": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-1"
  },
  "r3": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-1"
  },
  "r4": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r5": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r6": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r7": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r8": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column C)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-2"
  },
  "r9": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r10": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r11": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5D",
   "Subparagraph": "(SX 210.12-13D(Column A)(Footnote 2)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-5D"
  },
  "r12": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column F)(Footnote 7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r13": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-7"
  },
  "r14": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-7"
  },
  "r15": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-7"
  },
  "r16": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column D))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-7"
  },
  "r17": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477439/946-210-55-1"
  },
  "r18": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r19": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r20": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "1",
   "Subsection": "a",
   "Paragraph": "1"
  },
  "r21": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "b",
   "Paragraph": "1"
  },
  "r22": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "b",
   "Paragraph": "3"
  },
  "r23": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "b",
   "Paragraph": "4"
  },
  "r24": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "b",
   "Paragraph": "5"
  },
  "r25": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "b",
   "Paragraph": "instruction",
   "Subparagraph": "2"
  },
  "r26": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "c"
  },
  "r27": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "c",
   "Paragraph": "ii"
  },
  "r28": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "c",
   "Paragraph": "iii"
  },
  "r29": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "c",
   "Paragraph": "instruction",
   "Sentence": "1",
   "Clause": "b"
  },
  "r30": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "c",
   "Paragraph": "instruction",
   "Subparagraph": "1",
   "Clause": "c"
  },
  "r31": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "c",
   "Paragraph": "instruction",
   "Subparagraph": "1",
   "Clause": "d"
  },
  "r32": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "1"
  },
  "r33": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2"
  },
  "r34": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2",
   "Subparagraph": "i"
  },
  "r35": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Clause": "B"
  },
  "r36": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2",
   "Subparagraph": "iiii",
   "Clause": "A"
  },
  "r37": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2",
   "Subparagraph": "instruction",
   "Clause": "12"
  },
  "r38": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2",
   "Subparagraph": "instruction",
   "Clause": "14"
  },
  "r39": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2",
   "Subparagraph": "instruction",
   "Clause": "15"
  },
  "r40": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2",
   "Subparagraph": "instruction",
   "Clause": "7"
  },
  "r41": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2",
   "Subparagraph": "instruction",
   "Clause": "8"
  },
  "r42": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "3"
  },
  "r43": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "4"
  },
  "r44": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "4",
   "Subparagraph": "instruction",
   "Clause": "3"
  },
  "r45": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "4",
   "Subparagraph": "instruction",
   "Clause": "4"
  },
  "r46": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "e"
  },
  "r47": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "e",
   "Paragraph": "instruction",
   "Subparagraph": "6"
  },
  "r48": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "f"
  },
  "r49": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "g"
  },
  "r50": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "g",
   "Paragraph": "1"
  },
  "r51": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "g",
   "Paragraph": "2"
  },
  "r52": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "g",
   "Paragraph": "3"
  },
  "r53": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "g",
   "Paragraph": "4"
  },
  "r54": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "g",
   "Paragraph": "5"
  },
  "r55": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "g",
   "Paragraph": "6"
  },
  "r56": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "g",
   "Paragraph": "instruction",
   "Subparagraph": "2"
  },
  "r57": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "h",
   "Paragraph": "1"
  },
  "r58": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "h",
   "Paragraph": "2"
  },
  "r59": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "1",
   "Subparagraph": "d",
   "Sentence": "i"
  },
  "r60": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "i"
  },
  "r61": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "iii"
  },
  "r62": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-T",
   "Number": "232",
   "Section": "313"
  },
  "r63": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "27",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-27"
  }
 }
}
