{
 "version": "2.2",
 "instance": {
  "d139676dncsrs.htm": {
   "nsprefix": "gsam",
   "nsuri": "http://gsam/20260430",
   "dts": {
    "inline": {
     "local": [
      "d139676dncsrs.htm"
     ]
    },
    "schema": {
     "local": [
      "gsam-20260430.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/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://www.xbrl.org/dtr/type/2024-01-31/types.xsd",
      "https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd",
      "https://xbrl.fasb.org/srt/2026/elts/srt-roles-2026.xsd",
      "https://xbrl.fasb.org/srt/2026/elts/srt-types-2026.xsd",
      "https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd",
      "https://xbrl.fasb.org/us-gaap/2026/elts/us-roles-2026.xsd",
      "https://xbrl.fasb.org/us-gaap/2026/elts/us-types-2026.xsd",
      "https://xbrl.sec.gov/country/2026/country-2026.xsd",
      "https://xbrl.sec.gov/country/2026/country-2026_def.xsd",
      "https://xbrl.sec.gov/dei/2026/dei-2026.xsd",
      "https://xbrl.sec.gov/oef/2026/oef-2026.xsd",
      "https://xbrl.sec.gov/oef/2026/oef-2026_lab.xsd",
      "https://xbrl.sec.gov/oef/2026/oef-sr-2026.xsd",
      "https://xbrl.sec.gov/stpr/2026/stpr-2026.xsd"
     ]
    }
   },
   "keyStandard": 25,
   "keyCustom": 0,
   "axisStandard": 2,
   "axisCustom": 0,
   "memberStandard": 8,
   "memberCustom": 98,
   "hidden": {
    "total": 6,
    "http://xbrl.sec.gov/dei/2026": 6
   },
   "contextCount": 1129,
   "entityCount": 1,
   "segmentCount": 106,
   "elementCount": 225,
   "unitCount": 3,
   "baseTaxonomies": {
    "http://xbrl.sec.gov/oef/2026": 2350,
    "http://fasb.org/us-gaap/2026": 188,
    "http://xbrl.sec.gov/dei/2026": 100
   },
   "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": {
      "contextRef": "From2025-11-01to2026-04-30",
      "name": "oef:ShareholderReportAnnualOrSemiAnnual",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d139676dncsrs.htm",
      "first": true
     },
     "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": "From2025-11-01to2026-04-30",
      "name": "oef:ShareholderReportAnnualOrSemiAnnual",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d139676dncsrs.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "From2025-11-01to2026-04-30_C000025585Member",
      "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": "d139676dncsrs.htm",
      "unique": true
     }
    },
    "R3": {
     "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": "3",
     "firstAnchor": {
      "contextRef": "AsOf2026-04-30_C000025585Member_InformationTechnologySectorMember",
      "name": "oef:PctOfNav",
      "unitRef": "Pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "div",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "oef:HoldingsTableTextBlock",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d139676dncsrs.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "AsOf2026-04-30_C000025585Member_InformationTechnologySectorMember",
      "name": "oef:PctOfNav",
      "unitRef": "Pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "div",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "oef:HoldingsTableTextBlock",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d139676dncsrs.htm",
      "first": true,
      "unique": true
     }
    }
   },
   "tag": {
    "oef_AccmVal": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "AccmVal",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accumulated Value"
       }
      }
     },
     "auth_ref": [
      "r39"
     ]
    },
    "oef_AccountValueLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "AccountValueLineItems",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Account Value [Line Items]"
       }
      }
     },
     "auth_ref": [
      "r38"
     ]
    },
    "oef_AccountValueTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "AccountValueTable",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Account Value [Table]"
       }
      }
     },
     "auth_ref": [
      "r38"
     ]
    },
    "oef_AccountValueTableAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "AccountValueTableAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Account Value Table [Abstract]"
       }
      }
     },
     "auth_ref": [
      "r38"
     ]
    },
    "oef_AccountantChngDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "AccountantChngDate",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accountant Change Date"
       }
      }
     },
     "auth_ref": [
      "r62"
     ]
    },
    "oef_AccountantChngDisagreementsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "AccountantChngDisagreementsTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accountant Change Disagreements [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r63"
     ]
    },
    "oef_AccountantChngStatementTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "AccountantChngStatementTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accountant Change Statement [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r62"
     ]
    },
    "oef_AdditionalIndexAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "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": [
      "r38"
     ]
    },
    "oef_AdditionalIndexDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "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": [
      "r38"
     ]
    },
    "oef_AddlFundStatisticsSignificanceOrLimitsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "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": [
      "r52"
     ]
    },
    "oef_AddlFundStatisticsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "AddlFundStatisticsTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Fund Statistics [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r51"
     ]
    },
    "oef_AddlInfoEmail": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "AddlInfoEmail",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Information Email"
       }
      }
     },
     "auth_ref": [
      "r30"
     ]
    },
    "oef_AddlInfoPhoneNumber": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "AddlInfoPhoneNumber",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Information Phone Number"
       }
      }
     },
     "auth_ref": [
      "r30"
     ]
    },
    "oef_AddlInfoTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "AddlInfoTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Information [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r28"
     ]
    },
    "oef_AddlInfoWebsite": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "AddlInfoWebsite",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Information Website"
       }
      }
     },
     "auth_ref": [
      "r30"
     ]
    },
    "oef_AdvisoryFeesPaidAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "AdvisoryFeesPaidAmt",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Advisory Fees Paid, Amount"
       }
      }
     },
     "auth_ref": [
      "r51"
     ]
    },
    "dei_AmendmentDescription": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2026",
     "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/2026",
     "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/2026",
     "localname": "AnnlOrSemiAnnlStatementTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/NcsrCover",
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual or Semi-Annual Statement [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r27"
     ]
    },
    "us-gaap_AssetsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2026",
     "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",
      "r1"
     ]
    },
    "oef_AverageAnnualReturnAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "AverageAnnualReturnAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Average Annual Return:"
       }
      }
     },
     "auth_ref": [
      "r66"
     ]
    },
    "oef_AverageAnnualReturnLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "AverageAnnualReturnLineItems",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Average Annual Return [Line Items]"
       }
      }
     },
     "auth_ref": [
      "r66"
     ]
    },
    "oef_AverageAnnualReturnTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "AverageAnnualReturnTable",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Average Annual Return [Table]"
       }
      }
     },
     "auth_ref": [
      "r66"
     ]
    },
    "oef_AvgAnnlRtrPct": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "AvgAnnlRtrPct",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Average Annual Return, Percent"
       }
      }
     },
     "auth_ref": [
      "r45"
     ]
    },
    "oef_AvgAnnlRtrTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "AvgAnnlRtrTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Average Annual Return [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r45"
     ]
    },
    "oef_BroadBasedIndexAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "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": [
      "r38"
     ]
    },
    "oef_BroadBasedIndexDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "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": [
      "r38"
     ]
    },
    "gsam_C000025517Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000025517Member",
     "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": "C000025517"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025518Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000025518Member",
     "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": "C000025518"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025519Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000025519Member",
     "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": "C000025519"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025521Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000025521Member",
     "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": "C000025521"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025523Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000025523Member",
     "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": "C000025523"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025524Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000025524Member",
     "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": "C000025524"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025525Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000025525Member",
     "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": "C000025525"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025527Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000025527Member",
     "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": "C000025527"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025529Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000025529Member",
     "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": "C000025529"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025530Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000025530Member",
     "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": "C000025530"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025531Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000025531Member",
     "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": "C000025531"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025533Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000025533Member",
     "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": "C000025533"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025535Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000025535Member",
     "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": "C000025535"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025536Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000025536Member",
     "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": "C000025536"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025537Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000025537Member",
     "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": "C000025537"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025539Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000025539Member",
     "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": "C000025539"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025541Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000025541Member",
     "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": "C000025541"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025542Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000025542Member",
     "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": "C000025542"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025543Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000025543Member",
     "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": "C000025543"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025545Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000025545Member",
     "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": "C000025545"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025547Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000025547Member",
     "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": "C000025547"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025548Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000025548Member",
     "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": "C000025548"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025549Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000025549Member",
     "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": "C000025549"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025551Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000025551Member",
     "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": "C000025551"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025571Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000025571Member",
     "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": "C000025571"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025572Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000025572Member",
     "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": "C000025572"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025573Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000025573Member",
     "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": "C000025573"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025575Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000025575Member",
     "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": "C000025575"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025583Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000025583Member",
     "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": "C000025583"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025585Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000025585Member",
     "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": "C000025585"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000025587Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000025587Member",
     "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": "C000025587"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000040523Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000040523Member",
     "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": "C000040523"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000040525Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000040525Member",
     "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": "C000040525"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000040526Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000040526Member",
     "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": "C000040526"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000040529Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000040529Member",
     "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": "C000040529"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000040531Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000040531Member",
     "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": "C000040531"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000040532Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000040532Member",
     "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": "C000040532"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000040533Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000040533Member",
     "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": "C000040533"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000040535Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000040535Member",
     "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": "C000040535"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000040536Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000040536Member",
     "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": "C000040536"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000050449Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000050449Member",
     "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": "C000050449"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000050450Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000050450Member",
     "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": "C000050450"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000050451Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000050451Member",
     "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": "C000050451"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000050452Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000050452Member",
     "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": "C000050452"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000050453Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000050453Member",
     "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": "C000050453"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000050454Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000050454Member",
     "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": "C000050454"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000058963Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000058963Member",
     "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": "C000058963"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000058964Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000058964Member",
     "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": "C000058964"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000058965Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000058965Member",
     "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": "C000058965"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000058966Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000058966Member",
     "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": "C000058966"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000058967Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000058967Member",
     "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": "C000058967"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000058968Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000058968Member",
     "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": "C000058968"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000058969Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000058969Member",
     "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": "C000058969"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000058970Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000058970Member",
     "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": "C000058970"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000058971Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000058971Member",
     "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": "C000058971"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000058972Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000058972Member",
     "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": "C000058972"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000058986Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000058986Member",
     "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": "C000058986"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000058987Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000058987Member",
     "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": "C000058987"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000058988Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000058988Member",
     "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": "C000058988"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000058989Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000058989Member",
     "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": "C000058989"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000058990Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000058990Member",
     "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": "C000058990"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000058991Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000058991Member",
     "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": "C000058991"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000091956Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000091956Member",
     "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": "C000091956"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000091958Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000091958Member",
     "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": "C000091958"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000091961Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000091961Member",
     "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": "C000091961"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000091962Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000091962Member",
     "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": "C000091962"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000141341Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000141341Member",
     "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": "C000141341"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000141554Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000141554Member",
     "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": "C000141554"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000158455Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000158455Member",
     "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": "C000158455"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000158456Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000158456Member",
     "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": "C000158456"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000158457Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000158457Member",
     "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": "C000158457"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000158458Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000158458Member",
     "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": "C000158458"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000158459Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000158459Member",
     "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": "C000158459"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000158460Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000158460Member",
     "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": "C000158460"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000161504Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000161504Member",
     "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": "C000161504"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000161505Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000161505Member",
     "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": "C000161505"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000161506Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000161506Member",
     "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": "C000161506"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000161507Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000161507Member",
     "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": "C000161507"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000169233Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000169233Member",
     "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": "C000169233"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000169234Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000169234Member",
     "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": "C000169234"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000198939Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000198939Member",
     "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": "C000198939"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000201736Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000201736Member",
     "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": "C000201736"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000201737Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000201737Member",
     "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": "C000201737"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000201738Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000201738Member",
     "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": "C000201738"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000201739Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000201739Member",
     "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": "C000201739"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000201740Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000201740Member",
     "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": "C000201740"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000201741Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000201741Member",
     "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": "C000201741"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000201742Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000201742Member",
     "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": "C000201742"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000201743Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000201743Member",
     "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": "C000201743"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000201744Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000201744Member",
     "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": "C000201744"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000201745Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000201745Member",
     "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": "C000201745"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000201746Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000201746Member",
     "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": "C000201746"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000201747Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000201747Member",
     "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": "C000201747"
       }
      }
     },
     "auth_ref": []
    },
    "gsam_C000201748Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "C000201748Member",
     "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": "C000201748"
       }
      }
     },
     "auth_ref": []
    },
    "oef_ClassAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "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": [
      "r25"
     ]
    },
    "oef_ClassName": {
     "xbrltype": "securityTitleItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "ClassName",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class Name"
       }
      }
     },
     "auth_ref": [
      "r30"
     ]
    },
    "gsam_CommunicationServicesSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "CommunicationServicesSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Communication Services"
       }
      }
     },
     "auth_ref": []
    },
    "oef_ConsumerDiscretionarySectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "ConsumerDiscretionarySectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consumer Discretionary Sector [Member]",
        "terseLabel": "Consumer Discretionary"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_ConsumerStaplesSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "ConsumerStaplesSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consumer Staples Sector [Member]",
        "terseLabel": "Consumer Staples"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "dei_CoverAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2026",
     "localname": "CoverAbstract",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cover page."
       }
      }
     },
     "auth_ref": []
    },
    "oef_CreditQualityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "CreditQualityAxis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Credit Quality [Axis]"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_CreditQualityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "CreditQualityDomain",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Credit Quality [Domain]"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_CreditQualityExplanationTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "CreditQualityExplanationTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Credit Quality Explanation [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_CreditRatingsSelectionTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "CreditRatingsSelectionTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Credit Ratings Selection [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_DistOfCapitalTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "DistOfCapitalTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Distribution of Capital [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r47"
     ]
    },
    "dei_DocumentPeriodEndDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2026",
     "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/2026",
     "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": []
    },
    "us-gaap_EnergySectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2026",
     "localname": "EnergySectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Energy",
        "documentation": "Sector of economy consisting of companies engaged in business activity related to energy."
       }
      }
     },
     "auth_ref": [
      "r19",
      "r20",
      "r21",
      "r69",
      "r70",
      "r71",
      "r72"
     ]
    },
    "dei_EntityCentralIndexKey": {
     "xbrltype": "centralIndexKeyItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2026",
     "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": [
      "r23"
     ]
    },
    "dei_EntityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2026",
     "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/2026",
     "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": [
      "r67"
     ]
    },
    "dei_EntityRegistrantName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2026",
     "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": [
      "r23"
     ]
    },
    "oef_EtfDiscountNumDays": {
     "xbrltype": "integerItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "EtfDiscountNumDays",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ETF Discount, Number of Days"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_EtfPastPerfTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "EtfPastPerfTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ETF Past Performance [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r50"
     ]
    },
    "oef_EtfPremiumDiscountTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "EtfPremiumDiscountTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ETF Premium Discount [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_EtfPremiumNumDays": {
     "xbrltype": "integerItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "EtfPremiumNumDays",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ETF Premium, Number of Days"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_EtfPurchaseExplanationTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "EtfPurchaseExplanationTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ETF Purchase Explanation [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r49"
     ]
    },
    "oef_ExpenseRatioPct": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "ExpenseRatioPct",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Ratio, Percent"
       }
      }
     },
     "auth_ref": [
      "r33"
     ]
    },
    "oef_ExpensesExclExtraordinaryExpensesPct": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "ExpensesExclExtraordinaryExpensesPct",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses Excluding Extraordinary Expenses, Percent"
       }
      }
     },
     "auth_ref": [
      "r36"
     ]
    },
    "oef_ExpensesPaidAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "ExpensesPaidAmt",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses Paid, Amount"
       }
      }
     },
     "auth_ref": [
      "r32"
     ]
    },
    "oef_ExpensesRepresentBothMasterAndFeeder": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "ExpensesRepresentBothMasterAndFeeder",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses Represent Both Master and Feeder [Text]"
       }
      }
     },
     "auth_ref": [
      "r34",
      "r64"
     ]
    },
    "oef_ExpensesShortPeriodFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "ExpensesShortPeriodFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses Short Period Footnote [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r35"
     ]
    },
    "oef_ExpensesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "ExpensesTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "oef_ExposureBasisExplanationTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "ExposureBasisExplanationTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exposure Basis Explanation [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_ExtraordinaryExpensesFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "ExtraordinaryExpensesFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Extraordinary Expenses Footnote [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r36"
     ]
    },
    "oef_FactorsAffectingPerfTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "FactorsAffectingPerfTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Factors Affecting Performance [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r37"
     ]
    },
    "gsam_FinancialsSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "FinancialsSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financials"
       }
      }
     },
     "auth_ref": []
    },
    "oef_FundName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "FundName",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fund Name"
       }
      }
     },
     "auth_ref": [
      "r26"
     ]
    },
    "oef_GeographicRegionAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "GeographicRegionAxis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Geographic Region [Axis]"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_GeographicRegionDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "GeographicRegionDomain",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Geographic Region [Domain]"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "us-gaap_HealthcareSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2026",
     "localname": "HealthcareSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Health Care",
        "documentation": "Sector of the economy consisting of companies engaged in healthcare-related business activities."
       }
      }
     },
     "auth_ref": [
      "r19",
      "r20",
      "r21",
      "r22",
      "r69",
      "r70",
      "r71",
      "r72"
     ]
    },
    "oef_HoldingsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "HoldingsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Holdings [Abstract]"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_HoldingsCount": {
     "xbrltype": "integerItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "HoldingsCount",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Holdings Count"
       }
      }
     },
     "auth_ref": [
      "r51"
     ]
    },
    "oef_HoldingsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "HoldingsLineItems",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Holdings [Line Items]"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_HoldingsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "HoldingsTable",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Holdings [Table]"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_HoldingsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "HoldingsTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Holdings [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_InabilityToMeetDistLevelTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "InabilityToMeetDistLevelTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Inability to Meet Distribution Level [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r47"
     ]
    },
    "gsam_IndustrialsSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "IndustrialsSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Industrials"
       }
      }
     },
     "auth_ref": []
    },
    "oef_IndustrySectorAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "IndustrySectorAxis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Industry Sector [Axis]"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_IndustrySectorDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "IndustrySectorDomain",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Industry Sector [Domain]"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_InformationTechnologySectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "InformationTechnologySectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Information Technology Sector [Member]",
        "terseLabel": "Information Technology"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "us-gaap_InvestmentCompanyPortfolioTurnover": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2026",
     "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": [
      "r68"
     ]
    },
    "us-gaap_InvestmentTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2026",
     "localname": "InvestmentTypeAxis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of investments."
       }
      }
     },
     "auth_ref": [
      "r2",
      "r3",
      "r4",
      "r5",
      "r6",
      "r7",
      "r8",
      "r9",
      "r10",
      "r11",
      "r12",
      "r13",
      "r14",
      "r15",
      "r16",
      "r17",
      "r22"
     ]
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2026",
     "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": [
      "r2",
      "r3",
      "r4",
      "r5",
      "r6",
      "r7",
      "r8",
      "r9",
      "r10",
      "r11",
      "r12",
      "r13",
      "r14",
      "r15",
      "r16",
      "r17",
      "r22"
     ]
    },
    "oef_LargestHoldingAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "LargestHoldingAxis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Largest Holding [Axis]"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_LargestHoldingsDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "LargestHoldingsDomain",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Largest Holdings [Domain]"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_LargestHoldingsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "LargestHoldingsTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Largest Holdings [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "dei_LegalEntityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2026",
     "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/2026",
     "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": [
      "r39"
     ]
    },
    "oef_LineGraphTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "LineGraphTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Line Graph [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r38"
     ]
    },
    "oef_MaterialChngDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "MaterialChngDate",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Change Date"
       }
      }
     },
     "auth_ref": [
      "r43"
     ]
    },
    "oef_MaterialChngDescriptionTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "MaterialChngDescriptionTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Change Description [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r43"
     ]
    },
    "oef_MaterialFundChngAdviserTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "MaterialFundChngAdviserTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Fund Change Adviser [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r60"
     ]
    },
    "oef_MaterialFundChngExpensesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "MaterialFundChngExpensesTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Fund Change Expenses [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r57"
     ]
    },
    "oef_MaterialFundChngNameTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "MaterialFundChngNameTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Fund Change Name [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r55"
     ]
    },
    "oef_MaterialFundChngNoticeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "MaterialFundChngNoticeTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Fund Change Notice [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r29"
     ]
    },
    "oef_MaterialFundChngObjectivesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "MaterialFundChngObjectivesTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Fund Change Objectives [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r56"
     ]
    },
    "oef_MaterialFundChngRisksChngTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "MaterialFundChngRisksChngTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Fund Change Risks Change [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r59"
     ]
    },
    "oef_MaterialFundChngStrategiesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "MaterialFundChngStrategiesTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Fund Change Strategies [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r58"
     ]
    },
    "oef_MaterialFundChngTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "MaterialFundChngTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Fund Change [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r54"
     ]
    },
    "oef_MaterialsSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "MaterialsSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Materials Sector [Member]",
        "terseLabel": "Materials"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_MaturityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "MaturityAxis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maturity [Axis]"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_MaturityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "MaturityDomain",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maturity [Domain]"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_NoDeductionOfTaxesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "NoDeductionOfTaxesTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Deduction of Taxes [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r40"
     ]
    },
    "dei_NoTradingSymbolFlag": {
     "xbrltype": "trueItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2026",
     "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/2026",
     "localname": "OtherCategory1Axis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Category 1 [Axis]"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_OtherCategory1Domain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "OtherCategory1Domain",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Category 1 [Domain]"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_OtherCategory2Axis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "OtherCategory2Axis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Category 2 [Axis]"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_OtherCategory2Domain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "OtherCategory2Domain",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Category 2 [Domain]"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "gsam_OtherSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://gsam/20260430",
     "localname": "OtherSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other"
       }
      }
     },
     "auth_ref": []
    },
    "oef_PctOfNav": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "PctOfNav",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Percent of Net Asset Value"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_PctOfNetLongExposure": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "PctOfNetLongExposure",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Percent of Net Long Exposure"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_PctOfNetShortExposure": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "PctOfNetShortExposure",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Percent of Net Short Exposure"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_PctOfTotalInv": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "PctOfTotalInv",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Percent of Total Investments"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_PctOfTotalLongExposure": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "PctOfTotalLongExposure",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Percent of Total Long Exposure"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_PctOfTotalShortExposure": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "PctOfTotalShortExposure",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Percent of Total Short Exposure"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_PerfInceptionDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "PerfInceptionDate",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Inception Date"
       }
      }
     },
     "auth_ref": [
      "r39"
     ]
    },
    "oef_PerfTableMarketIndexChngdTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "PerfTableMarketIndexChngdTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Market Index Changed [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r46"
     ]
    },
    "oef_PerformancePastDoesNotIndicateFuture": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "PerformancePastDoesNotIndicateFuture",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Past Does Not Indicate Future [Text]"
       }
      }
     },
     "auth_ref": [
      "r41",
      "r65"
     ]
    },
    "oef_PreviousInvestmentAdviserTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "PreviousInvestmentAdviserTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Previous Investment Adviser [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r42"
     ]
    },
    "oef_PriorMarketIndexComparisonTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "PriorMarketIndexComparisonTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prior Market Index Comparison [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r46"
     ]
    },
    "us-gaap_RealEstateSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2026",
     "localname": "RealEstateSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Real Estate",
        "documentation": "Sector of the economy consisting of companies engaged in real estate business activities."
       }
      }
     },
     "auth_ref": [
      "r18",
      "r19",
      "r69",
      "r70",
      "r71",
      "r72"
     ]
    },
    "oef_SalesLoadAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "SalesLoadAxis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sales Load [Axis]"
       }
      }
     },
     "auth_ref": [
      "r45"
     ]
    },
    "dei_SecurityExchangeName": {
     "xbrltype": "edgarExchangeCodeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2026",
     "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": [
      "r24"
     ]
    },
    "oef_ShareClassDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "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": [
      "r25"
     ]
    },
    "oef_ShareholderReportAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "ShareholderReportAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholder Report [Abstract]"
       }
      }
     },
     "auth_ref": [
      "r45"
     ]
    },
    "oef_ShareholderReportAnnualOrSemiAnnual": {
     "xbrltype": "shareholderReportTypeItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "ShareholderReportAnnualOrSemiAnnual",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/NcsrCover",
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholder Report Annual or Semi-Annual"
       }
      }
     },
     "auth_ref": [
      "r27"
     ]
    },
    "oef_ShareholderReportLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "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": [
      "r45"
     ]
    },
    "oef_ShareholderReportTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "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": [
      "r45"
     ]
    },
    "oef_SummaryOfChngLegendTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "SummaryOfChngLegendTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Summary of Change Legend [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r61"
     ]
    },
    "dei_TradingSymbol": {
     "xbrltype": "tradingSymbolItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2026",
     "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/2026",
     "localname": "UpdPerfInfoLocationTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Updated Performance Information Location [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "oef_UpdProspectusEmailAddress": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "UpdProspectusEmailAddress",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Updated Prospectus Email Address"
       }
      }
     },
     "auth_ref": [
      "r61"
     ]
    },
    "oef_UpdProspectusPhoneNumber": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "UpdProspectusPhoneNumber",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Updated Prospectus Phone Number"
       }
      }
     },
     "auth_ref": [
      "r61"
     ]
    },
    "oef_UpdProspectusWebAddress": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "UpdProspectusWebAddress",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Updated Prospectus Web Address"
       }
      }
     },
     "auth_ref": [
      "r61"
     ]
    },
    "oef_UtilitiesSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "UtilitiesSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Utilities Sector [Member]",
        "terseLabel": "Utilities"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_WithSalesLoadMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "WithSalesLoadMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "With Sales Load [Member]"
       }
      }
     },
     "auth_ref": [
      "r45"
     ]
    },
    "oef_WithoutSalesLoadMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2026",
     "localname": "WithoutSalesLoadMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Without Sales Load [Member]"
       }
      }
     },
     "auth_ref": [
      "r45"
     ]
    }
   }
  }
 },
 "std_ref": {
  "r0": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "205",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479938/205-30-45-1"
  },
  "r1": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "205",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479910/205-30-50-1"
  },
  "r2": {
   "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"
  },
  "r3": {
   "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"
  },
  "r4": {
   "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"
  },
  "r5": {
   "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"
  },
  "r6": {
   "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"
  },
  "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 A)(Footnote 1))",
   "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": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r9": {
   "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"
  },
  "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 A)(Footnote 7))",
   "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": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r12": {
   "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"
  },
  "r13": {
   "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"
  },
  "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 A))",
   "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 B))",
   "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 C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-7"
  },
  "r17": {
   "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"
  },
  "r18": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-12"
  },
  "r19": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "100",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-100"
  },
  "r20": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "101",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-101"
  },
  "r21": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "103",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-103"
  },
  "r22": {
   "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"
  },
  "r23": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r24": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r25": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "1",
   "Subsection": "a",
   "Paragraph": "1"
  },
  "r26": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "b",
   "Paragraph": "1"
  },
  "r27": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "b",
   "Paragraph": "3"
  },
  "r28": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "b",
   "Paragraph": "4"
  },
  "r29": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "b",
   "Paragraph": "5"
  },
  "r30": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "b",
   "Paragraph": "instruction",
   "Subparagraph": "2"
  },
  "r31": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "c"
  },
  "r32": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "c",
   "Paragraph": "ii"
  },
  "r33": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "c",
   "Paragraph": "iii"
  },
  "r34": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "c",
   "Paragraph": "instruction",
   "Sentence": "1",
   "Clause": "b"
  },
  "r35": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "c",
   "Paragraph": "instruction",
   "Subparagraph": "1",
   "Clause": "c"
  },
  "r36": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "c",
   "Paragraph": "instruction",
   "Subparagraph": "1",
   "Clause": "d"
  },
  "r37": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "1"
  },
  "r38": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2"
  },
  "r39": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2",
   "Subparagraph": "i"
  },
  "r40": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Clause": "B"
  },
  "r41": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2",
   "Subparagraph": "iiii",
   "Clause": "A"
  },
  "r42": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2",
   "Subparagraph": "instruction",
   "Clause": "12"
  },
  "r43": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2",
   "Subparagraph": "instruction",
   "Clause": "14"
  },
  "r44": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2",
   "Subparagraph": "instruction",
   "Clause": "15"
  },
  "r45": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2",
   "Subparagraph": "instruction",
   "Clause": "7"
  },
  "r46": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2",
   "Subparagraph": "instruction",
   "Clause": "8"
  },
  "r47": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "3"
  },
  "r48": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "4"
  },
  "r49": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "4",
   "Subparagraph": "instruction",
   "Clause": "3"
  },
  "r50": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "4",
   "Subparagraph": "instruction",
   "Clause": "4"
  },
  "r51": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "e"
  },
  "r52": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "e",
   "Paragraph": "instruction",
   "Subparagraph": "6"
  },
  "r53": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "f"
  },
  "r54": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "g"
  },
  "r55": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "g",
   "Paragraph": "1"
  },
  "r56": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "g",
   "Paragraph": "2"
  },
  "r57": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "g",
   "Paragraph": "3"
  },
  "r58": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "g",
   "Paragraph": "4"
  },
  "r59": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "g",
   "Paragraph": "5"
  },
  "r60": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "g",
   "Paragraph": "6"
  },
  "r61": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "g",
   "Paragraph": "instruction",
   "Subparagraph": "2"
  },
  "r62": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "h",
   "Paragraph": "1"
  },
  "r63": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "h",
   "Paragraph": "2"
  },
  "r64": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "1",
   "Subparagraph": "d",
   "Sentence": "i"
  },
  "r65": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "i"
  },
  "r66": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "iii"
  },
  "r67": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-T",
   "Number": "232",
   "Section": "313"
  },
  "r68": {
   "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"
  },
  "r69": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r70": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-2"
  },
  "r71": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 1)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r72": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  }
 }
}
