{
 "instance": {
  "gsbd-20220930.htm": {
   "axisCustom": 0,
   "axisStandard": 31,
   "contextCount": 2252,
   "dts": {
    "calculationLink": {
     "local": [
      "gsbd-20220930_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "gsbd-20220930_def.xml"
     ]
    },
    "inline": {
     "local": [
      "gsbd-20220930.htm"
     ]
    },
    "labelLink": {
     "local": [
      "gsbd-20220930_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "gsbd-20220930_pre.xml"
     ]
    },
    "schema": {
     "local": [
      "gsbd-20220930.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/2006/xbrldi-2006.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://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-roles-2022.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-types-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-roles-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-types-2022.xsd",
      "https://xbrl.sec.gov/cef/2022/cef-2022.xsd",
      "https://xbrl.sec.gov/country/2022/country-2022.xsd",
      "https://xbrl.sec.gov/currency/2022/currency-2022.xsd",
      "https://xbrl.sec.gov/dei/2022/dei-2022.xsd",
      "https://xbrl.sec.gov/dei/2022/dei-2022_lab.xsd"
     ]
    }
   },
   "elementCount": 1280,
   "entityCount": 1,
   "hidden": {
    "http://fasb.org/us-gaap/2022": 4,
    "http://xbrl.sec.gov/dei/2022": 4,
    "total": 8
   },
   "keyCustom": 163,
   "keyStandard": 199,
   "memberCustom": 558,
   "memberStandard": 36,
   "nsprefix": "gsbd",
   "nsuri": "http://www.goldmansachsbdc.com/20220930",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "true",
     "longName": "100000 - Document - Document and Entity Information",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
     "shortName": "Document and Entity Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "lang": "en-US",
      "name": "dei:DocumentPeriodEndDate",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100090 - Disclosure - Significant Accounting Policies",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPolicies",
     "shortName": "Significant Accounting Policies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100100 - Disclosure - Significant Agreements and Related Party Transactions",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactions",
     "shortName": "Significant Agreements and Related Party Transactions",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100110 - Disclosure - Investments",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestments",
     "shortName": "Investments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100120 - Disclosure - Fair Value Measurement",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurement",
     "shortName": "Fair Value Measurement",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100130 - Disclosure - Debt",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebt",
     "shortName": "Debt",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100140 - Disclosure - Derivatives",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivatives",
     "shortName": "Derivatives",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100150 - Disclosure - Commitments and Contingencies",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingencies",
     "shortName": "Commitments and Contingencies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gsbd:NetAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100160 - Disclosure - Net Assets",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssets",
     "shortName": "Net Assets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gsbd:NetAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100170 - Disclosure - Earnings (Loss) Per Share",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureEarningsLossPerShare",
     "shortName": "Earnings (Loss) Per Share",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100180 - Disclosure - Financial Highlights",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFinancialHighlights",
     "shortName": "Financial Highlights",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6eb31b62-bd1b-409b-b10f-91afc22c56cd",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gsbd:NonControlledAndNonAffiliatedInvestments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100010 - Statement - Consolidated Statements of Assets and Liabilities",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities",
     "shortName": "Consolidated Statements of Assets and Liabilities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6eb31b62-bd1b-409b-b10f-91afc22c56cd",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gsbd:NonControlledAndNonAffiliatedInvestments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100190 - Disclosure - Subsequent Events",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSubsequentEvents",
     "shortName": "Subsequent Events",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100200 - Disclosure - Significant Accounting Policies (Policies)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies",
     "shortName": "Significant Accounting Policies (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RevenueRecognitionPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gsbd:ScheduleOfInterestIncomeTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100210 - Disclosure - Significant Accounting Policies (Tables)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesTables",
     "shortName": "Significant Accounting Policies (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RevenueRecognitionPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gsbd:ScheduleOfInterestIncomeTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfInvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100220 - Disclosure - Significant Agreements and Related Party Transactions (Tables)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsTables",
     "shortName": "Significant Agreements and Related Party Transactions (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfInvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100230 - Disclosure - Investments (Tables)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsTables",
     "shortName": "Investments (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100240 - Disclosure - Fair Value Measurement (Tables)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementTables",
     "shortName": "Fair Value Measurement (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100250 - Disclosure - Debt (Tables)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtTables",
     "shortName": "Debt (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfForeignExchangeContractsStatementOfFinancialPositionTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100260 - Disclosure - Derivatives (Tables)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesTables",
     "shortName": "Derivatives (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfForeignExchangeContractsStatementOfFinancialPositionTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gsbd:ScheduleOfUnfundedCommitmentsByInvestmentTypesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100270 - Disclosure - Commitments and Contingencies (Tables)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesTables",
     "shortName": "Commitments and Contingencies (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gsbd:ScheduleOfUnfundedCommitmentsByInvestmentTypesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "gsbd:NetAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gsbd:IssuanceOfCommonStockTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100280 - Disclosure - Net Assets (Tables)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsTables",
     "shortName": "Net Assets (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "gsbd:NetAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gsbd:IssuanceOfCommonStockTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6eb31b62-bd1b-409b-b10f-91afc22c56cd",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gsbd:NonControlledAndNonAffiliatedInvestmentsAtCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100020 - Statement - Consolidated Statements of Assets and Liabilities (Parenthetical)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical",
     "shortName": "Consolidated Statements of Assets and Liabilities (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6eb31b62-bd1b-409b-b10f-91afc22c56cd",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gsbd:NonControlledAndNonAffiliatedInvestmentsAtCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100290 - Disclosure - Earnings (Loss) Per Share (Tables)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureEarningsLossPerShareTables",
     "shortName": "Earnings (Loss) Per Share (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gsbd:ScheduleOfFinancialHighlightsOfTheCompanyTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100300 - Disclosure - Financial Highlights (Tables)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFinancialHighlightsTables",
     "shortName": "Financial Highlights (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gsbd:ScheduleOfFinancialHighlightsOfTheCompanyTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6eb31b62-bd1b-409b-b10f-91afc22c56cd",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockParOrStatedValuePerShare",
      "reportCount": 1,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100310 - Disclosure - Organization - Additional Information (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureOrganizationAdditionalInformationDetails",
     "shortName": "Organization - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_5c66c807-55ea-4fd0-b4cb-27eb0818ba51",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:CommonStockParOrStatedValuePerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:RevenueRecognitionPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_0ab97bd0-10b0-422e-97f4-a200270dcad3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gsbd:InvestmentIncomePrepaymentPremiums",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100320 - Disclosure - Significant Accounting Policies - Schedule of Interest Income (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfInterestIncomeDetails",
     "shortName": "Significant Accounting Policies - Schedule of Interest Income (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:RevenueRecognitionPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_0ab97bd0-10b0-422e-97f4-a200270dcad3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gsbd:InvestmentIncomePrepaymentPremiums",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:BusinessCombinationsPolicy",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_0ab97bd0-10b0-422e-97f4-a200270dcad3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gsbd:AmortizationIncomeOfPurchaseDiscount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100330 - Disclosure - Significant Accounting Policies - Additional Information (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
     "shortName": "Significant Accounting Policies - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:BusinessCombinationsPolicy",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_0ab97bd0-10b0-422e-97f4-a200270dcad3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gsbd:AmortizationIncomeOfPurchaseDiscount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "gsbd:AnnualManagementFeePercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100340 - Disclosure - Significant Agreements and Related Party Transactions - Additional Information (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails",
     "shortName": "Significant Agreements and Related Party Transactions - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "gsbd:AnnualManagementFeePercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_d45a88f5-0889-4478-859e-6fbff8c4b786",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentsInAndAdvancesToAffiliatesAtFairValue",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100350 - Disclosure - Significant Agreements And Related Party Transactions - Schedule of Affiliated Investments (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsScheduleOfAffiliatedInvestmentsDetails",
     "shortName": "Significant Agreements And Related Party Transactions - Schedule of Affiliated Investments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_7cd89ba7-40c7-4220-9c91-097f95188d61",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InvestmentsInAndAdvancesToAffiliatesAtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6eb31b62-bd1b-409b-b10f-91afc22c56cd",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gsbd:InvestmentOwnedAtCostNetOfCapitalizedDiscount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100360 - Disclosure - Investments - Schedule of Investments Excluding Investments in Money Market Funds (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsExcludingInvestmentsInMoneyMarketFundsDetails",
     "shortName": "Investments - Schedule of Investments Excluding Investments in Money Market Funds (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentTableTextBlock",
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_93ffd6d1-e7cd-4906-b97c-85ce181dd431",
      "decimals": "-3",
      "lang": null,
      "name": "gsbd:InvestmentOwnedAtCostNetOfCapitalizedDiscount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6eb31b62-bd1b-409b-b10f-91afc22c56cd",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "gsbd:PercentageOfInvestmentsAtFairValue",
      "reportCount": 1,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100370 - Disclosure - Investments - Schedule of Investments at Fair Value and Net Assets (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
     "shortName": "Investments - Schedule of Investments at Fair Value and Net Assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_030fa53b-3588-48ca-8332-db9664da4594",
      "decimals": "3",
      "lang": null,
      "name": "gsbd:PercentageOfInvestmentsAtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6eb31b62-bd1b-409b-b10f-91afc22c56cd",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "gsbd:PercentageOfInvestmentsAtFairValue",
      "reportCount": 1,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100380 - Disclosure - Investments - Schedule of Investments at Fair Value and Net Assets (Parenthetical) (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsParentheticalDetails",
     "shortName": "Investments - Schedule of Investments at Fair Value and Net Assets (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "gsbd:PercentageOfInvestmentsAtFairValue",
       "span",
       "div",
       "div",
       "ix:continuation",
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_0e1c8e7b-c30c-401e-9bf2-d1c62d4b469c",
      "decimals": "3",
      "lang": null,
      "name": "us-gaap:InvestmentOwnedPercentOfNetAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_0ab97bd0-10b0-422e-97f4-a200270dcad3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentIncomeNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100030 - Statement - Consolidated Statements of Operations",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations",
     "shortName": "Consolidated Statements of Operations",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_0ab97bd0-10b0-422e-97f4-a200270dcad3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentIncomeNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6eb31b62-bd1b-409b-b10f-91afc22c56cd",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "gsbd:PercentageOfInvestmentsAtFairValue",
      "reportCount": 1,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100390 - Disclosure - Investments - Schedule of Geographic Composition of Investments at Fair Value (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfGeographicCompositionOfInvestmentsAtFairValueDetails",
     "shortName": "Investments - Schedule of Geographic Composition of Investments at Fair Value (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gsbd:ScheduleOfGeographicCompositionOfInvestmentsAtFairValueTableTextBlock",
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_ee70396c-ae28-45d3-ba68-c34f6c89dbcf",
      "decimals": "3",
      "lang": null,
      "name": "gsbd:PercentageOfInvestmentsAtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6eb31b62-bd1b-409b-b10f-91afc22c56cd",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "gsbd:PercentageOfInvestmentsAtFairValue",
      "reportCount": 1,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100400 - Disclosure - Investments - Schedule of Geographic Composition of Investments at Fair Value (Parenthetical) (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureInvestmentsScheduleOfGeographicCompositionOfInvestmentsAtFairValueParentheticalDetails",
     "shortName": "Investments - Schedule of Geographic Composition of Investments at Fair Value (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentTableTextBlock",
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6eb31b62-bd1b-409b-b10f-91afc22c56cd",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100410 - Disclosure - Fair Value Measurement - Summary of Ranges of Significant Unobservable Inputs Used to Value Level 3 Assets (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails",
     "shortName": "Fair Value Measurement - Summary of Ranges of Significant Unobservable Inputs Used to Value Level 3 Assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_991d494e-1631-457c-bf92-f267be01f4a8",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentTableTextBlock",
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6eb31b62-bd1b-409b-b10f-91afc22c56cd",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100420 - Disclosure - Fair Value Measurement - Summary of Ranges of Significant Unobservable Inputs Used to Value Level 3 Assets (Parenthetical) (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsParentheticalDetails",
     "shortName": "Fair Value Measurement - Summary of Ranges of Significant Unobservable Inputs Used to Value Level 3 Assets (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "ix:continuation",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_138b5aa7-11a5-4627-84dd-e0a6ce0e508e",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentTableTextBlock",
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6eb31b62-bd1b-409b-b10f-91afc22c56cd",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100430 - Disclosure - Fair Value Measurement - Summary of Assets Categorized Within Fair Value Hierarchy (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsCategorizedWithinFairValueHierarchyDetails",
     "shortName": "Fair Value Measurement - Summary of Assets Categorized Within Fair Value Hierarchy (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gsbd:SummaryOfBreakdownOfFairValueForEachLevelOfInvestmentsTableTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_ac802145-1085-4865-bb31-2fb3ec8ab02c",
      "decimals": "-3",
      "lang": null,
      "name": "gsbd:UnrealizedAppreciationDepreciationOnForeignCurrencyForwardContract",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gsbd:SummaryOfChangesInFairValueOfAssetsByInvestmentTypeTableTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gsbd:FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedAppreciationDepreciationForAssetsStillHeld",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100440 - Disclosure - Fair Value Measurement - Summary of Changes in Fair Value of Level 3 Assets By Investment Type (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfChangesInFairValueOfLevel3AssetsByInvestmentTypeDetails",
     "shortName": "Fair Value Measurement - Summary of Changes in Fair Value of Level 3 Assets By Investment Type (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gsbd:SummaryOfChangesInFairValueOfAssetsByInvestmentTypeTableTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gsbd:FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedAppreciationDepreciationForAssetsStillHeld",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_73676b99-494d-4ea4-b963-6fdb78301d12",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100450 - Disclosure - Fair Value Measurement - Summary of Debt Obligations Carried at Fair Value (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfDebtObligationsCarriedAtFairValueDetails",
     "shortName": "Fair Value Measurement - Summary of Debt Obligations Carried at Fair Value (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_73676b99-494d-4ea4-b963-6fdb78301d12",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6eb31b62-bd1b-409b-b10f-91afc22c56cd",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LineOfCreditFacilityCurrentBorrowingCapacity",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100460 - Disclosure - Debt - Additional Information (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails",
     "shortName": "Debt - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_f721c26a-cfd8-4af7-800a-b8585ea53412",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:DebtInstrumentInterestRateStatedPercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6eb31b62-bd1b-409b-b10f-91afc22c56cd",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LineOfCreditFacilityCurrentBorrowingCapacity",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100470 - Disclosure - Debt - Schedule of Outstanding Debt (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfOutstandingDebtDetails",
     "shortName": "Debt - Schedule of Outstanding Debt (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6eb31b62-bd1b-409b-b10f-91afc22c56cd",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:LineOfCreditFacilityRemainingBorrowingCapacity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6eb31b62-bd1b-409b-b10f-91afc22c56cd",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LineOfCreditFacilityCurrentBorrowingCapacity",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100480 - Disclosure - Debt - Schedule of Outstanding Debt (Parenthetical) (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfOutstandingDebtParentheticalDetails",
     "shortName": "Debt - Schedule of Outstanding Debt (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "link:footnote",
       "div",
       "div",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_f9b7b08d-bdef-4568-a6ea-49b1126a935b",
      "decimals": "-3",
      "lang": null,
      "name": "gsbd:LineOfCreditFacilityOutstandingAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_f59120db-26ec-4f7b-ae30-b3bb02d23e70",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100040 - Statement - Consolidated Statements of Changes in Net Assets",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets",
     "shortName": "Consolidated Statements of Changes in Net Assets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_f59120db-26ec-4f7b-ae30-b3bb02d23e70",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R50": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfLineOfCreditFacilitiesTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_e420ea46-1285-4bd5-8ea6-8e3a62dd504f",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingInterestExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100490 - Disclosure - Debt - Schedule of Revolving Credit Facility (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfRevolvingCreditFacilityDetails",
     "shortName": "Debt - Schedule of Revolving Credit Facility (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfLineOfCreditFacilitiesTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_e420ea46-1285-4bd5-8ea6-8e3a62dd504f",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingInterestExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6eb31b62-bd1b-409b-b10f-91afc22c56cd",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebt",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100500 - Disclosure - Debt - Components of Carrying Value (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfCarryingValueDetails",
     "shortName": "Debt - Components of Carrying Value (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ConvertibleDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_744713ca-e77d-4cdf-9e4a-46b57f31c272",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InterestIncomeAndInterestExpenseDisclosureTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_bd2c3d49-23f4-4bcd-a5b4-d6bddf6bbba4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestExpenseBorrowings",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100510 - Disclosure - Debt - Components of Interest and Other Debt Expenses (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfInterestAndOtherDebtExpensesDetails",
     "shortName": "Debt - Components of Interest and Other Debt Expenses (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InterestIncomeAndInterestExpenseDisclosureTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_bd2c3d49-23f4-4bcd-a5b4-d6bddf6bbba4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestExpenseBorrowings",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6eb31b62-bd1b-409b-b10f-91afc22c56cd",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebt",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100520 - Disclosure - Debt - Components of Carrying Value of 2025 Notes (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfCarryingValueOf2025NotesDetails",
     "shortName": "Debt - Components of Carrying Value of 2025 Notes (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_9e47e72f-fd4f-4690-9055-395c1d39a5ab",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InterestIncomeAndInterestExpenseDisclosureTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_1cae2eb1-283f-4e67-8cb8-c47ee35cc557",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestExpenseBorrowings",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100530 - Disclosure - Debt - Components of Interest and Other Debt Expenses Related to 2025 Notes (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfInterestAndOtherDebtExpensesRelatedTo2025NotesDetails",
     "shortName": "Debt - Components of Interest and Other Debt Expenses Related to 2025 Notes (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InterestIncomeAndInterestExpenseDisclosureTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_1cae2eb1-283f-4e67-8cb8-c47ee35cc557",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestExpenseBorrowings",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6eb31b62-bd1b-409b-b10f-91afc22c56cd",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebt",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100540 - Disclosure - Debt - Components of Carrying Value of 2026 Notes (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfCarryingValueOf2026NotesDetails",
     "shortName": "Debt - Components of Carrying Value of 2026 Notes (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_ea10f5ec-b60e-4d1a-b0c2-af427af8d61e",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InterestIncomeAndInterestExpenseDisclosureTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_10b63f2f-38e6-4048-8aa4-996e683efffd",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestExpenseBorrowings",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100550 - Disclosure - Debt - Components of Interest and Other Debt Expenses Related to 2026 Notes (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfInterestAndOtherDebtExpensesRelatedTo2026NotesDetails",
     "shortName": "Debt - Components of Interest and Other Debt Expenses Related to 2026 Notes (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InterestIncomeAndInterestExpenseDisclosureTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_10b63f2f-38e6-4048-8aa4-996e683efffd",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestExpenseBorrowings",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R57": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_aa33fac8-d460-48a3-9196-85891d9b1679",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gsbd:ForeignCurrencyForwardContractsAverageNotionalExposure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100560 - Disclosure - Derivatives - Additional Information (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesAdditionalInformationDetails",
     "shortName": "Derivatives - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_aa33fac8-d460-48a3-9196-85891d9b1679",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gsbd:ForeignCurrencyForwardContractsAverageNotionalExposure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R58": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfForeignExchangeContractsStatementOfFinancialPositionTableTextBlock",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_62da6c06-db53-47aa-9244-268c0e2b33c5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeFairValueOfDerivativeAsset",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100570 - Disclosure - Derivatives - Schedule of Foreign Currency Forward Contracts (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesScheduleOfForeignCurrencyForwardContractsDetails",
     "shortName": "Derivatives - Schedule of Foreign Currency Forward Contracts (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfForeignExchangeContractsStatementOfFinancialPositionTableTextBlock",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_62da6c06-db53-47aa-9244-268c0e2b33c5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeFairValueOfDerivativeAsset",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R59": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_07cd12c3-a6e4-4323-84fd-e7f21d66e6b5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ForeignCurrencyTransactionGainLossRealized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100580 - Disclosure - Derivatives - Schedule of Effect of Transactions in Derivative Instruments (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesScheduleOfEffectOfTransactionsInDerivativeInstrumentsDetails",
     "shortName": "Derivatives - Schedule of Effect of Transactions in Derivative Instruments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_07cd12c3-a6e4-4323-84fd-e7f21d66e6b5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ForeignCurrencyTransactionGainLossRealized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100050 - Statement - Consolidated Statements of Cashflows",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows",
     "shortName": "Consolidated Statements of Cashflows",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": "-3",
      "lang": null,
      "name": "gsbd:PaymentsForPurchaseOfInvestmentsOperatingActivities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R60": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6eb31b62-bd1b-409b-b10f-91afc22c56cd",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gsbd:UnfundedCommitmentBalances",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100590 - Disclosure - Commitments and Contingencies - Schedule of Unfunded Commitments by Investment Types (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails",
     "shortName": "Commitments and Contingencies - Schedule of Unfunded Commitments by Investment Types (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6eb31b62-bd1b-409b-b10f-91afc22c56cd",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gsbd:UnfundedCommitmentBalances",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R61": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6eb31b62-bd1b-409b-b10f-91afc22c56cd",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockParOrStatedValuePerShare",
      "reportCount": 1,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100600 - Disclosure - Net Assets - Additional Information (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsAdditionalInformationDetails",
     "shortName": "Net Assets - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "gsbd:NetAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_f5fd00e7-9a0d-4bbc-a0d8-052bda77b218",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:CommonStockParOrStatedValuePerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     }
    },
    "R62": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gsbd:IssuanceOfCommonStockTableTextBlock",
       "div",
       "gsbd:NetAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_0ab97bd0-10b0-422e-97f4-a200270dcad3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProceedsFromIssuanceOfCommonStock",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100610 - Disclosure - Net Assets - Schedule of Issuance of Common Stock (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsScheduleOfIssuanceOfCommonStockDetails",
     "shortName": "Net Assets - Schedule of Issuance of Common Stock (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gsbd:IssuanceOfCommonStockTableTextBlock",
       "div",
       "gsbd:NetAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_0ab97bd0-10b0-422e-97f4-a200270dcad3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProceedsFromIssuanceOfCommonStock",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R63": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "gsbd:NetAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_cb076ac9-f90e-4a0e-a97d-0197c9c1ba56",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DistributionMadeToLimitedLiabilityCompanyLLCMemberDeclarationDate",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100620 - Disclosure - Net Assets - Schedule of Distributions Declared on Common Stock (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsScheduleOfDistributionsDeclaredOnCommonStockDetails",
     "shortName": "Net Assets - Schedule of Distributions Declared on Common Stock (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "gsbd:NetAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_cb076ac9-f90e-4a0e-a97d-0197c9c1ba56",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DistributionMadeToLimitedLiabilityCompanyLLCMemberDeclarationDate",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R64": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "link:footnote",
       "p",
       "ix:continuation",
       "div",
       "gsbd:NetAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_8b2d0460-443c-4b1a-a541-82ae997d8f44",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "gsbd:CapitalGainDistributionAmountPerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100630 - Disclosure - Net Assets - Schedule of Distributions Declared on Common Stock (Parenthetical) (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureNetAssetsScheduleOfDistributionsDeclaredOnCommonStockParentheticalDetails",
     "shortName": "Net Assets - Schedule of Distributions Declared on Common Stock (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "link:footnote",
       "p",
       "ix:continuation",
       "div",
       "gsbd:NetAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_8b2d0460-443c-4b1a-a541-82ae997d8f44",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "gsbd:CapitalGainDistributionAmountPerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     }
    },
    "R65": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
       "div",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_0ab97bd0-10b0-422e-97f4-a200270dcad3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gsbd:NetIncreaseDecreaseInNetAssetsFromOperations",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100640 - Disclosure - Earnings (Loss) Per Share - Schedule of Basic and Diluted Earning Per Unit (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureEarningsLossPerShareScheduleOfBasicAndDilutedEarningPerUnitDetails",
     "shortName": "Earnings (Loss) Per Share - Schedule of Basic and Diluted Earning Per Unit (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
       "div",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_0ab97bd0-10b0-422e-97f4-a200270dcad3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gsbd:NetIncreaseDecreaseInNetAssetsFromOperations",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R66": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_d45a88f5-0889-4478-859e-6fbff8c4b786",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetAssetValuePerShare",
      "reportCount": 1,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100660 - Disclosure - Financial Highlights - Schedule of Financial Highlights of the Company (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails",
     "shortName": "Financial Highlights - Schedule of Financial Highlights of the Company (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gsbd:ScheduleOfFinancialHighlightsOfTheCompanyTableTextBlock",
       "div",
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_7cd89ba7-40c7-4220-9c91-097f95188d61",
      "decimals": "2",
      "lang": null,
      "name": "us-gaap:NetAssetValuePerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     }
    },
    "R67": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:SubsequentEventsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_17e22fed-9c59-41a9-bca8-da25bf30c4ba",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DividendsPayableDateDeclaredDayMonthAndYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100670 - Disclosure - Subsequent Events - Additional Information (Details)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSubsequentEventsAdditionalInformationDetails",
     "shortName": "Subsequent Events - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:SubsequentEventsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_17e22fed-9c59-41a9-bca8-da25bf30c4ba",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DividendsPayableDateDeclaredDayMonthAndYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R68": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:EntityFileNumber",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995470 - Disclosure - N-2",
     "role": "http://xbrl.sec.gov/cef/role/N2",
     "shortName": "N-2",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "lang": "en-US",
      "name": "cef:InvestmentObjectivesAndPracticesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6eb31b62-bd1b-409b-b10f-91afc22c56cd",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gsbd:InvestmentOwnedAtCostNetOfCapitalizedDiscount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100060 - Statement - Consolidated Schedule of Investments",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments",
     "shortName": "Consolidated Schedule of Investments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6eb31b62-bd1b-409b-b10f-91afc22c56cd",
      "decimals": "-3",
      "lang": null,
      "name": "gsbd:InvestmentOwnedAtFairValueNetOfCapitalizedDiscount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6eb31b62-bd1b-409b-b10f-91afc22c56cd",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedPercentOfNetAssets",
      "reportCount": 1,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100070 - Statement - Consolidated Schedule of Investments (Parenthetical)",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical",
     "shortName": "Consolidated Schedule of Investments (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "link:footnote",
       "p",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "lang": "en-US",
      "name": "gsbd:InvestmentInterestRateDescription",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100080 - Disclosure - Organization",
     "role": "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureOrganization",
     "shortName": "Organization",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gsbd-20220930.htm",
      "contextRef": "C_6a9be6a7-5819-45b7-8ff1-9a29cd1521e9",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 617,
   "tag": {
    "cef_AcquiredFundFeesAndExpensesNoteTextBlock": {
     "auth_ref": [
      "r558"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Fees and Expenses, Note [Text Block]"
       }
      }
     },
     "localname": "AcquiredFundFeesAndExpensesNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_AcquiredFundFeesAndExpensesPercent": {
     "auth_ref": [
      "r559"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Fees and Expenses [Percent]"
       }
      }
     },
     "localname": "AcquiredFundFeesAndExpensesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_AcquiredFundFeesEstimatedNoteTextBlock": {
     "auth_ref": [
      "r560"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Fees Estimated, Note [Text Block]"
       }
      }
     },
     "localname": "AcquiredFundFeesEstimatedNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_AcquiredFundIncentiveAllocationNoteTextBlock": {
     "auth_ref": [
      "r561"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Incentive Allocation, Note [Text Block]"
       }
      }
     },
     "localname": "AcquiredFundIncentiveAllocationNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_AcquiredFundTotalAnnualExpensesNoteTextBlock": {
     "auth_ref": [
      "r562"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Total Annual Expenses, Note [Text Block]"
       }
      }
     },
     "localname": "AcquiredFundTotalAnnualExpensesNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_AllRisksMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Risks:"
       }
      }
     },
     "localname": "AllRisksMember",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "cef_AllSecuritiesMember": {
     "auth_ref": [
      "r531"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Securities:"
       }
      }
     },
     "localname": "AllSecuritiesMember",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "cef_AnnualCoverageReturnRatePercent": {
     "auth_ref": [
      "r588"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Coverage Return Rate [Percent]"
       }
      }
     },
     "localname": "AnnualCoverageReturnRatePercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_AnnualDividendPayment": {
     "auth_ref": [
      "r587"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Dividend Payment"
       }
      }
     },
     "localname": "AnnualDividendPayment",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_AnnualDividendPaymentCurrent": {
     "auth_ref": [
      "r587"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Dividend Payment, Current"
       }
      }
     },
     "localname": "AnnualDividendPaymentCurrent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_AnnualDividendPaymentInitial": {
     "auth_ref": [
      "r587"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Dividend Payment, Initial"
       }
      }
     },
     "localname": "AnnualDividendPaymentInitial",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_AnnualExpensesTableTextBlock": {
     "auth_ref": [
      "r566"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Expenses [Table Text Block]"
       }
      }
     },
     "localname": "AnnualExpensesTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_AnnualInterestRateCurrentPercent": {
     "auth_ref": [
      "r587"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Interest Rate, Current [Percent]"
       }
      }
     },
     "localname": "AnnualInterestRateCurrentPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_AnnualInterestRateInitialPercent": {
     "auth_ref": [
      "r587"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Interest Rate, Initial [Percent]"
       }
      }
     },
     "localname": "AnnualInterestRateInitialPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_AnnualInterestRatePercent": {
     "auth_ref": [
      "r587"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Interest Rate [Percent]"
       }
      }
     },
     "localname": "AnnualInterestRatePercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_BasisOfTransactionFeesNoteTextBlock": {
     "auth_ref": [
      "r564"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Basis of Transaction Fees, Note [Text Block]"
       }
      }
     },
     "localname": "BasisOfTransactionFeesNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_BdcFileNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "BDC File Number"
       }
      }
     },
     "localname": "BdcFileNumber",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "cef_BusinessDevelopmentCompanyFlag": {
     "auth_ref": [
      "r531"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Development Company [Flag]"
       }
      }
     },
     "localname": "BusinessDevelopmentCompanyFlag",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "cef_CapitalStockLongTermDebtAndOtherSecuritiesAbstract": {
     "auth_ref": [
      "r532"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital Stock, Long-Term Debt, and Other Securities [Abstract]"
       }
      }
     },
     "localname": "CapitalStockLongTermDebtAndOtherSecuritiesAbstract",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_CapitalStockTableTextBlock": {
     "auth_ref": [
      "r533"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital Stock [Table Text Block]"
       }
      }
     },
     "localname": "CapitalStockTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_DistributionServicingFeesPercent": {
     "auth_ref": [
      "r570"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Distribution/Servicing Fees [Percent]"
       }
      }
     },
     "localname": "DistributionServicingFeesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_DistributionsMayReducePrincipalTextBlock": {
     "auth_ref": [
      "r540"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Distributions May Reduce Principal [Text Block]"
       }
      }
     },
     "localname": "DistributionsMayReducePrincipalTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_DividendAndInterestExpensesOnShortSalesPercent": {
     "auth_ref": [
      "r570"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend and Interest Expenses on Short Sales [Percent]"
       }
      }
     },
     "localname": "DividendAndInterestExpensesOnShortSalesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_DividendExpenseOnPreferredSharesPercent": {
     "auth_ref": [
      "r570"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend Expenses on Preferred Shares [Percent]"
       }
      }
     },
     "localname": "DividendExpenseOnPreferredSharesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_DividendReinvestmentAndCashPurchaseFees": {
     "auth_ref": [
      "r556"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend Reinvestment and Cash Purchase Fees"
       }
      }
     },
     "localname": "DividendReinvestmentAndCashPurchaseFees",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_EffectsOfLeveragePurposeTextBlock": {
     "auth_ref": [
      "r589"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effects of Leverage, Purpose [Text Block]"
       }
      }
     },
     "localname": "EffectsOfLeveragePurposeTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_EffectsOfLeverageTableTextBlock": {
     "auth_ref": [
      "r589"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effects of Leverage [Table Text Block]"
       }
      }
     },
     "localname": "EffectsOfLeverageTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_EffectsOfLeverageTextBlock": {
     "auth_ref": [
      "r586"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effects of Leverage [Text Block]"
       }
      }
     },
     "localname": "EffectsOfLeverageTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_ExpenseExampleTableTextBlock": {
     "auth_ref": [
      "r556"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example [Table Text Block]"
       }
      }
     },
     "localname": "ExpenseExampleTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_ExpenseExampleYear01": {
     "auth_ref": [
      "r563"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, Year 01"
       }
      }
     },
     "localname": "ExpenseExampleYear01",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_ExpenseExampleYears1to10": {
     "auth_ref": [
      "r563"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, Years 1 to 10"
       }
      }
     },
     "localname": "ExpenseExampleYears1to10",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_ExpenseExampleYears1to3": {
     "auth_ref": [
      "r563"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, Years 1 to 3"
       }
      }
     },
     "localname": "ExpenseExampleYears1to3",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_ExpenseExampleYears1to5": {
     "auth_ref": [
      "r563"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, Years 1 to 5"
       }
      }
     },
     "localname": "ExpenseExampleYears1to5",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_FeeTableAbstract": {
     "auth_ref": [
      "r556"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fee Table [Abstract]"
       }
      }
     },
     "localname": "FeeTableAbstract",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_FinancialHighlightsAbstract": {
     "auth_ref": [
      "r571"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Highlights [Abstract]"
       }
      }
     },
     "localname": "FinancialHighlightsAbstract",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_GeneralDescriptionOfRegistrantAbstract": {
     "auth_ref": [
      "r583"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "General Description of Registrant [Abstract]"
       }
      }
     },
     "localname": "GeneralDescriptionOfRegistrantAbstract",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_HighestPriceOrBid": {
     "auth_ref": [
      "r590"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Price or Bid"
       }
      }
     },
     "localname": "HighestPriceOrBid",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_HighestPriceOrBidNav": {
     "auth_ref": [
      "r594"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Price or Bid, NAV"
       }
      }
     },
     "localname": "HighestPriceOrBidNav",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_HighestPriceOrBidPremiumDiscountToNavPercent": {
     "auth_ref": [
      "r595"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Price or Bid, Premium (Discount) to NAV [Percent]"
       }
      }
     },
     "localname": "HighestPriceOrBidPremiumDiscountToNavPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_IncentiveAllocationMaximumPercent": {
     "auth_ref": [
      "r561"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Incentive Allocation Maximum [Percent]"
       }
      }
     },
     "localname": "IncentiveAllocationMaximumPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_IncentiveAllocationMinimumPercent": {
     "auth_ref": [
      "r561"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Incentive Allocation Minimum [Percent]"
       }
      }
     },
     "localname": "IncentiveAllocationMinimumPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_IncentiveAllocationPercent": {
     "auth_ref": [
      "r561"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Incentive Allocation [Percent]"
       }
      }
     },
     "localname": "IncentiveAllocationPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_IncentiveFeesPercent": {
     "auth_ref": [
      "r570"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Incentive Fees [Percent]"
       }
      }
     },
     "localname": "IncentiveFeesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_InterestExpensesOnBorrowingsPercent": {
     "auth_ref": [
      "r569"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Expenses on Borrowings [Percent]"
       }
      }
     },
     "localname": "InterestExpensesOnBorrowingsPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_IntervalFundFlag": {
     "auth_ref": [
      "r531"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interval Fund [Flag]"
       }
      }
     },
     "localname": "IntervalFundFlag",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "cef_InvestmentObjectivesAndPracticesTextBlock": {
     "auth_ref": [
      "r584"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Objectives and Practices [Text Block]"
       }
      }
     },
     "localname": "InvestmentObjectivesAndPracticesTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LatestNav": {
     "auth_ref": [
      "r596"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Latest NAV"
       }
      }
     },
     "localname": "LatestNav",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_LatestPremiumDiscountToNavPercent": {
     "auth_ref": [
      "r596"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Latest Premium (Discount) to NAV [Percent]"
       }
      }
     },
     "localname": "LatestPremiumDiscountToNavPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_LatestSharePrice": {
     "auth_ref": [
      "r596"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Latest Share Price"
       }
      }
     },
     "localname": "LatestSharePrice",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_LoanServicingFeesPercent": {
     "auth_ref": [
      "r570"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loan Servicing Fees [Percent]"
       }
      }
     },
     "localname": "LoanServicingFeesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_LongTermDebtDividendsAndCovenantsTextBlock": {
     "auth_ref": [
      "r547"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Dividends and Covenants [Text Block]"
       }
      }
     },
     "localname": "LongTermDebtDividendsAndCovenantsTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LongTermDebtIssuanceAndSubstitutionTextBlock": {
     "auth_ref": [
      "r548"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Issuance and Substitution [Text Block]"
       }
      }
     },
     "localname": "LongTermDebtIssuanceAndSubstitutionTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LongTermDebtPrincipal": {
     "auth_ref": [
      "r545"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Principal"
       }
      }
     },
     "localname": "LongTermDebtPrincipal",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_LongTermDebtRightsLimitedByOtherSecuritiesTextBlock": {
     "auth_ref": [
      "r549"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Rights Limited by Other Securities [Text Block]"
       }
      }
     },
     "localname": "LongTermDebtRightsLimitedByOtherSecuritiesTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LongTermDebtStructuringTextBlock": {
     "auth_ref": [
      "r546"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Structuring [Text Block]"
       }
      }
     },
     "localname": "LongTermDebtStructuringTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LongTermDebtTableTextBlock": {
     "auth_ref": [
      "r545"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt [Table Text Block]"
       }
      }
     },
     "localname": "LongTermDebtTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LongTermDebtTitleTextBlock": {
     "auth_ref": [
      "r545"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Title [Text Block]"
       }
      }
     },
     "localname": "LongTermDebtTitleTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LowestPriceOrBid": {
     "auth_ref": [
      "r590"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Price or Bid"
       }
      }
     },
     "localname": "LowestPriceOrBid",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_LowestPriceOrBidNav": {
     "auth_ref": [
      "r594"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Price or Bid, NAV"
       }
      }
     },
     "localname": "LowestPriceOrBidNav",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_LowestPriceOrBidPremiumDiscountToNavPercent": {
     "auth_ref": [
      "r595"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Price or Bid, Premium (Discount) to NAV [Percent]"
       }
      }
     },
     "localname": "LowestPriceOrBidPremiumDiscountToNavPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_ManagementFeeNotBasedOnNetAssetsNoteTextBlock": {
     "auth_ref": [
      "r568"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Management Fee not based on Net Assets, Note [Text Block]"
       }
      }
     },
     "localname": "ManagementFeeNotBasedOnNetAssetsNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_ManagementFeesPercent": {
     "auth_ref": [
      "r567"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Management Fees [Percent]"
       }
      }
     },
     "localname": "ManagementFeesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_NetExpenseOverAssetsPercent": {
     "auth_ref": [
      "r570"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Expense over Assets [Percent]"
       }
      }
     },
     "localname": "NetExpenseOverAssetsPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_NewCefOrBdcRegistrantFlag": {
     "auth_ref": [
      "r531"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "New CEF or BDC Registrant [Flag]"
       }
      }
     },
     "localname": "NewCefOrBdcRegistrantFlag",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "cef_NoPublicTradingTextBlock": {
     "auth_ref": [
      "r593"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Public Trading [Text Block]"
       }
      }
     },
     "localname": "NoPublicTradingTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_NoTradingHistoryTextBlock": {
     "auth_ref": [
      "r597"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Trading History [Text Block]"
       }
      }
     },
     "localname": "NoTradingHistoryTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OtherAnnualExpense1Percent": {
     "auth_ref": [
      "r570"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Ae": {
       "order": 1.0,
       "parentTag": "cef_OtherAnnualExpensesPercent",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expense 1 [Percent]"
       }
      }
     },
     "localname": "OtherAnnualExpense1Percent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherAnnualExpense2Percent": {
     "auth_ref": [
      "r570"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Ae": {
       "order": 2.0,
       "parentTag": "cef_OtherAnnualExpensesPercent",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expense 2 [Percent]"
       }
      }
     },
     "localname": "OtherAnnualExpense2Percent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherAnnualExpense3Percent": {
     "auth_ref": [
      "r570"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Ae": {
       "order": 3.0,
       "parentTag": "cef_OtherAnnualExpensesPercent",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expense 3 [Percent]"
       }
      }
     },
     "localname": "OtherAnnualExpense3Percent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherAnnualExpensesAbstract": {
     "auth_ref": [
      "r570"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expenses [Abstract]"
       }
      }
     },
     "localname": "OtherAnnualExpensesAbstract",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_OtherAnnualExpensesPercent": {
     "auth_ref": [
      "r570"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Ae": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expenses [Percent]"
       }
      }
     },
     "localname": "OtherAnnualExpensesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherExpensesNoteTextBlock": {
     "auth_ref": [
      "r566"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Expenses, Note [Text Block]"
       }
      }
     },
     "localname": "OtherExpensesNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OtherFeederFundExpensesPercent": {
     "auth_ref": [
      "r570"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Feeder Fund Expenses [Percent]"
       }
      }
     },
     "localname": "OtherFeederFundExpensesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherMasterFundExpensesPercent": {
     "auth_ref": [
      "r570"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Master Fund Expenses [Percent]"
       }
      }
     },
     "localname": "OtherMasterFundExpensesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherSecuritiesTableTextBlock": {
     "auth_ref": [
      "r550"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Securities [Table Text Block]"
       }
      }
     },
     "localname": "OtherSecuritiesTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OtherSecurityDescriptionTextBlock": {
     "auth_ref": [
      "r550"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Security, Description [Text Block]"
       }
      }
     },
     "localname": "OtherSecurityDescriptionTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OtherSecurityTitleTextBlock": {
     "auth_ref": [
      "r550"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Security, Title [Text Block]"
       }
      }
     },
     "localname": "OtherSecurityTitleTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OtherTransactionExpense1Percent": {
     "auth_ref": [
      "r565"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Te": {
       "order": 1.0,
       "parentTag": "cef_OtherTransactionExpensesPercent",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expense 1 [Percent]"
       }
      }
     },
     "localname": "OtherTransactionExpense1Percent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherTransactionExpense2Percent": {
     "auth_ref": [
      "r565"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Te": {
       "order": 2.0,
       "parentTag": "cef_OtherTransactionExpensesPercent",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expense 2 [Percent]"
       }
      }
     },
     "localname": "OtherTransactionExpense2Percent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherTransactionExpense3Percent": {
     "auth_ref": [
      "r565"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Te": {
       "order": 3.0,
       "parentTag": "cef_OtherTransactionExpensesPercent",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expense 3 [Percent]"
       }
      }
     },
     "localname": "OtherTransactionExpense3Percent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherTransactionExpensesAbstract": {
     "auth_ref": [
      "r565"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expenses [Abstract]"
       }
      }
     },
     "localname": "OtherTransactionExpensesAbstract",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_OtherTransactionExpensesPercent": {
     "auth_ref": [
      "r565"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Te": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expenses [Percent]"
       }
      }
     },
     "localname": "OtherTransactionExpensesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherTransactionFeesBasisMaximum": {
     "auth_ref": [
      "r565"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Fees Basis, Maximum"
       }
      }
     },
     "localname": "OtherTransactionFeesBasisMaximum",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_OtherTransactionFeesBasisMaximumPercent": {
     "auth_ref": [
      "r565"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Fees Basis, Maximum [Percent]"
       }
      }
     },
     "localname": "OtherTransactionFeesBasisMaximumPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherTransactionFeesBasisNoteTextBlock": {
     "auth_ref": [
      "r565"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Fees Basis, Note [Text Block]"
       }
      }
     },
     "localname": "OtherTransactionFeesBasisNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OtherTransactionFeesNoteTextBlock": {
     "auth_ref": [
      "r565"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Fees, Note [Text Block]"
       }
      }
     },
     "localname": "OtherTransactionFeesNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OutstandingSecuritiesTableTextBlock": {
     "auth_ref": [
      "r551"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Securities [Table Text Block]"
       }
      }
     },
     "localname": "OutstandingSecuritiesTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OutstandingSecurityAuthorizedShares": {
     "auth_ref": [
      "r553"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Security, Authorized [Shares]"
       }
      }
     },
     "localname": "OutstandingSecurityAuthorizedShares",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "sharesItemType"
    },
    "cef_OutstandingSecurityHeldShares": {
     "auth_ref": [
      "r554"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Security, Held [Shares]"
       }
      }
     },
     "localname": "OutstandingSecurityHeldShares",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "sharesItemType"
    },
    "cef_OutstandingSecurityNotHeldShares": {
     "auth_ref": [
      "r555"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Security, Not Held [Shares]"
       }
      }
     },
     "localname": "OutstandingSecurityNotHeldShares",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "sharesItemType"
    },
    "cef_OutstandingSecurityTitleTextBlock": {
     "auth_ref": [
      "r552"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Security, Title [Text Block]"
       }
      }
     },
     "localname": "OutstandingSecurityTitleTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_PreferredStockRestrictionsArrearageTextBlock": {
     "auth_ref": [
      "r541"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred Stock Restrictions, Arrearage [Text Block]"
       }
      }
     },
     "localname": "PreferredStockRestrictionsArrearageTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_PreferredStockRestrictionsOtherTextBlock": {
     "auth_ref": [
      "r542"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred Stock Restrictions, Other [Text Block]"
       }
      }
     },
     "localname": "PreferredStockRestrictionsOtherTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_PrimaryShelfFlag": {
     "auth_ref": [
      "r531"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Primary Shelf [Flag]"
       }
      }
     },
     "localname": "PrimaryShelfFlag",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "cef_PrimaryShelfQualifiedFlag": {
     "auth_ref": [
      "r531"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Primary Shelf Qualified [Flag]"
       }
      }
     },
     "localname": "PrimaryShelfQualifiedFlag",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "cef_ProspectusLineItems": {
     "auth_ref": [
      "r531"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prospectus [Line Items]"
       }
      }
     },
     "localname": "ProspectusLineItems",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "xbrltype": "stringItemType"
    },
    "cef_ProspectusTable": {
     "auth_ref": [
      "r531"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prospectus:"
       }
      }
     },
     "localname": "ProspectusTable",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_PurposeOfFeeTableNoteTextBlock": {
     "auth_ref": [
      "r557"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Purpose of Fee Table , Note [Text Block]"
       }
      }
     },
     "localname": "PurposeOfFeeTableNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_RegisteredClosedEndFundFlag": {
     "auth_ref": [
      "r531"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Registered Closed-End Fund [Flag]"
       }
      }
     },
     "localname": "RegisteredClosedEndFundFlag",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "cef_ReturnAtMinusFivePercent": {
     "auth_ref": [
      "r589"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Minus Five [Percent]"
       }
      }
     },
     "localname": "ReturnAtMinusFivePercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_ReturnAtMinusTenPercent": {
     "auth_ref": [
      "r589"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Minus Ten [Percent]"
       }
      }
     },
     "localname": "ReturnAtMinusTenPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_ReturnAtPlusFivePercent": {
     "auth_ref": [
      "r589"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Plus Five [Percent]"
       }
      }
     },
     "localname": "ReturnAtPlusFivePercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_ReturnAtPlusTenPercent": {
     "auth_ref": [
      "r589"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Plus Ten [Percent]"
       }
      }
     },
     "localname": "ReturnAtPlusTenPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_ReturnAtZeroPercent": {
     "auth_ref": [
      "r589"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Zero [Percent]"
       }
      }
     },
     "localname": "ReturnAtZeroPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_RightsLimitedByOtherSecuritiesTextBlock": {
     "auth_ref": [
      "r544"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Rights Limited by Other Securities [Text Block]"
       }
      }
     },
     "localname": "RightsLimitedByOtherSecuritiesTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_RightsSubjectToOtherThanMajorityVoteTextBlock": {
     "auth_ref": [
      "r543"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Rights Subject to Other than Majority Vote [Text Block]"
       }
      }
     },
     "localname": "RightsSubjectToOtherThanMajorityVoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_RiskAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk [Axis]"
       }
      }
     },
     "localname": "RiskAxis",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_RiskFactorsTableTextBlock": {
     "auth_ref": [
      "r585"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Factors [Table Text Block]"
       }
      }
     },
     "localname": "RiskFactorsTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_RiskTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk [Text Block]"
       }
      }
     },
     "localname": "RiskTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SalesLoadPercent": {
     "auth_ref": [
      "r556"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sales Load [Percent]"
       }
      }
     },
     "localname": "SalesLoadPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_SecurityAxis": {
     "auth_ref": [
      "r531"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security [Axis]"
       }
      }
     },
     "localname": "SecurityAxis",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_SecurityDividendsTextBlock": {
     "auth_ref": [
      "r534"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Dividends [Text Block]"
       }
      }
     },
     "localname": "SecurityDividendsTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SecurityLiabilitiesTextBlock": {
     "auth_ref": [
      "r537"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Liabilities [Text Block]"
       }
      }
     },
     "localname": "SecurityLiabilitiesTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SecurityLiquidationRightsTextBlock": {
     "auth_ref": [
      "r536"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Liquidation Rights [Text Block]"
       }
      }
     },
     "localname": "SecurityLiquidationRightsTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SecurityObligationsOfOwnershipTextBlock": {
     "auth_ref": [
      "r539"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Obligations of Ownership [Text Block]"
       }
      }
     },
     "localname": "SecurityObligationsOfOwnershipTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SecurityPreemptiveAndOtherRightsTextBlock": {
     "auth_ref": [
      "r538"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Preemptive and Other Rights [Text Block]"
       }
      }
     },
     "localname": "SecurityPreemptiveAndOtherRightsTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SecurityTitleTextBlock": {
     "auth_ref": [
      "r533"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Title [Text Block]"
       }
      }
     },
     "localname": "SecurityTitleTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SecurityVotingRightsTextBlock": {
     "auth_ref": [
      "r535"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Voting Rights [Text Block]"
       }
      }
     },
     "localname": "SecurityVotingRightsTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SeniorSecuritiesAmount": {
     "auth_ref": [
      "r576"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Amount"
       }
      }
     },
     "localname": "SeniorSecuritiesAmount",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_SeniorSecuritiesAverageMarketValuePerUnit": {
     "auth_ref": [
      "r579"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Average Market Value per Unit"
       }
      }
     },
     "localname": "SeniorSecuritiesAverageMarketValuePerUnit",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_SeniorSecuritiesAveragingMethodNoteTextBlock": {
     "auth_ref": [
      "r581"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Averaging Method, Note [Text Block]"
       }
      }
     },
     "localname": "SeniorSecuritiesAveragingMethodNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SeniorSecuritiesCoveragePerUnit": {
     "auth_ref": [
      "r577"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Coverage per Unit"
       }
      }
     },
     "localname": "SeniorSecuritiesCoveragePerUnit",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_SeniorSecuritiesHeadingsNoteTextBlock": {
     "auth_ref": [
      "r582"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Headings, Note [Text Block]"
       }
      }
     },
     "localname": "SeniorSecuritiesHeadingsNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SeniorSecuritiesHighlightsAnnualizedNoteTextBlock": {
     "auth_ref": [
      "r573",
      "r580"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Highlights Annualized, Note [Text Block]"
       }
      }
     },
     "localname": "SeniorSecuritiesHighlightsAnnualizedNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SeniorSecuritiesHighlightsAuditedNoteTextBlock": {
     "auth_ref": [
      "r574",
      "r580"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Highlights Audited, Note [Text Block]"
       }
      }
     },
     "localname": "SeniorSecuritiesHighlightsAuditedNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SeniorSecuritiesInvoluntaryLiquidatingPreferencePerUnit": {
     "auth_ref": [
      "r578"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Involuntary Liquidating Preference per Unit"
       }
      }
     },
     "localname": "SeniorSecuritiesInvoluntaryLiquidatingPreferencePerUnit",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_SeniorSecuritiesNoteTextBlock": {
     "auth_ref": [
      "r572",
      "r580"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities, Note [Text Block]"
       }
      }
     },
     "localname": "SeniorSecuritiesNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SeniorSecuritiesTableTextBlock": {
     "auth_ref": [
      "r575"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities [Table Text Block]"
       }
      }
     },
     "localname": "SeniorSecuritiesTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SharePriceTableTextBlock": {
     "auth_ref": [
      "r591"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share Price [Table Text Block]"
       }
      }
     },
     "localname": "SharePriceTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SharePricesNotActualTransactionsTextBlock": {
     "auth_ref": [
      "r592"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share Prices Not Actual Transactions [Text Block]"
       }
      }
     },
     "localname": "SharePricesNotActualTransactionsTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_ShareholderTransactionExpensesTableTextBlock": {
     "auth_ref": [
      "r556"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholder Transaction Expenses [Table Text Block]"
       }
      }
     },
     "localname": "ShareholderTransactionExpensesTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_TotalAnnualExpensesPercent": {
     "auth_ref": [
      "r569"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Annual Expenses [Percent]"
       }
      }
     },
     "localname": "TotalAnnualExpensesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_UnderwritersCompensationPercent": {
     "auth_ref": [
      "r565"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Underwriters Compensation [Percent]"
       }
      }
     },
     "localname": "UnderwritersCompensationPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_WaiversAndReimbursementsOfFeesPercent": {
     "auth_ref": [
      "r570"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Waivers and Reimbursements of Fees [Percent]"
       }
      }
     },
     "localname": "WaiversAndReimbursementsOfFeesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_WarrantsOrRightsCalledAmount": {
     "auth_ref": [
      "r550"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants or Rights, Called Amount"
       }
      }
     },
     "localname": "WarrantsOrRightsCalledAmount",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_WarrantsOrRightsCalledPeriodDate": {
     "auth_ref": [
      "r550"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants or Rights, Called Period [Date]"
       }
      }
     },
     "localname": "WarrantsOrRightsCalledPeriodDate",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "dateItemType"
    },
    "cef_WarrantsOrRightsCalledTitleTextBlock": {
     "auth_ref": [
      "r550"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants or Rights, Called Title"
       }
      }
     },
     "localname": "WarrantsOrRightsCalledTitleTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_WarrantsOrRightsExercisePrice": {
     "auth_ref": [
      "r550"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants or Rights, Exercise Price"
       }
      }
     },
     "localname": "WarrantsOrRightsExercisePrice",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "country_CA": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CANADA",
        "terseLabel": "Canada"
       }
      }
     },
     "localname": "CA",
     "nsuri": "http://xbrl.sec.gov/country/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfGeographicCompositionOfInvestmentsAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "country_DE": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "GERMANY",
        "terseLabel": "Germany"
       }
      }
     },
     "localname": "DE",
     "nsuri": "http://xbrl.sec.gov/country/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfGeographicCompositionOfInvestmentsAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "country_GB": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "UNITED KINGDOM",
        "terseLabel": "United Kingdom"
       }
      }
     },
     "localname": "GB",
     "nsuri": "http://xbrl.sec.gov/country/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfGeographicCompositionOfInvestmentsAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "country_SG": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "SINGAPORE",
        "terseLabel": "Singapore"
       }
      }
     },
     "localname": "SG",
     "nsuri": "http://xbrl.sec.gov/country/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfGeographicCompositionOfInvestmentsAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "country_US": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "UNITED STATES",
        "terseLabel": "United States"
       }
      }
     },
     "localname": "US",
     "nsuri": "http://xbrl.sec.gov/country/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfGeographicCompositionOfInvestmentsAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "currency_AllCurrenciesDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Currencies [Domain]",
        "terseLabel": "All Currencies"
       }
      }
     },
     "localname": "AllCurrenciesDomain",
     "nsuri": "http://xbrl.sec.gov/currency/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "currency_EUR": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "E U R",
        "terseLabel": "Euro"
       }
      }
     },
     "localname": "EUR",
     "nsuri": "http://xbrl.sec.gov/currency/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "currency_USD": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "U S D",
        "terseLabel": "U.S. Dollar"
       }
      }
     },
     "localname": "USD",
     "nsuri": "http://xbrl.sec.gov/currency/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_AdditionalSecurities462b": {
     "auth_ref": [
      "r615"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Securities. 462(b)"
       }
      }
     },
     "localname": "AdditionalSecurities462b",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_AdditionalSecurities462bFileNumber": {
     "auth_ref": [
      "r615"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Securities, 462(b), File Number"
       }
      }
     },
     "localname": "AdditionalSecurities462bFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_AdditionalSecuritiesEffective413b": {
     "auth_ref": [
      "r614"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Securities Effective, 413(b)"
       }
      }
     },
     "localname": "AdditionalSecuritiesEffective413b",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_AddressTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An entity may have several addresses for different purposes and this domain represents all such types.",
        "label": "Address Type [Domain]"
       }
      }
     },
     "localname": "AddressTypeDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_AmendmentDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of changes contained within amended document.",
        "label": "Amendment Description"
       }
      }
     },
     "localname": "AmendmentDescription",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_AmendmentFlag": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
        "label": "Amendment Flag",
        "terseLabel": "Flag"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_ApproximateDateOfCommencementOfProposedSaleToThePublic": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The approximate date of a commencement of a proposed sale of securities to the public. This element is disclosed in S-1, S-3, S-4, S-11, F-1, F-3 and F-10 filings.",
        "label": "Approximate Date of Commencement of Proposed Sale to Public"
       }
      }
     },
     "localname": "ApproximateDateOfCommencementOfProposedSaleToThePublic",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "dateOrAsapItemType"
    },
    "dei_BusinessContactMember": {
     "auth_ref": [
      "r528",
      "r529"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business contact for the entity",
        "label": "Business Contact [Member]"
       }
      }
     },
     "localname": "BusinessContactMember",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_CityAreaCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Area code of city",
        "label": "City Area Code",
        "terseLabel": "City Code"
       }
      }
     },
     "localname": "CityAreaCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_ContactPersonnelName": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of contact personnel",
        "label": "Contact Personnel Name"
       }
      }
     },
     "localname": "ContactPersonnelName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_CoverAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cover page.",
        "label": "Cover [Abstract]"
       }
      }
     },
     "localname": "CoverAbstract",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_CurrentFiscalYearEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "End date of current fiscal year in the format --MM-DD.",
        "label": "Current Fiscal Year End Date",
        "terseLabel": "Current Fiscal"
       }
      }
     },
     "localname": "CurrentFiscalYearEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "gMonthDayItemType"
    },
    "dei_DelayedOrContinuousOffering": {
     "auth_ref": [
      "r530",
      "r531",
      "r601"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Delayed or Continuous Offering"
       }
      }
     },
     "localname": "DelayedOrContinuousOffering",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DividendOrInterestReinvestmentPlanOnly": {
     "auth_ref": [
      "r530",
      "r531",
      "r601"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend or Interest Reinvestment Plan Only"
       }
      }
     },
     "localname": "DividendOrInterestReinvestmentPlanOnly",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentFiscalPeriodFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY.",
        "label": "Document Fiscal Period Focus",
        "terseLabel": "Document Fiscal Focus"
       }
      }
     },
     "localname": "DocumentFiscalPeriodFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "fiscalPeriodItemType"
    },
    "dei_DocumentFiscalYearFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This is focus fiscal year of the document report in YYYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006.",
        "label": "Document Fiscal Year Focus",
        "terseLabel": "Document Focus"
       }
      }
     },
     "localname": "DocumentFiscalYearFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "gYearItemType"
    },
    "dei_DocumentPeriodEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Document Period End Date",
        "terseLabel": "Document"
       }
      }
     },
     "localname": "DocumentPeriodEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentQuarterlyReport": {
     "auth_ref": [
      "r527"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as an quarterly report.",
        "label": "Document Quarterly Report",
        "terseLabel": "Document Report"
       }
      }
     },
     "localname": "DocumentQuarterlyReport",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentRegistrationStatement": {
     "auth_ref": [
      "r523"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a registration statement.",
        "label": "Document Registration Statement"
       }
      }
     },
     "localname": "DocumentRegistrationStatement",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r602"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a transition report.",
        "label": "Document Transition Report",
        "terseLabel": "Document Transition"
       }
      }
     },
     "localname": "DocumentTransitionReport",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentType": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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'.",
        "label": "Document Type",
        "terseLabel": "Document"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "dei_EffectiveAfter60Days486a": {
     "auth_ref": [
      "r619"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective after 60 Days, 486(a)"
       }
      }
     },
     "localname": "EffectiveAfter60Days486a",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EffectiveOnDate486a": {
     "auth_ref": [
      "r619"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective on Date, 486(a)"
       }
      }
     },
     "localname": "EffectiveOnDate486a",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_EffectiveOnDate486b": {
     "auth_ref": [
      "r620"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective on Date, 486(b)"
       }
      }
     },
     "localname": "EffectiveOnDate486b",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_EffectiveOnSetDate486a": {
     "auth_ref": [
      "r619"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective on Set Date, 486(a)"
       }
      }
     },
     "localname": "EffectiveOnSetDate486a",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EffectiveOnSetDate486b": {
     "auth_ref": [
      "r620"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective on Set Date, 486(b)"
       }
      }
     },
     "localname": "EffectiveOnSetDate486b",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EffectiveUponFiling462e": {
     "auth_ref": [
      "r618"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective Upon Filing, 462(e)"
       }
      }
     },
     "localname": "EffectiveUponFiling462e",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EffectiveUponFiling486b": {
     "auth_ref": [
      "r620"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective upon Filing, 486(b)"
       }
      }
     },
     "localname": "EffectiveUponFiling486b",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EffectiveWhenDeclaredSection8c": {
     "auth_ref": [
      "r622"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective when Declared, Section 8(c)"
       }
      }
     },
     "localname": "EffectiveWhenDeclaredSection8c",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityAddressAddressLine1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name",
        "label": "Entity Address, Address Line One",
        "terseLabel": "Entity, Address Line"
       }
      }
     },
     "localname": "EntityAddressAddressLine1",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressAddressLine2": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 2 such as Street or Suite number",
        "label": "Entity Address, Address Line Two"
       }
      }
     },
     "localname": "EntityAddressAddressLine2",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressAddressLine3": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 3 such as an Office Park",
        "label": "Entity Address, Address Line Three"
       }
      }
     },
     "localname": "EntityAddressAddressLine3",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCityOrTown": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the City or Town",
        "label": "Entity Address, City or Town",
        "terseLabel": "Entity Address,"
       }
      }
     },
     "localname": "EntityAddressCityOrTown",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressPostalZipCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Code for the postal or zip code",
        "label": "Entity Address, Postal Zip Code",
        "terseLabel": "Entity Address Code"
       }
      }
     },
     "localname": "EntityAddressPostalZipCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressStateOrProvince": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the state or province.",
        "label": "Entity Address, State or Province",
        "terseLabel": "Entity Address, 23"
       }
      }
     },
     "localname": "EntityAddressStateOrProvince",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stateOrProvinceItemType"
    },
    "dei_EntityAddressesAddressTypeAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the domain members or categories in the table and the line items or concepts that complete the table.",
        "label": "Entity Addresses, Address Type [Axis]"
       }
      }
     },
     "localname": "EntityAddressesAddressTypeAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r525"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK.",
        "label": "Entity Central Index Key",
        "terseLabel": "Entity Central Index"
       }
      }
     },
     "localname": "EntityCentralIndexKey",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "centralIndexKeyItemType"
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.",
        "label": "Entity Common Stock, Shares Outstanding",
        "terseLabel": "Entity Common Stock, Shares Outstanding"
       }
      }
     },
     "localname": "EntityCommonStockSharesOutstanding",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "sharesItemType"
    },
    "dei_EntityCurrentReportingStatus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Current Reporting Status",
        "terseLabel": "Entity Current Status"
       }
      }
     },
     "localname": "EntityCurrentReportingStatus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Entity [Domain]",
        "terseLabel": "Entity"
       }
      }
     },
     "localname": "EntityDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsScheduleOfAffiliatedInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r525"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if registrant meets the emerging growth company criteria.",
        "label": "Entity Emerging Growth Company",
        "terseLabel": "Entity Growth Company"
       }
      }
     },
     "localname": "EntityEmergingGrowthCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityExTransitionPeriod": {
     "auth_ref": [
      "r621"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if an emerging growth company has elected not to use the extended transition period for complying with any new or revised financial accounting standards.",
        "label": "Entity Ex Transition Period"
       }
      }
     },
     "localname": "EntityExTransitionPeriod",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityFileNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
        "label": "Securities Act File Number",
        "terseLabel": "Entity Number",
        "verboseLabel": "Entity File Number"
       }
      }
     },
     "localname": "EntityFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r525"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate whether the registrant is one of the following: Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Filer Category",
        "terseLabel": "Entity Category"
       }
      }
     },
     "localname": "EntityFilerCategory",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "filerCategoryItemType"
    },
    "dei_EntityIncorporationStateCountryCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two-character EDGAR code representing the state or country of incorporation.",
        "label": "Entity Incorporation, State or Country Code",
        "terseLabel": "123"
       }
      }
     },
     "localname": "EntityIncorporationStateCountryCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityInteractiveDataCurrent": {
     "auth_ref": [
      "r612"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).",
        "label": "Entity Interactive Data Current",
        "terseLabel": "Entity Data"
       }
      }
     },
     "localname": "EntityInteractiveDataCurrent",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityInvCompanyType": {
     "auth_ref": [
      "r611"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Entity Inv Company Type"
       }
      }
     },
     "localname": "EntityInvCompanyType",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "invCompanyType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r525"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.",
        "label": "Entity Registrant Name",
        "terseLabel": "Entity Name"
       }
      }
     },
     "localname": "EntityRegistrantName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityShellCompany": {
     "auth_ref": [
      "r525"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act.",
        "label": "Entity Shell Company",
        "terseLabel": "Entity Company"
       }
      }
     },
     "localname": "EntityShellCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntitySmallBusiness": {
     "auth_ref": [
      "r525"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates that the company is a Smaller Reporting Company (SRC).",
        "label": "Entity Small Business",
        "terseLabel": "Entity Business"
       }
      }
     },
     "localname": "EntitySmallBusiness",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityTaxIdentificationNumber": {
     "auth_ref": [
      "r525"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS.",
        "label": "Entity Tax Identification Number",
        "terseLabel": "Entity Tax Number"
       }
      }
     },
     "localname": "EntityTaxIdentificationNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "employerIdItemType"
    },
    "dei_EntityWellKnownSeasonedIssuer": {
     "auth_ref": [
      "r613"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' if the registrant is a well-known seasoned issuer, as defined in Rule 405 of the Securities Act. Is used on Form Type: 10-K, 10-Q, 8-K, 20-F, 6-K, 10-K/A, 10-Q/A, 20-F/A, 6-K/A, N-CSR, N-Q, N-1A.",
        "label": "Entity Well-known Seasoned Issuer"
       }
      }
     },
     "localname": "EntityWellKnownSeasonedIssuer",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_ExhibitsOnly462d": {
     "auth_ref": [
      "r617"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exhibits Only, 462(d)"
       }
      }
     },
     "localname": "ExhibitsOnly462d",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_ExhibitsOnly462dFileNumber": {
     "auth_ref": [
      "r617"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exhibits Only, 462(d), File Number"
       }
      }
     },
     "localname": "ExhibitsOnly462dFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_InvestmentCompanyActFileNumber": {
     "auth_ref": [
      "r531",
      "r598",
      "r599",
      "r600"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Act File Number"
       }
      }
     },
     "localname": "InvestmentCompanyActFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_InvestmentCompanyActRegistration": {
     "auth_ref": [
      "r603"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Act Registration"
       }
      }
     },
     "localname": "InvestmentCompanyActRegistration",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_InvestmentCompanyRegistrationAmendment": {
     "auth_ref": [
      "r603"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Registration Amendment"
       }
      }
     },
     "localname": "InvestmentCompanyRegistrationAmendment",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_InvestmentCompanyRegistrationAmendmentNumber": {
     "auth_ref": [
      "r603"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Registration Amendment Number"
       }
      }
     },
     "localname": "InvestmentCompanyRegistrationAmendmentNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "sequenceNumberItemType"
    },
    "dei_LegalEntityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The set of legal entities associated with a report.",
        "label": "Legal Entity [Axis]",
        "terseLabel": "Legal Entity"
       }
      }
     },
     "localname": "LegalEntityAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsScheduleOfAffiliatedInvestmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_LocalPhoneNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Local phone number for entity.",
        "label": "Local Phone Number",
        "terseLabel": "Local Number"
       }
      }
     },
     "localname": "LocalPhoneNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_NewEffectiveDateForPreviousFiling": {
     "auth_ref": [
      "r531",
      "r598",
      "r599",
      "r600"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "New Effective Date for Previous Filing"
       }
      }
     },
     "localname": "NewEffectiveDateForPreviousFiling",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_NoSubstantiveChanges462c": {
     "auth_ref": [
      "r616"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Substantive Changes, 462(c)"
       }
      }
     },
     "localname": "NoSubstantiveChanges462c",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_NoSubstantiveChanges462cFileNumber": {
     "auth_ref": [
      "r616"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Substantive Changes, 462(c), File Number"
       }
      }
     },
     "localname": "NoSubstantiveChanges462cFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_PostEffectiveAmendment": {
     "auth_ref": [
      "r523"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Post-Effective Amendment"
       }
      }
     },
     "localname": "PostEffectiveAmendment",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_PostEffectiveAmendmentNumber": {
     "auth_ref": [
      "r523"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amendment number to registration statement under the Securities Act of 1933 after the registration becomes effective.",
        "label": "Post-Effective Amendment Number"
       }
      }
     },
     "localname": "PostEffectiveAmendmentNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "sequenceNumberItemType"
    },
    "dei_PreEffectiveAmendment": {
     "auth_ref": [
      "r523"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pre-Effective Amendment"
       }
      }
     },
     "localname": "PreEffectiveAmendment",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_PreEffectiveAmendmentNumber": {
     "auth_ref": [
      "r523"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amendment number to registration statement under the Securities Act of 1933 before the registration becomes effective.",
        "label": "Pre-Effective Amendment Number"
       }
      }
     },
     "localname": "PreEffectiveAmendmentNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "sequenceNumberItemType"
    },
    "dei_Security12bTitle": {
     "auth_ref": [
      "r524"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Title of a 12(b) registered security.",
        "label": "Title of 12(b) Security",
        "terseLabel": "Title of 12(b"
       }
      }
     },
     "localname": "Security12bTitle",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "securityTitleItemType"
    },
    "dei_SecurityExchangeName": {
     "auth_ref": [
      "r526"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the Exchange on which a security is registered.",
        "label": "Security Exchange Name",
        "terseLabel": "Security Exchange"
       }
      }
     },
     "localname": "SecurityExchangeName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "edgarExchangeCodeItemType"
    },
    "dei_TradingSymbol": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trading symbol of an instrument as listed on an exchange.",
        "label": "Trading Symbol",
        "terseLabel": "Symbol"
       }
      }
     },
     "localname": "TradingSymbol",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "tradingSymbolItemType"
    },
    "gsbd_APlaceForMomIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A place for mom, inc,",
        "label": "A Place For Mom Inc [Member]",
        "terseLabel": "A Place For Mom, Inc."
       }
      }
     },
     "localname": "APlaceForMomIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AQHeliosBuyerIncDbaSurePointFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "AQ Helios Buyer, Inc. (dba SurePoint) four.",
        "label": "A Q Helios Buyer Inc Dba Sure Point Four [Member]",
        "terseLabel": "AQ Helios Buyer, Inc. (dba SurePoint)"
       }
      }
     },
     "localname": "AQHeliosBuyerIncDbaSurePointFourMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AQHeliosBuyerIncDbaSurePointOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aq helios buyer, inc. (dba surepoint) one.",
        "label": "A Q Helios Buyer Inc Dba Sure Point One [Member]",
        "terseLabel": "AQ Helios Buyer, Inc. (dba SurePoint)"
       }
      }
     },
     "localname": "AQHeliosBuyerIncDbaSurePointOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AQHeliosBuyerIncDbaSurePointThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "AQ Helios Buyer, Inc. (dba SurePoint) three.",
        "label": "A Q Helios Buyer Inc Dba Sure Point Three [Member]",
        "terseLabel": "AQ Helios Buyer, Inc. (dba SurePoint)"
       }
      }
     },
     "localname": "AQHeliosBuyerIncDbaSurePointThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AQHeliosBuyerIncDbaSurePointTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aq helios buyer, inc. (dba surepoint) two.",
        "label": "A Q Helios Buyer Inc Dba Sure Point Two [Member]",
        "terseLabel": "AQ Helios Buyer, Inc. (dba SurePoint)"
       }
      }
     },
     "localname": "AQHeliosBuyerIncDbaSurePointTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AQHeliosBuyerIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A Q Helios Buyer Inc.",
        "label": "A Q Helios Buyer Inc [Member]",
        "terseLabel": "AQ Helios Buyer, Inc. (dba SurePoint)"
       }
      }
     },
     "localname": "AQHeliosBuyerIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ATXNetworksCorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "ATX Networks Corporation.",
        "label": "A T X Networks Corporation [Member]",
        "terseLabel": "ATX Networks Corp.",
        "verboseLabel": "ATX Networks Corp."
       }
      }
     },
     "localname": "ATXNetworksCorporationMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsScheduleOfAffiliatedInvestmentsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ATXParentHoldingsLimitedLiabilityCompanyClassAUnitsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "ATX Parent Holdings, Limited Liability Company - Class A Units.",
        "label": "A T X Parent Holdings Limited Liability Company Class A Units [Member]",
        "terseLabel": "ATX Parent Holdings, LLC - Class A Units"
       }
      }
     },
     "localname": "ATXParentHoldingsLimitedLiabilityCompanyClassAUnitsMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AbacusDataHoldingsIncDBAClutchIntermediateHoldingsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Abacus Data Holdings, Inc. (DBA Clutch Intermediate Holdings).",
        "label": "Abacus Data Holdings Inc D B A Clutch Intermediate Holdings [Member]",
        "terseLabel": "Abacus Data Holdings, Inc. (dba Clutch Intermediate Holdings)"
       }
      }
     },
     "localname": "AbacusDataHoldingsIncDBAClutchIntermediateHoldingsMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AbacusDataHoldingsIncDBAClutchIntermediateHoldingsOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Abacus Data Holdings, Inc. (DBA Clutch Intermediate Holdings) one.",
        "label": "Abacus Data Holdings Inc D B A Clutch Intermediate Holdings One [Member]",
        "terseLabel": "Abacus Data Holdings, Inc. (dba Clutch Intermediate Holdings)"
       }
      }
     },
     "localname": "AbacusDataHoldingsIncDBAClutchIntermediateHoldingsOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AbacusDataHoldingsIncDBAClutchIntermediateHoldingsTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Abacus Data Holdings, Inc. (DBA Clutch Intermediate Holdings) two.",
        "label": "Abacus Data Holdings Inc D B A Clutch Intermediate Holdings Two [Member]",
        "terseLabel": "Abacus Data Holdings, Inc. (dba Clutch Intermediate Holdings)"
       }
      }
     },
     "localname": "AbacusDataHoldingsIncDBAClutchIntermediateHoldingsTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AbacusDataHoldingsIncDbaClutchIntermediateHoldingsThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Abacus Data Holdings, Inc. (dba Clutch Intermediate Holdings) three.",
        "label": "Abacus Data Holdings Inc Dba Clutch Intermediate Holdings Three [Member]",
        "terseLabel": "Abacus Data Holdings Inc Dba Clutch Intermediate Holdings Three",
        "verboseLabel": "Abacus Data Holdings, Inc. (dba Clutch Intermediate Holdings)"
       }
      }
     },
     "localname": "AbacusDataHoldingsIncDbaClutchIntermediateHoldingsThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AbacusDataHoldingsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Abacus Data Holdings Inc.",
        "label": "Abacus Data Holdings Inc [Member]",
        "terseLabel": "Abacus Data Holdings, Inc. (dba Clutch Intermediate Holdings)"
       }
      }
     },
     "localname": "AbacusDataHoldingsIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AccrualOrPaymentOfIncentiveFeesBasedOnCapitalGain": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrual or payment of incentive fees based on capital gain.",
        "label": "Accrual Or Payment Of Incentive Fees Based On Capital Gain",
        "terseLabel": "Accrual or payment of incentive fees based on capital gain"
       }
      }
     },
     "localname": "AccrualOrPaymentOfIncentiveFeesBasedOnCapitalGain",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_AccruedButUnpaidDistributions": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued but unpaid distributions.",
        "label": "Accrued But Unpaid Distributions",
        "terseLabel": "Accrued but unpaid distributions"
       }
      }
     },
     "localname": "AccruedButUnpaidDistributions",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_AccruedButUnpaidExciseTaxExpense": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued but unpaid excise tax expense.",
        "label": "Accrued But Unpaid Excise Tax Expense",
        "terseLabel": "Accrued but unpaid excise tax expense"
       }
      }
     },
     "localname": "AccruedButUnpaidExciseTaxExpense",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_AccruedButUnpaidOfferingCosts": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued but unpaid offering costs.",
        "label": "Accrued But Unpaid Offering Costs",
        "terseLabel": "Accrued but unpaid offering costs"
       }
      }
     },
     "localname": "AccruedButUnpaidOfferingCosts",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_AccruedExciseTaxesPayable": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued excise taxes payable.",
        "label": "Accrued Excise Taxes payable",
        "terseLabel": "Accrued excise taxes"
       }
      }
     },
     "localname": "AccruedExciseTaxesPayable",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_AccruedExpensesAndOtherLiabilitiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued expenses and other liabilities.",
        "label": "Accrued Expenses And Other Liabilities [Member]",
        "terseLabel": "Accrued Expenses And Other Liabilities"
       }
      }
     },
     "localname": "AccruedExpensesAndOtherLiabilitiesMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AccruedOfferingCosts": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 5.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued offering costs.",
        "label": "Accrued Offering Costs",
        "terseLabel": "Accrued offering costs"
       }
      }
     },
     "localname": "AccruedOfferingCosts",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_AcquiaIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Acquia, Inc,.",
        "label": "Acquia Inc [Member]",
        "terseLabel": "Acquia, Inc."
       }
      }
     },
     "localname": "AcquiaIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AcquiaIncOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Acquia, Inc, one.",
        "label": "Acquia Inc One [Member]",
        "terseLabel": "Acquia, Inc."
       }
      }
     },
     "localname": "AcquiaIncOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AcquiaIncTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Acquia, inc, two.",
        "label": "Acquia Inc Two [Member]",
        "terseLabel": "Acquia, Inc."
       }
      }
     },
     "localname": "AcquiaIncTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AdditionalConvertibleNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additional Convertible Notes [Member]",
        "label": "Additional Convertible Notes [Member]",
        "terseLabel": "Additional Convertible Notes"
       }
      }
     },
     "localname": "AdditionalConvertibleNotesMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AdditionalCreditAdjustment": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additional Credit Adjustment",
        "label": "Additional Credit Adjustment",
        "terseLabel": "Additional credit adjustment"
       }
      }
     },
     "localname": "AdditionalCreditAdjustment",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_AdministrationAndCustodianFeesPayable": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Administration and custodian fees payable.",
        "label": "Administration And Custodian Fees Payable",
        "terseLabel": "Administration and custodian fees payable"
       }
      }
     },
     "localname": "AdministrationAndCustodianFeesPayable",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_AdmiralBuyerIncDbaFidelityPaymentServicesOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Admiral buyer, inc. (dba fidelity payment services) one.",
        "label": "Admiral Buyer Inc Dba Fidelity Payment Services One [Member]",
        "terseLabel": "Admiral Buyer, Inc. (dba Fidelity Payment Services)"
       }
      }
     },
     "localname": "AdmiralBuyerIncDbaFidelityPaymentServicesOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AdmiralBuyerIncDbaFidelityPaymentServicesThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Admiral Buyer, Inc. (dba Fidelity Payment Services) three.",
        "label": "Admiral Buyer Inc Dba Fidelity Payment Services Three [Member]",
        "terseLabel": "Admiral Buyer, Inc. (dba Fidelity Payment Services)"
       }
      }
     },
     "localname": "AdmiralBuyerIncDbaFidelityPaymentServicesThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AdmiralBuyerIncDbaFidelityPaymentServicesTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Admiral buyer, inc. (dba fidelity payment services) two.",
        "label": "Admiral Buyer Inc Dba Fidelity Payment Services Two [Member]",
        "terseLabel": "Admiral Buyer, Inc. (dba Fidelity Payment Services)"
       }
      }
     },
     "localname": "AdmiralBuyerIncDbaFidelityPaymentServicesTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AdmiralBuyerIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Admiral Buyer, Inc.",
        "label": "Admiral Buyer Inc [Member]",
        "terseLabel": "Admiral Buyer, Inc. (dba Fidelity Payment Services)"
       }
      }
     },
     "localname": "AdmiralBuyerIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AerospaceAndDefenseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aerospace and defense.",
        "label": "Aerospace And Defense [Member]",
        "terseLabel": "Aerospace &amp; Defense"
       }
      }
     },
     "localname": "AerospaceAndDefenseMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AffiliatedInvestmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Affiliated investment.",
        "label": "Affiliated Investment [Member]",
        "terseLabel": "Affiliated Person"
       }
      }
     },
     "localname": "AffiliatedInvestmentMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AirFreightLogisticsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Air freight &amp; logistics member.",
        "label": "Air Freight Logistics [Member]",
        "terseLabel": "Air Freight &amp; Logistics"
       }
      }
     },
     "localname": "AirFreightLogisticsMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AllocatedIncomeTaxExpense": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 4.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Allocated income tax expense.",
        "label": "Allocated Income Tax Expense",
        "terseLabel": "Allocated income tax expense"
       }
      }
     },
     "localname": "AllocatedIncomeTaxExpense",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_AmortizationIncomeOfPurchaseDiscount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortization income of purchase discount.",
        "label": "Amortization Income of Purchase Discount",
        "terseLabel": "Amortization income of purchase discount"
       }
      }
     },
     "localname": "AmortizationIncomeOfPurchaseDiscount",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_AmortizationOfOriginalIssueDiscountOnConvertibleNotes": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows": {
       "order": 19.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortization of original issue discount on convertible notes.",
        "label": "Amortization Of Original Issue Discount On Convertible Notes",
        "terseLabel": "Amortization of original issue discount on convertible notes"
       }
      }
     },
     "localname": "AmortizationOfOriginalIssueDiscountOnConvertibleNotes",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_AmortizationOfPremiumAndAccretionOfDiscountsNet": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortization of premium and accretion of discounts net.",
        "label": "Amortization of Premium and Accretion of Discounts Net",
        "negatedLabel": "Amortization of premium and accretion of discount, net"
       }
      }
     },
     "localname": "AmortizationOfPremiumAndAccretionOfDiscountsNet",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_AnimalSupplyHoldingsLimitedLiabilityCompanyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Animal Supply Holdings, Limited Liability Company.",
        "label": "Animal Supply Holdings Limited Liability Company [Member]",
        "terseLabel": "Animal Supply Holdings, LLC"
       }
      }
     },
     "localname": "AnimalSupplyHoldingsLimitedLiabilityCompanyMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsScheduleOfAffiliatedInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AnimalSupplyHoldingsLimitedLiabilityCompanyOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Animal Supply Holdings, Limited Liability Company, One.",
        "label": "Animal Supply Holdings Limited Liability Company One [Member]",
        "terseLabel": "Animal Supply Holdings, LLC"
       }
      }
     },
     "localname": "AnimalSupplyHoldingsLimitedLiabilityCompanyOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AnimalSupplyHoldingsLimitedLiabilityCompanyTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Animal Supply Holdings, Limited Liability Company.",
        "label": "Animal Supply Holdings Limited Liability Company Two [Member]",
        "terseLabel": "Animal Supply Holdings, LLC"
       }
      }
     },
     "localname": "AnimalSupplyHoldingsLimitedLiabilityCompanyTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AnimalSupplyIntermediateLimitedLiabilityCompanyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Animal Supply Intermediate, Limited Liability Company.",
        "label": "Animal Supply Intermediate Limited Liability Company [Member]",
        "terseLabel": "Animal Supply Intermediate, LLC"
       }
      }
     },
     "localname": "AnimalSupplyIntermediateLimitedLiabilityCompanyMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AnnualManagementFeePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Annual management fee percentage.",
        "label": "Annual Management Fee Percentage",
        "terseLabel": "Annual management fee percentage"
       }
      }
     },
     "localname": "AnnualManagementFeePercentage",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_AnsiraPartnersIncOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ansira Partners, Inc. one.",
        "label": "Ansira Partners Inc One [Member]",
        "terseLabel": "Ansira Partners, Inc."
       }
      }
     },
     "localname": "AnsiraPartnersIncOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AnsiraPartnersIncTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ansira Partners, Inc. two.",
        "label": "Ansira Partners Inc Two [Member]",
        "terseLabel": "Ansira Partners, Inc."
       }
      }
     },
     "localname": "AnsiraPartnersIncTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ApptioIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Apptio, Inc.",
        "label": "Apptio Inc [Member]",
        "terseLabel": "Apptio, Inc."
       }
      }
     },
     "localname": "ApptioIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ApptioIncOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Apptio, Inc. one.",
        "label": "Apptio Inc One [Member]",
        "terseLabel": "Apptio, Inc."
       }
      }
     },
     "localname": "ApptioIncOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ApptioIncTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Apptio, Inc. two.",
        "label": "Apptio Inc Two [Member]",
        "terseLabel": "Apptio, Inc."
       }
      }
     },
     "localname": "ApptioIncTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ArgosHealthHoldingsIncOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Argos health holdings, inc one.",
        "label": "Argos Health Holdings Inc One [Member]",
        "terseLabel": "Argos Health Holdings, Inc"
       }
      }
     },
     "localname": "ArgosHealthHoldingsIncOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AriaSystemsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aria Systems, Inc.",
        "label": "Aria Systems Inc [Member]",
        "terseLabel": "Aria Systems, Inc."
       }
      }
     },
     "localname": "AriaSystemsIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AriaSystemsIncOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aria Systems, Inc one.",
        "label": "Aria Systems Inc One [Member]",
        "terseLabel": "Aria Systems, Inc."
       }
      }
     },
     "localname": "AriaSystemsIncOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AriaSystemsIncTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aria Systems, Inc two.",
        "label": "Aria Systems Inc Two [Member]",
        "terseLabel": "Aria Systems, Inc."
       }
      }
     },
     "localname": "AriaSystemsIncTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AssemblyIntermediateLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Assembly intermediate llc.",
        "label": "Assembly Intermediate L L C [Member]",
        "terseLabel": "Assembly Intermediate LLC"
       }
      }
     },
     "localname": "AssemblyIntermediateLLCMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AssemblyIntermediateLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Assembly intermediate llc one.",
        "label": "Assembly Intermediate L L C One [Member]",
        "terseLabel": "Assembly Intermediate LLC"
       }
      }
     },
     "localname": "AssemblyIntermediateLLCOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AssemblyIntermediateLLCTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Assembly intermediate llc two.",
        "label": "Assembly Intermediate L L C Two [Member]",
        "terseLabel": "Assembly Intermediate LLC"
       }
      }
     },
     "localname": "AssemblyIntermediateLLCTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AssemblyIntermediateLlcThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Assembly intermediate llc three.",
        "label": "Assembly Intermediate Llc Three [Member]",
        "terseLabel": "Assembly Intermediate LLC"
       }
      }
     },
     "localname": "AssemblyIntermediateLlcThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_AssetCoverageRatioRequirementDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Describes the asset coverage ratios and the minimum asset coverage ratio requirement.",
        "label": "Asset Coverage Ratio Requirement Description",
        "terseLabel": "Asset coverage ratio requirement, description"
       }
      }
     },
     "localname": "AssetCoverageRatioRequirementDescription",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "gsbd_AutoComponentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Auto components member.",
        "label": "Auto Components [Member]",
        "terseLabel": "Auto Components"
       }
      }
     },
     "localname": "AutoComponentsMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BSI3MenuBuyerIncDbaKydiaOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "BSI3 Menu Buyer, Inc (dba Kydia) one.",
        "label": "B S I3 Menu Buyer Inc Dba Kydia One [Member]",
        "terseLabel": "BSI3 Menu Buyer, Inc (dba Kydia)"
       }
      }
     },
     "localname": "BSI3MenuBuyerIncDbaKydiaOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BSI3MenuBuyerIncDbaKydiaTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "BSI3 Menu Buyer, Inc (dba Kydia) two.",
        "label": "B S I3 Menu Buyer Inc Dba Kydia Two [Member]",
        "terseLabel": "BSI3 Menu Buyer, Inc (dba Kydia)"
       }
      }
     },
     "localname": "BSI3MenuBuyerIncDbaKydiaTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BSI3MenuBuyerIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "BSI3 Menu Buyer, Inc.",
        "label": "B S I3 Menu Buyer Inc [Member]",
        "terseLabel": "BSI3 Menu Buyer, Inc (dba Kydia)"
       }
      }
     },
     "localname": "BSI3MenuBuyerIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BadgerSportswearIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Badger Sportswear, Inc.",
        "label": "Badger Sportswear Inc [Member]",
        "terseLabel": "Badger Sportswear, Inc."
       }
      }
     },
     "localname": "BadgerSportswearIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BankLoansCorporateDebtAndOtherDebtObligationsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bank Loans, Corporate Debt and Other Debt Obligations [Member]",
        "label": "Bank Loans, Corporate Debt and Other Debt Obligations [Member]",
        "terseLabel": "Bank Loans, Corporate Debt and Other Debt Obligations"
       }
      }
     },
     "localname": "BankLoansCorporateDebtAndOtherDebtObligationsMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BankOfAmericaFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bank of America four.",
        "label": "Bank Of America Four [Member]",
        "terseLabel": "Bank of America, N.A."
       }
      }
     },
     "localname": "BankOfAmericaFourMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BankOfAmericaNAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bank of America, N.A. [Member]",
        "label": "Bank Of America N A [Member]",
        "terseLabel": "Bank Of America N A"
       }
      }
     },
     "localname": "BankOfAmericaNAMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesScheduleOfForeignCurrencyForwardContractsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BankOfAmericaOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bank of America one.",
        "label": "Bank Of America One [Member]",
        "terseLabel": "Bank of America, N.A."
       }
      }
     },
     "localname": "BankOfAmericaOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BankOfAmericaThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bank of America three.",
        "label": "Bank Of America Three [Member]",
        "terseLabel": "Bank of America, N.A."
       }
      }
     },
     "localname": "BankOfAmericaThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BankOfAmericaTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bank of America two.",
        "label": "Bank Of America Two [Member]",
        "terseLabel": "Bank of America, N.A."
       }
      }
     },
     "localname": "BankOfAmericaTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BeveragesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Beverages member.",
        "label": "Beverages [Member]",
        "terseLabel": "Beverages"
       }
      }
     },
     "localname": "BeveragesMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BigchangeGroupLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bigchange Group Limited.",
        "label": "Bigchange Group Limited [Member]",
        "terseLabel": "Bigchange Group Limited"
       }
      }
     },
     "localname": "BigchangeGroupLimitedMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BigchangeGroupLimitedOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bigchange Group Limited one.",
        "label": "Bigchange Group Limited One [Member]",
        "terseLabel": "Bigchange Group Limited"
       }
      }
     },
     "localname": "BigchangeGroupLimitedOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BigchangeGroupLimitedThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bigchange Group Limited three.",
        "label": "Bigchange Group Limited Three [Member]",
        "terseLabel": "Bigchange Group Limited"
       }
      }
     },
     "localname": "BigchangeGroupLimitedThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BigchangeGroupLimitedTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bigchange Group Limited two.",
        "label": "Bigchange Group Limited Two [Member]",
        "terseLabel": "Bigchange Group Limited"
       }
      }
     },
     "localname": "BigchangeGroupLimitedTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BolttechManningsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bolttech Mannings, Inc.",
        "label": "Bolttech Mannings Inc [Member]",
        "terseLabel": "Bolttech Mannings, Inc."
       }
      }
     },
     "localname": "BolttechManningsIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsScheduleOfAffiliatedInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BolttechManningsIncorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bolttech Mannings Incorporation.",
        "label": "Bolttech Mannings Incorporation [Member]",
        "terseLabel": "Bolttech Mannings, Inc."
       }
      }
     },
     "localname": "BolttechManningsIncorporationMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BroadwayParentLimitedLiabilityCompanyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Broadway Parent, Limited Liability Company.",
        "label": "Broadway Parent Limited Liability Company [Member]",
        "terseLabel": "Broadway Parent Limited Liability Company"
       }
      }
     },
     "localname": "BroadwayParentLimitedLiabilityCompanyMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BroadwayParentLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Broadway parent llc.",
        "label": "Broadway Parent Llc [Member]",
        "terseLabel": "Broadway Parent, LLC"
       }
      }
     },
     "localname": "BroadwayParentLlcMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BroadwayTechnologyLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Broadway Technology, LLC.",
        "label": "Broadway Technology L L C [Member]",
        "terseLabel": "Broadway Technology, LLC"
       }
      }
     },
     "localname": "BroadwayTechnologyLLCMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BroadwayTechnologyLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Broadway Technology, LLC one.",
        "label": "Broadway Technology L L C One [Member]",
        "terseLabel": "Broadway Technology, LLC"
       }
      }
     },
     "localname": "BroadwayTechnologyLLCOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BroadwayTechnologyLLCTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Broadway Technology, LLC two.",
        "label": "Broadway Technology L L C Two [Member]",
        "terseLabel": "Broadway Technology, LLC"
       }
      }
     },
     "localname": "BroadwayTechnologyLLCTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BuildingProductsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Building products member.",
        "label": "Building Products [Member]",
        "terseLabel": "Building Products"
       }
      }
     },
     "localname": "BuildingProductsMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BullhornIncFiveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bullhorn, Inc. five.",
        "label": "Bullhorn Inc Five [Member]",
        "terseLabel": "Bullhorn, Inc."
       }
      }
     },
     "localname": "BullhornIncFiveMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BullhornIncFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bullhorn, Inc. four.",
        "label": "Bullhorn Inc Four [Member]",
        "terseLabel": "Bullhorn, Inc."
       }
      }
     },
     "localname": "BullhornIncFourMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BullhornIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bullhorn, Inc.",
        "label": "Bullhorn Inc [Member]",
        "terseLabel": "Bullhorn, Inc."
       }
      }
     },
     "localname": "BullhornIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BullhornIncOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bullhorn, Inc. one.",
        "label": "Bullhorn Inc One [Member]",
        "terseLabel": "Bullhorn, Inc."
       }
      }
     },
     "localname": "BullhornIncOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BullhornIncSevenMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bullhorn, Inc. seven.",
        "label": "Bullhorn Inc Seven [Member]",
        "terseLabel": "Bullhorn, Inc."
       }
      }
     },
     "localname": "BullhornIncSevenMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BullhornIncSixMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bullhorn, Inc. six.",
        "label": "Bullhorn Inc Six [Member]",
        "terseLabel": "Bullhorn, Inc."
       }
      }
     },
     "localname": "BullhornIncSixMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BullhornIncThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bullhorn, Inc. three.",
        "label": "Bullhorn Inc Three [Member]",
        "terseLabel": "Bullhorn, Inc."
       }
      }
     },
     "localname": "BullhornIncThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BullhornIncTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bullhorn, Inc. two.",
        "label": "Bullhorn Inc Two [Member]",
        "terseLabel": "Bullhorn, Inc."
       }
      }
     },
     "localname": "BullhornIncTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BusinessolverComIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Businessolver.com, Inc.",
        "label": "Businessolver Com Inc [Member]",
        "terseLabel": "Businessolver.com, Inc."
       }
      }
     },
     "localname": "BusinessolverComIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BusinessolverComIncOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Businessolver.com, Inc.",
        "label": "Businessolver Com Inc One [Member]",
        "terseLabel": "Businessolver.com, Inc."
       }
      }
     },
     "localname": "BusinessolverComIncOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_BusinessolverComIncTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Businessolver.com, Inc. two.",
        "label": "Businessolver Com Inc Two [Member]",
        "terseLabel": "Businessolver.com, Inc."
       }
      }
     },
     "localname": "BusinessolverComIncTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CFSManagementLLCDBACenterForSightManagementOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CFS Management, LLC (dba Center for Sight Management) one.",
        "label": "C F S Management L L C D B A Center For Sight Management One [Member]",
        "terseLabel": "CFS Management, LLC (dba Center for Sight Management)"
       }
      }
     },
     "localname": "CFSManagementLLCDBACenterForSightManagementOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CFSManagementLLCDBACenterForSightManagementThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CFS Management, LLC (DBA Center for Sight Management) three.",
        "label": "C F S Management L L C D B A Center For Sight Management Three [Member]",
        "terseLabel": "CFS Management, LLC (dba Center for Sight Management)"
       }
      }
     },
     "localname": "CFSManagementLLCDBACenterForSightManagementThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CFSManagementLLCDBACenterForSightManagementTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CFS Management, LLC (DBA Center for Sight Management) two.",
        "label": "C F S Management L L C D B A Center For Sight Management Two [Member]",
        "terseLabel": "CFS Management, LLC (dba Center for Sight Management)"
       }
      }
     },
     "localname": "CFSManagementLLCDBACenterForSightManagementTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CORAHealthHoldingsCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CORA Health Holdings Corp.",
        "label": "C O R A Health Holdings Corp [Member]",
        "terseLabel": "CORA Health Holdings Corp"
       }
      }
     },
     "localname": "CORAHealthHoldingsCorpMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CORAHealthHoldingsCorpOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CORA Health Holdings Corp one.",
        "label": "C O R A Health Holdings Corp One [Member]",
        "terseLabel": "CORA Health Holdings Corp"
       }
      }
     },
     "localname": "CORAHealthHoldingsCorpOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CORAHealthHoldingsCorpTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CORA Health Holdings Corp two.",
        "label": "C O R A Health Holdings Corp Two [Member]",
        "terseLabel": "CORA Health Holdings Corp"
       }
      }
     },
     "localname": "CORAHealthHoldingsCorpTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CSTBuyerCompanyDbaIntoxalockFiveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "C S T Buyer Company Dba Intoxalock five.",
        "label": "C S T Buyer Company Dba Intoxalock Five [Member]",
        "terseLabel": "CST Buyer Company (dba Intoxalock)"
       }
      }
     },
     "localname": "CSTBuyerCompanyDbaIntoxalockFiveMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CSTBuyerCompanyDbaIntoxalockFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "C S T Buyer Company Dba Intoxalock four.",
        "label": "C S T Buyer Company Dba Intoxalock Four [Member]",
        "terseLabel": "CST Buyer Company (dba Intoxalock)"
       }
      }
     },
     "localname": "CSTBuyerCompanyDbaIntoxalockFourMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CSTBuyerCompanyDbaIntoxalockOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CST Buyer Company (dba Intoxalock) one.",
        "label": "C S T Buyer Company Dba Intoxalock One [Member]",
        "terseLabel": "CST Buyer Company (dba Intoxalock)"
       }
      }
     },
     "localname": "CSTBuyerCompanyDbaIntoxalockOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CSTBuyerCompanyDbaIntoxalockThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CST Buyer Company (dba Intoxalock) three.",
        "label": "C S T Buyer Company Dba Intoxalock Three [Member]",
        "terseLabel": "CST Buyer Company (dba Intoxalock)"
       }
      }
     },
     "localname": "CSTBuyerCompanyDbaIntoxalockThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CSTBuyerCompanyDbaIntoxalockTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CST Buyer Company (dba Intoxalock) two.",
        "label": "C S T Buyer Company Dba Intoxalock Two [Member]",
        "terseLabel": "CST Buyer Company (dba Intoxalock)"
       }
      }
     },
     "localname": "CSTBuyerCompanyDbaIntoxalockTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CanadianPrimeRateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Canadian prime rate.",
        "label": "Canadian Prime Rate [Member]",
        "terseLabel": "Canadian Prime Rate"
       }
      }
     },
     "localname": "CanadianPrimeRateMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CapitalGainDistributionAmountPerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Capital gain distribution amount per share.",
        "label": "Capital Gain Distribution Amount Per Share",
        "terseLabel": "Capital gain distribution amount per share"
       }
      }
     },
     "localname": "CapitalGainDistributionAmountPerShare",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureNetAssetsScheduleOfDistributionsDeclaredOnCommonStockParentheticalDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "gsbd_CapitalMarketsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Capital markets member.",
        "label": "Capital Markets [Member]",
        "terseLabel": "Capital Markets"
       }
      }
     },
     "localname": "CapitalMarketsMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CapitolImagingAcquisitionCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Capitol Imaging Acquisition Corp.",
        "label": "Capitol Imaging Acquisition Corp [Member]",
        "terseLabel": "Capitol Imaging Acquisition Corp."
       }
      }
     },
     "localname": "CapitolImagingAcquisitionCorpMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CapitolImagingAcquisitionCorpOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Capitol Imaging Acquisition Corp. one.",
        "label": "Capitol Imaging Acquisition Corp One [Member]",
        "terseLabel": "Capitol Imaging Acquisition Corp."
       }
      }
     },
     "localname": "CapitolImagingAcquisitionCorpOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CapitolImagingAcquisitionCorpThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Capitol Imaging Acquisition Corp. three.",
        "label": "Capitol Imaging Acquisition Corp Three [Member]",
        "terseLabel": "Capitol Imaging Acquisition Corp."
       }
      }
     },
     "localname": "CapitolImagingAcquisitionCorpThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CapitolImagingAcquisitionCorpTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Capitol Imaging Acquisition Corp. two.",
        "label": "Capitol Imaging Acquisition Corp Two [Member]",
        "terseLabel": "Capitol Imaging Acquisition Corp."
       }
      }
     },
     "localname": "CapitolImagingAcquisitionCorpTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CatalystMergerSubIncDBAComputerServicesIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Catalyst Merger Sub, Inc (dba Computer Services Inc.).",
        "label": "Catalyst Merger Sub Inc D B A Computer Services Inc [Member]",
        "terseLabel": "Catalyst Merger Sub, Inc (dba Computer Services Inc.)"
       }
      }
     },
     "localname": "CatalystMergerSubIncDBAComputerServicesIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CbHdtHoldingsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CB-HDT Holdings, Inc.",
        "label": "Cb Hdt Holdings Inc [Member]",
        "terseLabel": "CB-HDT Holdings, Inc. (dba Hunter Defense Technologies)"
       }
      }
     },
     "localname": "CbHdtHoldingsIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsScheduleOfAffiliatedInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CfsManagementLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CFS Management, LLC.",
        "label": "Cfs Management Llc [Member]",
        "terseLabel": "CFS Management, LLC (dba Center for Sight Management)"
       }
      }
     },
     "localname": "CfsManagementLlcMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ChaseIndustriesIncorporationDbaSennecaHoldingsOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Chase Industries Incorporation (dba Senneca Holdings), one.",
        "label": "Chase Industries Incorporation Dba Senneca Holdings One [Member]",
        "terseLabel": "Chase Industries, Inc. (dba Senneca Holdings)"
       }
      }
     },
     "localname": "ChaseIndustriesIncorporationDbaSennecaHoldingsOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ChaseIndustriesIncorporationDbaSennecaHoldingsTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Chase Industries, Incorporation (dba Senneca Holdings), two.",
        "label": "Chase Industries Incorporation Dba Senneca Holdings Two [Member]",
        "terseLabel": "Chase Industries, Inc. (dba Senneca Holdings)"
       }
      }
     },
     "localname": "ChaseIndustriesIncorporationDbaSennecaHoldingsTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CheckmateFinanceMergerSubLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Checkmate Finance Merger Sub, LLC",
        "label": "Checkmate Finance Merger Sub L L C [Member]",
        "terseLabel": "Checkmate Finance Merger Sub, LLC"
       }
      }
     },
     "localname": "CheckmateFinanceMergerSubLLCMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CheckmateFinanceMergerSubLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Checkmate Finance Merger Sub, LLC one.",
        "label": "Checkmate Finance Merger Sub L L C One [Member]",
        "terseLabel": "Checkmate Finance Merger Sub, LLC"
       }
      }
     },
     "localname": "CheckmateFinanceMergerSubLLCOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CheckmateFinanceMergerSubLLCTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Checkmate Finance Merger Sub, LLC two.",
        "label": "Checkmate Finance Merger Sub L L C Two [Member]",
        "terseLabel": "Checkmate Finance Merger Sub, LLC"
       }
      }
     },
     "localname": "CheckmateFinanceMergerSubLLCTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ChemicalsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Chemicals [Member]",
        "label": "Chemicals [Member]",
        "terseLabel": "Chemicals"
       }
      }
     },
     "localname": "ChemicalsMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ChronicleBidcoIncDbaLexitasFiveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Chronicle Bidco Inc. (dba Lexitas) five.",
        "label": "Chronicle Bidco Inc Dba Lexitas Five [Member]",
        "terseLabel": "Chronicle Bidco Inc. (dba Lexitas)"
       }
      }
     },
     "localname": "ChronicleBidcoIncDbaLexitasFiveMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ChronicleBidcoIncDbaLexitasFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Chronicle Bidco Inc. (dba Lexitas) four.",
        "label": "Chronicle Bidco Inc Dba Lexitas Four [Member]",
        "terseLabel": "Chronicle Bidco Inc. (dba Lexitas)"
       }
      }
     },
     "localname": "ChronicleBidcoIncDbaLexitasFourMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ChronicleBidcoIncDbaLexitasOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Chronicle Bidco Inc. (dba Lexitas) one.",
        "label": "Chronicle Bidco Inc Dba Lexitas One [Member]",
        "terseLabel": "Chronicle Bidco Inc. (dba Lexitas)"
       }
      }
     },
     "localname": "ChronicleBidcoIncDbaLexitasOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ChronicleBidcoIncDbaLexitasThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Chronicle Bidco Inc. (dba Lexitas) three.",
        "label": "Chronicle Bidco Inc Dba Lexitas Three [Member]",
        "terseLabel": "Chronicle Bidco Inc. (dba Lexitas)"
       }
      }
     },
     "localname": "ChronicleBidcoIncDbaLexitasThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ChronicleBidcoIncDbaLexitasTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Chronicle Bidco Inc. (dba Lexitas) two.",
        "label": "Chronicle Bidco Inc Dba Lexitas Two [Member]",
        "terseLabel": "Chronicle Bidco Inc. (dba Lexitas)"
       }
      }
     },
     "localname": "ChronicleBidcoIncDbaLexitasTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ChronicleBidcoIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Chronicle Bidco Inc.",
        "label": "Chronicle Bidco Inc [Member]",
        "terseLabel": "Chronicle Bidco Inc. (dba Lexitas)"
       }
      }
     },
     "localname": "ChronicleBidcoIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CivicPlusLLCFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CivicPlus LLC four.",
        "label": "Civic Plus L L C Four [Member]",
        "terseLabel": "CivicPlus LLC"
       }
      }
     },
     "localname": "CivicPlusLLCFourMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CivicPlusLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CivicPlus LLC one.",
        "label": "Civic Plus L L C One [Member]",
        "terseLabel": "CivicPlus LLC"
       }
      }
     },
     "localname": "CivicPlusLLCOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CivicPlusLLCThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CivicPlus LLC three.",
        "label": "Civic Plus L L C Three [Member]",
        "terseLabel": "CivicPlus LLC"
       }
      }
     },
     "localname": "CivicPlusLLCThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CivicPlusLLCTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CivicPlus LLC two.",
        "label": "Civic Plus L L C Two [Member]",
        "terseLabel": "CivicPlus LLC"
       }
      }
     },
     "localname": "CivicPlusLLCTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CivicPlusLimitedLiabilityCompanyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CivicPlus Limited Liability Company.",
        "label": "Civic Plus Limited Liability Company [Member]",
        "terseLabel": "CivicPlus LLC"
       }
      }
     },
     "localname": "CivicPlusLimitedLiabilityCompanyMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ClearcoursePartnershipAcquirecoFinanceLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Clearcourse Partnership Acquireco Finance Limited.",
        "label": "Clearcourse Partnership Acquireco Finance Limited [Member]",
        "terseLabel": "Clearcourse Partnership Acquireco Finance Limited"
       }
      }
     },
     "localname": "ClearcoursePartnershipAcquirecoFinanceLimitedMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ClearcoursePartnershipAcquirecoFinanceLimitedOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Clearcourse Partnership Acquireco Finance Limited one.",
        "label": "Clearcourse Partnership Acquireco Finance Limited One [Member]",
        "terseLabel": "Clearcourse Partnership Acquireco Finance Limited"
       }
      }
     },
     "localname": "ClearcoursePartnershipAcquirecoFinanceLimitedOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ClearcoursePartnershipAcquirecoFinanceLimitedTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Clearcourse Partnership Acquireco Finance Limited two.",
        "label": "Clearcourse Partnership Acquireco Finance Limited Two [Member]",
        "terseLabel": "Clearcourse Partnership Acquireco Finance Limited"
       }
      }
     },
     "localname": "ClearcoursePartnershipAcquirecoFinanceLimitedTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CloudBeesIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CloudBees, Inc.",
        "label": "Cloud Bees Inc [Member]",
        "terseLabel": "CloudBees, Inc. Initial Acquisition Date on 11/24/21",
        "verboseLabel": "CloudBees, Inc."
       }
      }
     },
     "localname": "CloudBeesIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CloudBeesIncOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CloudBees, Inc. one.",
        "label": "Cloud Bees Inc One [Member]",
        "terseLabel": "CloudBees, Inc."
       }
      }
     },
     "localname": "CloudBeesIncOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CloudBeesIncTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CloudBees, Inc. two.",
        "label": "Cloud Bees Inc Two [Member]",
        "terseLabel": "CloudBees, Inc."
       }
      }
     },
     "localname": "CloudBeesIncTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CloudBeesIncorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CloudBees, Incorporation.",
        "label": "Cloud Bees Incorporation [Member]",
        "terseLabel": "CloudBees, Inc."
       }
      }
     },
     "localname": "CloudBeesIncorporationMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CodingSolutionsAcquisitionIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Coding Solutions Acquisition, Inc.",
        "label": "Coding Solutions Acquisition Inc [Member]",
        "terseLabel": "Coding Solutions Acquisition, Inc."
       }
      }
     },
     "localname": "CodingSolutionsAcquisitionIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CodingSolutionsAcquisitionIncOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Coding Solutions Acquisition, Inc. one.",
        "label": "Coding Solutions Acquisition Inc One [Member]",
        "terseLabel": "Coding Solutions Acquisition, Inc."
       }
      }
     },
     "localname": "CodingSolutionsAcquisitionIncOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CodingSolutionsAcquisitionIncThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Coding Solutions Acquisition, Inc. three.",
        "label": "Coding Solutions Acquisition Inc Three [Member]",
        "terseLabel": "Coding Solutions Acquisition, Inc."
       }
      }
     },
     "localname": "CodingSolutionsAcquisitionIncThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CodingSolutionsAcquisitionIncTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Coding Solutions Acquisition, Inc. two.",
        "label": "Coding Solutions Acquisition Inc Two [Member]",
        "terseLabel": "Coding Solutions Acquisition, Inc."
       }
      }
     },
     "localname": "CodingSolutionsAcquisitionIncTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CollaborativeImagingHoldcoLLCDbaTexasRadiologyAssociatesClassBMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Collaborative Imaging Holdco, LLC (dba Texas Radiology Associates) - Class B.",
        "label": "Collaborative Imaging Holdco L L C Dba Texas Radiology Associates Class B [Member]",
        "terseLabel": "Collaborative Imaging Holdco, LLC (dba Texas Radiology Associates) - Class B Initial Acquisition Date on 03/30/18",
        "verboseLabel": "Collaborative Imaging Holdco, LLC (dba Texas Radiology Associates) - Class B"
       }
      }
     },
     "localname": "CollaborativeImagingHoldcoLLCDbaTexasRadiologyAssociatesClassBMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CollaborativeImagingHoldcoLLCDbaTexasRadiologyAssociatesPerformanceUnitsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Collaborative Imaging Holdco, LLC (dba Texas Radiology Associates) - Performance Units.",
        "label": "Collaborative Imaging Holdco L L C Dba Texas Radiology Associates Performance Units [Member]",
        "terseLabel": "Collaborative Imaging Holdco, LLC (dba Texas Radiology Associates) - Performance Units Initial Acquisition Date on 03/30/18",
        "verboseLabel": "Collaborative Imaging Holdco, LLC (dba Texas Radiology Associates) - Performance Units"
       }
      }
     },
     "localname": "CollaborativeImagingHoldcoLLCDbaTexasRadiologyAssociatesPerformanceUnitsMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CollaborativeImagingLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Collaborative Imaging LLC.",
        "label": "Collaborative Imaging L L C [Member]",
        "terseLabel": "Collaborative Imaging, LLC (dba Texas Radiology Associates)"
       }
      }
     },
     "localname": "CollaborativeImagingLLCMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsScheduleOfAffiliatedInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CommercialServicesSuppliesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commercial services &amp; supplies member.",
        "label": "Commercial Services Supplies [Member]",
        "terseLabel": "Commercial Services &amp; Supplies"
       }
      }
     },
     "localname": "CommercialServicesSuppliesMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CommonStockOnePointNineOnePercentageMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common stock one point nine one percentage.",
        "label": "Common Stock One Point Nine One Percentage [Member]",
        "terseLabel": "Common Stock - 1.91%"
       }
      }
     },
     "localname": "CommonStockOnePointNineOnePercentageMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CommonStockRepurchasePlansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common stock repurchase plans.",
        "label": "Common Stock Repurchase Plans [Member]",
        "terseLabel": "Common Stock Repurchase Plans"
       }
      }
     },
     "localname": "CommonStockRepurchasePlansMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CommonStockTwoPointFourFivePercentageMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common stock, two point four five percentage.",
        "label": "Common Stock Two Point Four Five Percentage [Member]",
        "terseLabel": "Common Stock - 2.45%"
       }
      }
     },
     "localname": "CommonStockTwoPointFourFivePercentageMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CommonStockTwoPointOneFivePercentageMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common stock two point one five percentage.",
        "label": "Common Stock Two Point One Five Percentage [Member]",
        "terseLabel": "Common Stock - 2.15%"
       }
      }
     },
     "localname": "CommonStockTwoPointOneFivePercentageMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CommunicationsEquipmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Communications equipment.",
        "label": "Communications Equipment [Member]",
        "terseLabel": "Communications Equipment"
       }
      }
     },
     "localname": "CommunicationsEquipmentMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ConergyAsiaMePrivateLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Conergy Asia &amp; ME Private Limited.",
        "label": "Conergy Asia Me Private Limited [Member]",
        "terseLabel": "Conergy Asia &amp; ME Pte. LTD."
       }
      }
     },
     "localname": "ConergyAsiaMePrivateLimitedMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsScheduleOfAffiliatedInvestmentsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ConergyAsiaMePteLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Conergy Asia &amp; ME Pte. LTD.",
        "label": "Conergy Asia &amp; ME Pte. LTD [Member]",
        "terseLabel": "Conergy Asia &amp; ME Pte. LTD."
       }
      }
     },
     "localname": "ConergyAsiaMePteLtdMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ConstructionAndEngineeringMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Construction and engineering.",
        "label": "Construction And Engineering [Member]",
        "terseLabel": "Construction &amp; Engineering"
       }
      }
     },
     "localname": "ConstructionAndEngineeringMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ContainersPackagingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Containers &amp; packaging member.",
        "label": "Containers Packaging [Member]",
        "terseLabel": "Containers &amp; Packaging"
       }
      }
     },
     "localname": "ContainersPackagingMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ControlledAffiliatedInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 2.0,
       "parentTag": "us-gaap_Investments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Controlled affiliated investments.",
        "label": "Controlled Affiliated Investments",
        "terseLabel": "Controlled affiliated investments (cost of $34,745 and $33,374)"
       }
      }
     },
     "localname": "ControlledAffiliatedInvestments",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_ControlledAffiliatedInvestmentsAtCost": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Controlled affiliated investments at cost.",
        "label": "Controlled Affiliated Investments At Cost",
        "terseLabel": "Controlled affiliated investments at cost"
       }
      }
     },
     "localname": "ControlledAffiliatedInvestmentsAtCost",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_ControlledAffiliatedInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Controlled affiliated investments.",
        "label": "Controlled Affiliated Investments [Member]",
        "terseLabel": "From controlled Affiliated Investments"
       }
      }
     },
     "localname": "ControlledAffiliatedInvestmentsMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_Convene237ParkAvenueLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Convene 237 Park Avenue, LLC.",
        "label": "Convene237 Park Avenue Llc [Member]",
        "terseLabel": "Convene 237 Park Avenue, LLC (dba Convene)"
       }
      }
     },
     "localname": "Convene237ParkAvenueLlcMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ConveneTwoThirtySevenParkAvenueLLCDbaConveneOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Convene two thirty seven park avenue, LLC (dba Convene) one.",
        "label": "Convene Two Thirty Seven Park Avenue L L C Dba Convene One [Member]",
        "terseLabel": "Convene 237 Park Avenue, LLC (dba Convene)"
       }
      }
     },
     "localname": "ConveneTwoThirtySevenParkAvenueLLCDbaConveneOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ConveneTwoThirtySevenParkAvenueLLCDbaConveneThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Convene two thirty seven park avenue, LLC (dba Convene) three.",
        "label": "Convene Two Thirty Seven Park Avenue L L C Dba Convene Three [Member]",
        "terseLabel": "Convene 237 Park Avenue, LLC (dba Convene)"
       }
      }
     },
     "localname": "ConveneTwoThirtySevenParkAvenueLLCDbaConveneThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ConveneTwoThirtySevenParkAvenueLLCDbaConveneTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Convene two thirty seven park avenue, LLC (dba Convene) two.",
        "label": "Convene Two Thirty Seven Park Avenue L L C Dba Convene Two [Member]",
        "terseLabel": "Convene 237 Park Avenue, LLC (dba Convene)"
       }
      }
     },
     "localname": "ConveneTwoThirtySevenParkAvenueLLCDbaConveneTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ConvertibleNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Convertible Notes [Member]",
        "label": "Convertible Notes [Member]",
        "terseLabel": "Convertible Notes"
       }
      }
     },
     "localname": "ConvertibleNotesMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfCarryingValueDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfInterestAndOtherDebtExpensesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfOutstandingDebtDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtTables",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CordeagleUSFincoIncDbaCondecoOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cordeagle US Finco, Inc. (dba Condeco) one.",
        "label": "Cordeagle U S Finco Inc Dba Condeco One [Member]",
        "terseLabel": "Cordeagle US Finco, Inc. (dba Condeco)"
       }
      }
     },
     "localname": "CordeagleUSFincoIncDbaCondecoOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CordeagleUSFincoIncDbaCondecoThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cordeagle US Finco, Inc. (dba Condeco) three.",
        "label": "Cordeagle U S Finco Inc Dba Condeco Three [Member]",
        "terseLabel": "Cordeagle US Finco, Inc. (aka Condeco)"
       }
      }
     },
     "localname": "CordeagleUSFincoIncDbaCondecoThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CordeagleUSFincoIncDbaCondecoTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cordeagle US Finco, Inc. (dba Condeco) two.",
        "label": "Cordeagle U S Finco Inc Dba Condeco Two [Member]",
        "terseLabel": "Cordeagle US Finco, Inc. (dba Condeco)"
       }
      }
     },
     "localname": "CordeagleUSFincoIncDbaCondecoTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CordeagleUsFincoIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cordeagle US Finco Inc.",
        "label": "Cordeagle Us Finco Inc [Member]",
        "terseLabel": "Cordeagle US Finco, Inc. (dba Condeco)"
       }
      }
     },
     "localname": "CordeagleUsFincoIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CorePowerYogaLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CorePower Yoga LLC.",
        "label": "Core Power Yoga L L C [Member]",
        "terseLabel": "CorePower Yoga LLC"
       }
      }
     },
     "localname": "CorePowerYogaLLCMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CorePowerYogaLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CorePower Yoga LLC one.",
        "label": "Core Power Yoga L L C One [Member]",
        "terseLabel": "CorePower Yoga LLC"
       }
      }
     },
     "localname": "CorePowerYogaLLCOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CorePowerYogaLLCTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CorePower Yoga LLC two.",
        "label": "Core Power Yoga L L C Two [Member]",
        "terseLabel": "CorePower Yoga LLC"
       }
      }
     },
     "localname": "CorePowerYogaLLCTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CoretrustPurchasingGroupLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Coretrust Purchasing Group LLC.",
        "label": "Coretrust Purchasing Group L L C [Member]",
        "terseLabel": "Coretrust Purchasing Group LLC"
       }
      }
     },
     "localname": "CoretrustPurchasingGroupLLCMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CoretrustPurchasingGroupLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Coretrust Purchasing Group LLC one.",
        "label": "Coretrust Purchasing Group L L C One [Member]",
        "terseLabel": "Coretrust Purchasing Group LLC"
       }
      }
     },
     "localname": "CoretrustPurchasingGroupLLCOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CoretrustPurchasingGroupLLCThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Coretrust Purchasing Group LLC three.",
        "label": "Coretrust Purchasing Group L L C Three [Member]",
        "terseLabel": "Coretrust Purchasing Group LLC"
       }
      }
     },
     "localname": "CoretrustPurchasingGroupLLCThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CoretrustPurchasingGroupLLCTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Coretrust Purchasing Group LLC two.",
        "label": "Coretrust Purchasing Group L L C Two [Member]",
        "terseLabel": "Coretrust Purchasing Group LLC"
       }
      }
     },
     "localname": "CoretrustPurchasingGroupLLCTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CountryFreshHoldingCompanyIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Country Fresh Holding Company Inc.",
        "label": "Country Fresh Holding Company Inc [Member]",
        "terseLabel": "Country Fresh Holding Company Inc. Initial Acquisition Date on 04/29/19",
        "verboseLabel": "Country Fresh Holding Company Inc."
       }
      }
     },
     "localname": "CountryFreshHoldingCompanyIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_CreditAdjustmentSpread": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Credit Adjustment Spread",
        "label": "Credit Adjustment Spread",
        "terseLabel": "Credit adjustment spread"
       }
      }
     },
     "localname": "CreditAdjustmentSpread",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_CstBuyerCompanyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CST Buyer Company.",
        "label": "Cst Buyer Company [Member]",
        "terseLabel": "CST Buyer Company (dba Intoxalock)"
       }
      }
     },
     "localname": "CstBuyerCompanyMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_DECADentalHoldingsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "DECA Dental Holdings LLC.",
        "label": "D E C A Dental Holdings L L C [Member]",
        "terseLabel": "DECA Dental Holdings LLC"
       }
      }
     },
     "localname": "DECADentalHoldingsLLCMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_DECADentalHoldingsLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "DECA Dental Holdings LLC one.",
        "label": "D E C A Dental Holdings L L C One [Member]",
        "terseLabel": "DECA Dental Holdings LLC"
       }
      }
     },
     "localname": "DECADentalHoldingsLLCOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_DECADentalHoldingsLLCThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "DECA Dental Holdings LLC three.",
        "label": "D E C A Dental Holdings L L C Three [Member]",
        "terseLabel": "DECA Dental Holdings LLC"
       }
      }
     },
     "localname": "DECADentalHoldingsLLCThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_DECADentalHoldingsLLCTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "DECA Dental Holdings LLC two.",
        "label": "D E C A Dental Holdings L L C Two [Member]",
        "terseLabel": "DECA Dental Holdings LLC"
       }
      }
     },
     "localname": "DECADentalHoldingsLLCTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_DebtCovenantsMinimumStockholdersEquity": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt covenants minimum stockholders equity",
        "label": "Debt Covenants Minimum Stockholders Equity",
        "terseLabel": "Debt covenants minimum stockholders equity"
       }
      }
     },
     "localname": "DebtCovenantsMinimumStockholdersEquity",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_DebtCovenantsNetProceedsSaleOfEquityInterests": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt covenants, net proceeds sale of equity interests.",
        "label": "Debt Covenants Net Proceeds Sale Of Equity Interests",
        "terseLabel": "Net proceeds of the sale of equity interests"
       }
      }
     },
     "localname": "DebtCovenantsNetProceedsSaleOfEquityInterests",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_DebtInstrumentAssetCoverageRatio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt instrument asset coverage ratio.",
        "label": "Debt Instrument Asset Coverage Ratio",
        "terseLabel": "Asset coverage ratio"
       }
      }
     },
     "localname": "DebtInstrumentAssetCoverageRatio",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_DebtInstrumentAssetCoverageRatioWithRespectToConsolidatedAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt instrument asset coverage ratio with respect to consolidated assets.",
        "label": "Debt Instrument Asset Coverage Ratio With Respect To Consolidated Assets",
        "terseLabel": "Asset coverage ratio with respect to consolidated assets"
       }
      }
     },
     "localname": "DebtInstrumentAssetCoverageRatioWithRespectToConsolidatedAssets",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_DeferredFinancingAndDebtIssuanceCostsPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred financing and debt issuance costs.",
        "label": "Deferred Financing And Debt Issuance Costs Policy [Text Block]",
        "terseLabel": "Deferred Financing and Debt Issuance Costs"
       }
      }
     },
     "localname": "DeferredFinancingAndDebtIssuanceCostsPolicyTextBlock",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gsbd_DiligentCorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Diligent Corporation.",
        "label": "Diligent Corporation [Member]",
        "terseLabel": "Diligent Corporation"
       }
      }
     },
     "localname": "DiligentCorporationMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_DiligentCorporationOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Diligent Corporation one.",
        "label": "Diligent Corporation One [Member]",
        "terseLabel": "Diligent Corporation"
       }
      }
     },
     "localname": "DiligentCorporationOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_DiligentCorporationThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Diligent Corporation three.",
        "label": "Diligent Corporation Three [Member]",
        "terseLabel": "Diligent Corporation"
       }
      }
     },
     "localname": "DiligentCorporationThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_DiligentCorporationTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Diligent Corporation two.",
        "label": "Diligent Corporation Two [Member]",
        "terseLabel": "Diligent Corporation"
       }
      }
     },
     "localname": "DiligentCorporationTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_DistributionPayable": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 4.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Distribution payable.",
        "label": "Distribution Payable",
        "terseLabel": "Distribution payable"
       }
      }
     },
     "localname": "DistributionPayable",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_DistributionsPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Distributions.",
        "label": "Distributions Policy [Text Block]",
        "terseLabel": "Distributions"
       }
      }
     },
     "localname": "DistributionsPolicyTextBlock",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gsbd_DistributionsToStockholdersFromEarnings": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets": {
       "order": 0.0,
       "parentTag": "us-gaap_PartnersCapitalAccountDistributions",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Distributions to stockholders from earnings.",
        "label": "Distributions To Stockholders From Earnings",
        "negatedLabel": "Distributable earnings",
        "terseLabel": "Distributable earnings"
       }
      }
     },
     "localname": "DistributionsToStockholdersFromEarnings",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_DistributorsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Distributors.",
        "label": "Distributors [Member]",
        "terseLabel": "Distributors"
       }
      }
     },
     "localname": "DistributorsMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_DiversifiedConsumerServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Diversified consumer services member.",
        "label": "Diversified Consumer Services [Member]",
        "terseLabel": "Diversified Consumer Services"
       }
      }
     },
     "localname": "DiversifiedConsumerServicesMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_DiversifiedFinancialServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Diversified financial services member.",
        "label": "Diversified Financial Services [Member]",
        "terseLabel": "Diversified Financial Services"
       }
      }
     },
     "localname": "DiversifiedFinancialServicesMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_DoximIncorporationFiveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Doxim Incorporation, Five.",
        "label": "Doxim Incorporation Five [Member]",
        "terseLabel": "Doxim, Inc."
       }
      }
     },
     "localname": "DoximIncorporationFiveMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_DoximIncorporationFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Doxim Incorporation, Four.",
        "label": "Doxim Incorporation Four [Member]",
        "terseLabel": "Doxim, Inc."
       }
      }
     },
     "localname": "DoximIncorporationFourMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_DoximIncorporationOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Doxim Incorporation one.",
        "label": "Doxim Incorporation One [Member]",
        "terseLabel": "Doxim, Inc."
       }
      }
     },
     "localname": "DoximIncorporationOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_DoximIncorporationSixMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Doxim Incorporation, Six.",
        "label": "Doxim Incorporation Six [Member]",
        "terseLabel": "Doxim, Inc."
       }
      }
     },
     "localname": "DoximIncorporationSixMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_DoximIncorporationThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Doxim Incorporation, Three.",
        "label": "Doxim Incorporation Three [Member]",
        "terseLabel": "Doxim, Inc."
       }
      }
     },
     "localname": "DoximIncorporationThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_DoximIncorporationTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Doxim Incorporation, Two.",
        "label": "Doxim Incorporation Two [Member]",
        "terseLabel": "Doxim, Inc."
       }
      }
     },
     "localname": "DoximIncorporationTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_EDBParentLLCDbaEnterpriseDBOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "EDB Parent, LLC (dba Enterprise DB) one.",
        "label": "E D B Parent L L C Dba Enterprise D B One [Member]",
        "terseLabel": "EDB Parent, LLC (dba Enterprise DB)"
       }
      }
     },
     "localname": "EDBParentLLCDbaEnterpriseDBOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_EDBParentLLCDbaEnterpriseDBThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "EDB Parent, LLC (dba Enterprise DB) three.",
        "label": "E D B Parent L L C Dba Enterprise D B Three [Member]",
        "terseLabel": "EDB Parent, LLC (dba Enterprise DB)"
       }
      }
     },
     "localname": "EDBParentLLCDbaEnterpriseDBThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_EDBParentLLCDbaEnterpriseDBTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "EDB Parent, LLC (dba Enterprise DB) two.",
        "label": "E D B Parent L L C Dba Enterprise D B Two [Member]",
        "terseLabel": "EDB Parent, LLC (dba Enterprise DB)"
       }
      }
     },
     "localname": "EDBParentLLCDbaEnterpriseDBTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_EDBParentLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "EDB Parent, LLC.",
        "label": "E D B Parent L L C [Member]",
        "terseLabel": "EDB Parent, LLC (dba Enterprise DB)"
       }
      }
     },
     "localname": "EDBParentLLCMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ESOSolutionsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "ESO Solutions, Inc.",
        "label": "E S O Solutions Inc [Member]",
        "terseLabel": "ESO Solutions, Inc"
       }
      }
     },
     "localname": "ESOSolutionsIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ESOSolutionsIncOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "ESO Solutions, Inc one.",
        "label": "E S O Solutions Inc One [Member]",
        "terseLabel": "ESO Solutions, Inc"
       }
      }
     },
     "localname": "ESOSolutionsIncOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ESOSolutionsIncTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "ESO Solutions, Inc two.",
        "label": "E S O Solutions Inc Two [Member]",
        "terseLabel": "ESO Solutions, Inc"
       }
      }
     },
     "localname": "ESOSolutionsIncTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_EarningsPerShareBasicAndDiluted1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Earnings per share (basic and diluted)",
        "label": "Earnings Per Share Basic And Diluted1",
        "terseLabel": "Earnings per share (basic and diluted)"
       }
      }
     },
     "localname": "EarningsPerShareBasicAndDiluted1",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "perShareItemType"
    },
    "gsbd_ElahHoldingsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Elah Holdings Inc.",
        "label": "Elah Holdings Inc [Member]",
        "terseLabel": "Elah Holdings, Inc. Initial Acquisition Date on 05/09/18",
        "verboseLabel": "Elah Holdings, Inc."
       }
      }
     },
     "localname": "ElahHoldingsIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsScheduleOfAffiliatedInvestmentsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ElemicaParentIncFiveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Elemica Parent, Inc. five.",
        "label": "Elemica Parent Inc Five [Member]",
        "terseLabel": "Elemica Parent, Inc."
       }
      }
     },
     "localname": "ElemicaParentIncFiveMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ElemicaParentIncFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Elemica Parent, Inc. four.",
        "label": "Elemica Parent Inc Four [Member]",
        "terseLabel": "Elemica Parent, Inc."
       }
      }
     },
     "localname": "ElemicaParentIncFourMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ElemicaParentIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Elemica Parent, Inc.",
        "label": "Elemica Parent Inc [Member]",
        "terseLabel": "Elemica Parent, Inc."
       }
      }
     },
     "localname": "ElemicaParentIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ElemicaParentIncOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Elemica Parent, Inc. one.",
        "label": "Elemica Parent Inc One [Member]",
        "terseLabel": "Elemica Parent, Inc."
       }
      }
     },
     "localname": "ElemicaParentIncOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ElemicaParentIncThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Elemica Parent, Inc. three.",
        "label": "Elemica Parent Inc Three [Member]",
        "terseLabel": "Elemica Parent, Inc."
       }
      }
     },
     "localname": "ElemicaParentIncThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ElemicaParentIncTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Elemica Parent, Inc. two.",
        "label": "Elemica Parent Inc Two [Member]",
        "terseLabel": "Elemica Parent, Inc."
       }
      }
     },
     "localname": "ElemicaParentIncTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_EnergyEquipmentAndServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Energy equipment and services.",
        "label": "Energy Equipment And Services [Member]",
        "terseLabel": "Energy Equipment &amp; Services"
       }
      }
     },
     "localname": "EnergyEquipmentAndServicesMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_EptamPlasticsLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Eptam Plastics, Limited.",
        "label": "Eptam Plastics Limited [Member]",
        "terseLabel": "Eptam Plastics, Ltd."
       }
      }
     },
     "localname": "EptamPlasticsLimitedMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_EptamPlasticsLtdFiveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Eptam Plastics Ltd five.",
        "label": "Eptam Plastics Ltd Five [Member]",
        "terseLabel": "Eptam Plastics, Ltd."
       }
      }
     },
     "localname": "EptamPlasticsLtdFiveMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_EptamPlasticsLtdFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Eptam Plastics, Ltd. four.",
        "label": "Eptam Plastics Ltd Four [Member]",
        "terseLabel": "Eptam Plastics, Ltd."
       }
      }
     },
     "localname": "EptamPlasticsLtdFourMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_EptamPlasticsLtdOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Eptam Plastics, Ltd. one.",
        "label": "Eptam Plastics Ltd One [Member]",
        "terseLabel": "Eptam Plastics, Ltd."
       }
      }
     },
     "localname": "EptamPlasticsLtdOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_EptamPlasticsLtdThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Eptam Plastics, Ltd. three.",
        "label": "Eptam Plastics Ltd Three [Member]",
        "terseLabel": "Eptam Plastics, Ltd."
       }
      }
     },
     "localname": "EptamPlasticsLtdThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_EptamPlasticsLtdTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Eptam Plastics, Ltd. two.",
        "label": "Eptam Plastics Ltd Two [Member]",
        "terseLabel": "Eptam Plastics, Ltd."
       }
      }
     },
     "localname": "EptamPlasticsLtdTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_EquityDistributionAgreementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity Distribution Agreement.",
        "label": "Equity Distribution Agreement [Member]",
        "terseLabel": "Equity Distribution Agreement [Member]"
       }
      }
     },
     "localname": "EquityDistributionAgreementMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_EquityOfferingCostsPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity offering costs.",
        "label": "Equity Offering Costs [Policy Text Block]",
        "terseLabel": "Equity Offering Costs"
       }
      }
     },
     "localname": "EquityOfferingCostsPolicyTextBlock",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gsbd_EverestClinicalResearchCorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Everest Clinical Research Corporation.",
        "label": "Everest Clinical Research Corporation [Member]",
        "terseLabel": "Everest Clinical Research Corporation"
       }
      }
     },
     "localname": "EverestClinicalResearchCorporationMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ExchangeOfInvestments": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Exchange of investments.",
        "label": "Exchange Of Investments",
        "terseLabel": "Exchange of investments"
       }
      }
     },
     "localname": "ExchangeOfInvestments",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_ExciseTaxes": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Excise taxes.",
        "label": "Excise Taxes",
        "terseLabel": "Excise taxes"
       }
      }
     },
     "localname": "ExciseTaxes",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_ExostarLLCClassBMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Exostar LLC - Class B.",
        "label": "Exostar L L C Class B [Member]",
        "terseLabel": "Exostar LLC - Class B Initial Acquisition Date on 07/06/20",
        "verboseLabel": "Exostar LLC - Class B"
       }
      }
     },
     "localname": "ExostarLLCClassBMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ExperityIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Experity, Inc.",
        "label": "Experity Inc [Member]",
        "terseLabel": "Experity, Inc."
       }
      }
     },
     "localname": "ExperityIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ExperityIncOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Experity, Inc. one.",
        "label": "Experity Inc One [Member]",
        "terseLabel": "Experity, Inc."
       }
      }
     },
     "localname": "ExperityIncOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ExperityIncTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Experity, Inc. two.",
        "label": "Experity Inc Two [Member]",
        "terseLabel": "Experity, Inc."
       }
      }
     },
     "localname": "ExperityIncTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_FacilityFees": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfRevolvingCreditFacilityDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_InterestAndDebtExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Facility fees.",
        "label": "Facility Fees",
        "terseLabel": "Facility fees"
       }
      }
     },
     "localname": "FacilityFees",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfRevolvingCreditFacilityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedAppreciationDepreciationForAssetsStillHeld": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value assets measured on recurring basis change in unrealized appreciation depreciation for assets still held.",
        "label": "Fair Value Assets Measured On Recurring Basis Change In Unrealized Appreciation Depreciation for Assets Still Held",
        "terseLabel": "Net Change in Unrealized Appreciation (Depreciation) for assets still held"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedAppreciationDepreciationForAssetsStillHeld",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfChangesInFairValueOfLevel3AssetsByInvestmentTypeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_FairValueMeasurementAssetByInvestmentTypeNetAmortizationOfPremiumDiscount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value measurement asset by investment type net amortization of premium/discount.",
        "label": "Fair Value Measurement Asset by Investment Type Net Amortization of Premium/Discount",
        "terseLabel": "Net Amortization of Premium/Discount"
       }
      }
     },
     "localname": "FairValueMeasurementAssetByInvestmentTypeNetAmortizationOfPremiumDiscount",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfChangesInFairValueOfLevel3AssetsByInvestmentTypeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_FairValueMeasurementAssetByInvestmentTypeNetChangeInUnrealizedAppreciationDepreciation": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value measurement asset by investment type net change in unrealized appreciation (depreciation).",
        "label": "Fair Value Measurement Asset by Investment Type Net Change in Unrealized Appreciation (Depreciation)",
        "terseLabel": "Net Change in Unrealized Appreciation (Depreciation)"
       }
      }
     },
     "localname": "FairValueMeasurementAssetByInvestmentTypeNetChangeInUnrealizedAppreciationDepreciation",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfChangesInFairValueOfLevel3AssetsByInvestmentTypeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_FairValueMeasurementAssetByInvestmentTypeNetRealizedGainLoss": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value measurement asset by investment type net realized gain (loss).",
        "label": "Fair Value Measurement Asset by Investment Type Net Realized Gain (Loss)",
        "terseLabel": "Net Realized Gain (Loss)"
       }
      }
     },
     "localname": "FairValueMeasurementAssetByInvestmentTypeNetRealizedGainLoss",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfChangesInFairValueOfLevel3AssetsByInvestmentTypeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_FairValueMeasurementAssetByInvestmentTypePurchases": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value measurement asset by investment type purchases.",
        "label": "Fair Value Measurement Asset by Investment Type Purchases",
        "terseLabel": "Purchases"
       }
      }
     },
     "localname": "FairValueMeasurementAssetByInvestmentTypePurchases",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfChangesInFairValueOfLevel3AssetsByInvestmentTypeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_FairValueMeasurementAssetByInvestmentTypeSalesAndSettlements": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value measurement asset by investment type sales and settlements.",
        "label": "Fair Value Measurement Asset by Investment Type Sales and Settlements",
        "terseLabel": "Sales and Settlements"
       }
      }
     },
     "localname": "FairValueMeasurementAssetByInvestmentTypeSalesAndSettlements",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfChangesInFairValueOfLevel3AssetsByInvestmentTypeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_FairValueMeasurementAssetByInvestmentTypeTransfersIntoLevelThree": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value measurement asset by investment type transfers into level three.",
        "label": "Fair Value Measurement Asset by Investment Type Transfers Into Level Three",
        "terseLabel": "Transfers In"
       }
      }
     },
     "localname": "FairValueMeasurementAssetByInvestmentTypeTransfersIntoLevelThree",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfChangesInFairValueOfLevel3AssetsByInvestmentTypeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_FairValueMeasurementAssetByInvestmentTypeTransfersOutOfLevelThree": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value measurement asset by investment type transfers out of level three.",
        "label": "Fair Value Measurement Asset by Investment Type Transfers Out Of Level Three",
        "negatedLabel": "Transfers Out",
        "terseLabel": "Transfers Out"
       }
      }
     },
     "localname": "FairValueMeasurementAssetByInvestmentTypeTransfersOutOfLevelThree",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfChangesInFairValueOfLevel3AssetsByInvestmentTypeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_FairValueMeasurementAssetByInvestmentTypeValue": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value measurement asset by investment type value.",
        "label": "Fair Value Measurement Asset by Investment Type Value",
        "periodEndLabel": "Ending Balance",
        "periodStartLabel": "Beginning Balance"
       }
      }
     },
     "localname": "FairValueMeasurementAssetByInvestmentTypeValue",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfChangesInFairValueOfLevel3AssetsByInvestmentTypeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_FairValueMeasurementsAssetByInvestmentTypeSalesAndSettlements": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value measurements asset by investment type sales and settlements.",
        "label": "Fair Value Measurements Asset By Investment Type Sales And Settlements",
        "negatedLabel": "Sales and Settlements"
       }
      }
     },
     "localname": "FairValueMeasurementsAssetByInvestmentTypeSalesAndSettlements",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfChangesInFairValueOfLevel3AssetsByInvestmentTypeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_FairValueOfDebtInvestmentsPercentageUsingIncomeApproach": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of debt investments percentage using income approach.",
        "label": "Fair Value of Debt Investments Percentage Using Income Approach",
        "terseLabel": "Fair value of debt investments percentage using income approach"
       }
      }
     },
     "localname": "FairValueOfDebtInvestmentsPercentageUsingIncomeApproach",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsParentheticalDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "gsbd_FairValueOfDebtInvestmentsPercentageUsingValuationApproach": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of debt investments percentage using valuation approach.",
        "label": "Fair Value Of Debt Investments Percentage Using Valuation Approach",
        "terseLabel": "Fair value of debt investments percentage using valuation approach"
       }
      }
     },
     "localname": "FairValueOfDebtInvestmentsPercentageUsingValuationApproach",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsParentheticalDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "gsbd_FairValueOfNotQualifyingAssets": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of not qualifying assets.",
        "label": "Fair Value Of Not Qualifying Assets",
        "terseLabel": "Fair value of securities"
       }
      }
     },
     "localname": "FairValueOfNotQualifyingAssets",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_FairValueOfQualifyingAssets": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of qualifying assets.",
        "label": "Fair Value Of Qualifying Assets",
        "terseLabel": "Fair value of securities"
       }
      }
     },
     "localname": "FairValueOfQualifyingAssets",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_FairValueOfRestrictedSecurities": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of restricted securities.",
        "label": "Fair Value Of Restricted Securities",
        "terseLabel": "Fair value of securities"
       }
      }
     },
     "localname": "FairValueOfRestrictedSecurities",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_FairValuePercentageOfNetAssetsOfCompany": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value percentage of net assets of company.",
        "label": "Fair Value Percentage Of Net Assets Of Company",
        "terseLabel": "Fair value percentage of net assets of company"
       }
      }
     },
     "localname": "FairValuePercentageOfNetAssetsOfCompany",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_FeeWaiver": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations": {
       "order": 0.0,
       "parentTag": "gsbd_NetExpenses",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fee Waiver",
        "label": "Fee Waiver",
        "negatedLabel": "Fee waivers",
        "terseLabel": "Fee waivers"
       }
      }
     },
     "localname": "FeeWaiver",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_FirstLienOrLastOutUnitrancheMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "1st Lien/Last-Out Unitranche",
        "label": "First Lien Or Last Out Unitranche [Member]",
        "terseLabel": "1st Lien/Last-Out Unitranche"
       }
      }
     },
     "localname": "FirstLienOrLastOutUnitrancheMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsCategorizedWithinFairValueHierarchyDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfChangesInFairValueOfLevel3AssetsByInvestmentTypeDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsExcludingInvestmentsInMoneyMarketFundsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_FirstLienOrSeniorSecuredDebtMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "1st Lien/Senior Secured Debt",
        "label": "First Lien Or Senior Secured Debt [Member]",
        "terseLabel": "1st Lien/Senior Secured Debt"
       }
      }
     },
     "localname": "FirstLienOrSeniorSecuredDebtMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsCategorizedWithinFairValueHierarchyDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfChangesInFairValueOfLevel3AssetsByInvestmentTypeDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsExcludingInvestmentsInMoneyMarketFundsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_FiveAugustTwoThousandTwentyOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Five August Two Thousand Twenty One.",
        "label": "Five August Two Thousand Twenty One [Member]",
        "terseLabel": "August 5, 2021"
       }
      }
     },
     "localname": "FiveAugustTwoThousandTwentyOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsScheduleOfDistributionsDeclaredOnCommonStockDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_FoodProductsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Food products member.",
        "label": "Food Products [Member]",
        "terseLabel": "Food Products"
       }
      }
     },
     "localname": "FoodProductsMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ForeignCurrencyAndOtherTransactionsGainLossRealized": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations": {
       "order": 0.0,
       "parentTag": "us-gaap_GainLossOnInvestments",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Foreign Currency and Other Transactions Gain (Loss) Realized",
        "label": "Foreign Currency And Other Transactions Gain Loss Realized",
        "terseLabel": "Foreign currency and other transactions"
       }
      }
     },
     "localname": "ForeignCurrencyAndOtherTransactionsGainLossRealized",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_ForeignCurrencyAndOtherTransactionsGainLossUnrealized": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_GainLossOnInvestments",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Foreign currency and other transactions gain (loss) unrealized.",
        "label": "Foreign Currency And Other Transactions Gain Loss Unrealized",
        "terseLabel": "Foreign currency translations and other transactions"
       }
      }
     },
     "localname": "ForeignCurrencyAndOtherTransactionsGainLossUnrealized",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_ForeignCurrencyForwardContractsAverageNotionalExposure": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Foreign currency forward contracts average notional exposure.",
        "label": "Foreign Currency Forward Contracts Average Notional Exposure",
        "terseLabel": "Average notional exposure to foreign currency forward contracts"
       }
      }
     },
     "localname": "ForeignCurrencyForwardContractsAverageNotionalExposure",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_ForeignCurrencyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Foreign currency.",
        "label": "Foreign Currency [Member]",
        "terseLabel": "Foreign Currency [Member]"
       }
      }
     },
     "localname": "ForeignCurrencyMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_FoundationSoftwareClassBMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Foundation Software - Class B.",
        "label": "Foundation Software Class B [Member]",
        "terseLabel": "Foundation Software - Class B Initial Acquisition Date on 08/31/2022",
        "verboseLabel": "Foundation Software - Class B"
       }
      }
     },
     "localname": "FoundationSoftwareClassBMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_FoundationSoftwareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Foundation software.",
        "label": "Foundation Software [Member]",
        "terseLabel": "Foundation Software"
       }
      }
     },
     "localname": "FoundationSoftwareMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_FourMayTwoThousandTwentyOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Four May Two Thousand Twenty One.",
        "label": "Four May Two Thousand Twenty One [Member]",
        "terseLabel": "May 4, 2021"
       }
      }
     },
     "localname": "FourMayTwoThousandTwentyOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsScheduleOfDistributionsDeclaredOnCommonStockDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_FourNovemberTwoThousandTwentySpecialMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Four November Two Thousand Twenty Special.",
        "label": "Four November Two Thousand Twenty Special [Member]",
        "terseLabel": "November 4, 2020 (special)"
       }
      }
     },
     "localname": "FourNovemberTwoThousandTwentySpecialMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsScheduleOfDistributionsDeclaredOnCommonStockDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_FourNovemberTwoThousandTwentySpecialThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Four November Two Thousand Twenty Special Three.",
        "label": "Four November Two Thousand Twenty Special Three [Member]",
        "terseLabel": "November 4, 2020 (special)"
       }
      }
     },
     "localname": "FourNovemberTwoThousandTwentySpecialThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsScheduleOfDistributionsDeclaredOnCommonStockDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_FourNovemberTwoThousandTwentySpecialTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Four November Two Thousand Twenty Special Two.",
        "label": "Four November Two Thousand Twenty Special Two [Member]",
        "terseLabel": "November 4, 2020 (special)"
       }
      }
     },
     "localname": "FourNovemberTwoThousandTwentySpecialTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsScheduleOfDistributionsDeclaredOnCommonStockDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_FourPointFiveZeroUnsecuredConvertibleNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Four Point Five Zero Unsecured Convertible Notes [Member]",
        "label": "Four Point Five Zero Unsecured Convertible Notes [Member]",
        "terseLabel": "4.50% Unsecured Convertible Notes"
       }
      }
     },
     "localname": "FourPointFiveZeroUnsecuredConvertibleNotesMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_FourSeasonsHeatingAndAirConditioningIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Four seasons heating and air conditioning inc.",
        "label": "Four Seasons Heating And Air Conditioning Inc [Member]",
        "terseLabel": "Four Seasons Heating And Air Conditioning Inc"
       }
      }
     },
     "localname": "FourSeasonsHeatingAndAirConditioningIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_FullsteamOperationsLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fullsteam operations llc one.",
        "label": "Fullsteam Operations L L C One [Member]",
        "terseLabel": "Fullsteam Operations LLC"
       }
      }
     },
     "localname": "FullsteamOperationsLLCOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_FullsteamOperationsLLCThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fullsteam operations llc three.",
        "label": "Fullsteam Operations L L C Three [Member]",
        "terseLabel": "Fullsteam Operations LLC"
       }
      }
     },
     "localname": "FullsteamOperationsLLCThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_FullsteamOperationsLLCTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fullsteam operations llc two.",
        "label": "Fullsteam Operations L L C Two [Member]",
        "terseLabel": "Fullsteam Operations LLC"
       }
      }
     },
     "localname": "FullsteamOperationsLLCTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_FullsteamOperationsLlcFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fullsteam Operations LLC Four.",
        "label": "Fullsteam Operations LLC Four [Member]",
        "terseLabel": "Fullsteam Operations LLC"
       }
      }
     },
     "localname": "FullsteamOperationsLlcFourMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_FullstreamOperationsLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fullstream Operations LLC.",
        "label": "Fullstream Operations Llc [Member]",
        "terseLabel": "Fullsteam Operations LLC"
       }
      }
     },
     "localname": "FullstreamOperationsLlcMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_GHABuyerIncDbaCedarGateFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gha buyer inc. (dba cedar gate), four.",
        "label": "G H A Buyer Inc Dba Cedar Gate, Four [Member]",
        "terseLabel": "GHA Buyer Inc. (dba Cedar Gate)"
       }
      }
     },
     "localname": "GHABuyerIncDbaCedarGateFourMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_GHABuyerIncDbaCedarGateOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gha buyer inc. (dba cedar gate) one.",
        "label": "G H A Buyer Inc Dba Cedar Gate One [Member]",
        "terseLabel": "GHA Buyer Inc. (dba Cedar Gate)"
       }
      }
     },
     "localname": "GHABuyerIncDbaCedarGateOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_GHABuyerIncDbaCedarGateThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gha buyer inc. (dba cedar gate) three.",
        "label": "G H A Buyer Inc Dba Cedar Gate Three [Member]",
        "terseLabel": "GHA Buyer Inc. (dba Cedar Gate)"
       }
      }
     },
     "localname": "GHABuyerIncDbaCedarGateThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_GHABuyerIncDbaCedarGateTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gha buyer inc. (dba cedar gate) two.",
        "label": "G H A Buyer Inc Dba Cedar Gate Two [Member]",
        "terseLabel": "GHA Buyer Inc. (dba Cedar Gate)"
       }
      }
     },
     "localname": "GHABuyerIncDbaCedarGateTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_GSAcquisitionCoIncDbaInsightsoftwareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gs acquisitionco, inc. (dba insightsoftware).",
        "label": "G S Acquisition Co Inc Dba Insightsoftware [Member]",
        "terseLabel": "GS AcquisitionCo, Inc. (dba Insightsoftware)"
       }
      }
     },
     "localname": "GSAcquisitionCoIncDbaInsightsoftwareMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_GSAcquisitionCoIncDbaInsightsoftwareOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gs acquisitionco, inc. (dba insightsoftware) one.",
        "label": "G S Acquisition Co Inc Dba Insightsoftware One [Member]",
        "terseLabel": "GS AcquisitionCo, Inc. (dba Insightsoftware)"
       }
      }
     },
     "localname": "GSAcquisitionCoIncDbaInsightsoftwareOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_GSAcquisitionCoIncDbaInsightsoftwareTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gs acquisitionco, inc. (dba insightsoftware) two.",
        "label": "G S Acquisition Co Inc Dba Insightsoftware Two [Member]",
        "terseLabel": "GS AcquisitionCo, Inc. (dba Insightsoftware)"
       }
      }
     },
     "localname": "GSAcquisitionCoIncDbaInsightsoftwareTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_GainsightIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gainsight, inc.",
        "label": "Gainsight Inc [Member]",
        "terseLabel": "Gainsight, Inc."
       }
      }
     },
     "localname": "GainsightIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_GainsightIncOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gainsight, inc. one.",
        "label": "Gainsight Inc One [Member]",
        "terseLabel": "Gainsight, Inc."
       }
      }
     },
     "localname": "GainsightIncOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_GainsightIncTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gainsight, Inc. two.",
        "label": "Gainsight Inc Two [Member]",
        "terseLabel": "Gainsight, Inc."
       }
      }
     },
     "localname": "GainsightIncTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_GenesisAcquisitionCoDbaProCareSoftwareFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Genesis Acquisition Co. (dba ProCare Software), Four.",
        "label": "Genesis Acquisition Co Dba Pro Care Software Four [Member]",
        "terseLabel": "Genesis Acquisition Co. (dba ProCare Software)"
       }
      }
     },
     "localname": "GenesisAcquisitionCoDbaProCareSoftwareFourMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_GenesisAcquisitionCoDbaProCareSoftwareOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Genesis Acquisition Co. (dba ProCare Software), One.",
        "label": "Genesis Acquisition Co Dba Pro Care Software One [Member]",
        "terseLabel": "Genesis Acquisition Co. (dba ProCare Software)"
       }
      }
     },
     "localname": "GenesisAcquisitionCoDbaProCareSoftwareOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_GenesisAcquisitionCoDbaProCareSoftwareThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Genesis Acquisition Co. (dba ProCare Software), Three.",
        "label": "Genesis Acquisition Co Dba Pro Care Software Three [Member]",
        "terseLabel": "Genesis Acquisition Co. (dba ProCare Software)"
       }
      }
     },
     "localname": "GenesisAcquisitionCoDbaProCareSoftwareThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_GenesisAcquisitionCoDbaProCareSoftwareTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Genesis Acquisition Co. (dba ProCare Software), Two.",
        "label": "Genesis Acquisition Co Dba Pro Care Software Two [Member]",
        "terseLabel": "Genesis Acquisition Co. (dba ProCare Software)"
       }
      }
     },
     "localname": "GenesisAcquisitionCoDbaProCareSoftwareTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_GhaBuyerIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "GHA Buyer Inc.",
        "label": "Gha Buyer Inc [Member]",
        "terseLabel": "GHA Buyer Inc. (dba Cedar Gate)"
       }
      }
     },
     "localname": "GhaBuyerIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_GoldmanSachMiddleMarketLendingCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Goldman Sach Middle Market Lending Corp.",
        "label": "Goldman Sach Middle Market Lending Corp [Member]",
        "terseLabel": "Goldman Sach Middle Market Lending Corp"
       }
      }
     },
     "localname": "GoldmanSachMiddleMarketLendingCorpMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureOrganizationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_GoldmanSachsFinancialSquareGovernmentFundMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Goldman Sachs Financial Square Government Fund [Member]",
        "label": "Goldman Sachs Financial Square Government Fund [Member]",
        "terseLabel": "Goldman Sachs Financial Square Government Fund"
       }
      }
     },
     "localname": "GoldmanSachsFinancialSquareGovernmentFundMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsScheduleOfAffiliatedInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_GovDeliveryHoldingsLLCDbaGranicusIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Govdelivery holdings, llc (dba granicus, inc.).",
        "label": "Gov Delivery Holdings L L C Dba Granicus Inc [Member]",
        "terseLabel": "GovDelivery Holdings, LLC (dba Granicus, Inc.)"
       }
      }
     },
     "localname": "GovDeliveryHoldingsLLCDbaGranicusIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_GovDeliveryHoldingsLLCDbaGranicusIncOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Govdelivery holdings, llc (dba granicus, inc.) one.",
        "label": "Gov Delivery Holdings L L C Dba Granicus Inc One [Member]",
        "terseLabel": "GovDelivery Holdings, LLC (dba Granicus, Inc.)"
       }
      }
     },
     "localname": "GovDeliveryHoldingsLLCDbaGranicusIncOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_GovDeliveryHoldingsLLCDbaGranicusIncThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gov Delivery Holdings L L C Dba Granicus Inc three.",
        "label": "Gov Delivery Holdings L L C Dba Granicus Inc Three [Member]",
        "terseLabel": "GovDelivery Holdings, LLC (dba Granicus, Inc.)"
       }
      }
     },
     "localname": "GovDeliveryHoldingsLLCDbaGranicusIncThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_GovDeliveryHoldingsLLCDbaGranicusIncTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Govdelivery holdings, llc (dba granicus, inc.) two.",
        "label": "Gov Delivery Holdings L L C Dba Granicus Inc Two [Member]",
        "terseLabel": "GovDelivery Holdings, LLC (dba Granicus, Inc.)"
       }
      }
     },
     "localname": "GovDeliveryHoldingsLLCDbaGranicusIncTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_GovdeliveryHoldingsLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "GovDelivery Holdings LLC.",
        "label": "Govdelivery Holdings Llc [Member]",
        "terseLabel": "GovDelivery Holdings, LLC (dba Granicus, Inc.)"
       }
      }
     },
     "localname": "GovdeliveryHoldingsLlcMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_GovernmentJobsComIncDbaNeoGovThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Government Jobs Com Inc Dba Neo Gov Three.",
        "label": "Government Jobs Com Inc Dba Neo Gov Three [Member]",
        "terseLabel": "Governmentjobs.com, Inc. (dba NeoGov)"
       }
      }
     },
     "localname": "GovernmentJobsComIncDbaNeoGovThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_GovernmentJobsComIncDbaNeoGovTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Government jobs Com Inc Dba Neo Gov Two Member.",
        "label": "Government Jobs Com Inc Dba Neo Gov Two [Member]",
        "terseLabel": "Governmentjobs.com, Inc. (dba NeoGov)"
       }
      }
     },
     "localname": "GovernmentJobsComIncDbaNeoGovTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_GovernmentjobsComIncDbaNeoGovOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Governmentjobs.Com, inc. (dba neogov) one.",
        "label": "Governmentjobs Com Inc Dba Neo Gov One [Member]",
        "terseLabel": "Governmentjobs.com, Inc. (dba NeoGov)"
       }
      }
     },
     "localname": "GovernmentjobsComIncDbaNeoGovOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_GovernmentjobsComIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Governmentjobs com Inc.",
        "label": "Governmentjobs Com Inc [Member]",
        "terseLabel": "Governmentjobs.com, Inc. (dba NeoGov)"
       }
      }
     },
     "localname": "GovernmentjobsComIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_GovernmentjobsComIncorporationDbaNeoGovMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Governmentjobs.Com, incorporation (dba neogov).",
        "label": "Governmentjobs Com Incorporation Dba Neo Gov [Member]",
        "terseLabel": "Governmentjobs.com, Inc. (dba NeoGov)"
       }
      }
     },
     "localname": "GovernmentjobsComIncorporationDbaNeoGovMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_GsAcquisitioncoIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "GS AcquisitionCo, Inc.",
        "label": "Gs Acquisitionco Inc [Member]",
        "terseLabel": "GS AcquisitionCo, Inc. (dba Insightsoftware)"
       }
      }
     },
     "localname": "GsAcquisitioncoIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_HS4AcquisitionCoIncDbaHotSchedulesFourthMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Hs4 acquisitionco, inc. (dba hotschedules &amp; fourth).",
        "label": "H S4 Acquisition Co Inc Dba Hot Schedules Fourth [Member]",
        "terseLabel": "HS4 AcquisitionCo, Inc. (dba HotSchedules &amp; Fourth)"
       }
      }
     },
     "localname": "HS4AcquisitionCoIncDbaHotSchedulesFourthMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_HS4AcquisitionCoIncDbaHotSchedulesFourthOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Hs4 acquisitionco, inc. (dba hotschedules &amp; fourth) one.",
        "label": "H S4 Acquisition Co Inc Dba Hot Schedules Fourth One [Member]",
        "terseLabel": "HS4 AcquisitionCo, Inc. (dba HotSchedules &amp; Fourth)"
       }
      }
     },
     "localname": "HS4AcquisitionCoIncDbaHotSchedulesFourthOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_HaloBrandedSolutionsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Halo branded solutions, inc.",
        "label": "Halo Branded Solutions Inc [Member]",
        "terseLabel": "Halo Branded Solutions, Inc."
       }
      }
     },
     "localname": "HaloBrandedSolutionsIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_HealthCareEquipmentSuppliesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Health care equipment &amp; supplies member.",
        "label": "Health Care Equipment Supplies [Member]",
        "terseLabel": "Health Care Equipment &amp; Supplies"
       }
      }
     },
     "localname": "HealthCareEquipmentSuppliesMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_HealthCareProvidersServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Health care providers &amp; services member.",
        "label": "Health Care Providers Services [Member]",
        "terseLabel": "Health Care Providers &amp; Services"
       }
      }
     },
     "localname": "HealthCareProvidersServicesMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_HealthCareTechnologyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Health care technology member.",
        "label": "Health Care Technology [Member]",
        "terseLabel": "Health Care Technology"
       }
      }
     },
     "localname": "HealthCareTechnologyMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_HealthEdgeSoftwareIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Healthedge software, inc.",
        "label": "Health Edge Software Inc [Member]",
        "terseLabel": "HealthEdge Software, Inc."
       }
      }
     },
     "localname": "HealthEdgeSoftwareIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_HealthEdgeSoftwareIncOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Healthedge software, inc one.",
        "label": "Health Edge Software Inc One [Member]",
        "terseLabel": "HealthEdge Software, Inc."
       }
      }
     },
     "localname": "HealthEdgeSoftwareIncOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_HealthEdgeSoftwareIncThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Healthedge software, inc three.",
        "label": "Health Edge Software Inc Three [Member]",
        "terseLabel": "HealthEdge Software, Inc."
       }
      }
     },
     "localname": "HealthEdgeSoftwareIncThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_HealthEdgeSoftwareIncTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Healthedge software, inc two.",
        "label": "Health Edge Software Inc Two [Member]",
        "terseLabel": "HealthEdge Software, Inc."
       }
      }
     },
     "localname": "HealthEdgeSoftwareIncTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_HeartlandHomeServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Heartland home services member.",
        "label": "Heartland Home Services [Member]",
        "terseLabel": "Heartland Home Services"
       }
      }
     },
     "localname": "HeartlandHomeServicesMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_HeliosBuyerIncDbaHeartlandMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Helios buyer, inc. (dba heartland).",
        "label": "Helios Buyer Inc Dba Heartland [Member]",
        "terseLabel": "Helios Buyer, Inc. (dba Heartland)"
       }
      }
     },
     "localname": "HeliosBuyerIncDbaHeartlandMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_HeliosBuyerIncDbaHeartlandOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Helios buyer, inc. (dba heartland) one.",
        "label": "Helios Buyer Inc Dba Heartland One [Member]",
        "terseLabel": "Helios Buyer, Inc. (dba Heartland)"
       }
      }
     },
     "localname": "HeliosBuyerIncDbaHeartlandOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_HeliosBuyerIncDbaHeartlandThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Helios buyer, inc. (dba heartland) three.",
        "label": "Helios Buyer Inc Dba Heartland Three [Member]",
        "terseLabel": "Helios Buyer, Inc. (dba Heartland)"
       }
      }
     },
     "localname": "HeliosBuyerIncDbaHeartlandThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_HeliosBuyerIncDbaHeartlandTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Helios buyer, inc. (dba heartland) two.",
        "label": "Helios Buyer Inc Dba Heartland Two [Member]",
        "terseLabel": "Helios Buyer, Inc. (dba Heartland)"
       }
      }
     },
     "localname": "HeliosBuyerIncDbaHeartlandTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_HeliosBuyerIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Helios Buyer, Inc.",
        "label": "Helios Buyer Inc [Member]",
        "terseLabel": "Helios Buyer, Inc. (dba Heartland)"
       }
      }
     },
     "localname": "HeliosBuyerIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_HollanderIntermediateLlcDbaBeddingAcquisitionLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Hollander intermediate llc dba bedding acquisition, llc.",
        "label": "Hollander Intermediate LLC dba Bedding Acquisition, LLC [Member]",
        "terseLabel": "Hollander Intermediate LLC (dba Bedding Acquisition, LLC"
       }
      }
     },
     "localname": "HollanderIntermediateLlcDbaBeddingAcquisitionLlcMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_HollanderSleepDecorDbaSureFitMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Hollander sleep &amp; d\u00e9cor (dba surefit).",
        "label": "Hollander Sleep Decor Dba Sure Fit [Member]",
        "terseLabel": "Hollander Sleep &amp; D\u00e9cor (dba SureFit)"
       }
      }
     },
     "localname": "HollanderSleepDecorDbaSureFitMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_HonorHNBuyerIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Honor hn buyer, inc.",
        "label": "Honor H N Buyer Inc [Member]",
        "terseLabel": "Honor HN Buyer, Inc"
       }
      }
     },
     "localname": "HonorHNBuyerIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_HonorHNBuyerIncOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Honor hn buyer, inc one.",
        "label": "Honor H N Buyer Inc One [Member]",
        "terseLabel": "Honor HN Buyer, Inc"
       }
      }
     },
     "localname": "HonorHNBuyerIncOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_HonorHNBuyerIncTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Honor hn buyer, inc two.",
        "label": "Honor H N Buyer Inc Two [Member]",
        "terseLabel": "Honor HN Buyer, Inc"
       }
      }
     },
     "localname": "HonorHNBuyerIncTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_HonorHnBuyerIncThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Honor hn buyer inc three.",
        "label": "Honor HN Buyer Inc Three [Member]",
        "terseLabel": "Honor HN Buyer, Inc"
       }
      }
     },
     "localname": "HonorHnBuyerIncThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_HotelsRestaurantsLeisureMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Hotels, restaurants &amp; leisure member.",
        "label": "Hotels Restaurants Leisure [Member]",
        "terseLabel": "Hotels, Restaurants &amp; Leisure"
       }
      }
     },
     "localname": "HotelsRestaurantsLeisureMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_HouseholdProductsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Household products member.",
        "label": "Household Products [Member]",
        "terseLabel": "Household Products"
       }
      }
     },
     "localname": "HouseholdProductsMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_HowlCOLLCDbaLoneWolfMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Howlco llc (dba lone wolf).",
        "label": "Howl C O L L C Dba Lone Wolf [Member]",
        "terseLabel": "HowlCO LLC (dba Lone Wolf)"
       }
      }
     },
     "localname": "HowlCOLLCDbaLoneWolfMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_HowlCOLLCDbaLoneWolfOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Howlco llc (dba lone wolf) one.",
        "label": "Howl C O L L C Dba Lone Wolf One [Member]",
        "terseLabel": "HowlCO LLC (dba Lone Wolf)"
       }
      }
     },
     "localname": "HowlCOLLCDbaLoneWolfOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_HowlCOLLCDbaLoneWolfTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Howlco llc (dba lone wolf) two.",
        "label": "Howl C O L L C Dba Lone Wolf Two [Member]",
        "terseLabel": "HowlCO LLC (dba Lone Wolf)"
       }
      }
     },
     "localname": "HowlCOLLCDbaLoneWolfTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_Hs4AcquisitioncoIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "HS4 AcquisitionCo, Inc.",
        "label": "Hs4 Acquisitionco Inc [Member]",
        "terseLabel": "HS4 AcquisitionCo, Inc. (dba HotSchedules &amp; Fourth)"
       }
      }
     },
     "localname": "Hs4AcquisitioncoIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_HurdleRateForIncentiveFeePurpose": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Hurdle rate for incentive fee purpose.",
        "label": "Hurdle Rate For Incentive Fee Purpose",
        "terseLabel": "Hurdle rate for incentive fee purpose"
       }
      }
     },
     "localname": "HurdleRateForIncentiveFeePurpose",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_ICIMSIncFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Icims, inc four.",
        "label": "I C I M S Inc Four [Member]",
        "terseLabel": "iCIMS, Inc."
       }
      }
     },
     "localname": "ICIMSIncFourMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ICIMSIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Icims, inc.",
        "label": "I C I M S Inc [Member]",
        "terseLabel": "iCIMS, Inc."
       }
      }
     },
     "localname": "ICIMSIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ICIMSIncOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Icims, inc one.",
        "label": "I C I M S Inc One [Member]",
        "terseLabel": "iCIMS, Inc."
       }
      }
     },
     "localname": "ICIMSIncOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ICIMSIncThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Icims, inc three.",
        "label": "I C I M S Inc Three [Member]",
        "terseLabel": "iCIMS, Inc."
       }
      }
     },
     "localname": "ICIMSIncThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ICIMSIncTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Icims, inc two.",
        "label": "I C I M S Inc Two [Member]",
        "terseLabel": "iCIMS, Inc."
       }
      }
     },
     "localname": "ICIMSIncTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_IHSIntermediateIncDbaInteractiveHealthSolutionsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "IHS Intermediate Inc. (dba Interactive Health Solutions).",
        "label": "I H S Intermediate Inc Dba Interactive Health Solutions [Member]",
        "terseLabel": "IHS Intermediate Inc. (dba Interactive Health Solutions)"
       }
      }
     },
     "localname": "IHSIntermediateIncDbaInteractiveHealthSolutionsMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ITServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "IT services member.",
        "label": "I T Services [Member]",
        "terseLabel": "IT Services"
       }
      }
     },
     "localname": "ITServicesMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_IncentiveFeeIfNoExcessIncomeAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Incentive fee if no excess income amount.",
        "label": "Incentive Fee If No Excess Income Amount",
        "terseLabel": "Incentive fee if no excess income amount"
       }
      }
     },
     "localname": "IncentiveFeeIfNoExcessIncomeAmount",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_IncentiveFeesPayable": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 3.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Incentive fees payable.",
        "label": "Incentive Fees Payable",
        "terseLabel": "Incentive fees payable"
       }
      }
     },
     "localname": "IncentiveFeesPayable",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_IncreaseDecreaseInIncentiveFeesPayable": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows": {
       "order": 25.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (decrease) in incentive fees payable.",
        "label": "Increase Decrease In Incentive Fees Payable",
        "terseLabel": "Increase (decrease) in incentive fees payable"
       }
      }
     },
     "localname": "IncreaseDecreaseInIncentiveFeesPayable",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_IncreaseDecreaseInInterestAndDividendsReceivables": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "(Increase) Decrease In Interest And Dividends Receivables",
        "label": "(Increase) Decrease In Interest And Dividends Receivables",
        "negatedLabel": "(Increase) decrease in interest and dividends receivable"
       }
      }
     },
     "localname": "IncreaseDecreaseInInterestAndDividendsReceivables",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_IncreaseDecreaseInInterestAndOtherDebtExpensesPayable": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows": {
       "order": 23.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (decrease) in interest and other debt expenses payable.",
        "label": "Increase Decrease In Interest And Other Debt Expenses Payable",
        "terseLabel": "Increase (decrease) in interest and other debt expenses payable"
       }
      }
     },
     "localname": "IncreaseDecreaseInInterestAndOtherDebtExpensesPayable",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_IncreaseDecreaseInManagementFeesPayable": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows": {
       "order": 24.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (decrease) in management fees payable.",
        "label": "Increase Decrease In Management Fees Payable",
        "terseLabel": "Increase (decrease) in management fees payable"
       }
      }
     },
     "localname": "IncreaseDecreaseInManagementFeesPayable",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_IncreaseDecreaseInNetAssetsFromOperationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (decrease) in net assets from operations.",
        "label": "Increase Decrease In Net Assets From Operations [Abstract]",
        "terseLabel": "Increase (decrease) in net assets from operations:"
       }
      }
     },
     "localname": "IncreaseDecreaseInNetAssetsFromOperationsAbstract",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets"
     ],
     "xbrltype": "stringItemType"
    },
    "gsbd_IncreaseDecreaseInOtherAssets": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "(Increase) Decrease In Other Assets",
        "label": "(Increase) Decrease In Other Assets",
        "negatedLabel": "(Increase) decrease in other assets"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherAssets",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_IncreaseDecreaseInReceivableForInvestmentsSold": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "(Increase) decrease in receivable for investments sold.",
        "label": "Increase Decrease In Receivable For Investments Sold",
        "negatedLabel": "(Increase) decrease in receivable for investments sold"
       }
      }
     },
     "localname": "IncreaseDecreaseInReceivableForInvestmentsSold",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_IncurredExpensesForServicesProvidedByAdministratorAndCustodianFees": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Incurred expenses for services provided by administrator and custodian fees.",
        "label": "Incurred Expenses For Services Provided By Administrator And Custodian Fees",
        "negatedLabel": "Incurred expenses for services provided by Administrator and Custodian fees",
        "terseLabel": "Incurred expenses for services provided by Administrator and Custodian fees"
       }
      }
     },
     "localname": "IncurredExpensesForServicesProvidedByAdministratorAndCustodianFees",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_IncurredExpensesForServicesProvidedByTransferAgent": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Incurred expenses for services provided by transfer agent.",
        "label": "Incurred Expenses For Services Provided By Transfer Agent",
        "terseLabel": "Incurred expenses for services provided by transfer agent"
       }
      }
     },
     "localname": "IncurredExpensesForServicesProvidedByTransferAgent",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_IndependentPowerAndRenewableElectricityProducersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Independent power and renewable electricity producers.",
        "label": "Independent Power And Renewable Electricity Producers [Member]",
        "terseLabel": "Independent Power &amp; Renewable Electricity Producers"
       }
      }
     },
     "localname": "IndependentPowerAndRenewableElectricityProducersMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_InitialConvertibleNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Initial convertible notes.",
        "label": "Initial Convertible Notes [Member]",
        "terseLabel": "Initial Convertible Notes"
       }
      }
     },
     "localname": "InitialConvertibleNotesMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_InsuranceMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Insurance member.",
        "label": "Insurance [Member]",
        "terseLabel": "Insurance"
       }
      }
     },
     "localname": "InsuranceMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_IntelligentMedicalObjectsIncOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Intelligent medical objects, inc one.",
        "label": "Intelligent Medical Objects Inc One [Member]",
        "terseLabel": "Intelligent Medical Objects, Inc."
       }
      }
     },
     "localname": "IntelligentMedicalObjectsIncOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_IntelligentMedicalObjectsIncTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Intelligent medical objects, inc two.",
        "label": "Intelligent Medical Objects Inc Two [Member]",
        "terseLabel": "Intelligent Medical Objects, Inc."
       }
      }
     },
     "localname": "IntelligentMedicalObjectsIncTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_IntelligentMedicalObjectsIncorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Intelligent medical objects, Incorporation.",
        "label": "Intelligent Medical Objects Incorporation [Member]",
        "terseLabel": "Intelligent Medical Objects, Inc."
       }
      }
     },
     "localname": "IntelligentMedicalObjectsIncorporationMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_InteractiveMediaServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interactive media &amp; services member.",
        "label": "Interactive Media Services [Member]",
        "terseLabel": "Interactive Media &amp; Services"
       }
      }
     },
     "localname": "InteractiveMediaServicesMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_InterestAndDividendsReceivable": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 4.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest and dividends receivable.",
        "label": "Interest And Dividends Receivable",
        "terseLabel": "Interest and dividends receivable"
       }
      }
     },
     "localname": "InterestAndDividendsReceivable",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_InterestAndOtherDebtExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations": {
       "order": 0.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest and other debt expenses.",
        "label": "Interest And Other Debt Expenses",
        "terseLabel": "Interest and other debt expenses"
       }
      }
     },
     "localname": "InterestAndOtherDebtExpenses",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_InterestAndOtherDebtExpensesPayable": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest and other debt expenses payable.",
        "label": "Interest And Other Debt Expenses Payable",
        "terseLabel": "Interest and other debt expenses payable"
       }
      }
     },
     "localname": "InterestAndOtherDebtExpensesPayable",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_InternetAndDirectMarketingRetailMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Internet and direct marketing retail.",
        "label": "Internet And Direct Marketing Retail [Member]",
        "terseLabel": "Internet &amp; Direct Marketing Retail"
       }
      }
     },
     "localname": "InternetAndDirectMarketingRetailMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_InternetTruckstopGroupLLCDbaTruckstopMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Internet truckstop group, llc (dba truckstop).",
        "label": "Internet Truckstop Group L L C Dba Truckstop [Member]",
        "terseLabel": "Internet Truckstop Group, LLC (dba Truckstop)"
       }
      }
     },
     "localname": "InternetTruckstopGroupLLCDbaTruckstopMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_InternetTruckstopGroupLLCDbaTruckstopOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Internet truckstop group, llc (dba truckstop) one.",
        "label": "Internet Truckstop Group L L C Dba Truckstop One [Member]",
        "terseLabel": "Internet Truckstop Group, LLC (dba Truckstop)"
       }
      }
     },
     "localname": "InternetTruckstopGroupLLCDbaTruckstopOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_InternetTruckstopGroupLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Internet Truckstop Group LLC.",
        "label": "Internet Truckstop Group LLC [Member]",
        "terseLabel": "Internet Truckstop Group, LLC (dba Truckstop)"
       }
      }
     },
     "localname": "InternetTruckstopGroupLlcMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_InvestmentAdviserContractuallyWaivedIncentiveFeeBasedOnIncome": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment adviser contractually waived incentive fee based on income.",
        "label": "Investment Adviser Contractually Waived Incentive Fee Based On Income",
        "terseLabel": "Investment adviser contractually waived incentive fee based on income"
       }
      }
     },
     "localname": "InvestmentAdviserContractuallyWaivedIncentiveFeeBasedOnIncome",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_InvestmentAdviserDidNotDevelopUnobservableInputsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Adviser did not develop the unobservable inputs.",
        "label": "Investment Adviser Did Not Develop Unobservable Inputs [Member]",
        "terseLabel": "Investment Adviser did not Develop Unobservable Inputs"
       }
      }
     },
     "localname": "InvestmentAdviserDidNotDevelopUnobservableInputsMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_InvestmentAdviserVoluntarilyAgreedToWaiveIncentiveFeeBasedOnCapitalGains": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment adviser voluntarily agreed to waive incentive fee based on capital gains.",
        "label": "Investment Adviser Voluntarily Agreed To Waive Incentive Fee Based On Capital Gains",
        "terseLabel": "Investment adviser voluntarily agreed to waive incentive fee based on capital gains"
       }
      }
     },
     "localname": "InvestmentAdviserVoluntarilyAgreedToWaiveIncentiveFeeBasedOnCapitalGains",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_InvestmentAdviserVoluntarilyWaivedIncentiveFeeBasedOnIncome": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment adviser voluntarily waived incentive fee based on income.",
        "label": "Investment Adviser Voluntarily Waived Incentive Fee Based on Income",
        "terseLabel": "Investment adviser voluntarily waived incentive fee based on income"
       }
      }
     },
     "localname": "InvestmentAdviserVoluntarilyWaivedIncentiveFeeBasedOnIncome",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_InvestmentAdviserVoluntaryAgreedWaiveOfManagementFees": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment adviser voluntary agreed waive of management fees.",
        "label": "Investment Adviser Voluntary Agreed Waive Of Management Fees",
        "terseLabel": "Investment adviser voluntary agreed waive of management fees"
       }
      }
     },
     "localname": "InvestmentAdviserVoluntaryAgreedWaiveOfManagementFees",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_InvestmentAdviserVoluntaryWaivedIncentiveFeeBasedOnCapitalGains": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment adviser voluntary waived incentive fee based on capital gains.",
        "label": "Investment Adviser Voluntary Waived Incentive Fee Based On Capital Gains",
        "terseLabel": "Investment adviser voluntary waived incentive fee based on capital gains"
       }
      }
     },
     "localname": "InvestmentAdviserVoluntaryWaivedIncentiveFeeBasedOnCapitalGains",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_InvestmentCompanyExpenseRatioToAverageNetAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment company expense ratio to average net assets.",
        "label": "Investment Company Expense Ratio to Average Net Assets",
        "terseLabel": "Ratio of net expenses to average net assets"
       }
      }
     },
     "localname": "InvestmentCompanyExpenseRatioToAverageNetAssets",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_InvestmentCompanyNetIncreaseInNetAssetsFromOperations": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit amount of Investment Company, Net increase in net assets from operations.",
        "label": "Investment Company Net Increase In Net Assets From Operations",
        "terseLabel": "Net increase in net assets from operations"
       }
      }
     },
     "localname": "InvestmentCompanyNetIncreaseInNetAssetsFromOperations",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "gsbd_InvestmentCompanyNetRealizedAndUnrealizedGainsLosses": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit amount of Investment Company, Net realized and unrealized gains (losses).",
        "label": "Investment Company Net Realized And Unrealized Gains Losses",
        "terseLabel": "Net realized and unrealized gains (losses)"
       }
      }
     },
     "localname": "InvestmentCompanyNetRealizedAndUnrealizedGainsLosses",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "gsbd_InvestmentCompanyNetRealizedGainLoss": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets": {
       "order": 4.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment company net realized gain (loss).",
        "label": "Investment Company Net Realized Gain Loss",
        "terseLabel": "Net realized gain (loss)"
       }
      }
     },
     "localname": "InvestmentCompanyNetRealizedGainLoss",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_InvestmentCompanyPortfolioTurnoverRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment company portfolio turnover rate.",
        "label": "Investment Company Portfolio Turnover Rate",
        "terseLabel": "Portfolio turnover"
       }
      }
     },
     "localname": "InvestmentCompanyPortfolioTurnoverRate",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_InvestmentCompanyRatioOfExpensesToAverageNetAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment company ratio of expenses to average net assets.",
        "label": "Investment Company Ratio of Expenses To Average Net Assets",
        "terseLabel": "Ratio of total expenses to average net assets"
       }
      }
     },
     "localname": "InvestmentCompanyRatioOfExpensesToAverageNetAssets",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_InvestmentCompanyRatioOfInterestAndOtherDebtExpensesToAverageNetAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment company ratio of interest and other debt expenses to average net assets.",
        "label": "Investment Company Ratio of Interest and Other Debt Expenses to Average Net Assets",
        "terseLabel": "Ratio of interest and other debt expenses to average net assets"
       }
      }
     },
     "localname": "InvestmentCompanyRatioOfInterestAndOtherDebtExpensesToAverageNetAssets",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_InvestmentCompanyRatioOfNetExpensesBeforeVoluntaryWaiversToAverageNetAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment company ratio of net expenses before voluntary waivers to average net assets.",
        "label": "Investment Company Ratio of Net Expenses Before Voluntary Waivers to Average Net Assets",
        "terseLabel": "Ratio of net expenses before voluntary waivers to average net assets"
       }
      }
     },
     "localname": "InvestmentCompanyRatioOfNetExpensesBeforeVoluntaryWaiversToAverageNetAssets",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_InvestmentCompanyRatioOfNetExpensesWithoutIncentiveFeesAndInterestAndOtherDebtExpensesToAverageNetAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment company ratio of net expenses without incentive fees and interest and other debt expenses to average net assets.",
        "label": "Investment Company Ratio of Net Expenses Without Incentive Fees and Interest and Other Debt Expenses to Average Net Assets",
        "terseLabel": "Ratio of net expenses (without incentive fees and interest and other debt expenses) to average net assets"
       }
      }
     },
     "localname": "InvestmentCompanyRatioOfNetExpensesWithoutIncentiveFeesAndInterestAndOtherDebtExpensesToAverageNetAssets",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_InvestmentCompanyTotalReturnBasedOnMarketValue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment company total return based on market value.",
        "label": "Investment Company Total Return Based On Market Value",
        "terseLabel": "Total return based on market value"
       }
      }
     },
     "localname": "InvestmentCompanyTotalReturnBasedOnMarketValue",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_InvestmentIncomeAcceleratedAmortizationOfUpfrontLoanOriginationFeesAndUnamortizedDiscounts": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment income accelerated amortization of upfront loan origination fees and unamortized discounts.",
        "label": "Investment Income Accelerated Amortization of Upfront Loan Origination Fees and Unamortized Discounts",
        "terseLabel": "Accelerated amortization of upfront loan origination fees and unamortized discounts"
       }
      }
     },
     "localname": "InvestmentIncomeAcceleratedAmortizationOfUpfrontLoanOriginationFeesAndUnamortizedDiscounts",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfInterestIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_InvestmentIncomePrepaymentPremiums": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment income prepayment premiums.",
        "label": "Investment Income Prepayment Premiums",
        "terseLabel": "Prepayment premiums"
       }
      }
     },
     "localname": "InvestmentIncomePrepaymentPremiums",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfInterestIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_InvestmentInitialAcquisitionDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment initial acquisition date.",
        "label": "Investment Initial Acquisition Date",
        "terseLabel": "Initial Acquisition Date"
       }
      }
     },
     "localname": "InvestmentInitialAcquisitionDate",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "dateItemType"
    },
    "gsbd_InvestmentInterestRateDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment interest rate description.",
        "label": "Investment Interest Rate Description",
        "terseLabel": "Investment interest rate description"
       }
      }
     },
     "localname": "InvestmentInterestRateDescription",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "gsbd_InvestmentInterestRateOfPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment interest rate of percentage.",
        "label": "Investment Interest Rate Of Percentage",
        "terseLabel": "Investment interest rate of percentage"
       }
      }
     },
     "localname": "InvestmentInterestRateOfPercentage",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_InvestmentOwnedAtCostNetOfCapitalizedDiscount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment owned at cost net of capitalized discount.",
        "label": "Investment Owned At Cost Net Of Capitalized Discount",
        "terseLabel": "Cost"
       }
      }
     },
     "localname": "InvestmentOwnedAtCostNetOfCapitalizedDiscount",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsExcludingInvestmentsInMoneyMarketFundsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_InvestmentOwnedAtFairValueNetOfCapitalizedDiscount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment owned at fair value net of capitalized discount.",
        "label": "Investment Owned At Fair Value Net Of Capitalized Discount",
        "terseLabel": "Fair Value"
       }
      }
     },
     "localname": "InvestmentOwnedAtFairValueNetOfCapitalizedDiscount",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_InvestmentOwnedFloorRates": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Owned, Floor rates.",
        "label": "Investment Owned Floor Rates",
        "terseLabel": "Floor (+)"
       }
      }
     },
     "localname": "InvestmentOwnedFloorRates",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_InvestmentOwnedUnrecognizedAppreciationDepreciationNet": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment owned, unrecognized appreciation (depreciation), net.",
        "label": "Investment Owned, Unrecognized Appreciation (Depreciation), Net",
        "terseLabel": "Unrealized appreciation (depreciation) on foreign currency forward contracts"
       }
      }
     },
     "localname": "InvestmentOwnedUnrecognizedAppreciationDepreciationNet",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_InvestmentPaidInKindRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment paid in kind rate.",
        "label": "Investment Paid In Kind Rate",
        "terseLabel": "Reference Rate and Spread (+), PIK"
       }
      }
     },
     "localname": "InvestmentPaidInKindRate",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_InvestmentReferenceRateAndSpread": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment reference rate and spread.",
        "label": "Investment Reference Rate And Spread",
        "terseLabel": "Reference Rate and Spread (+)"
       }
      }
     },
     "localname": "InvestmentReferenceRateAndSpread",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_InvestmentsAtAmortizedCost": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investments at amortized cost.",
        "label": "Investments At Amortized Cost",
        "terseLabel": "Investments at cost"
       }
      }
     },
     "localname": "InvestmentsAtAmortizedCost",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_InvestmentsInAndAdvancesToAffiliatesAtFairValueNetChangeInUnrealizedAppreciationDepreciation": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investments in and advances to affiliates at fair value net change in unrealized appreciation depreciation.",
        "label": "Investments In And Advances To Affiliates At Fair Value Net Change In Unrealized Appreciation Depreciation",
        "negatedLabel": "Net Change in Unrealized Appreciation (Depreciation)",
        "terseLabel": "Net Change in Unrealized Appreciation (Depreciation)"
       }
      }
     },
     "localname": "InvestmentsInAndAdvancesToAffiliatesAtFairValueNetChangeInUnrealizedAppreciationDepreciation",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsScheduleOfAffiliatedInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_InvestmentsInAndAdvancesToAffiliatesAtFairValueNetRealizedGainLoss": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investments in and advances to affiliates at fair value net realized gain loss.",
        "label": "Investments In And Advances To Affiliates At Fair Value Net Realized Gain Loss",
        "negatedLabel": "Net Realized Gain(Loss)",
        "terseLabel": "Net Realized Gain(Loss)"
       }
      }
     },
     "localname": "InvestmentsInAndAdvancesToAffiliatesAtFairValueNetRealizedGainLoss",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsScheduleOfAffiliatedInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_InvestmentsInAndAdvancesToAffiliatesDividendInterestPaidInKindAndOtherIncome": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investments in and advances to affiliates dividend, interest, paid in-kind and other income.",
        "label": "Investments In And Advances To Affiliates Dividend Interest Paid In-Kind and Other Income",
        "terseLabel": "Dividend, Interest, PIK and Other Income"
       }
      }
     },
     "localname": "InvestmentsInAndAdvancesToAffiliatesDividendInterestPaidInKindAndOtherIncome",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsScheduleOfAffiliatedInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_IracoreInternationalHoldingsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Iracore International Holdings, Inc.",
        "label": "Iracore International Holdings Inc [Member]",
        "terseLabel": "Iracore International Holdings, Inc."
       }
      }
     },
     "localname": "IracoreInternationalHoldingsIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsScheduleOfAffiliatedInvestmentsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_IssuanceOfCommonStockNetUnderwritingAndOfferingCostsValuePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Issuance of common stock, net underwriting and offering costs value per share.",
        "label": "Issuance of common stock, net underwriting and offering costs Value Per Share",
        "terseLabel": "Issuance of common stock, net underwriting and offering costs"
       }
      }
     },
     "localname": "IssuanceOfCommonStockNetUnderwritingAndOfferingCostsValuePerShare",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "gsbd_IssuanceOfCommonStockTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Issuance of common stock.",
        "label": "Issuance Of Common Stock Table [Text Block]",
        "terseLabel": "Schedule of Issuance of Common Stock"
       }
      }
     },
     "localname": "IssuanceOfCommonStockTableTextBlock",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gsbd_IssuanceOfCommonStockValueNetOfOfferingAndUnderwritingCosts": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets": {
       "order": 0.0,
       "parentTag": "gsbd_NetIncreaseDecreaseInNetAssetsFromCapitalTransactions",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Issuance of common stock value net of offering and underwriting costs.",
        "label": "Issuance of Common Stock Value Net of Offering and Underwriting Costs",
        "terseLabel": "Issuance of common stock (net of offering and underwriting costs)"
       }
      }
     },
     "localname": "IssuanceOfCommonStockValueNetOfOfferingAndUnderwritingCosts",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_JillAcquisitionLLCDbaJJillMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Jill acquisition llc (dba j. Jill).",
        "label": "Jill Acquisition L L C Dba J Jill [Member]",
        "terseLabel": "Jill Acquisition LLC (dba J. Jill)"
       }
      }
     },
     "localname": "JillAcquisitionLLCDbaJJillMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_KDORHoldingsIncDbaSennecaHoldingsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "KDOR Holdings Inc. (dba Senneca Holdings).",
        "label": "K D O R Holdings Inc Dba Senneca Holdings [Member]",
        "terseLabel": "KDOR Holdings Inc. (dba Senneca Holdings) Initial Acquisition Date on 05/29/20"
       }
      }
     },
     "localname": "KDORHoldingsIncDbaSennecaHoldingsMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_KDORHoldingsIncDbaSennecaHoldingsThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "KDOR Holdings Inc. dba Senneca Holdings Three.",
        "label": "K D O R Holdings Inc Dba Senneca Holdings Three [Member]",
        "terseLabel": "KDOR Holdings Inc. (dba Senneca Holdings) Initial Acquisition Date on 05/29/20",
        "verboseLabel": "KDOR Holdings Inc. (dba Senneca Holdings)"
       }
      }
     },
     "localname": "KDORHoldingsIncDbaSennecaHoldingsThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_KDORHoldingsIncDbaSennecaHoldingsTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "KDOR Holdings Inc. dba Senneca Holdings Two.",
        "label": "K D O R Holdings Inc Dba Senneca Holdings Two [Member]",
        "terseLabel": "KDOR Holdings Inc. (dba Senneca Holdings) Initial Acquisition Date on 06/22/20",
        "verboseLabel": "KDOR Holdings Inc. (dba Senneca Holdings)"
       }
      }
     },
     "localname": "KDORHoldingsIncDbaSennecaHoldingsTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_KaseyaIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Kaseya inc.",
        "label": "Kaseya Inc [Member]",
        "terseLabel": "Kaseya Inc."
       }
      }
     },
     "localname": "KaseyaIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_KaseyaIncorporationOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Kaseya Incorporation, One.",
        "label": "Kaseya Incorporation One [Member]",
        "terseLabel": "Kaseya Inc."
       }
      }
     },
     "localname": "KaseyaIncorporationOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_KaseyaIncorporationThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Kaseya Incorporation, Three.",
        "label": "Kaseya Incorporation Three [Member]",
        "terseLabel": "Kaseya Inc."
       }
      }
     },
     "localname": "KaseyaIncorporationThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_KaseyaIncorporationTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Kaseya Incorporation, Two.",
        "label": "Kaseya Incorporation Two [Member]",
        "terseLabel": "Kaseya Inc."
       }
      }
     },
     "localname": "KaseyaIncorporationTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_KawaSolarHoldingsLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Kawa Solar Holdings Limited.",
        "label": "Kawa Solar Holdings Limited [Member]",
        "terseLabel": "Kawa Solar Holdings Limited"
       }
      }
     },
     "localname": "KawaSolarHoldingsLimitedMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsScheduleOfAffiliatedInvestmentsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_KawaSolarHoldingsLimitedOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Kawa Solar Holdings Limited, One.",
        "label": "Kawa Solar Holdings Limited One [Member]",
        "terseLabel": "Kawa Solar Holdings Limited"
       }
      }
     },
     "localname": "KawaSolarHoldingsLimitedOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_KawaSolarHoldingsLimitedTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Kawa Solar Holdings Limited, Two.",
        "label": "Kawa Solar Holdings Limited Two [Member]",
        "terseLabel": "Kawa Solar Holdings Limited"
       }
      }
     },
     "localname": "KawaSolarHoldingsLimitedTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_KdorHoldingsIncDbaSennecaHoldingsOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "KDOR holdings inc dba senneca holdings one.",
        "label": "KDOR Holdings Inc Dba Senneca Holdings One [Member]",
        "terseLabel": "KDOR Holdings Inc. (dba Senneca Holdings)"
       }
      }
     },
     "localname": "KdorHoldingsIncDbaSennecaHoldingsOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_LCGVardimanBlackLLCDbaSpecialtyDentalBrandsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "LCG Vardiman Black LLC (dba Specialty Dental Brands).",
        "label": "L C G Vardiman Black L L C Dba Specialty Dental Brands [Member]",
        "terseLabel": "LCG Vardiman Black, LLC (dba Specialty Dental Brands)"
       }
      }
     },
     "localname": "LCGVardimanBlackLLCDbaSpecialtyDentalBrandsMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_LSClinicalServicesHoldingsIncorporationDbaCATOOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "LS Clinical Services Holdings, Incorporation (dba CATO), One.",
        "label": "L S Clinical Services Holdings Incorporation Dba C A T O One [Member]",
        "terseLabel": "LS Clinical Services Holdings, Inc (dba CATO)"
       }
      }
     },
     "localname": "LSClinicalServicesHoldingsIncorporationDbaCATOOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_LSClinicalServicesHoldingsIncorporationDbaCATOTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "LS Clinical Services Holdings, Incorporation (dba CATO), Two.",
        "label": "L S Clinical Services Holdings Incorporation Dba C A T O Two [Member]",
        "terseLabel": "LS Clinical Services Holdings, Inc (dba CATO)"
       }
      }
     },
     "localname": "LSClinicalServicesHoldingsIncorporationDbaCATOTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_LegalAndRegulatoryMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Legal and regulatory.",
        "label": "Legal and Regulatory [Member]"
       }
      }
     },
     "localname": "LegalAndRegulatoryMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_LeisureProductsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Leisure products.",
        "label": "Leisure Products [Member]",
        "terseLabel": "Leisure Products"
       }
      }
     },
     "localname": "LeisureProductsMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_LineOfCreditFacilityCarryingValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt outstanding carrying value.",
        "label": "Line Of Credit Facility Carrying Value",
        "terseLabel": "Carrying Value",
        "verboseLabel": "Outstanding borrowings"
       }
      }
     },
     "localname": "LineOfCreditFacilityCarryingValue",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfOutstandingDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_LineOfCreditFacilityOutstandingAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line of credit facility, outstanding amount.",
        "label": "Line of Credit Facility, Outstanding Amount",
        "terseLabel": "Outstanding borrowings"
       }
      }
     },
     "localname": "LineOfCreditFacilityOutstandingAmount",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfOutstandingDebtParentheticalDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_LithiumTechnologiesIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lithium Technologies, Inc.",
        "label": "Lithium Technologies Inc [Member]",
        "terseLabel": "Lithium Technologies, Inc."
       }
      }
     },
     "localname": "LithiumTechnologiesIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_LithiumTechnologiesIncorporationOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lithium Technologies, Incorporation, One.",
        "label": "Lithium Technologies Incorporation One [Member]",
        "terseLabel": "Lithium Technologies, Inc."
       }
      }
     },
     "localname": "LithiumTechnologiesIncorporationOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_LithiumTechnologiesIncorporationTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lithium Technologies, Incorporation, Two.",
        "label": "Lithium Technologies Incorporation Two [Member]",
        "terseLabel": "Lithium Technologies, Inc."
       }
      }
     },
     "localname": "LithiumTechnologiesIncorporationTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_LsClinicalServicesHoldingsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "LS Clinical Services Holdings, Inc.",
        "label": "Ls Clinical Services Holdings Inc [Member]",
        "terseLabel": "LS Clinical Services Holdings, Inc (dba CATO)"
       }
      }
     },
     "localname": "LsClinicalServicesHoldingsIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_MMITHoldingsLLCDbaManagedMarketsInsightTechnologyOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "MMIT Holdings, LLC (dba Managed Markets Insight &amp; Technology), One.",
        "label": "M M I T Holdings L L C Dba Managed Markets Insight Technology One [Member]",
        "terseLabel": "MMIT Holdings, LLC (dba Managed Markets Insight &amp; Technology)"
       }
      }
     },
     "localname": "MMITHoldingsLLCDbaManagedMarketsInsightTechnologyOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_MMITHoldingsLLCDbaManagedMarketsInsightTechnologyThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "MMIT Holdings, LLC (dba Managed Markets Insight &amp; Technology), Three.",
        "label": "M M I T Holdings L L C Dba Managed Markets Insight Technology Three [Member]",
        "terseLabel": "MMIT Holdings, LLC (dba Managed Markets Insight &amp; Technology)"
       }
      }
     },
     "localname": "MMITHoldingsLLCDbaManagedMarketsInsightTechnologyThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_MMITHoldingsLLCDbaManagedMarketsInsightTechnologyTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "MMIT Holdings, LLC (dba Managed Markets Insight &amp; Technology), Two.",
        "label": "M M I T Holdings L L C Dba Managed Markets Insight Technology Two [Member]",
        "terseLabel": "MMIT Holdings, LLC (dba Managed Markets Insight &amp; Technology)"
       }
      }
     },
     "localname": "MMITHoldingsLLCDbaManagedMarketsInsightTechnologyTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_MPIEngineeredTechnologiesLimitedLiabilityCompanyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "MPI Engineered Technologies, Limited Liability Company.",
        "label": "M P I Engineered Technologies Limited Liability Company [Member]",
        "terseLabel": "MPI Engineered Technologies, LLC"
       }
      }
     },
     "localname": "MPIEngineeredTechnologiesLimitedLiabilityCompanyMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_MPIProductsLimitedLiabilityCompanyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "MPI Products Limited Liability Company.",
        "label": "M P I Products Limited Liability Company [Member]",
        "terseLabel": "MPI Products LLC"
       }
      }
     },
     "localname": "MPIProductsLimitedLiabilityCompanyMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_MRISoftwareLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "MRI Software LLC.",
        "label": "M R I Software L L C [Member]",
        "terseLabel": "MRI Software LLC"
       }
      }
     },
     "localname": "MRISoftwareLLCMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_MRISoftwareLimitedLiabilityCompanyFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "MRI Software Limited Liability Company Four Member.",
        "label": "M R I Software Limited Liability Company Four [Member]",
        "terseLabel": "MRI Software LLC"
       }
      }
     },
     "localname": "MRISoftwareLimitedLiabilityCompanyFourMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_MRISoftwareLimitedLiabilityCompanyOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "MRI Software Limited Liability Company, One.",
        "label": "M R I Software Limited Liability Company One [Member]",
        "terseLabel": "MRI Software LLC"
       }
      }
     },
     "localname": "MRISoftwareLimitedLiabilityCompanyOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_MRISoftwareLimitedLiabilityCompanyThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "MRI Software Limited Liability Company, Three.",
        "label": "M R I Software Limited Liability Company Three [Member]",
        "terseLabel": "MRI Software LLC"
       }
      }
     },
     "localname": "MRISoftwareLimitedLiabilityCompanyThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_MRISoftwareLimitedLiabilityCompanyTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "MRI Software Limited Liability Company, Two.",
        "label": "M R I Software Limited Liability Company Two [Member]",
        "terseLabel": "MRI Software LLC"
       }
      }
     },
     "localname": "MRISoftwareLimitedLiabilityCompanyTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ManagementFee": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Management fee.",
        "label": "Management Fee",
        "terseLabel": "Management fee"
       }
      }
     },
     "localname": "ManagementFee",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_ManagementFeePercentagePerQuarter": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Management fee percentage per quarter.",
        "label": "Management Fee Percentage Per Quarter",
        "terseLabel": "Management fee percentage per quarter"
       }
      }
     },
     "localname": "ManagementFeePercentagePerQuarter",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_MarketDevelopmentsAndGeneralBusinessEnvironmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Market developments and general business environment.",
        "label": "Market Developments and General Business Environment [Member]"
       }
      }
     },
     "localname": "MarketDevelopmentsAndGeneralBusinessEnvironmentMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_MarketPricePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Market price per share.",
        "label": "Market Price Per Share",
        "terseLabel": "Market price, end of period"
       }
      }
     },
     "localname": "MarketPricePerShare",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "gsbd_MeasurementInputRecoveryRateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement Input, Recovery Rate.",
        "label": "Measurement Input Recovery Rate [Member]",
        "terseLabel": "Measurement Input, Recovery Rate"
       }
      }
     },
     "localname": "MeasurementInputRecoveryRateMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_MedeAnalyticsIncorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "MedeAnalytics, Incorporation.",
        "label": "Mede Analytics Incorporation [Member]",
        "terseLabel": "MedeAnalytics, Inc."
       }
      }
     },
     "localname": "MedeAnalyticsIncorporationMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_MerchantWiseSolutionsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "MerchantWise Solutions, LLC.",
        "label": "Merchant Wise Solutions L L C [Member]",
        "terseLabel": "MerchantWise Solutions, LLC (dba HungerRush)"
       }
      }
     },
     "localname": "MerchantWiseSolutionsLLCMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_MerchantWiseSolutionsLimitedLiabilityCompanyDbaHungerRushOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "MerchantWise Solutions, Limited Liability Company (dba HungerRush), One.",
        "label": "Merchant Wise Solutions Limited Liability Company Dba Hunger Rush One [Member]",
        "terseLabel": "MerchantWise Solutions, LLC (dba HungerRush)"
       }
      }
     },
     "localname": "MerchantWiseSolutionsLimitedLiabilityCompanyDbaHungerRushOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_MerchantWiseSolutionsLimitedLiabilityCompanyDbaHungerRushThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "MerchantWise Solutions, Limited Liability Company (dba HungerRush), Three.",
        "label": "Merchant Wise Solutions Limited Liability Company Dba Hunger Rush Three [Member]",
        "terseLabel": "MerchantWise Solutions, LLC (dba HungerRush)"
       }
      }
     },
     "localname": "MerchantWiseSolutionsLimitedLiabilityCompanyDbaHungerRushThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_MerchantWiseSolutionsLimitedLiabilityCompanyDbaHungerRushTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "MerchantWise Solutions, Limited Liability Company (dba HungerRush), Two.",
        "label": "Merchant Wise Solutions Limited Liability Company Dba Hunger Rush Two [Member]",
        "terseLabel": "MerchantWise Solutions, LLC (dba HungerRush)"
       }
      }
     },
     "localname": "MerchantWiseSolutionsLimitedLiabilityCompanyDbaHungerRushTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_MervinManufacturingIncorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Mervin Manufacturing, Incorporation.",
        "label": "Mervin Manufacturing Incorporation [Member]",
        "terseLabel": "Mervin Manufacturing, Inc."
       }
      }
     },
     "localname": "MervinManufacturingIncorporationMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_MilestoneMedicalOutsourcingLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Milestone Medical Outsourcing, LLC.",
        "label": "Milestone Medical Outsourcing Llc [Member]",
        "terseLabel": "Millstone Medical Outsourcing, LLC"
       }
      }
     },
     "localname": "MilestoneMedicalOutsourcingLlcMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_MillstoneMedicalOutsourcingLimitedLiabilityCompanyOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Millstone Medical Outsourcing, Limited Liability Company, One.",
        "label": "Millstone Medical Outsourcing Limited Liability Company One [Member]",
        "terseLabel": "Millstone Medical Outsourcing, LLC"
       }
      }
     },
     "localname": "MillstoneMedicalOutsourcingLimitedLiabilityCompanyOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_MillstoneMedicalOutsourcingLimitedLiabilityCompanyTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Millstone Medical Outsourcing, Limited Liability Company, Two.",
        "label": "Millstone Medical Outsourcing Limited Liability Company Two [Member]",
        "terseLabel": "Millstone Medical Outsourcing, LLC"
       }
      }
     },
     "localname": "MillstoneMedicalOutsourcingLimitedLiabilityCompanyTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_MinimumNetInvestmentIncomePerWeightedShareForConsideringOfWaiveOfIncentiveFeeBasedOnIncome": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Minimum net investment income per weighted share for considering of waive of Incentive Fee based on income.",
        "label": "Minimum Net Investment Income Per Weighted Share For Considering Of Waive Of Incentive Fee Based On Income",
        "terseLabel": "Minimum net investment income per weighted share for considering of waive of Incentive Fee based on income"
       }
      }
     },
     "localname": "MinimumNetInvestmentIncomePerWeightedShareForConsideringOfWaiveOfIncentiveFeeBasedOnIncome",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "gsbd_MmitHoldingsLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "MMIT Holdings, LLC.",
        "label": "MMIT Holdings, LLC [Member]",
        "terseLabel": "MMIT Holdings, LLC (dba Managed Markets Insight &amp; Technology)"
       }
      }
     },
     "localname": "MmitHoldingsLlcMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_MoneyMarketFundsPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Money market funds.",
        "label": "Money Market Funds Policy [Text Block]",
        "terseLabel": "Money Market Funds"
       }
      }
     },
     "localname": "MoneyMarketFundsPolicyTextBlock",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gsbd_NFMJLimitedPartnershipDbaFacilitiesGroupOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "NFM &amp; J, Limited Partnership (dba the Facilities Group), One.",
        "label": "N F M J Limited Partnership Dba Facilities Group One [Member]",
        "terseLabel": "NFM &amp; J, L.P. (dba the Facilities Group)"
       }
      }
     },
     "localname": "NFMJLimitedPartnershipDbaFacilitiesGroupOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_NFMJLimitedPartnershipDbaFacilitiesGroupThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "NFM &amp; J, Limited Partnership (dba the Facilities Group), Three.",
        "label": "N F M J Limited Partnership Dba Facilities Group Three [Member]",
        "terseLabel": "NFM &amp; J, L.P. (dba the Facilities Group)"
       }
      }
     },
     "localname": "NFMJLimitedPartnershipDbaFacilitiesGroupThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_NFMJLimitedPartnershipDbaFacilitiesGroupTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "NFM &amp; J, Limited Partnership (dba the Facilities Group), Two.",
        "label": "N F M J Limited Partnership Dba Facilities Group Two [Member]",
        "terseLabel": "NFM &amp; J, L.P. (dba the Facilities Group)"
       }
      }
     },
     "localname": "NFMJLimitedPartnershipDbaFacilitiesGroupTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_NationalSpineAndPainCentersLimitedLiabilityCompanyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "National Spine and Pain Centers, Limited Liability Company.",
        "label": "National Spine And Pain Centers Limited Liability Company [Member]",
        "terseLabel": "National Spine and Pain Centers, LLC"
       }
      }
     },
     "localname": "NationalSpineAndPainCentersLimitedLiabilityCompanyMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_NetAssetsDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net assets disclosure.",
        "label": "Net Assets Disclosure [Text Block]",
        "terseLabel": "Net Assets"
       }
      }
     },
     "localname": "NetAssetsDisclosureTextBlock",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssets"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gsbd_NetChangeInUnrealizedAppreciationDepreciationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net change in unrealized appreciation depreciation.",
        "label": "Net Change In Unrealized Appreciation Depreciation [Abstract]",
        "terseLabel": "Net change in unrealized appreciation (depreciation) from:"
       }
      }
     },
     "localname": "NetChangeInUnrealizedAppreciationDepreciationAbstract",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "gsbd_NetChangeInUnrealizedAppreciationDepreciationFromControlledAffiliatedInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations": {
       "order": 5.0,
       "parentTag": "us-gaap_GainLossOnInvestments",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net change in unrealized appreciation (depreciation) from controlled affiliated investments.",
        "label": "Net Change In Unrealized Appreciation Depreciation From Controlled Affiliated Investments",
        "terseLabel": "Controlled affiliated investments"
       }
      }
     },
     "localname": "NetChangeInUnrealizedAppreciationDepreciationFromControlledAffiliatedInvestments",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_NetChangeInUnrealizedAppreciationDepreciationFromNonControlledAffiliatedInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations": {
       "order": 9.0,
       "parentTag": "us-gaap_GainLossOnInvestments",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net change in unrealized appreciation (depreciation) from non controlled affiliated investments.",
        "label": "Net Change In Unrealized Appreciation Depreciation From Non Controlled Affiliated Investments",
        "terseLabel": "Non-controlled affiliated investments"
       }
      }
     },
     "localname": "NetChangeInUnrealizedAppreciationDepreciationFromNonControlledAffiliatedInvestments",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_NetChangeInUnrealizedAppreciationDepreciationFromNonControlledAndNonAffiliatedInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations": {
       "order": 6.0,
       "parentTag": "us-gaap_GainLossOnInvestments",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net change in unrealized appreciation (depreciation) from non controlled and non affiliated investments.",
        "label": "Net Change In Unrealized Appreciation Depreciation From Non Controlled And Non Affiliated Investments",
        "terseLabel": "Non-controlled/non-affiliated investments"
       }
      }
     },
     "localname": "NetChangeInUnrealizedAppreciationDepreciationFromNonControlledAndNonAffiliatedInvestments",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_NetChangeInUnrealizedAppreciationDepreciationOnForeignCurrencyForwardContractsAndTransactions": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows": {
       "order": 14.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net change in unrealized (appreciation) depreciation on foreign currency forward contracts and transactions.",
        "label": "Net Change In Unrealized Appreciation Depreciation On Foreign Currency Forward Contracts And Transactions",
        "negatedLabel": "Net change in unrealized (appreciation) depreciation on foreign currency forward contracts and transactions"
       }
      }
     },
     "localname": "NetChangeInUnrealizedAppreciationDepreciationOnForeignCurrencyForwardContractsAndTransactions",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_NetChangeInUnrealizedAppreciationDepreciationOnInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net change in unrealized (appreciation) depreciation on investments.",
        "label": "Net Change In Unrealized Appreciation Depreciation On Investments",
        "negatedLabel": "Net change in unrealized (appreciation) depreciation on investments"
       }
      }
     },
     "localname": "NetChangeInUnrealizedAppreciationDepreciationOnInvestments",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_NetChangesInUnrealizedAppreciationDepreciation": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets": {
       "order": 2.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net changes in unrealized appreciation (depreciation).",
        "label": "Net Changes In Unrealized Appreciation (Depreciation)",
        "terseLabel": "Net change in unrealized appreciation (depreciation)"
       }
      }
     },
     "localname": "NetChangesInUnrealizedAppreciationDepreciation",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_NetExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations": {
       "order": 0.0,
       "parentTag": "gsbd_NetInvestmentIncomeBeforeTaxes",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net expenses.",
        "label": "Net Expenses",
        "terseLabel": "Net expenses",
        "totalLabel": "Net expenses"
       }
      }
     },
     "localname": "NetExpenses",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_NetIncreaseDecreaseInNetAssetsFromCapitalTransactions": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets": {
       "order": 3.0,
       "parentTag": "us-gaap_PartnersCapitalAccountPeriodIncreaseDecrease",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net increase decrease in net assets from capital transactions.",
        "label": "Net Increase Decrease In Net Assets From Capital Transactions",
        "totalLabel": "Net increase in net assets from capital transactions"
       }
      }
     },
     "localname": "NetIncreaseDecreaseInNetAssetsFromCapitalTransactions",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_NetIncreaseDecreaseInNetAssetsFromOperations": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net increase decrease in net assets from operations.",
        "label": "Net Increase Decrease In Net Assets From Operations",
        "terseLabel": "Net increase (decrease) in net assets from operations",
        "totalLabel": "Net increase in net assets from operations"
       }
      }
     },
     "localname": "NetIncreaseDecreaseInNetAssetsFromOperations",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureEarningsLossPerShareScheduleOfBasicAndDilutedEarningPerUnitDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_NetInvestmentIncomeBeforeTaxes": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_NetInvestmentIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net investment income before taxes.",
        "label": "Net Investment Income Before Taxes",
        "totalLabel": "Net investment income before taxes"
       }
      }
     },
     "localname": "NetInvestmentIncomeBeforeTaxes",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_NetInvestmentIncomeLimitedPartnershipPerUnitBasicAndDiluted": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net investment income limited partnership per unit basic and diluted.",
        "label": "Net Investment Income Limited Partnership Per Unit Basic And Diluted",
        "terseLabel": "Net investment income per share (basic and diluted)"
       }
      }
     },
     "localname": "NetInvestmentIncomeLimitedPartnershipPerUnitBasicAndDiluted",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "perShareItemType"
    },
    "gsbd_NetProceedsFromIssuanceOfCommonStockAfterDeductingUnderwritingOrOfferingExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsScheduleOfIssuanceOfCommonStockDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net proceeds from issuance of common stock after deducting underwriting or offering expenses.",
        "label": "Net Proceeds from Issuance of Common Stock After Deducting Underwriting or Offering Expenses",
        "totalLabel": "Net Proceeds"
       }
      }
     },
     "localname": "NetProceedsFromIssuanceOfCommonStockAfterDeductingUnderwritingOrOfferingExpenses",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsScheduleOfIssuanceOfCommonStockDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_NetRealizedGainLossAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net realized gain loss.",
        "label": "Net Realized Gain Loss [Abstract]",
        "terseLabel": "Net realized gain (loss) from:"
       }
      }
     },
     "localname": "NetRealizedGainLossAbstract",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "gsbd_NetRealizedGainLossFromControlledAffiliatedInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations": {
       "order": 3.0,
       "parentTag": "us-gaap_GainLossOnInvestments",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net realized gain (loss) from controlled affiliated investments.",
        "label": "Net Realized Gain Loss From Controlled Affiliated Investments",
        "terseLabel": "Controlled affiliated investments"
       }
      }
     },
     "localname": "NetRealizedGainLossFromControlledAffiliatedInvestments",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_NetRealizedGainLossFromForeignCurrencyForwardContracts": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations": {
       "order": 8.0,
       "parentTag": "us-gaap_GainLossOnInvestments",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net realized gain (loss) from foreign currency forward contracts.",
        "label": "Net Realized Gain Loss From Foreign Currency Forward Contracts",
        "terseLabel": "Foreign currency forward contracts",
        "verboseLabel": "Net realized gain (loss) on foreign currency forward contracts"
       }
      }
     },
     "localname": "NetRealizedGainLossFromForeignCurrencyForwardContracts",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_NetRealizedGainLossFromNonControlledAffiliatedInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_GainLossOnInvestments",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net realized gain (loss) from non-controlled affiliated investments.",
        "label": "Net Realized Gain Loss From Non Controlled Affiliated Investments",
        "terseLabel": "Non-controlled affiliated investments"
       }
      }
     },
     "localname": "NetRealizedGainLossFromNonControlledAffiliatedInvestments",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_NetRealizedGainLossFromNonControlledNonAffiliatedInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations": {
       "order": 4.0,
       "parentTag": "us-gaap_GainLossOnInvestments",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net realized gain (loss) from non controlled non affiliated investments.",
        "label": "Net Realized Gain Loss From Non Controlled Non Affiliated Investments",
        "terseLabel": "Non-controlled/non-affiliated investments"
       }
      }
     },
     "localname": "NetRealizedGainLossFromNonControlledNonAffiliatedInvestments",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_NetUnrealizedAppreciationDepreciationFromForeignCurrencyForwardContracts": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations": {
       "order": 7.0,
       "parentTag": "us-gaap_GainLossOnInvestments",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net unrealized appreciation (depreciation) from foreign currency forward contracts.",
        "label": "Net Unrealized Appreciation Depreciation From Foreign Currency Forward Contracts",
        "terseLabel": "Foreign currency forward contracts"
       }
      }
     },
     "localname": "NetUnrealizedAppreciationDepreciationFromForeignCurrencyForwardContracts",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_NfmJLPMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "NFM &amp; J,L.P.",
        "label": "Nfm J L P [Member]",
        "terseLabel": "NFM &amp; J, L.P. (dba the Facilities Group)"
       }
      }
     },
     "localname": "NfmJLPMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_NonAccrualInvestmentsPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non accrual investments.",
        "label": "Non Accrual Investments Policy [Text Block]",
        "terseLabel": "Non-Accrual Investments"
       }
      }
     },
     "localname": "NonAccrualInvestmentsPolicyTextBlock",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gsbd_NonControlledAffiliatedInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 1.0,
       "parentTag": "us-gaap_Investments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non controlled affiliated investments.",
        "label": "Non Controlled Affiliated Investments",
        "terseLabel": "Non-controlled affiliated investments (cost of $58,267 and $58,221)"
       }
      }
     },
     "localname": "NonControlledAffiliatedInvestments",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_NonControlledAffiliatedInvestmentsAtCost": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non controlled affiliated investments at cost.",
        "label": "Non Controlled Affiliated Investments At Cost",
        "terseLabel": "Non-controlled affiliated investments at cost"
       }
      }
     },
     "localname": "NonControlledAffiliatedInvestmentsAtCost",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_NonControlledAffiliatedInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non controlled affiliated investments.",
        "label": "Non Controlled Affiliated Investments [Member]",
        "terseLabel": "From Non-controlled Affiliated Investments",
        "verboseLabel": "Non-Controlled Affiliates"
       }
      }
     },
     "localname": "NonControlledAffiliatedInvestmentsMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsScheduleOfAffiliatedInvestmentsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_NonControlledAndNonAffiliatedInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 0.0,
       "parentTag": "us-gaap_Investments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non controlled and non affiliated investments.",
        "label": "Non Controlled And Non Affiliated Investments",
        "terseLabel": "Non-controlled/non-affiliated investments (cost of $3,664,754 and $3,416,195)"
       }
      }
     },
     "localname": "NonControlledAndNonAffiliatedInvestments",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_NonControlledAndNonAffiliatedInvestmentsAtCost": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non controlled and non affiliated investments at cost.",
        "label": "Non Controlled And Non Affiliated Investments At Cost",
        "terseLabel": "Non-controlled/non-affiliated investments at cost"
       }
      }
     },
     "localname": "NonControlledAndNonAffiliatedInvestmentsAtCost",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_NonControlledNonAffiliatedInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non controlled non affiliated investments.",
        "label": "Non Controlled Non Affiliated Investments [Member]",
        "terseLabel": "From Non-controlled/ Non-affiliated Investments"
       }
      }
     },
     "localname": "NonControlledNonAffiliatedInvestmentsMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_NumberOfComponentsIncludedInIncentiveFees": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of components included in incentive fees",
        "label": "Number Of Components Included In Incentive Fees",
        "terseLabel": "Number of components included in incentive fees"
       }
      }
     },
     "localname": "NumberOfComponentsIncludedInIncentiveFees",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "gsbd_OdysseyLogisticsTechnologyCorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Odyssey Logistics &amp; Technology Corporation.",
        "label": "Odyssey Logistics Technology Corporation [Member]",
        "terseLabel": "Odyssey Logistics &amp; Technology Corporation"
       }
      }
     },
     "localname": "OdysseyLogisticsTechnologyCorporationMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_OilGasAndConsumableFuelsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Oil, gas and consumable fuels.",
        "label": "Oil Gas And Consumable Fuels [Member]",
        "terseLabel": "Oil, Gas &amp; Consumable Fuels"
       }
      }
     },
     "localname": "OilGasAndConsumableFuelsMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_OneGILLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "One GI LLC.",
        "label": "One G I L L C [Member]",
        "terseLabel": "One GI LLC"
       }
      }
     },
     "localname": "OneGILLCMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_OneGILimitedLiabilityCompanyFiveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "One GI Limited Liability Company, Five.",
        "label": "One G I Limited Liability Company Five [Member]",
        "terseLabel": "One GI LLC"
       }
      }
     },
     "localname": "OneGILimitedLiabilityCompanyFiveMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_OneGILimitedLiabilityCompanyFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "One GI Limited Liability Company, Four.",
        "label": "One G I Limited Liability Company Four [Member]",
        "terseLabel": "One GI LLC"
       }
      }
     },
     "localname": "OneGILimitedLiabilityCompanyFourMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_OneGILimitedLiabilityCompanyOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "One GI Limited Liability Company, One.",
        "label": "One G I Limited Liability Company One [Member]",
        "terseLabel": "One GI LLC"
       }
      }
     },
     "localname": "OneGILimitedLiabilityCompanyOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_OneGILimitedLiabilityCompanyThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "One GI Limited Liability Company, Three.",
        "label": "One G I Limited Liability Company Three [Member]",
        "terseLabel": "One GI LLC"
       }
      }
     },
     "localname": "OneGILimitedLiabilityCompanyThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_OneGILimitedLiabilityCompanyTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "One GI Limited Liability Company, Two.",
        "label": "One G I Limited Liability Company Two [Member]",
        "terseLabel": "One GI LLC"
       }
      }
     },
     "localname": "OneGILimitedLiabilityCompanyTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_OneMonthLIBORMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "One month LIBOR.",
        "label": "One Month L I B O R [Member]",
        "terseLabel": "1 month LIBOR"
       }
      }
     },
     "localname": "OneMonthLIBORMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_OneMonthSOFRMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "One Month S O F R.",
        "label": "One Month S O F R [Member]",
        "terseLabel": "1 month SOFR"
       }
      }
     },
     "localname": "OneMonthSOFRMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_OneTwoSevenTwoSevenSevenFiveBCLTDDbaEverestClinicalResearchOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "One Two Seven Two Seven Seven Five B.C. LTD. (dba Everest Clinical Research), one.",
        "label": "One Two Seven Two Seven Seven Five B C L T D Dba Everest Clinical Research One [Member]",
        "terseLabel": "1272775 B.C. LTD. (dba Everest Clinical Research)"
       }
      }
     },
     "localname": "OneTwoSevenTwoSevenSevenFiveBCLTDDbaEverestClinicalResearchOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_OneTwoSevenTwoSevenSevenFiveBCLTDDbaEverestClinicalResearchThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "One Two Seven Two Seven Seven Five B.C. LTD. (dba Everest Clinical Research), three.",
        "label": "One Two Seven Two Seven Seven Five B C L T D Dba Everest Clinical Research Three [Member]",
        "terseLabel": "1272775 B.C. LTD. (dba Everest Clinical Research)"
       }
      }
     },
     "localname": "OneTwoSevenTwoSevenSevenFiveBCLTDDbaEverestClinicalResearchThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_OneTwoSevenTwoSevenSevenFiveBCLTDDbaEverestClinicalResearchTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "One Two Seven Two Seven Seven Five B.C. LTD. (dba Everest Clinical Research), two.",
        "label": "One Two Seven Two Seven Seven Five B C L T D Dba Everest Clinical Research Two [Member]",
        "terseLabel": "1272775 B.C. LTD. (dba Everest Clinical Research)"
       }
      }
     },
     "localname": "OneTwoSevenTwoSevenSevenFiveBCLTDDbaEverestClinicalResearchTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_OneTwoSevenTwoSevenSevenFiveBCLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "One two seven two seven seven five BC Limited.",
        "label": "One Two Seven Two Seven Seven Five B C Limited [Member]",
        "terseLabel": "1272775 B.C. LTD. (dba Everest Clinical Research)"
       }
      }
     },
     "localname": "OneTwoSevenTwoSevenSevenFiveBCLimitedMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_OneWeekLiborMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "One week LIBOR.",
        "label": "One Week LIBOR [Member]",
        "terseLabel": "1 week LIBOR"
       }
      }
     },
     "localname": "OneWeekLiborMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_OriginalIssueDiscountNetOfAccretion": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Original Issue Discount Net of Accretion",
        "label": "Original Issue Discount Net Of Accretion",
        "terseLabel": "OID, net of accretion"
       }
      }
     },
     "localname": "OriginalIssueDiscountNetOfAccretion",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfCarryingValueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_OurBusinessAndStructureMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Our business and structure.",
        "label": "Our Business and Structure [Member]"
       }
      }
     },
     "localname": "OurBusinessAndStructureMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_OurInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Our investments.",
        "label": "Our Investments [Member]"
       }
      }
     },
     "localname": "OurInvestmentsMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_OutputServicesGroupIncorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Output Services Group, Incorporation.",
        "label": "Output Services Group Incorporation [Member]",
        "terseLabel": "Output Services Group, Inc."
       }
      }
     },
     "localname": "OutputServicesGroupIncorporationMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PDDSHoldcoIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PDDS Holdco, Inc.",
        "label": "P D D S Holdco Inc [Member]",
        "terseLabel": "PDDS Holdco, Inc. (dba Planet DDS)"
       }
      }
     },
     "localname": "PDDSHoldcoIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PDDSHoldcoIncorporationDbaPlanetDDSFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PDDS Holdco, Incorporation (dba Planet DDS), Four.",
        "label": "P D D S Holdco Incorporation Dba Planet D D S Four [Member]",
        "terseLabel": "PDDS Holdco, Inc. (dba Planet DDS)"
       }
      }
     },
     "localname": "PDDSHoldcoIncorporationDbaPlanetDDSFourMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PDDSHoldcoIncorporationDbaPlanetDDSOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PDDS Holdco, Incorporation (dba Planet DDS), One.",
        "label": "P D D S Holdco Incorporation Dba Planet D D S One [Member]",
        "terseLabel": "PDDS Holdco, Inc. (dba Planet DDS)"
       }
      }
     },
     "localname": "PDDSHoldcoIncorporationDbaPlanetDDSOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PDDSHoldcoIncorporationDbaPlanetDDSThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PDDS Holdco, Incorporation (dba Planet DDS), Three.",
        "label": "P D D S Holdco Incorporation Dba Planet D D S Three [Member]",
        "terseLabel": "PDDS Holdco, Inc. (dba Planet DDS)"
       }
      }
     },
     "localname": "PDDSHoldcoIncorporationDbaPlanetDDSThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PDDSHoldcoIncorporationDbaPlanetDDSTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PDDS Holdco, Incorporation (dba Planet DDS), Two.",
        "label": "P D D S Holdco Incorporation Dba Planet D D S Two [Member]",
        "terseLabel": "PDDS Holdco, Inc. (dba Planet DDS)"
       }
      }
     },
     "localname": "PDDSHoldcoIncorporationDbaPlanetDDSTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PTIntermediateHoldingsIIILLCDbaPartsTownMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PT Intermediate Holdings III, LLC (dba Parts Town).",
        "label": "P T Intermediate Holdings I I I L L C Dba Parts Town [Member]",
        "terseLabel": "PT Intermediate Holdings III, LLC (dba Parts Town)"
       }
      }
     },
     "localname": "PTIntermediateHoldingsIIILLCDbaPartsTownMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PTIntermediateHoldingsIIILLCDbaPartsTownOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PT Intermediate Holdings III, LLC (dba Parts Town) one.",
        "label": "P T Intermediate Holdings I I I L L C Dba Parts Town One [Member]",
        "terseLabel": "PT Intermediate Holdings III, LLC (dba Parts Town)"
       }
      }
     },
     "localname": "PTIntermediateHoldingsIIILLCDbaPartsTownOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PTIntermediateHoldingsIIILLCDbaPartsTownThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PT Intermediate Holdings III, LLC (dba Parts Town) three.",
        "label": "P T Intermediate Holdings I I I L L C Dba Parts Town Three [Member]",
        "terseLabel": "PT Intermediate Holdings III, LLC (dba Parts Town)"
       }
      }
     },
     "localname": "PTIntermediateHoldingsIIILLCDbaPartsTownThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PTIntermediateHoldingsIIILLCDbaPartsTownTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PT Intermediate Holdings III, LLC (dba Parts Town) two.",
        "label": "P T Intermediate Holdings I I I L L C Dba Parts Town Two [Member]",
        "terseLabel": "PT Intermediate Holdings III, LLC (dba Parts Town)"
       }
      }
     },
     "localname": "PTIntermediateHoldingsIIILLCDbaPartsTownTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PartnersCapitalAccountCapitalTransactionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Partners Capital Account Capital Transaction Abstract.",
        "label": "Partners Capital Account Capital Transaction [Abstract]",
        "terseLabel": "Capital transactions:"
       }
      }
     },
     "localname": "PartnersCapitalAccountCapitalTransactionAbstract",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets"
     ],
     "xbrltype": "stringItemType"
    },
    "gsbd_PaymentInKind": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations": {
       "order": 0.0,
       "parentTag": "us-gaap_InvestmentIncomeNet",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Payment in Kind",
        "label": "Payment In Kind",
        "terseLabel": "Payment-in-kind"
       }
      }
     },
     "localname": "PaymentInKind",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_PaymentInKindInterestCapitalized": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Payment in kind interest capitalised.",
        "label": "Payment In Kind Interest Capitalised",
        "negatedLabel": "Payment-in-kind interest capitalized"
       }
      }
     },
     "localname": "PaymentInKindInterestCapitalized",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_PaymentsForPurchaseOfInvestmentsOperatingActivities": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Payments for purchase of investments, operating activities.",
        "label": "Payments For Purchase Of Investments, Operating Activities",
        "negatedLabel": "Purchases of Investments"
       }
      }
     },
     "localname": "PaymentsForPurchaseOfInvestmentsOperatingActivities",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_PddsHoldcoIncorporationDbaPlanetDdsFiveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pdds holdco incorporation dba planet dds five.",
        "label": "PDDS Holdco Incorporation Dba Planet DDS Five [Member]",
        "terseLabel": "PDDS Holdco, Inc. (dba Planet DDS)"
       }
      }
     },
     "localname": "PddsHoldcoIncorporationDbaPlanetDdsFiveMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PercentageOfCatchUpAmountMultipliedByNav": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of catch-up amount multiplied by nav.",
        "label": "Percentage Of Catch Up Amount Multiplied By Nav",
        "terseLabel": "Percentage of Catch-up Amount Multiplied by NAV"
       }
      }
     },
     "localname": "PercentageOfCatchUpAmountMultipliedByNav",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_PercentageOfCommissionReceivableBySalesAgent": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of commission receivable by sales agent.",
        "label": "Percentage of Commission Receivable By Sales Agent",
        "terseLabel": "Percentage of commission receivable by sales agent"
       }
      }
     },
     "localname": "PercentageOfCommissionReceivableBySalesAgent",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_PercentageOfDifferenceConsideredForIncentiveFeeBasedOnCapitalGainCalculation": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of difference considered for incentive fee based on capital gain calculation.",
        "label": "Percentage Of Difference Considered For Incentive Fee Based On Capital Gain Calculation",
        "terseLabel": "Percentage of difference considered for incentive fee based on capital gain calculation"
       }
      }
     },
     "localname": "PercentageOfDifferenceConsideredForIncentiveFeeBasedOnCapitalGainCalculation",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_PercentageOfIncentiveFeeCap": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of incentive fee cap.",
        "label": "Percentage Of Incentive Fee Cap",
        "terseLabel": "Percentage of incentive fee cap"
       }
      }
     },
     "localname": "PercentageOfIncentiveFeeCap",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_PercentageOfIncentiveFeeIfCapitalGainsPositive": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of incentive fee If capital gains positive.",
        "label": "Percentage Of Incentive Fee If Capital Gains Positive",
        "terseLabel": "Percentage of incentive fee If capital gains positive"
       }
      }
     },
     "localname": "PercentageOfIncentiveFeeIfCapitalGainsPositive",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_PercentageOfInvestmentsAtFairValue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of investments at fair value.",
        "label": "Percentage Of Investments At Fair Value",
        "terseLabel": "Fair Value"
       }
      }
     },
     "localname": "PercentageOfInvestmentsAtFairValue",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureInvestmentsScheduleOfGeographicCompositionOfInvestmentsAtFairValueParentheticalDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsParentheticalDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfGeographicCompositionOfInvestmentsAtFairValueDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_PercentageOfMaximumCommissionReceivableBySalesAgent": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of maximum commission receivable by sales agent.",
        "label": "Percentage of Maximum Commission Receivable By Sales Agent",
        "terseLabel": "Percentage of maximum commission receivable by sales agent"
       }
      }
     },
     "localname": "PercentageOfMaximumCommissionReceivableBySalesAgent",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_PercentageOfNonAccrualInvestmentAtAmortizedCost": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of non accrual investment at amortized cost.",
        "label": "Percentage Of Non Accrual Investment At Amortized Cost",
        "terseLabel": "Percentage of non-accrual investment at amortized cost"
       }
      }
     },
     "localname": "PercentageOfNonAccrualInvestmentAtAmortizedCost",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_PercentageOfNonAccrualInvestmentAtFairValue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of non accrual Investment at fair value.",
        "label": "Percentage Of Non Accrual Investment At Fair Value",
        "terseLabel": "Percentage of non-accrual investment at fair value"
       }
      }
     },
     "localname": "PercentageOfNonAccrualInvestmentAtFairValue",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_PercentageOfNotQualifyingAssetsRepresentingCompanyAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of not qualifying assets representing company assets.",
        "label": "Percentage Of Not Qualifying Assets Representing Company Assets",
        "terseLabel": "Percentage of not qualifying assets"
       }
      }
     },
     "localname": "PercentageOfNotQualifyingAssetsRepresentingCompanyAssets",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_PercentageOfOrdinaryIncomeConsideredForIncentiveIfThatExceedsHurdleAmount": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of ordinary income considered for incentive If that exceeds hurdle amount.",
        "label": "Percentage Of Ordinary Income Considered For Incentive If That Exceeds Hurdle Amount",
        "terseLabel": "Percentage of ordinary income considered for incentive If that exceeds hurdle amount"
       }
      }
     },
     "localname": "PercentageOfOrdinaryIncomeConsideredForIncentiveIfThatExceedsHurdleAmount",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_PercentageOfOutstandingCommonStockOwnedByAffiliates": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of outstanding common stock owned by affiliates.",
        "label": "Percentage Of Outstanding Common Stock Owned By Affiliates",
        "terseLabel": "Percentage of ownership of common stock by Affiliates"
       }
      }
     },
     "localname": "PercentageOfOutstandingCommonStockOwnedByAffiliates",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_PercentageOfOutstandingVotingSecurities": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of outstanding voting securities.",
        "label": "Percentage Of Outstanding Voting Securities",
        "terseLabel": "Percentage of outstanding voting securities"
       }
      }
     },
     "localname": "PercentageOfOutstandingVotingSecurities",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_PercentageOfQualifyingAssetsRepresentingCompanyAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of qualifying assets representing company assets.",
        "label": "Percentage Of Qualifying Assets Representing Company Assets",
        "terseLabel": "Percentage of qualifying assets"
       }
      }
     },
     "localname": "PercentageOfQualifyingAssetsRepresentingCompanyAssets",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_PercentageOrdinaryIncomeConsideredForIncentiveIfThatExceedsCatchupAmount": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage ordinary income considered for incentive if that exceeds catchup amount.",
        "label": "Percentage Ordinary Income Considered For Incentive If That Exceeds Catchup Amount",
        "terseLabel": "Percentage ordinary income considered for incentive if that exceeds catchup amount"
       }
      }
     },
     "localname": "PercentageOrdinaryIncomeConsideredForIncentiveIfThatExceedsCatchupAmount",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gsbd_PharmaceuticalsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pharmaceuticals.",
        "label": "Pharmaceuticals [Member]",
        "terseLabel": "Pharmaceuticals"
       }
      }
     },
     "localname": "PharmaceuticalsMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PictureHeadMidcoLimitedLiabilityCompanyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Picture Head Midco Limited Liability Company.",
        "label": "Picture Head Midco Limited Liability Company [Member]",
        "terseLabel": "Picture Head Midco LLC"
       }
      }
     },
     "localname": "PictureHeadMidcoLimitedLiabilityCompanyMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PioneerBuyerILLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pioneer Buyer I, LLC.",
        "label": "Pioneer Buyer I L L C [Member]",
        "terseLabel": "Pioneer Buyer I, LLC"
       }
      }
     },
     "localname": "PioneerBuyerILLCMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PioneerBuyerILimitedLiabilityCompanyOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pioneer Buyer I, Limited Liability Company, One.",
        "label": "Pioneer Buyer I Limited Liability Company One [Member]",
        "terseLabel": "Pioneer Buyer I, LLC"
       }
      }
     },
     "localname": "PioneerBuyerILimitedLiabilityCompanyOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PioneerBuyerILimitedLiabilityCompanyTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pioneer Buyer I, Limited Liability Company, Two.",
        "label": "Pioneer Buyer I Limited Liability Company Two [Member]",
        "terseLabel": "Pioneer Buyer I, LLC"
       }
      }
     },
     "localname": "PioneerBuyerILimitedLiabilityCompanyTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PlanSourceHoldingsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PlanSource Holdings, Inc.",
        "label": "Plan Source Holdings Inc [Member]",
        "terseLabel": "PlanSource Holdings, Inc."
       }
      }
     },
     "localname": "PlanSourceHoldingsIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PlanSourceHoldingsIncorporationFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PlanSource Holdings, Incorporation, Four.",
        "label": "Plan Source Holdings Incorporation Four [Member]",
        "terseLabel": "PlanSource Holdings, Inc."
       }
      }
     },
     "localname": "PlanSourceHoldingsIncorporationFourMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PlanSourceHoldingsIncorporationOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PlanSource Holdings, Incorporation, One.",
        "label": "Plan Source Holdings Incorporation One [Member]",
        "terseLabel": "PlanSource Holdings, Inc."
       }
      }
     },
     "localname": "PlanSourceHoldingsIncorporationOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PlanSourceHoldingsIncorporationThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PlanSource Holdings, Incorporation, Three.",
        "label": "Plan Source Holdings Incorporation Three [Member]",
        "terseLabel": "PlanSource Holdings, Inc."
       }
      }
     },
     "localname": "PlanSourceHoldingsIncorporationThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PlanSourceHoldingsIncorporationTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PlanSource Holdings, Incorporation, Two.",
        "label": "Plan Source Holdings Incorporation Two [Member]",
        "terseLabel": "PlanSource Holdings, Inc."
       }
      }
     },
     "localname": "PlanSourceHoldingsIncorporationTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PluralsightIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pluralsight, Inc.",
        "label": "Pluralsight Inc [Member]",
        "terseLabel": "Pluralsight, Inc"
       }
      }
     },
     "localname": "PluralsightIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PluralsightIncorporationOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pluralsight, Incorporation, One.",
        "label": "Pluralsight Incorporation One [Member]",
        "terseLabel": "Pluralsight, Inc"
       }
      }
     },
     "localname": "PluralsightIncorporationOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PluralsightIncorporationTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pluralsight, Incorporation, Two.",
        "label": "Pluralsight Incorporation Two [Member]",
        "terseLabel": "Pluralsight, Inc"
       }
      }
     },
     "localname": "PluralsightIncorporationTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PowerStopLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Power Stop LLC Member.",
        "label": "Power Stop L L C [Member]",
        "terseLabel": "Power Stop, LLC"
       }
      }
     },
     "localname": "PowerStopLLCMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PrairieProvidentResourcesIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Prairie Provident Resources, Inc.",
        "label": "Prairie Provident Resources Inc [Member]",
        "terseLabel": "Prairie Provident Resources, Inc."
       }
      }
     },
     "localname": "PrairieProvidentResourcesIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PreferredStockThreePointTwoSixPercentageMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Preferred Stock Three Point Two Six Percentage.",
        "label": "Preferred Stock Three Point Two Six Percentage [Member]",
        "terseLabel": "Preferred Stock - 3.26%"
       }
      }
     },
     "localname": "PreferredStockThreePointTwoSixPercentageMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PreferredStockThreePointZeroTwoPercentageMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Preferred stock three point zero two percentage.",
        "label": "Preferred Stock Three Point Zero Two Percentage [Member]",
        "terseLabel": "Preferred Stock - 3.02%"
       }
      }
     },
     "localname": "PreferredStockThreePointZeroTwoPercentageMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PreferredStockTwoPointSevenTwoPercentageMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Preferred stock two point seven two percentage.",
        "label": "Preferred Stock Two Point Seven Two Percentage [Member]",
        "terseLabel": "Preferred Stock - 2.72%"
       }
      }
     },
     "localname": "PreferredStockTwoPointSevenTwoPercentageMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PremierCareDentalManagementLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Premier Care Dental Management, LLC.",
        "label": "Premier Care Dental Management L L C [Member]",
        "terseLabel": "Premier Care Dental Management, LLC"
       }
      }
     },
     "localname": "PremierCareDentalManagementLLCMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PremierCareDentalManagementLimitedLiabilityCompanyOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Premier Care Dental Management, Limited Liability Company, One.",
        "label": "Premier Care Dental Management Limited Liability Company One [Member]",
        "terseLabel": "Premier Care Dental Management, LLC"
       }
      }
     },
     "localname": "PremierCareDentalManagementLimitedLiabilityCompanyOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PremierCareDentalManagementLimitedLiabilityCompanyThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Premier Care Dental Management, Limited Liability Company, Three.",
        "label": "Premier Care Dental Management Limited Liability Company Three [Member]",
        "terseLabel": "Premier Care Dental Management, LLC"
       }
      }
     },
     "localname": "PremierCareDentalManagementLimitedLiabilityCompanyThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PremierCareDentalManagementLimitedLiabilityCompanyTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Premier Care Dental Management, Limited Liability Company, Two.",
        "label": "Premier Care Dental Management Limited Liability Company Two [Member]",
        "terseLabel": "Premier Care Dental Management, LLC"
       }
      }
     },
     "localname": "PremierCareDentalManagementLimitedLiabilityCompanyTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PremierImagingLimitedLiabilityCompanyDbaLucidHealthFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Premier Imaging, Limited Liability Company (dba Lucid Health), Four.",
        "label": "Premier Imaging Limited Liability Company Dba Lucid Health Four [Member]",
        "terseLabel": "Premier Imaging, LLC (dba Lucid Health)"
       }
      }
     },
     "localname": "PremierImagingLimitedLiabilityCompanyDbaLucidHealthFourMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PremierImagingLimitedLiabilityCompanyDbaLucidHealthOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Premier Imaging, Limited Liability Company (dba Lucid Health), One.",
        "label": "Premier Imaging Limited Liability Company Dba Lucid Health One [Member]",
        "terseLabel": "Premier Imaging, LLC (dba Lucid Health)"
       }
      }
     },
     "localname": "PremierImagingLimitedLiabilityCompanyDbaLucidHealthOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PremierImagingLimitedLiabilityCompanyDbaLucidHealthThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Premier Imaging, Limited Liability Company (dba Lucid Health), Three.",
        "label": "Premier Imaging Limited Liability Company Dba Lucid Health Three [Member]",
        "terseLabel": "Premier Imaging, LLC (dba Lucid Health)"
       }
      }
     },
     "localname": "PremierImagingLimitedLiabilityCompanyDbaLucidHealthThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PremierImagingLimitedLiabilityCompanyDbaLucidHealthTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Premier Imaging, Limited Liability Company (dba Lucid Health), Two.",
        "label": "Premier Imaging Limited Liability Company Dba Lucid Health Two [Member]",
        "terseLabel": "Premier Imaging, LLC (dba Lucid Health)"
       }
      }
     },
     "localname": "PremierImagingLimitedLiabilityCompanyDbaLucidHealthTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PremierImagingLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Premier Imaging, LLC.",
        "label": "Premier Imaging Llc [Member]",
        "terseLabel": "Premier Imaging, LLC (dba Lucid Health)"
       }
      }
     },
     "localname": "PremierImagingLlcMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ProceedsFromSalesOfInvestmentsAndPrincipalRepayments": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from sales of investments and principal repayments.",
        "label": "Proceeds From Sales Of Investments And Principal Repayments",
        "terseLabel": "Proceeds from sales of investments and principal repayments"
       }
      }
     },
     "localname": "ProceedsFromSalesOfInvestmentsAndPrincipalRepayments",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_ProfessionalPhysicalTherapyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Professional Physical Therapy.",
        "label": "Professional Physical Therapy [Member]",
        "terseLabel": "Professional Physical Therapy"
       }
      }
     },
     "localname": "ProfessionalPhysicalTherapyMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ProfessionalServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Professional services member.",
        "label": "Professional Services [Member]",
        "terseLabel": "Professional Services"
       }
      }
     },
     "localname": "ProfessionalServicesMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ProjectEagleHoldingsLLCDbaExostarMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Project Eagle Holdings, LLC (dba Exostar).",
        "label": "Project Eagle Holdings L L C Dba Exostar [Member]",
        "terseLabel": "Project Eagle Holdings, LLC (dba Exostar)"
       }
      }
     },
     "localname": "ProjectEagleHoldingsLLCDbaExostarMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ProjectEagleHoldingsLLCDbaExostarOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Project Eagle Holdings, LLC (dba Exostar) one.",
        "label": "Project Eagle Holdings L L C Dba Exostar One [Member]",
        "terseLabel": "Project Eagle Holdings, LLC (dba Exostar)"
       }
      }
     },
     "localname": "ProjectEagleHoldingsLLCDbaExostarOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ProjectEagleHoldingsLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Project Eagle Holdings, LLC.",
        "label": "Project Eagle Holdings Llc [Member]",
        "terseLabel": "Project Eagle Holdings, LLC (dba Exostar)"
       }
      }
     },
     "localname": "ProjectEagleHoldingsLlcMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ProphixSoftwareIncDbaPoundBidcoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Prophix Software Inc. (dba Pound Bidco).",
        "label": "Prophix Software Inc Dba Pound Bidco [Member]",
        "terseLabel": "Prophix Software Inc. (dba Pound Bidco)"
       }
      }
     },
     "localname": "ProphixSoftwareIncDbaPoundBidcoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ProphixSoftwareIncDbaPoundBidcoOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Prophix Software Inc. (dba Pound Bidco) one.",
        "label": "Prophix Software Inc Dba Pound Bidco One [Member]",
        "terseLabel": "Prophix Software Inc. (dba Pound Bidco)"
       }
      }
     },
     "localname": "ProphixSoftwareIncDbaPoundBidcoOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ProphixSoftwareIncDbaPoundBidcoTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Prophix Software Inc. (dba Pound Bidco) two.",
        "label": "Prophix Software Inc Dba Pound Bidco Two [Member]",
        "terseLabel": "Prophix Software Inc. (dba Pound Bidco)"
       }
      }
     },
     "localname": "ProphixSoftwareIncDbaPoundBidcoTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ProphixSoftwareIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Prophix Software Inc.",
        "label": "Prophix Software Inc [Member]",
        "terseLabel": "Prophix Software Inc. (dba Pound Bidco)"
       }
      }
     },
     "localname": "ProphixSoftwareIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ProvisionBenefitForTaxesOnRealizedGainLossOnInvestment": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "(Provision) benefit for taxes on realized gain/loss on investment.",
        "label": "(Provision) Benefit for Taxes on Realized Gain/loss on Investment",
        "terseLabel": "(Provision) benefit for taxes on realized gain/loss on investment"
       }
      }
     },
     "localname": "ProvisionBenefitForTaxesOnRealizedGainLossOnInvestment",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_ProvisionBenefitForTaxesOnUnrealizedAppreciationDepreciationOnInvestment": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "(Provision) benefit for taxes on unrealized appreciation/depreciation on investment.",
        "label": "(Provision) Benefit for Taxes on Unrealized Appreciation/Depreciation on Investment",
        "terseLabel": "(Provision) benefit for taxes on unrealized appreciation/depreciation on investments"
       }
      }
     },
     "localname": "ProvisionBenefitForTaxesOnUnrealizedAppreciationDepreciationOnInvestment",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_ProvisionsBenefitForTaxesOnRealizedGainLossOnInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets": {
       "order": 1.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "(Provisions) benefit for taxes on realized gain/loss on investments.",
        "label": "(Provisions) Benefit for Taxes on Realized Gain/Loss on Investments",
        "terseLabel": "(Provision) benefit for taxes on realized gain/loss on investments"
       }
      }
     },
     "localname": "ProvisionsBenefitForTaxesOnRealizedGainLossOnInvestments",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_ProvisionsBenefitForTaxesOnUnrealizedAppreciationDepreciationOnInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets": {
       "order": 0.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "(Provisions) benefit for taxes on unrealized appreciation depreciation on investments.",
        "label": "(Provisions) Benefit for Taxes on Unrealized Appreciation Depreciation on Investments",
        "terseLabel": "(Provision) benefit for taxes on unrealized appreciation/depreciation on investments"
       }
      }
     },
     "localname": "ProvisionsBenefitForTaxesOnUnrealizedAppreciationDepreciationOnInvestments",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_PtIntermediateHoldingsIIILlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PT Intermediate Holdings III, LLC.",
        "label": "Pt Intermediate Holdings I I I Llc [Member]",
        "terseLabel": "PT Intermediate Holdings III, LLC (dba Parts Town)"
       }
      }
     },
     "localname": "PtIntermediateHoldingsIIILlcMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PurfoodsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Purfoods, LLC.",
        "label": "Purfoods L L C [Member]",
        "terseLabel": "Purfoods, LLC"
       }
      }
     },
     "localname": "PurfoodsLLCMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PurfoodsLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Purfoods, LLC one.",
        "label": "Purfoods L L C One [Member]",
        "terseLabel": "Purfoods, LLC"
       }
      }
     },
     "localname": "PurfoodsLLCOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_PurfoodsLLCTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Purfoods, LLC two.",
        "label": "Purfoods L L C Two [Member]",
        "terseLabel": "Purfoods, LLC"
       }
      }
     },
     "localname": "PurfoodsLLCTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_QualawashHoldingsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Qualawash Holdings, LLC.",
        "label": "Qualawash Holdings L L C [Member]",
        "terseLabel": "Qualawash Holdings, LLC"
       }
      }
     },
     "localname": "QualawashHoldingsLLCMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_QualawashHoldingsLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Qualawash Holdings, LLC one.",
        "label": "Qualawash Holdings L L C One [Member]",
        "terseLabel": "Qualawash Holdings, LLC"
       }
      }
     },
     "localname": "QualawashHoldingsLLCOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_QualawashHoldingsLLCThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Qualawash Holdings, LLC three.",
        "label": "Qualawash Holdings L L C Three [Member]",
        "terseLabel": "Qualawash Holdings, LLC"
       }
      }
     },
     "localname": "QualawashHoldingsLLCThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_QualawashHoldingsLLCTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Qualawash Holdings, LLC two.",
        "label": "Qualawash Holdings L L C Two [Member]",
        "terseLabel": "Qualawash Holdings, LLC"
       }
      }
     },
     "localname": "QualawashHoldingsLLCTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_RealEstateMgmtDevelopmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Real Estate Mgmt. &amp; Development member.",
        "label": "Real Estate Mgmt Development [Member]",
        "terseLabel": "Real Estate Mgmt. &amp; Development"
       }
      }
     },
     "localname": "RealEstateMgmtDevelopmentMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ReceivableForInvestmentsSold": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Receivable for investments sold.",
        "label": "Receivable For Investments Sold",
        "terseLabel": "Receivable for investments sold"
       }
      }
     },
     "localname": "ReceivableForInvestmentsSold",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_ReinvestmentOfStockholderDistribution": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets": {
       "order": 2.0,
       "parentTag": "gsbd_NetIncreaseDecreaseInNetAssetsFromCapitalTransactions",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reinvestment of stockholder distribution.",
        "label": "Reinvestment Of Stockholder Distribution",
        "terseLabel": "Reinvestment of stockholder distributions"
       }
      }
     },
     "localname": "ReinvestmentOfStockholderDistribution",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_ReinvestmentOfStockholderDistributions": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reinvestment of stockholder distributions.",
        "label": "Reinvestment Of Stockholder Distributions",
        "negatedLabel": "Reinvestment of stockholder distributions",
        "terseLabel": "Reinvestment of stockholder distributions"
       }
      }
     },
     "localname": "ReinvestmentOfStockholderDistributions",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_RiverpointMedicalLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Riverpoint Medical, LLC.",
        "label": "Riverpoint Medical L L C [Member]",
        "terseLabel": "Riverpoint Medical, LLC"
       }
      }
     },
     "localname": "RiverpointMedicalLLCMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_RiverpointMedicalLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Riverpoint Medical, LLC one.",
        "label": "Riverpoint Medical L L C One [Member]",
        "terseLabel": "Riverpoint Medical, LLC"
       }
      }
     },
     "localname": "RiverpointMedicalLLCOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_RiverpointMedicalLLCThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Riverpoint Medical, LLC three.",
        "label": "Riverpoint Medical L L C Three [Member]",
        "terseLabel": "Riverpoint Medical, LLC"
       }
      }
     },
     "localname": "RiverpointMedicalLLCThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_RiverpointMedicalLLCTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Riverpoint Medical, LLC two.",
        "label": "Riverpoint Medical L L C Two [Member]",
        "terseLabel": "Riverpoint Medical, LLC"
       }
      }
     },
     "localname": "RiverpointMedicalLLCTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_RoadRailMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Road &amp; rail member.",
        "label": "Road Rail [Member]",
        "terseLabel": "Road &amp; Rail"
       }
      }
     },
     "localname": "RoadRailMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_RodeoBuyerCompanyDbaAbsorbSoftwareOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rodeo Buyer Company (dba Absorb Software) one.",
        "label": "Rodeo Buyer Company Dba Absorb Software One [Member]",
        "terseLabel": "Rodeo Buyer Company (dba Absorb Software)"
       }
      }
     },
     "localname": "RodeoBuyerCompanyDbaAbsorbSoftwareOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_RodeoBuyerCompanyDbaAbsorbSoftwareTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rodeo Buyer Company (dba Absorb Software) two.",
        "label": "Rodeo Buyer Company Dba Absorb Software Two [Member]",
        "terseLabel": "Rodeo Buyer Company (dba Absorb Software)"
       }
      }
     },
     "localname": "RodeoBuyerCompanyDbaAbsorbSoftwareTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_RodeoBuyerCompanyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rodeo buyer company.",
        "label": "Rodeo Buyer Company [Member]",
        "terseLabel": "Rodeo Buyer Company (dba Absorb Software)"
       }
      }
     },
     "localname": "RodeoBuyerCompanyMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_RubrikIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rubrik,Inc.",
        "label": "Rubrik Inc [Member]",
        "terseLabel": "Rubrik Inc"
       }
      }
     },
     "localname": "RubrikIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_RubrikIncOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rubrik,Inc. one.",
        "label": "Rubrik Inc One [Member]",
        "terseLabel": "Rubrik,Inc."
       }
      }
     },
     "localname": "RubrikIncOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_RubrikIncTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rubrik,Inc. two.",
        "label": "Rubrik Inc Two [Member]",
        "terseLabel": "Rubrik,Inc."
       }
      }
     },
     "localname": "RubrikIncTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SPayIncDbaStackSportsOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "SPay, Inc. (dba Stack Sports) one.",
        "label": "S Pay Inc Dba Stack Sports One [Member]",
        "terseLabel": "SPay, Inc. (dba Stack Sports)"
       }
      }
     },
     "localname": "SPayIncDbaStackSportsOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SPayIncDbaStackSportsThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "SPay, Inc. (dba Stack Sports) three.",
        "label": "S Pay Inc Dba Stack Sports Three [Member]",
        "terseLabel": "SPay, Inc. (dba Stack Sports)"
       }
      }
     },
     "localname": "SPayIncDbaStackSportsThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SPayIncDbaStackSportsTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "SPay, Inc. (dba Stack Sports) two.",
        "label": "S Pay Inc Dba Stack Sports Two [Member]",
        "terseLabel": "SPay, Inc. (dba Stack Sports)"
       }
      }
     },
     "localname": "SPayIncDbaStackSportsTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SalesAgentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sales Agent.",
        "label": "Sales Agent [Member]",
        "terseLabel": "Sales Agent [Member]"
       }
      }
     },
     "localname": "SalesAgentMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ScheduleOfFinancialHighlightsOfTheCompanyTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of schedule of financial highlights of the Company.",
        "label": "Schedule Of Financial Highlights Of The Company Table [Text Block]",
        "terseLabel": "Schedule of Financial Highlights of the Company"
       }
      }
     },
     "localname": "ScheduleOfFinancialHighlightsOfTheCompanyTableTextBlock",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFinancialHighlightsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gsbd_ScheduleOfGeographicCompositionOfInvestmentsAtFairValueTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of geographic composition of investments at fair value.",
        "label": "Schedule Of Geographic Composition Of Investments At Fair Value Table [Text Block]",
        "terseLabel": "Schedule of Geographic Composition of Investments at Fair Value"
       }
      }
     },
     "localname": "ScheduleOfGeographicCompositionOfInvestmentsAtFairValueTableTextBlock",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gsbd_ScheduleOfIndustryCompositionOfInvestmentsAtFairValueAndNetAssetsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of industry composition of investments at fair value and net assets.",
        "label": "Schedule of Industry Composition of Investments at Fair Value and Net Assets [Table Text Block]",
        "terseLabel": "Schedule of Investments at Fair Value and Net Assets"
       }
      }
     },
     "localname": "ScheduleOfIndustryCompositionOfInvestmentsAtFairValueAndNetAssetsTableTextBlock",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gsbd_ScheduleOfInterestIncomeTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of interest income.",
        "label": "Schedule Of Interest Income Table [Text Block]",
        "terseLabel": "Schedule of Interest Income"
       }
      }
     },
     "localname": "ScheduleOfInterestIncomeTableTextBlock",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gsbd_ScheduleOfUnfundedCommitmentsByInvestmentTypesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of unfunded commitments by investment types.",
        "label": "Schedule Of Unfunded Commitments By Investment Types Table [Text Block]",
        "terseLabel": "Schedule of Unfunded Commitments by Investment Types"
       }
      }
     },
     "localname": "ScheduleOfUnfundedCommitmentsByInvestmentTypesTableTextBlock",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gsbd_SecondLienOrSeniorSecuredDebtMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "2nd Lien/Senior Secured Debt",
        "label": "Second Lien Or Senior Secured Debt [Member]",
        "terseLabel": "2nd Lien/Senior Secured Debt"
       }
      }
     },
     "localname": "SecondLienOrSeniorSecuredDebtMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsCategorizedWithinFairValueHierarchyDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfChangesInFairValueOfLevel3AssetsByInvestmentTypeDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsExcludingInvestmentsInMoneyMarketFundsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SettlementDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Settlement date.",
        "label": "Settlement Date",
        "terseLabel": "Settlement"
       }
      }
     },
     "localname": "SettlementDate",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "dateItemType"
    },
    "gsbd_ShareIssuedAveragePricePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share issued average price per share.",
        "label": "Share Issued Average Price Per Share",
        "terseLabel": "Average Sales Price per Share"
       }
      }
     },
     "localname": "ShareIssuedAveragePricePerShare",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsScheduleOfIssuanceOfCommonStockDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "gsbd_SignificantAccountingPoliciesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Significant accounting policies.",
        "label": "Significant Accounting Policies [Line Items]",
        "terseLabel": "Significant Accounting Policies [Line Items]"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesLineItems",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "gsbd_SignificantAccountingPoliciesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Significant accounting policies.",
        "label": "Significant Accounting Policies [Table]",
        "terseLabel": "Significant Accounting Policies [Table]"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesTable",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "gsbd_SixMonthLIBORMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Six month LIBOR.",
        "label": "Six Month L I B O R [Member]",
        "terseLabel": "6 month LIBOR"
       }
      }
     },
     "localname": "SixMonthLIBORMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SmarshIncOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Smarsh, Inc. one.",
        "label": "Smarsh Inc One [Member]",
        "terseLabel": "Smarsh, Inc."
       }
      }
     },
     "localname": "SmarshIncOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SmarshIncThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Smarsh, Inc. three.",
        "label": "Smarsh Inc Three [Member]",
        "terseLabel": "Smarsh, Inc."
       }
      }
     },
     "localname": "SmarshIncThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SmarshIncTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Smarsh, Inc. two.",
        "label": "Smarsh Inc Two [Member]",
        "terseLabel": "Smarsh, Inc."
       }
      }
     },
     "localname": "SmarshIncTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SmarshIncorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Smarsh Incorporation.",
        "label": "Smarsh Incorporation [Member]",
        "terseLabel": "Smarsh, Inc."
       }
      }
     },
     "localname": "SmarshIncorporationMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SoftwareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Software member.",
        "label": "Software [Member]",
        "terseLabel": "Software"
       }
      }
     },
     "localname": "SoftwareMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SoutheastMechanicalLLCDbaSEMHoldingsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Southeast Mechanical, LLC (dba. SEM Holdings, LLC).",
        "label": "Southeast Mechanical L L C Dba S E M Holdings L L C [Member]",
        "terseLabel": "Southeast Mechanical, LLC (dba. SEM Holdings, LLC)"
       }
      }
     },
     "localname": "SoutheastMechanicalLLCDbaSEMHoldingsLLCMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SoutheastMechanicalLlcDbaSemHoldingsLlcOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Southeast mechanical llc dba sem holdings llc one.",
        "label": "Southeast Mechanical LLC Dba SEM Holdings LLC One [Member]",
        "terseLabel": "Southeast Mechanical, LLC (dba. SEM Holdings, LLC)"
       }
      }
     },
     "localname": "SoutheastMechanicalLlcDbaSemHoldingsLlcOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SoutheastMechanicalLlcDbaSemHoldingsLlcTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Southeast mechanical llc dba sem holdings llc two.",
        "label": "Southeast Mechanical LLC Dba SEM Holdings LLC Two [Member]",
        "terseLabel": "Southeast Mechanical, LLC (dba. SEM Holdings, LLC)"
       }
      }
     },
     "localname": "SoutheastMechanicalLlcDbaSemHoldingsLlcTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SpecialtyRetailMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Specialty retail.",
        "label": "Specialty Retail [Member]",
        "terseLabel": "Specialty Retail"
       }
      }
     },
     "localname": "SpecialtyRetailMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SpectrumPlasticsGroupIncorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Spectrum Plastics Group, Incorporation.",
        "label": "Spectrum Plastics Group Incorporation [Member]",
        "terseLabel": "Spectrum Plastics Group, Inc."
       }
      }
     },
     "localname": "SpectrumPlasticsGroupIncorporationMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SpendMendLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "SpendMend, LLC.",
        "label": "Spend Mend L L C [Member]",
        "terseLabel": "SpendMend, LLC"
       }
      }
     },
     "localname": "SpendMendLLCMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SpendMendLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "SpendMend, LLC one.",
        "label": "Spend Mend L L C One [Member]",
        "terseLabel": "SpendMend, LLC"
       }
      }
     },
     "localname": "SpendMendLLCOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SpendMendLLCThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "SpendMend, LLC three.",
        "label": "Spend Mend L L C Three [Member]",
        "terseLabel": "SpendMend, LLC"
       }
      }
     },
     "localname": "SpendMendLLCThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SpendMendLLCTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "SpendMend, LLC two.",
        "label": "Spend Mend L L C Two [Member]",
        "terseLabel": "SpendMend, LLC"
       }
      }
     },
     "localname": "SpendMendLLCTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_StarComplianceIntermediateLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "StarCompliance Intermediate, LLC.",
        "label": "Star Compliance Intermediate L L C [Member]",
        "terseLabel": "StarCompliance Intermediate, LLC"
       }
      }
     },
     "localname": "StarComplianceIntermediateLLCMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_StarComplianceIntermediateLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "StarCompliance Intermediate, LLC one.",
        "label": "Star Compliance Intermediate L L C One [Member]",
        "terseLabel": "StarCompliance Intermediate, LLC"
       }
      }
     },
     "localname": "StarComplianceIntermediateLLCOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_StarComplianceIntermediateLLCThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "StarCompliance Intermediate, LLC three.",
        "label": "Star Compliance Intermediate L L C Three [Member]",
        "terseLabel": "StarCompliance Intermediate, LLC"
       }
      }
     },
     "localname": "StarComplianceIntermediateLLCThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_StarComplianceIntermediateLLCTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "StarCompliance Intermediate, LLC two.",
        "label": "Star Compliance Intermediate L L C Two [Member]",
        "terseLabel": "StarCompliance Intermediate, LLC"
       }
      }
     },
     "localname": "StarComplianceIntermediateLLCTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SterlingOvernightIndexAverageMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sterling Overnight Index Average.",
        "label": "Sterling Overnight Index Average [Member]",
        "terseLabel": "SONIA"
       }
      }
     },
     "localname": "SterlingOvernightIndexAverageMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_StockRepurchaseProgramCommencementDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock repurchase program commencement date.",
        "label": "Stock Repurchase Program Commencement Date",
        "terseLabel": "Stock repurchase program commencement date"
       }
      }
     },
     "localname": "StockRepurchaseProgramCommencementDate",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "gsbd_StockRepurchaseProgramEffectiveDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock repurchase program effective date.",
        "label": "Stock Repurchase Program Effective Date",
        "terseLabel": "Stock repurchase program effective date"
       }
      }
     },
     "localname": "StockRepurchaseProgramEffectiveDate",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "gsbd_SummaryOfBreakdownOfFairValueForEachLevelOfInvestmentsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of breakdown of fair value for each level of investments.",
        "label": "Summary Of Breakdown Of Fair Value For Each Level Of Investments [Table Text Block]",
        "terseLabel": "Summary of Assets Categorized Within Fair Value Hierarchy"
       }
      }
     },
     "localname": "SummaryOfBreakdownOfFairValueForEachLevelOfInvestmentsTableTextBlock",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gsbd_SummaryOfChangesInFairValueOfAssetsByInvestmentTypeTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "summary of changes in fair value of assets by investment type.",
        "label": "Summary of Changes in Fair Value of Assets by Investment Type [Table Text Block]",
        "terseLabel": "Summary of Changes in Fair Value of Level 3 Assets By Investment Type"
       }
      }
     },
     "localname": "SummaryOfChangesInFairValueOfAssetsByInvestmentTypeTableTextBlock",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gsbd_SundanceGroupHoldingsIncDbaNetDocumentsOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sundance Group Holdings, Inc. (dba NetDocuments) one.",
        "label": "Sundance Group Holdings Inc Dba Net Documents One [Member]",
        "terseLabel": "Sundance Group Holdings, Inc. (dba NetDocuments)"
       }
      }
     },
     "localname": "SundanceGroupHoldingsIncDbaNetDocumentsOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SundanceGroupHoldingsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sundance Group Holdings, Inc.",
        "label": "Sundance Group Holdings Inc [Member]",
        "terseLabel": "Sundance Group Holdings, Inc. (dba NetDocuments)"
       }
      }
     },
     "localname": "SundanceGroupHoldingsIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SundanceGroupHoldingsIncorporationDbaNetDocumentsThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sundance Group Holdings, Incorporation (dba NetDocuments) three.",
        "label": "Sundance Group Holdings Incorporation Dba Net Documents Three [Member]",
        "terseLabel": "Sundance Group Holdings, Inc. (dba NetDocuments)"
       }
      }
     },
     "localname": "SundanceGroupHoldingsIncorporationDbaNetDocumentsThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SundanceGroupHoldingsIncorporationDbaNetDocumentsTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sundance Group Holdings, Incorporation (dba NetDocuments) two.",
        "label": "Sundance Group Holdings Incorporation Dba Net Documents Two [Member]",
        "terseLabel": "Sundance Group Holdings, Inc. (dba NetDocuments)"
       }
      }
     },
     "localname": "SundanceGroupHoldingsIncorporationDbaNetDocumentsTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SunstarInsuranceGroupLLCFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sunstar Insurance Group, LLC four.",
        "label": "Sunstar Insurance Group L L C Four [Member]",
        "terseLabel": "Sunstar Insurance Group, LLC"
       }
      }
     },
     "localname": "SunstarInsuranceGroupLLCFourMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SunstarInsuranceGroupLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sunstar Insurance Group, LLC.",
        "label": "Sunstar Insurance Group L L C [Member]",
        "terseLabel": "Sunstar Insurance Group, LLC"
       }
      }
     },
     "localname": "SunstarInsuranceGroupLLCMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SunstarInsuranceGroupLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sunstar Insurance Group, LLC one.",
        "label": "Sunstar Insurance Group L L C One [Member]",
        "terseLabel": "Sunstar Insurance Group, LLC"
       }
      }
     },
     "localname": "SunstarInsuranceGroupLLCOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SunstarInsuranceGroupLLCThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sunstar Insurance Group, LLC three.",
        "label": "Sunstar Insurance Group L L C Three [Member]",
        "terseLabel": "Sunstar Insurance Group, LLC"
       }
      }
     },
     "localname": "SunstarInsuranceGroupLLCThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SunstarInsuranceGroupLLCTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sunstar Insurance Group, LLC two.",
        "label": "Sunstar Insurance Group L L C Two [Member]",
        "terseLabel": "Sunstar Insurance Group, LLC"
       }
      }
     },
     "localname": "SunstarInsuranceGroupLLCTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SunstarInsuranceGroupLlcFiveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sunstar insurance group llc five.",
        "label": "Sunstar Insurance Group LLC Five [Member]",
        "terseLabel": "Sunstar Insurance Group, LLC"
       }
      }
     },
     "localname": "SunstarInsuranceGroupLlcFiveMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SupermanHoldingsLLCDbaFoundationSoftwareOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Superman Holdings, LLC (dba Foundation Software) one.",
        "label": "Superman Holdings L L C Dba Foundation Software One [Member]",
        "terseLabel": "Superman Holdings, LLC (dba Foundation Software)"
       }
      }
     },
     "localname": "SupermanHoldingsLLCDbaFoundationSoftwareOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SupermanHoldingsLLCDbaFoundationSoftwareThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Superman Holdings, LLC (dba Foundation Software) three.",
        "label": "Superman Holdings L L C Dba Foundation Software Three [Member]",
        "terseLabel": "Superman Holdings, LLC (dba Foundation Software)"
       }
      }
     },
     "localname": "SupermanHoldingsLLCDbaFoundationSoftwareThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SupermanHoldingsLLCDbaFoundationSoftwareTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Superman Holdings, LLC (dba Foundation Software) two.",
        "label": "Superman Holdings L L C Dba Foundation Software Two [Member]",
        "terseLabel": "Superman Holdings, LLC (dba Foundation Software)"
       }
      }
     },
     "localname": "SupermanHoldingsLLCDbaFoundationSoftwareTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SupermanHoldingsLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Superman Holdings, LLC.",
        "label": "Superman Holdings Llc [Member]",
        "terseLabel": "Superman Holdings, LLC (dba Foundation Software)"
       }
      }
     },
     "localname": "SupermanHoldingsLlcMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SweepPurchaserLLCFiveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sweep Purchaser LLC five.",
        "label": "Sweep Purchaser L L C Five [Member]",
        "terseLabel": "Sweep Purchaser LLC"
       }
      }
     },
     "localname": "SweepPurchaserLLCFiveMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SweepPurchaserLLCFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sweep Purchaser LLC four.",
        "label": "Sweep Purchaser L L C Four [Member]",
        "terseLabel": "Sweep Purchaser LLC"
       }
      }
     },
     "localname": "SweepPurchaserLLCFourMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SweepPurchaserLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sweep Purchaser LLC.",
        "label": "Sweep Purchaser L L C [Member]",
        "terseLabel": "Sweep Purchaser LLC"
       }
      }
     },
     "localname": "SweepPurchaserLLCMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SweepPurchaserLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sweep Purchaser LLC one.",
        "label": "Sweep Purchaser L L C One [Member]",
        "terseLabel": "Sweep Purchaser L L C One",
        "verboseLabel": "Sweep Purchaser LLC"
       }
      }
     },
     "localname": "SweepPurchaserLLCOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SweepPurchaserLLCThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sweep Purchaser LLC three.",
        "label": "Sweep Purchaser L L C Three [Member]",
        "terseLabel": "Sweep Purchaser LLC"
       }
      }
     },
     "localname": "SweepPurchaserLLCThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SweepPurchaserLLCTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sweep Purchaser LLC two.",
        "label": "Sweep Purchaser L L C Two [Member]",
        "terseLabel": "Sweep Purchaser LLC"
       }
      }
     },
     "localname": "SweepPurchaserLLCTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SyntellisPerformanceSolutionsLLCDbaAxiomMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Syntellis Performance Solutions, LLC (dba Axiom).",
        "label": "Syntellis Performance Solutions L L C Dba Axiom [Member]",
        "terseLabel": "Syntellis Performance Solutions L L C Dba Axiom"
       }
      }
     },
     "localname": "SyntellisPerformanceSolutionsLLCDbaAxiomMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SyntellisPerformanceSolutionsLLCDbaAxiomOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Syntellis Performance Solutions, LLC (dba Axiom) one.",
        "label": "Syntellis Performance Solutions L L C Dba Axiom One [Member]",
        "terseLabel": "Syntellis Performance Solutions, LLC (dba Axiom)"
       }
      }
     },
     "localname": "SyntellisPerformanceSolutionsLLCDbaAxiomOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SyntellisPerformanceSolutionsLLCDbaAxiomTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Syntellis Performance Solutions, LLC (dba Axiom) two.",
        "label": "Syntellis Performance Solutions L L C Dba Axiom Two [Member]",
        "terseLabel": "Syntellis Performance Solutions, LLC (dba Axiom)"
       }
      }
     },
     "localname": "SyntellisPerformanceSolutionsLLCDbaAxiomTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_SyntellisPerformanceSolutionsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Syntellis Performance Solutions, LLC.",
        "label": "Syntellis Performance Solutions L L C [Member]",
        "terseLabel": "Syntellis Performance Solutions, LLC (dba Axiom)"
       }
      }
     },
     "localname": "SyntellisPerformanceSolutionsLLCMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_TextilesApparelAndLuxuryGoodsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Textiles, apparel and luxury goods.",
        "label": "Textiles Apparel And Luxury Goods [Member]",
        "terseLabel": "Textiles, Apparel &amp; Luxury Goods"
       }
      }
     },
     "localname": "TextilesApparelAndLuxuryGoodsMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_TheCenterForOrthopedicAndResearchExcellenceIncDbaHOPCoFiveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Center for Orthopedic and Research Excellence, Inc. (dba HOPCo) five.",
        "label": "The Center For Orthopedic And Research Excellence Inc Dba H O P Co Five [Member]",
        "terseLabel": "The Center for Orthopedic and Research Excellence, Inc. (dba HOPCo)"
       }
      }
     },
     "localname": "TheCenterForOrthopedicAndResearchExcellenceIncDbaHOPCoFiveMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_TheCenterForOrthopedicAndResearchExcellenceIncDbaHOPCoFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Center for Orthopedic and Research Excellence, Inc. (dba HOPCo) four.",
        "label": "The Center For Orthopedic And Research Excellence Inc Dba H O P Co Four [Member]",
        "terseLabel": "The Center for Orthopedic and Research Excellence, Inc. (dba HOPCo)"
       }
      }
     },
     "localname": "TheCenterForOrthopedicAndResearchExcellenceIncDbaHOPCoFourMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_TheCenterForOrthopedicAndResearchExcellenceIncDbaHOPCoOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Center for Orthopedic and Research Excellence, Inc. (dba HOPCo) one.",
        "label": "The Center For Orthopedic And Research Excellence Inc Dba H O P Co One [Member]",
        "terseLabel": "The Center for Orthopedic and Research Excellence, Inc. (dba HOPCo)"
       }
      }
     },
     "localname": "TheCenterForOrthopedicAndResearchExcellenceIncDbaHOPCoOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_TheCenterForOrthopedicAndResearchExcellenceIncDbaHOPCoThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Center for Orthopedic and Research Excellence, Inc. (dba HOPCo) three.",
        "label": "The Center For Orthopedic And Research Excellence Inc Dba H O P Co Three [Member]",
        "terseLabel": "The Center for Orthopedic and Research Excellence, Inc. (dba HOPCo)"
       }
      }
     },
     "localname": "TheCenterForOrthopedicAndResearchExcellenceIncDbaHOPCoThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_TheCenterForOrthopedicAndResearchExcellenceIncDbaHOPCoTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Center for Orthopedic and Research Excellence, Inc. (dba HOPCo) two.",
        "label": "The Center For Orthopedic And Research Excellence Inc Dba H O P Co Two [Member]",
        "terseLabel": "The Center for Orthopedic and Research Excellence, Inc. (dba HOPCo)"
       }
      }
     },
     "localname": "TheCenterForOrthopedicAndResearchExcellenceIncDbaHOPCoTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_TheCenterForOrthopedicAndResearchExcellenceIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Center for Orthopedic and Research Excellence, Inc.",
        "label": "The Center For Orthopedic And Research Excellence Inc [Member]",
        "terseLabel": "The Center for Orthopedic and Research Excellence, Inc. (dba HOPCo)"
       }
      }
     },
     "localname": "TheCenterForOrthopedicAndResearchExcellenceIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ThrasioLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Thrasio, LLC.",
        "label": "Thrasio L L C [Member]",
        "terseLabel": "Thrasio, LLC"
       }
      }
     },
     "localname": "ThrasioLLCMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ThrasioLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Thrasio, LLC one.",
        "label": "Thrasio L L C One [Member]",
        "terseLabel": "Thrasio, LLC"
       }
      }
     },
     "localname": "ThrasioLLCOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ThrasioLLCTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Thrasio, LLC two.",
        "label": "Thrasio L L C Two [Member]",
        "terseLabel": "Thrasio, LLC"
       }
      }
     },
     "localname": "ThrasioLLCTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ThreeAugustTwoThousandTwentyTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Three August Two Thousand Twenty Two.",
        "label": "Three August Two Thousand Twenty Two [Member]",
        "terseLabel": "August 3, 2022"
       }
      }
     },
     "localname": "ThreeAugustTwoThousandTwentyTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureNetAssetsScheduleOfDistributionsDeclaredOnCommonStockParentheticalDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsScheduleOfDistributionsDeclaredOnCommonStockDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ThreeMayTwoThousandTwentyTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Three May Two Thousand Twenty Two.",
        "label": "Three May Two Thousand Twenty Two [Member]",
        "terseLabel": "May 3, 2022"
       }
      }
     },
     "localname": "ThreeMayTwoThousandTwentyTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsScheduleOfDistributionsDeclaredOnCommonStockDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ThreeMonthLIBORMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Three month LIBOR.",
        "label": "Three Month L I B O R [Member]",
        "terseLabel": "3 month LIBOR"
       }
      }
     },
     "localname": "ThreeMonthLIBORMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ThreeMonthSOFRMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Three month SOFR.",
        "label": "Three Month S O F R [Member]",
        "terseLabel": "3 month SOFR"
       }
      }
     },
     "localname": "ThreeMonthSOFRMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ThreeSISecuritySystemsIncOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Three SI Security Systems, Inc, one.",
        "label": "Three S I Security Systems Inc One [Member]",
        "terseLabel": "3SI Security Systems, Inc."
       }
      }
     },
     "localname": "ThreeSISecuritySystemsIncOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ThreeSISecuritySystemsIncTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Three SI Security Systems, Inc, two.",
        "label": "Three S I Security Systems Inc Two [Member]",
        "terseLabel": "3SI Security Systems, Inc."
       }
      }
     },
     "localname": "ThreeSISecuritySystemsIncTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_TotalVisionLLCFiveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total Vision LLC five.",
        "label": "Total Vision L L C Five [Member]",
        "terseLabel": "Total Vision LLC"
       }
      }
     },
     "localname": "TotalVisionLLCFiveMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_TotalVisionLLCFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total Vision LLC four.",
        "label": "Total Vision L L C Four [Member]",
        "terseLabel": "Total Vision LLC"
       }
      }
     },
     "localname": "TotalVisionLLCFourMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_TotalVisionLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total Vision LLC.",
        "label": "Total Vision L L C [Member]",
        "terseLabel": "Total Vision LLC Initial Acquisition Date on 07/15/21",
        "verboseLabel": "Total Vision LLC"
       }
      }
     },
     "localname": "TotalVisionLLCMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_TotalVisionLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total Vision LLC one.",
        "label": "Total Vision L L C One [Member]",
        "terseLabel": "Total Vision LLC"
       }
      }
     },
     "localname": "TotalVisionLLCOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_TotalVisionLLCThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total Vision LLC three.",
        "label": "Total Vision L L C Three [Member]",
        "terseLabel": "Total Vision LLC"
       }
      }
     },
     "localname": "TotalVisionLLCThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_TotalVisionLLCTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total Vision LLC two.",
        "label": "Total Vision L L C Two [Member]",
        "terseLabel": "Total Vision LLC"
       }
      }
     },
     "localname": "TotalVisionLLCTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_TradingCompaniesAndDistributorsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trading companies and distributors.",
        "label": "Trading Companies And Distributors [Member]",
        "terseLabel": "Trading Companies &amp; Distributors"
       }
      }
     },
     "localname": "TradingCompaniesAndDistributorsMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_TransferAgentFeesPayable": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Transfer agent fees payable.",
        "label": "Transfer Agent Fees Payable",
        "terseLabel": "Transfer agent fees payable"
       }
      }
     },
     "localname": "TransferAgentFeesPayable",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_TransportationInfrastructureMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Transportation infrastructure member.",
        "label": "Transportation Infrastructure [Member]",
        "terseLabel": "Transportation Infrastructure"
       }
      }
     },
     "localname": "TransportationInfrastructureMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_TronairParentIncorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tronair Parent Incorporation.",
        "label": "Tronair Parent Incorporation [Member]",
        "terseLabel": "Tronair Parent Inc."
       }
      }
     },
     "localname": "TronairParentIncorporationMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_TwelveMonthLIBORMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Twelve month LIBOR.",
        "label": "Twelve Month L I B O R [Member]",
        "terseLabel": "12 month LIBOR"
       }
      }
     },
     "localname": "TwelveMonthLIBORMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_TwentyFourFebruaryTwoThousandTwentyOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Twenty Four February Two Thousand Twenty One.",
        "label": "Twenty Four February Two Thousand Twenty One [Member]",
        "terseLabel": "February 24, 2021"
       }
      }
     },
     "localname": "TwentyFourFebruaryTwoThousandTwentyOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsScheduleOfDistributionsDeclaredOnCommonStockDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_TwentyThreeFebruaryTwoThousandTwentyTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Twenty Three February Two Thousand Twenty Two.",
        "label": "Twenty Three February Two Thousand Twenty Two [Member]",
        "terseLabel": "February 23, 2022"
       }
      }
     },
     "localname": "TwentyThreeFebruaryTwoThousandTwentyTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsScheduleOfDistributionsDeclaredOnCommonStockDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_TwoMonthLiborMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two month LIBOR.",
        "label": "Two Month LIBOR [Member]",
        "terseLabel": "2 month LIBOR"
       }
      }
     },
     "localname": "TwoMonthLiborMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_TwoThousandTwentyFiveNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two Thousand Twenty Five Notes [Member]",
        "label": "Two Thousand Twenty Five Notes [Member]",
        "terseLabel": "2025 Notes"
       }
      }
     },
     "localname": "TwoThousandTwentyFiveNotesMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfOutstandingDebtDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfDebtObligationsCarriedAtFairValueDetails",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_TwoThousandTwentySixNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two Thousand Twenty Six Notes [Member]",
        "label": "Two Thousand Twenty Six Notes [Member]",
        "terseLabel": "2026 Notes"
       }
      }
     },
     "localname": "TwoThousandTwentySixNotesMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfOutstandingDebtDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfDebtObligationsCarriedAtFairValueDetails",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_TwoZeroTwoFiveNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Three point seven five unsecured notes due two zero two five [Member]",
        "label": "Two Zero Two Five Notes [Member]",
        "terseLabel": "2025 Notes"
       }
      }
     },
     "localname": "TwoZeroTwoFiveNotesMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfCarryingValueOf2025NotesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfInterestAndOtherDebtExpensesRelatedTo2025NotesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtTables"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_TwoZeroTwoSixNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two zero two six notes [Member]",
        "label": "Two Zero Two Six Notes [Member]",
        "terseLabel": "2026 Notes"
       }
      }
     },
     "localname": "TwoZeroTwoSixNotesMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfCarryingValueOf2026NotesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfInterestAndOtherDebtExpensesRelatedTo2026NotesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtTables"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_USNOpcoLLCDbaGlobalNephrologySolutionsFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "USN Opco LLC (dba Global Nephrology Solutions) four.",
        "label": "U S N Opco L L C Dba Global Nephrology Solutions Four [Member]",
        "terseLabel": "USN Opco LLC (dba Global Nephrology Solutions)"
       }
      }
     },
     "localname": "USNOpcoLLCDbaGlobalNephrologySolutionsFourMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_USNOpcoLLCDbaGlobalNephrologySolutionsOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "USN Opco LLC (dba Global Nephrology Solutions) one.",
        "label": "U S N Opco L L C Dba Global Nephrology Solutions One [Member]",
        "terseLabel": "USN Opco LLC (dba Global Nephrology Solutions)"
       }
      }
     },
     "localname": "USNOpcoLLCDbaGlobalNephrologySolutionsOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_USNOpcoLLCDbaGlobalNephrologySolutionsThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "USN Opco LLC (dba Global Nephrology Solutions) three.",
        "label": "U S N Opco L L C Dba Global Nephrology Solutions Three [Member]",
        "terseLabel": "USN Opco LLC (dba Global Nephrology Solutions)"
       }
      }
     },
     "localname": "USNOpcoLLCDbaGlobalNephrologySolutionsThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_USNOpcoLLCDbaGlobalNephrologySolutionsTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "USN Opco LLC (dba Global Nephrology Solutions) two.",
        "label": "U S N Opco L L C Dba Global Nephrology Solutions Two [Member]",
        "terseLabel": "USN Opco LLC (dba Global Nephrology Solutions)"
       }
      }
     },
     "localname": "USNOpcoLLCDbaGlobalNephrologySolutionsTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_UnfundedCommitmentBalances": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unfunded Commitment Balances",
        "label": "Unfunded Commitment Balances",
        "terseLabel": "Unfunded Commitment"
       }
      }
     },
     "localname": "UnfundedCommitmentBalances",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_UnrealizedAppreciationDepreciationOnForeignCurrencyForwardContract": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unrealized appreciation (depreciation) on foreign currency forward contract.",
        "label": "Unrealized Appreciation Depreciation on Foreign Currency Forward Contract",
        "terseLabel": "Unrealized appreciation (depreciation) on foreign currency forward contracts"
       }
      }
     },
     "localname": "UnrealizedAppreciationDepreciationOnForeignCurrencyForwardContract",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_UnrealizedAppreciationOnForeignCurrencyForwardContracts": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 3.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unrealized appreciation on foreign currency forward contracts.",
        "label": "Unrealized Appreciation On Foreign Currency Forward Contracts",
        "terseLabel": "Unrealized appreciation on foreign currency forward contracts"
       }
      }
     },
     "localname": "UnrealizedAppreciationOnForeignCurrencyForwardContracts",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gsbd_UsnOpcoLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "USN Opco LLC.",
        "label": "Usn Opco Llc [Member]",
        "terseLabel": "USN Opco LLC (dba Global Nephrology Solutions)"
       }
      }
     },
     "localname": "UsnOpcoLlcMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_VRCCompaniesLLCDbaVitalRecordsControlMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "VRC Companies, LLC (dba Vital Records Control).",
        "label": "V R C Companies L L C Dba Vital Records Control [Member]",
        "terseLabel": "VRC Companies, LLC (dba Vital Records Control)"
       }
      }
     },
     "localname": "VRCCompaniesLLCDbaVitalRecordsControlMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_VRCCompaniesLLCDbaVitalRecordsControlOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "VRC Companies, LLC (dba Vital Records Control) one.",
        "label": "V R C Companies L L C Dba Vital Records Control One [Member]",
        "terseLabel": "VRC Companies, LLC (dba Vital Records Control)"
       }
      }
     },
     "localname": "VRCCompaniesLLCDbaVitalRecordsControlOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_VRCCompaniesLLCDbaVitalRecordsControlThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "VRC Companies, LLC (dba Vital Records Control) three.",
        "label": "V R C Companies L L C Dba Vital Records Control Three [Member]",
        "terseLabel": "VRC Companies, LLC (dba Vital Records Control)"
       }
      }
     },
     "localname": "VRCCompaniesLLCDbaVitalRecordsControlThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_VRCCompaniesLLCDbaVitalRecordsControlTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "VRC Companies, LLC (dba Vital Records Control) two.",
        "label": "V R C Companies L L C Dba Vital Records Control Two [Member]",
        "terseLabel": "VRC Companies, LLC (dba Vital Records Control)"
       }
      }
     },
     "localname": "VRCCompaniesLLCDbaVitalRecordsControlTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ValuationTechniqueCollateralAnalysisMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Valuation technique collateral analysis.",
        "label": "Valuation Technique Collateral Analysis [Member]",
        "terseLabel": "Valuation Technique, Collateral Analysis"
       }
      }
     },
     "localname": "ValuationTechniqueCollateralAnalysisMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ViantMedicalHoldingsIncorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Viant Medical Holdings, Incorporation.",
        "label": "Viant Medical Holdings Incorporation [Member]",
        "terseLabel": "Viant Medical Holdings, Inc."
       }
      }
     },
     "localname": "ViantMedicalHoldingsIncorporationMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_VoltBidcoIncAkaPowerFactorsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Volt Bidco, Inc. aka Power Factors.",
        "label": "Volt Bidco Inc Aka Power Factors [Member]",
        "terseLabel": "Volt Bidco, Inc. (aka Power Factors) Initial Acquisition Date on 08/11/21",
        "verboseLabel": "Volt Bidco, Inc. (aka Power Factors)"
       }
      }
     },
     "localname": "VoltBidcoIncAkaPowerFactorsMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_VoltBidcoIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Volt Bidco, Inc.",
        "label": "Volt Bidco Inc [Member]",
        "terseLabel": "Volt Bidco, Inc. (dba Power Factors)"
       }
      }
     },
     "localname": "VoltBidcoIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_VoltBidcoIncorporationDbaPowerFactorsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Volt Bidco, Incorporation (dba Power Factors).",
        "label": "Volt Bidco Incorporation Dba Power Factors [Member]",
        "terseLabel": "Volt Bidco, Inc. (dba Power Factors)"
       }
      }
     },
     "localname": "VoltBidcoIncorporationDbaPowerFactorsMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_VoltBidcoIncorporationDbaPowerFactorsOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Volt Bidco, Incorporation (dba Power Factors) one.",
        "label": "Volt Bidco Incorporation Dba Power Factors One [Member]",
        "terseLabel": "Volt Bidco, Inc. (dba Power Factors)"
       }
      }
     },
     "localname": "VoltBidcoIncorporationDbaPowerFactorsOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_VoltBidcoIncorporationDbaPowerFactorsTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Volt Bidco, Incorporation (dba Power Factors) two.",
        "label": "Volt Bidco Incorporation Dba Power Factors Two [Member]",
        "terseLabel": "Volt Bidco, Inc. (dba Power Factors)"
       }
      }
     },
     "localname": "VoltBidcoIncorporationDbaPowerFactorsTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_WSO2IncorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "WSO2, Incorporation.",
        "label": "W S O2 Incorporation [Member]",
        "terseLabel": "WSO2, Inc."
       }
      }
     },
     "localname": "WSO2IncorporationMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_WarrantsZeroPointOneOnePercentageMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Warrants zero point one one percentage.",
        "label": "Warrants Zero Point One One Percentage [Member]",
        "terseLabel": "Warrants - 0.11%"
       }
      }
     },
     "localname": "WarrantsZeroPointOneOnePercentageMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_WarrantsZeroPointZeroFivePercentageMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Warrants 0.05%.",
        "label": "Warrants Zero Point Zero Five Percentage [Member]",
        "terseLabel": "Warrants - 0.05%"
       }
      }
     },
     "localname": "WarrantsZeroPointZeroFivePercentageMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_WarrantsZeroPointZeroThreePercentageMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Warrants zero point zero three percentage.",
        "label": "Warrants Zero Point Zero Three Percentage [Member]",
        "terseLabel": "Warrants - 0.03%"
       }
      }
     },
     "localname": "WarrantsZeroPointZeroThreePercentageMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_WebPTIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "WebPT, Inc.",
        "label": "Web P T Inc [Member]",
        "terseLabel": "WebPT, Inc."
       }
      }
     },
     "localname": "WebPTIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_WebPTIncorporationFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "WebPT, Incorporation four.",
        "label": "Web P T Incorporation Four [Member]",
        "terseLabel": "WebPT, Inc."
       }
      }
     },
     "localname": "WebPTIncorporationFourMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_WebPTIncorporationOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "WebPT, Incorporation one.",
        "label": "Web P T Incorporation One [Member]",
        "terseLabel": "WebPT, Inc."
       }
      }
     },
     "localname": "WebPTIncorporationOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_WebPTIncorporationThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "WebPT, Incorporation three.",
        "label": "Web P T Incorporation Three [Member]",
        "terseLabel": "WebPT, Inc."
       }
      }
     },
     "localname": "WebPTIncorporationThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_WebPTIncorporationTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "WebPT, Incorporation two.",
        "label": "Web P T Incorporation Two [Member]",
        "terseLabel": "WebPT, Inc."
       }
      }
     },
     "localname": "WebPTIncorporationTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_WeightedAverageInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average interest rate.",
        "label": "Weighted Average Interest Rate",
        "terseLabel": "Weighted average interest rate"
       }
      }
     },
     "localname": "WeightedAverageInterestRate",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfRevolvingCreditFacilityDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "gsbd_WeightedAverageNumberOfSharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average number of shares outstanding.",
        "label": "Weighted Average Number Of Shares Outstanding",
        "terseLabel": "Weighted average shares outstanding"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstanding",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "gsbd_WellnessAcquisitionCoIncorporationDbaSPINSOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wellness AcquisitionCo, Incorporation (dba SPINS) one.",
        "label": "Wellness Acquisition Co Incorporation Dba S P I N S One [Member]",
        "terseLabel": "Wellness AcquisitionCo, Inc. (dba SPINS)"
       }
      }
     },
     "localname": "WellnessAcquisitionCoIncorporationDbaSPINSOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_WellnessAcquisitionCoIncorporationDbaSPINSTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wellness AcquisitionCo, Incorporation (dba SPINS) two.",
        "label": "Wellness Acquisition Co Incorporation Dba S P I N S Two [Member]",
        "terseLabel": "Wellness AcquisitionCo, Inc. (dba SPINS)"
       }
      }
     },
     "localname": "WellnessAcquisitionCoIncorporationDbaSPINSTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_WellnessAcquisitionCoIncorporationDbaSpinsThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wellness Acquisition Co Incorporation Dba SPINS Three.",
        "label": "Wellness AcquisitionCo, Inc. (dba SPINS)"
       }
      }
     },
     "localname": "WellnessAcquisitionCoIncorporationDbaSpinsThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_WellnessAcquisitioncoIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wellness AcquisitionCo, Inc.",
        "label": "Wellness Acquisitionco Inc [Member]",
        "terseLabel": "Wellness AcquisitionCo, Inc. (dba SPINS)"
       }
      }
     },
     "localname": "WellnessAcquisitioncoIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_WhiteWaterHoldingCompanyLLCFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "WhiteWater Holding Company LLC four.",
        "label": "White Water Holding Company L L C Four [Member]",
        "terseLabel": "WhiteWater Holding Company LLC"
       }
      }
     },
     "localname": "WhiteWaterHoldingCompanyLLCFourMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_WhiteWaterHoldingCompanyLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "WhiteWater Holding Company LLC one.",
        "label": "White Water Holding Company L L C One [Member]",
        "terseLabel": "WhiteWater Holding Company LLC"
       }
      }
     },
     "localname": "WhiteWaterHoldingCompanyLLCOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_WhiteWaterHoldingCompanyLLCSevenPointThreeNinePercentageMaturityDecemberTwentyOneTwoThousandTwentySevenMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "White Water Holding company LLC seven point three nine percentage maturity December twenty one two thousand twenty seven.",
        "label": "White Water Holding Company L L C Seven Point Three Nine Percentage Maturity December Twenty One Two Thousand Twenty Seven [Member]",
        "terseLabel": "WhiteWater Holding Company LLC 7.39% Maturing 12/21/27"
       }
      }
     },
     "localname": "WhiteWaterHoldingCompanyLLCSevenPointThreeNinePercentageMaturityDecemberTwentyOneTwoThousandTwentySevenMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_WhiteWaterHoldingCompanyLLCThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "WhiteWater Holding Company LLC three.",
        "label": "White Water Holding Company L L C Three [Member]",
        "terseLabel": "WhiteWater Holding Company LLC"
       }
      }
     },
     "localname": "WhiteWaterHoldingCompanyLLCThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_WhiteWaterHoldingCompanyLLCTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "WhiteWater Holding Company LLC two.",
        "label": "White Water Holding Company L L C Two [Member]",
        "terseLabel": "WhiteWater Holding Company LLC"
       }
      }
     },
     "localname": "WhiteWaterHoldingCompanyLLCTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_WhiteWaterHoldingCompanyLimitedLiabilityCompanyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "WhiteWater Holding Company Limited Liability Company.",
        "label": "White Water Holding Company Limited Liability Company [Member]",
        "terseLabel": "Whitewater Holding Company LLC"
       }
      }
     },
     "localname": "WhiteWaterHoldingCompanyLimitedLiabilityCompanyMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_WhitewaterHoldingCompanyLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "WhiteWater Holding Company LLC.",
        "label": "WhiteWater Holding Company LLC [Member]",
        "terseLabel": "WhiteWater Holding Company LLC"
       }
      }
     },
     "localname": "WhitewaterHoldingCompanyLlcMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_WineComLimitedLiabilityCompanyOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wine.com Limited Liability Company, One.",
        "label": "Wine Com Limited Liability Company One [Member]",
        "terseLabel": "Wine.com, LLC"
       }
      }
     },
     "localname": "WineComLimitedLiabilityCompanyOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_WineComLimitedLiabilityCompanyTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wine.com Limited Liability Company, Two.",
        "label": "Wine Com Limited Liability Company Two [Member]",
        "terseLabel": "Wine.com, LLC"
       }
      }
     },
     "localname": "WineComLimitedLiabilityCompanyTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_WorkForceSoftwareLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "WorkForce Software, LLC.",
        "label": "Work Force Software L L C [Member]",
        "terseLabel": "WorkForce Software, LLC"
       }
      }
     },
     "localname": "WorkForceSoftwareLLCMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_WorkForceSoftwareLimitedLiabilityCompanyFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Work Force Software Limited Liability Company, Four.",
        "label": "Work Force Software Limited Liability Company Four [Member]",
        "terseLabel": "WorkForce Software, LLC"
       }
      }
     },
     "localname": "WorkForceSoftwareLimitedLiabilityCompanyFourMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_WorkForceSoftwareLimitedLiabilityCompanyOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Work Force Software Limited Liability Company, One.",
        "label": "Work Force Software Limited Liability Company One [Member]",
        "terseLabel": "WorkForce Software, LLC"
       }
      }
     },
     "localname": "WorkForceSoftwareLimitedLiabilityCompanyOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_WorkForceSoftwareLimitedLiabilityCompanyThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Work Force Software Limited Liability Company, Three.",
        "label": "Work Force Software Limited Liability Company Three [Member]",
        "terseLabel": "WorkForce Software, LLC"
       }
      }
     },
     "localname": "WorkForceSoftwareLimitedLiabilityCompanyThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_WorkForceSoftwareLimitedLiabilityCompanyTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Work Force Software Limited Liability Company, Two.",
        "label": "Work Force Software Limited Liability Company Two [Member]",
        "terseLabel": "WorkForce Software, LLC"
       }
      }
     },
     "localname": "WorkForceSoftwareLimitedLiabilityCompanyTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_XactlyCorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Xactly Corporation.",
        "label": "Xactly Corporation [Member]",
        "terseLabel": "Xactly Corporation"
       }
      }
     },
     "localname": "XactlyCorporationMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_XactlyCorporationOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Xactly Corporation one.",
        "label": "Xactly Corporation One [Member]",
        "terseLabel": "Xactly Corporation"
       }
      }
     },
     "localname": "XactlyCorporationOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_XactlyCorporationTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Xactly Corporation two.",
        "label": "Xactly Corporation Two [Member]",
        "terseLabel": "Xactly Corporation"
       }
      }
     },
     "localname": "XactlyCorporationTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_YILimitedLiabilityCompanyDbaYoungInnovationsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "YI, Limited Liability Company (dba Young Innovations).",
        "label": "Y I Limited Liability Company Dba Young Innovations [Member]",
        "terseLabel": "YI, LLC (dba Young Innovations)"
       }
      }
     },
     "localname": "YILimitedLiabilityCompanyDbaYoungInnovationsMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_YassoIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Yasso, Inc.",
        "label": "Yasso Inc [Member]",
        "terseLabel": "Yasso, Inc. Initial Acquisition Date on 03/23/17",
        "verboseLabel": "Yasso, Inc."
       }
      }
     },
     "localname": "YassoIncMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ZarvaIntermediateLimitedLiabilityCompanyDbaIOFFICEOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Zarva Intermediate Limited Liability Company (dba iOFFICE), One.",
        "label": "Zarva Intermediate Limited Liability Company Dba I O F F I C E One [Member]",
        "terseLabel": "Zarya Intermediate, LLC (dba iOFFICE)"
       }
      }
     },
     "localname": "ZarvaIntermediateLimitedLiabilityCompanyDbaIOFFICEOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ZarvaIntermediateLimitedLiabilityCompanyDbaIOFFICEThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Zarva Intermediate Limited Liability Company (dba iOFFICE), Three.",
        "label": "Zarva Intermediate Limited Liability Company Dba I O F F I C E Three [Member]",
        "terseLabel": "Zarya Intermediate, LLC (dba iOFFICE)"
       }
      }
     },
     "localname": "ZarvaIntermediateLimitedLiabilityCompanyDbaIOFFICEThreeMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ZarvaIntermediateLimitedLiabilityCompanyDbaIOFFICETwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Zarva Intermediate Limited Liability Company (dba iOFFICE), Two.",
        "label": "Zarva Intermediate Limited Liability Company Dba I O F F I C E Two [Member]",
        "terseLabel": "Zarya Intermediate, LLC (dba iOFFICE)"
       }
      }
     },
     "localname": "ZarvaIntermediateLimitedLiabilityCompanyDbaIOFFICETwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ZaryaIntermediateLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Zarya Intermediate, LLC.",
        "label": "Zarya Intermediate Llc [Member]",
        "terseLabel": "Zarya Intermediate, LLC (dba iOFFICE)"
       }
      }
     },
     "localname": "ZaryaIntermediateLlcMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ZepIncorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Zep Incorporation.",
        "label": "Zep Incorporation [Member]",
        "terseLabel": "Zep Inc."
       }
      }
     },
     "localname": "ZepIncorporationMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ZodiacIntermediateLLCDbaZipariOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Zodiac Intermediate LLC Dba Zipari one.",
        "label": "Zodiac Intermediate L L C Dba Zipari One [Member]",
        "terseLabel": "Zodiac Intermediate, LLC (dba Zipari)"
       }
      }
     },
     "localname": "ZodiacIntermediateLLCDbaZipariOneMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ZodiacIntermediateLLCDbaZipariTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Zodiac Intermediate LLC Dba Zipari two.",
        "label": "Zodiac Intermediate L L C Dba Zipari Two [Member]",
        "terseLabel": "Zodiac Intermediate, LLC (dba Zipari)"
       }
      }
     },
     "localname": "ZodiacIntermediateLLCDbaZipariTwoMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "gsbd_ZodiacIntermediateLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Zodiac Intermediate, LLC.",
        "label": "Zodiac Intermediate Llc [Member]",
        "terseLabel": "Zodiac Intermediate, LLC (dba Zipari)"
       }
      }
     },
     "localname": "ZodiacIntermediateLlcMember",
     "nsuri": "http://www.goldmansachsbdc.com/20220930",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_CounterpartyNameAxis": {
     "auth_ref": [
      "r32",
      "r34",
      "r81",
      "r82",
      "r184",
      "r223"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Counterparty Name [Axis]",
        "terseLabel": "Counterparty Name"
       }
      }
     },
     "localname": "CounterpartyNameAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesScheduleOfForeignCurrencyForwardContractsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_CurrencyAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Currency [Axis]",
        "terseLabel": "Currency"
       }
      }
     },
     "localname": "CurrencyAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_MaximumMember": {
     "auth_ref": [
      "r159",
      "r161",
      "r162",
      "r163",
      "r183",
      "r222",
      "r249",
      "r251",
      "r392",
      "r393",
      "r394",
      "r395",
      "r396",
      "r397",
      "r417",
      "r450",
      "r452",
      "r521",
      "r522"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum [Member]",
        "terseLabel": "Maximum",
        "verboseLabel": "Maximum"
       }
      }
     },
     "localname": "MaximumMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureInvestmentsScheduleOfGeographicCompositionOfInvestmentsAtFairValueParentheticalDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsParentheticalDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MinimumMember": {
     "auth_ref": [
      "r159",
      "r161",
      "r162",
      "r163",
      "r183",
      "r222",
      "r249",
      "r251",
      "r392",
      "r393",
      "r394",
      "r395",
      "r396",
      "r397",
      "r417",
      "r450",
      "r452",
      "r521",
      "r522"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum [Member]",
        "terseLabel": "Minimum"
       }
      }
     },
     "localname": "MinimumMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RangeAxis": {
     "auth_ref": [
      "r153",
      "r159",
      "r161",
      "r162",
      "r163",
      "r183",
      "r222",
      "r239",
      "r249",
      "r251",
      "r274",
      "r275",
      "r276",
      "r392",
      "r393",
      "r394",
      "r395",
      "r396",
      "r397",
      "r417",
      "r450",
      "r452",
      "r521",
      "r522"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Range [Axis]",
        "terseLabel": "Statistical Measurement"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureInvestmentsScheduleOfGeographicCompositionOfInvestmentsAtFairValueParentheticalDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsParentheticalDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeMember": {
     "auth_ref": [
      "r153",
      "r159",
      "r161",
      "r162",
      "r163",
      "r183",
      "r222",
      "r239",
      "r249",
      "r251",
      "r274",
      "r275",
      "r276",
      "r392",
      "r393",
      "r394",
      "r395",
      "r396",
      "r397",
      "r417",
      "r450",
      "r452",
      "r521",
      "r522"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Range [Member]",
        "terseLabel": "Statistical Measurement"
       }
      }
     },
     "localname": "RangeMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureInvestmentsScheduleOfGeographicCompositionOfInvestmentsAtFairValueParentheticalDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsParentheticalDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RepurchaseAgreementCounterpartyNameDomain": {
     "auth_ref": [
      "r33",
      "r34",
      "r81",
      "r82",
      "r184",
      "r223"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Repurchase Agreement Counterparty Name [Domain]",
        "terseLabel": "Counterparty Name"
       }
      }
     },
     "localname": "RepurchaseAgreementCounterpartyNameDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesScheduleOfForeignCurrencyForwardContractsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_SegmentGeographicalDomain": {
     "auth_ref": [
      "r124",
      "r125",
      "r236",
      "r238",
      "r451",
      "r512",
      "r513",
      "r514",
      "r515",
      "r516",
      "r517",
      "r518",
      "r519",
      "r520"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Geographical [Domain]",
        "terseLabel": "Geographical"
       }
      }
     },
     "localname": "SegmentGeographicalDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfGeographicCompositionOfInvestmentsAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_StatementGeographicalAxis": {
     "auth_ref": [
      "r124",
      "r125",
      "r236",
      "r238",
      "r451",
      "r510",
      "r512",
      "r513",
      "r514",
      "r515",
      "r516",
      "r517",
      "r518",
      "r519",
      "r520"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement Geographical [Axis]",
        "terseLabel": "Geographical"
       }
      }
     },
     "localname": "StatementGeographicalAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfGeographicCompositionOfInvestmentsAtFairValueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_WeightedAverageMember": {
     "auth_ref": [
      "r392",
      "r394",
      "r397",
      "r521",
      "r522"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted Average [Member]",
        "terseLabel": "Weighted Average"
       }
      }
     },
     "localname": "WeightedAverageMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "localname": "AccountingPoliciesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsPayableAndOtherAccruedLiabilitiesCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 6.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities incurred to vendors for goods and services received, and accrued liabilities classified as other, payable within one year or the normal operating cycle, if longer.",
        "label": "Accounts Payable And Other Accrued Liabilities Current",
        "terseLabel": "Accrued expenses and other liabilities"
       }
      }
     },
     "localname": "AccountsPayableAndOtherAccruedLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AcquisitionCosts": {
     "auth_ref": [
      "r418",
      "r419"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The capitalized costs incurred during the period (excluded from amortization) to purchase, lease or otherwise acquire an unproved property, including costs of lease bonuses and options to purchase or lease properties, the portion of costs applicable to minerals when land including mineral rights is purchased in fee, brokers' fees, recording fees, legal costs, and other costs incurred in acquiring properties.",
        "label": "Acquisition Costs",
        "terseLabel": "Acquisition cost"
       }
      }
     },
     "localname": "AcquisitionCosts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapitalCommonStock": {
     "auth_ref": [
      "r14"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 2.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value received from shareholders in common stock-related transactions that are in excess of par value or stated value and amounts received from other stock-related transactions. Includes only common stock transactions (excludes preferred stock transactions). May be called contributed capital, capital in excess of par, capital surplus, or paid-in capital.",
        "label": "Additional Paid In Capital Common Stock",
        "terseLabel": "Paid-in capital in excess of par"
       }
      }
     },
     "localname": "AdditionalPaidInCapitalCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments To Reconcile Net Income Loss To Cash Provided By Used In Operating Activities [Abstract]",
        "terseLabel": "Adjustments to reconcile net increase (decrease) in net assets from operations to net cash provided by (used for) operating activities:"
       }
      }
     },
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AlternativeInvestmentMeasurementInput": {
     "auth_ref": [
      "r344"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of input used to measure alternative investment.",
        "label": "Alternative Investment, Measurement Input",
        "terseLabel": "Debt Investments, Range of Significant Unobservable Inputs",
        "verboseLabel": "Debt Investments, measurement input"
       }
      }
     },
     "localname": "AlternativeInvestmentMeasurementInput",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "us-gaap_AmortizationOfDebtDiscountPremium": {
     "auth_ref": [
      "r51",
      "r64",
      "r203",
      "r365"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfInterestAndOtherDebtExpensesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestExpenseDebt",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noncash expense included in interest expense to amortize debt discount and premium associated with the related debt instruments. Excludes amortization of financing costs. Alternate captions include noncash interest expense.",
        "label": "Amortization Of Debt Discount Premium",
        "terseLabel": "Amortization of premium and accretion of discount, net"
       }
      }
     },
     "localname": "AmortizationOfDebtDiscountPremium",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfInterestAndOtherDebtExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmortizationOfFinancingCosts": {
     "auth_ref": [
      "r44",
      "r64",
      "r203",
      "r367"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfInterestAndOtherDebtExpensesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_InterestExpenseDebt",
       "weight": 1.0
      },
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfRevolvingCreditFacilityDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_InterestAndDebtExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization expense attributable to debt issuance costs.",
        "label": "Amortization Of Financing Costs",
        "terseLabel": "Amortization of debt issuance costs",
        "verboseLabel": "Amortization of financing costs"
       }
      }
     },
     "localname": "AmortizationOfFinancingCosts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfInterestAndOtherDebtExpensesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfInterestAndOtherDebtExpensesRelatedTo2025NotesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfInterestAndOtherDebtExpensesRelatedTo2026NotesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfRevolvingCreditFacilityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmortizationOfFinancingCostsAndDiscounts": {
     "auth_ref": [
      "r64",
      "r203",
      "r214",
      "r215",
      "r367"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows": {
       "order": 16.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization expense attributable to debt discount (premium) and debt issuance costs.",
        "label": "Amortization Of Financing Costs And Discounts",
        "terseLabel": "Amortization of deferred financing and debt issuance costs",
        "totalLabel": "Amortization of Debt Issuance Costs and Discounts, Total"
       }
      }
     },
     "localname": "AmortizationOfFinancingCostsAndDiscounts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount": {
     "auth_ref": [
      "r105"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented.",
        "label": "Antidilutive Securities Excluded From Computation Of Earnings Per Share Amount",
        "terseLabel": "Antidilutive securities excluded from computation of earning per unit"
       }
      }
     },
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureEarningsLossPerShareAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ArrangementsAndNonarrangementTransactionsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Collaborative arrangement and arrangement other than collaborative applicable to revenue-generating activity or operations.",
        "label": "Arrangements And Nonarrangement Transactions [Member]",
        "terseLabel": "Collaborative Arrangement and Arrangement Other than Collaborative"
       }
      }
     },
     "localname": "ArrangementsAndNonarrangementTransactionsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r6",
      "r79",
      "r116",
      "r118",
      "r122",
      "r139",
      "r168",
      "r169",
      "r170",
      "r171",
      "r172",
      "r173",
      "r174",
      "r175",
      "r176",
      "r177",
      "r178",
      "r299",
      "r304",
      "r352",
      "r380",
      "r382",
      "r421",
      "r436"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets",
        "totalLabel": "Total assets"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets [Abstract]",
        "terseLabel": "Assets"
       }
      }
     },
     "localname": "AssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsFairValueDisclosure": {
     "auth_ref": [
      "r340"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets Fair Value Disclosure",
        "terseLabel": "Fair value assets",
        "totalLabel": "Assets, Fair Value Disclosure, Total"
       }
      }
     },
     "localname": "AssetsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsNet": {
     "auth_ref": [
      "r2",
      "r461",
      "r476",
      "r480",
      "r481"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of net assets (liabilities).",
        "label": "Assets Net",
        "periodEndLabel": "Net assets at end of period",
        "periodStartLabel": "Net assets at beginning of period",
        "terseLabel": "Net assets, end of period",
        "totalLabel": "Net Assets, Total"
       }
      }
     },
     "localname": "AssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsNetAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets Net [Abstract]"
       }
      }
     },
     "localname": "AssetsNetAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AwardDateAxis": {
     "auth_ref": [
      "r252",
      "r253",
      "r254",
      "r255",
      "r256",
      "r257",
      "r258",
      "r259",
      "r260",
      "r261",
      "r262",
      "r263",
      "r264",
      "r265",
      "r266",
      "r267",
      "r268",
      "r269",
      "r270",
      "r271",
      "r272",
      "r273",
      "r274",
      "r275",
      "r276",
      "r277"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by date or year award under share-based payment arrangement is granted.",
        "label": "Award Date [Axis]",
        "terseLabel": "Award Date"
       }
      }
     },
     "localname": "AwardDateAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureNetAssetsScheduleOfDistributionsDeclaredOnCommonStockParentheticalDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsScheduleOfDistributionsDeclaredOnCommonStockDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AwardDateDomain": {
     "auth_ref": [
      "r252",
      "r253",
      "r254",
      "r255",
      "r256",
      "r257",
      "r258",
      "r259",
      "r260",
      "r261",
      "r262",
      "r263",
      "r264",
      "r265",
      "r266",
      "r267",
      "r268",
      "r269",
      "r270",
      "r271",
      "r272",
      "r273",
      "r274",
      "r275",
      "r276",
      "r277"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date or year award under share-based payment arrangement is granted.",
        "label": "Award Date [Domain]",
        "terseLabel": "Award Date"
       }
      }
     },
     "localname": "AwardDateDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureNetAssetsScheduleOfDistributionsDeclaredOnCommonStockParentheticalDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsScheduleOfDistributionsDeclaredOnCommonStockDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BalanceSheetLocationAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by location on balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Axis]",
        "terseLabel": "Balance Sheet Location"
       }
      }
     },
     "localname": "BalanceSheetLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationDomain": {
     "auth_ref": [
      "r316",
      "r320"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Location in the balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Domain]",
        "terseLabel": "Balance Sheet Location"
       }
      }
     },
     "localname": "BalanceSheetLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BasisOfAccountingPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for basis of accounting, or basis of presentation, used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS).",
        "label": "Basis Of Accounting Policy Policy [Text Block]",
        "terseLabel": "Basis of Presentation"
       }
      }
     },
     "localname": "BasisOfAccountingPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BusinessAcquisitionAcquireeDomain": {
     "auth_ref": [
      "r248",
      "r250",
      "r295"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identification of the acquiree in a material business combination (or series of individually immaterial business combinations), which may include the name or other type of identification of the acquiree.",
        "label": "Business Acquisition Acquiree [Domain]",
        "terseLabel": "Business Acquisition, Acquiree"
       }
      }
     },
     "localname": "BusinessAcquisitionAcquireeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureOrganizationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BusinessAcquisitionAxis": {
     "auth_ref": [
      "r248",
      "r250",
      "r293",
      "r294",
      "r295"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by business combination or series of individually immaterial business combinations.",
        "label": "Business Acquisition [Axis]",
        "terseLabel": "Business Acquisition"
       }
      }
     },
     "localname": "BusinessAcquisitionAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureOrganizationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessAcquisitionDateOfAcquisitionAgreement1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date when the business acquisition agreement was executed, in YYYY-MM-DD format.",
        "label": "Business Acquisition Date Of Acquisition Agreement1",
        "terseLabel": "Acquisition date"
       }
      }
     },
     "localname": "BusinessAcquisitionDateOfAcquisitionAgreement1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureOrganizationAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued": {
     "auth_ref": [
      "r296"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of equity interests issued or issuable to acquire entity.",
        "label": "Business Acquisition Equity Interests Issued Or Issuable Number Of Shares Issued",
        "terseLabel": "Shares issued"
       }
      }
     },
     "localname": "BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureOrganizationAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_BusinessAcquisitionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Business Acquisition [Line Items]",
        "terseLabel": "Business Acquisition [Line Items]"
       }
      }
     },
     "localname": "BusinessAcquisitionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureOrganizationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessCombinationsPolicy": {
     "auth_ref": [
      "r292"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for completed business combinations (purchase method, acquisition method or combination of entities under common control). This accounting policy may include a general discussion of the purchase method or acquisition method of accounting (including for example, the treatment accorded contingent consideration, the identification of assets and liabilities, the purchase price allocation process, how the fair values of acquired assets and liabilities are determined) and the entity's specific application thereof. An entity that acquires another entity in a leveraged buyout transaction generally discloses the accounting policy followed by the acquiring entity in determining the basis used to value its interest in the acquired entity, and the rationale for that accounting policy.",
        "label": "Business Combinations Policy",
        "terseLabel": "Purchase Accounting"
       }
      }
     },
     "localname": "BusinessCombinationsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CapitalUnitsOutstanding": {
     "auth_ref": [
      "r475"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of capital units or capital shares outstanding. This element is relevant to issuers of face-amount certificates and registered investment companies.",
        "label": "Capital Units Outstanding",
        "terseLabel": "Shares outstanding, end of period"
       }
      }
     },
     "localname": "CapitalUnitsOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_Cash": {
     "auth_ref": [
      "r4",
      "r382",
      "r470",
      "r471"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Excludes cash and cash equivalents within disposal group and discontinued operation.",
        "label": "Cash",
        "terseLabel": "Cash"
       }
      }
     },
     "localname": "Cash",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsAxis": {
     "auth_ref": [
      "r4"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of cash and cash equivalent balance.",
        "label": "Cash And Cash Equivalents [Axis]",
        "terseLabel": "Cash and Cash Equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CashAndCashEquivalentsPolicyTextBlock": {
     "auth_ref": [
      "r67"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for cash and cash equivalents, including the policy for determining which items are treated as cash equivalents. Other information that may be disclosed includes (1) the nature of any restrictions on the entity's use of its cash and cash equivalents, (2) whether the entity's cash and cash equivalents are insured or expose the entity to credit risk, (3) the classification of any negative balance accounts (overdrafts), and (4) the carrying basis of cash equivalents (for example, at cost) and whether the carrying amount of cash equivalents approximates fair value.",
        "label": "Cash And Cash Equivalents Policy [Text Block]",
        "terseLabel": "Cash"
       }
      }
     },
     "localname": "CashAndCashEquivalentsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "auth_ref": [
      "r60",
      "r66",
      "r71"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage. Excludes amount for disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash Cash Equivalents Restricted Cash And Restricted Cash Equivalents",
        "periodEndLabel": "Cash, end of period",
        "periodStartLabel": "Cash, beginning of period",
        "totalLabel": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Total"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect": {
     "auth_ref": [
      "r60",
      "r355"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in cash, cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash Cash Equivalents Restricted Cash And Restricted Cash Equivalents Period Increase Decrease Including Exchange Rate Effect",
        "totalLabel": "Net increase (decrease) in cash"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ClassOfStockLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Class Of Stock [Line Items]",
        "terseLabel": "Class Of Stock [Line Items]"
       }
      }
     },
     "localname": "ClassOfStockLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureNetAssetsScheduleOfDistributionsDeclaredOnCommonStockParentheticalDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsScheduleOfDistributionsDeclaredOnCommonStockDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CommitmentsAndContingencies": {
     "auth_ref": [
      "r25",
      "r426",
      "r440"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the caption on the face of the balance sheet to indicate that the entity has entered into (1) purchase or supply arrangements that will require expending a portion of its resources to meet the terms thereof, and (2) is exposed to potential losses or, less frequently, gains, arising from (a) possible claims against a company's resources due to future performance under contract terms, and (b) possible losses or likely gains from uncertainties that will ultimately be resolved when one or more future events that are deemed likely to occur do occur or fail to occur.",
        "label": "Commitments And Contingencies",
        "terseLabel": "Commitments and contingencies (Note 8)"
       }
      }
     },
     "localname": "CommitmentsAndContingencies",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments And Contingencies Disclosure [Abstract]"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock": {
     "auth_ref": [
      "r154",
      "r155",
      "r156",
      "r164",
      "r511"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for commitments and contingencies.",
        "label": "Commitments And Contingencies Disclosure [Text Block]",
        "terseLabel": "Commitments and Contingencies"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingencies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CommonStockMember": {
     "auth_ref": [
      "r86",
      "r87",
      "r334"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock that is subordinate to all other stock of the issuer.",
        "label": "Common Stock [Member]",
        "terseLabel": "Common Stock"
       }
      }
     },
     "localname": "CommonStockMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsCategorizedWithinFairValueHierarchyDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfChangesInFairValueOfLevel3AssetsByInvestmentTypeDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsExcludingInvestmentsInMoneyMarketFundsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r13"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount or stated value per share of common stock.",
        "label": "Common Stock Par Or Stated Value Per Share",
        "terseLabel": "Common stock, par value"
       }
      }
     },
     "localname": "CommonStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureOrganizationAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "auth_ref": [
      "r13"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws.",
        "label": "Common Stock Shares Authorized",
        "terseLabel": "Common stock, shares authorized"
       }
      }
     },
     "localname": "CommonStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesIssued": {
     "auth_ref": [
      "r13"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury.",
        "label": "Common Stock Shares Issued",
        "terseLabel": "Common stock, shares issued"
       }
      }
     },
     "localname": "CommonStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "auth_ref": [
      "r13",
      "r227"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.",
        "label": "Common Stock Shares Outstanding",
        "periodEndLabel": "Common Stock, Shares, Outstanding, Ending Balance",
        "periodStartLabel": "Common Stock, Shares, Outstanding, Beginning Balance",
        "terseLabel": "Common stock, shares outstanding"
       }
      }
     },
     "localname": "CommonStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockValue": {
     "auth_ref": [
      "r13",
      "r382"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Common Stock Value",
        "terseLabel": "Common stock, par value $0.001 per share (200,000,000 shares authorized, 102,778,441 and 101,818,811 shares issued and outstanding as of September 30, 2022 and December 31, 2021, respectively)"
       }
      }
     },
     "localname": "CommonStockValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConsolidationPolicyTextBlock": {
     "auth_ref": [
      "r73",
      "r301"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy regarding (1) the principles it follows in consolidating or combining the separate financial statements, including the principles followed in determining the inclusion or exclusion of subsidiaries or other entities in the consolidated or combined financial statements and (2) its treatment of interests (for example, common stock, a partnership interest or other means of exerting influence) in other entities, for example consolidation or use of the equity or cost methods of accounting. The accounting policy may also address the accounting treatment for intercompany accounts and transactions, noncontrolling interest, and the income statement treatment in consolidation for issuances of stock by a subsidiary.",
        "label": "Consolidation Policy [Text Block]",
        "terseLabel": "Basis of Consolidation"
       }
      }
     },
     "localname": "ConsolidationPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ConvertibleDebtMember": {
     "auth_ref": [
      "r179",
      "r180",
      "r181",
      "r183",
      "r193",
      "r194",
      "r195",
      "r199",
      "r200",
      "r201",
      "r202",
      "r203",
      "r212",
      "r213",
      "r214",
      "r215"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Borrowing which can be exchanged for a specified number of another security at the option of the issuer or the holder, for example, but not limited to, the entity's common stock.",
        "label": "Convertible Debt [Member]",
        "terseLabel": "Convertible Notes"
       }
      }
     },
     "localname": "ConvertibleDebtMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfDebtObligationsCarriedAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConvertibleDebtTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of convertible debt instrument. Includes, but is not limited to, principal amount and amortized premium or discount.",
        "label": "Convertible Debt Table [Text Block]",
        "terseLabel": "Components of Carrying Value"
       }
      }
     },
     "localname": "ConvertibleDebtTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CreditFacilityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of credit facility. Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing.",
        "label": "Credit Facility [Axis]",
        "terseLabel": "Credit Facility"
       }
      }
     },
     "localname": "CreditFacilityAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfCarryingValueDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfInterestAndOtherDebtExpensesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfOutstandingDebtDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfRevolvingCreditFacilityDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CreditFacilityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of credit facility. Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing.",
        "label": "Credit Facility [Domain]",
        "terseLabel": "Credit Facility"
       }
      }
     },
     "localname": "CreditFacilityDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfCarryingValueDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfInterestAndOtherDebtExpensesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfOutstandingDebtDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfRevolvingCreditFacilityDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtConversionOriginalDebtDueDateOfDebtDayMonthAndYear": {
     "auth_ref": [
      "r69",
      "r70"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date the original debt was scheduled to mature, in YYYY-MM-DD format.",
        "label": "Debt Conversion Original Debt Due Date Of Debt Day Month And Year",
        "terseLabel": "Unpaid interest will be due and payable"
       }
      }
     },
     "localname": "DebtConversionOriginalDebtDueDateOfDebtDayMonthAndYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_DebtDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Disclosure [Abstract]"
       }
      }
     },
     "localname": "DebtDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtDisclosureTextBlock": {
     "auth_ref": [
      "r76",
      "r186",
      "r187",
      "r188",
      "r189",
      "r190",
      "r191",
      "r192",
      "r197",
      "r204",
      "r205",
      "r207",
      "r216"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants.",
        "label": "Debt Disclosure [Text Block]",
        "terseLabel": "Debt"
       }
      }
     },
     "localname": "DebtDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebt"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtInstrumentAxis": {
     "auth_ref": [
      "r7",
      "r9",
      "r10",
      "r78",
      "r84",
      "r180",
      "r181",
      "r182",
      "r183",
      "r184",
      "r185",
      "r187",
      "r193",
      "r194",
      "r195",
      "r196",
      "r198",
      "r199",
      "r200",
      "r201",
      "r202",
      "r203",
      "r212",
      "r213",
      "r214",
      "r215",
      "r368",
      "r422",
      "r423",
      "r433"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of debt instrument, including, but not limited to, draws against credit facilities.",
        "label": "Debt Instrument [Axis]",
        "terseLabel": "Debt Instrument"
       }
      }
     },
     "localname": "DebtInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfCarryingValueOf2025NotesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfCarryingValueOf2026NotesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfInterestAndOtherDebtExpensesRelatedTo2025NotesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfInterestAndOtherDebtExpensesRelatedTo2026NotesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtTables",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsCategorizedWithinFairValueHierarchyDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfChangesInFairValueOfLevel3AssetsByInvestmentTypeDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfDebtObligationsCarriedAtFairValueDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentFaceAmount": {
     "auth_ref": [
      "r180",
      "r212",
      "r213",
      "r366",
      "r368",
      "r369"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face (par) amount of debt instrument at time of issuance.",
        "label": "Debt Instrument Face Amount",
        "terseLabel": "Aggregate principal amount",
        "verboseLabel": "Principal amount of debt"
       }
      }
     },
     "localname": "DebtInstrumentFaceAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfCarryingValueDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfCarryingValueOf2025NotesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfCarryingValueOf2026NotesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentFairValue": {
     "auth_ref": [
      "r195",
      "r212",
      "r213",
      "r350"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of debt instrument payable, including, but not limited to, notes payable and loans payable.",
        "label": "Debt Instrument Fair Value",
        "terseLabel": "Debt instrument, Fair Value",
        "totalLabel": "Debt Instrument, Fair Value Disclosure, Total"
       }
      }
     },
     "localname": "DebtInstrumentFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfDebtObligationsCarriedAtFairValueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentInterestRateEffectivePercentage": {
     "auth_ref": [
      "r21",
      "r210",
      "r366",
      "r368"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium.",
        "label": "Debt Instrument Interest Rate Effective Percentage",
        "terseLabel": "Effective interest rate (stated interest rate plus accretion of OID)"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateEffectivePercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfCarryingValueDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentInterestRateStatedPercentage": {
     "auth_ref": [
      "r21",
      "r181"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contractual interest rate for funds borrowed, under the debt agreement.",
        "label": "Debt Instrument Interest Rate Stated Percentage",
        "terseLabel": "Interest rate",
        "verboseLabel": "Stated interest rate"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateStatedPercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfCarryingValueDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Debt Instrument [Line Items]",
        "terseLabel": "Debt Instrument [Line Items]"
       }
      }
     },
     "localname": "DebtInstrumentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentMaturityDateDescription": {
     "auth_ref": [
      "r22"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of the maturity date of the debt instrument including whether the debt matures serially and, if so, a brief description of the serial maturities.",
        "label": "Debt Instrument Maturity Date Description",
        "terseLabel": "Debt Instrument, Maturity Date, Description"
       }
      }
     },
     "localname": "DebtInstrumentMaturityDateDescription",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "auth_ref": [
      "r24",
      "r78",
      "r84",
      "r180",
      "r181",
      "r182",
      "r183",
      "r184",
      "r185",
      "r187",
      "r193",
      "r194",
      "r195",
      "r196",
      "r198",
      "r199",
      "r200",
      "r201",
      "r202",
      "r203",
      "r212",
      "r213",
      "r214",
      "r215",
      "r368"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities.",
        "label": "Debt Instrument Name [Domain]",
        "terseLabel": "Debt Instrument, Name"
       }
      }
     },
     "localname": "DebtInstrumentNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfCarryingValueOf2025NotesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfCarryingValueOf2026NotesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfInterestAndOtherDebtExpensesRelatedTo2025NotesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfInterestAndOtherDebtExpensesRelatedTo2026NotesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtTables",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsCategorizedWithinFairValueHierarchyDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfChangesInFairValueOfLevel3AssetsByInvestmentTypeDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfDebtObligationsCarriedAtFairValueDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtInstrumentTable": {
     "auth_ref": [
      "r24",
      "r78",
      "r84",
      "r180",
      "r181",
      "r182",
      "r183",
      "r184",
      "r185",
      "r187",
      "r193",
      "r194",
      "r195",
      "r196",
      "r198",
      "r199",
      "r200",
      "r201",
      "r202",
      "r203",
      "r206",
      "r212",
      "r213",
      "r214",
      "r215",
      "r228",
      "r231",
      "r232",
      "r233",
      "r365",
      "r366",
      "r368",
      "r369",
      "r431"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A table or schedule providing information pertaining to long-term debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Debt Instrument [Table]",
        "terseLabel": "Debt Instrument [Table]"
       }
      }
     },
     "localname": "DebtInstrumentTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet": {
     "auth_ref": [
      "r193",
      "r208",
      "r212",
      "r213",
      "r367"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unamortized debt discount (premium) and debt issuance costs.",
        "label": "Debt Instrument Unamortized Discount Premium And Debt Issuance Costs Net",
        "terseLabel": "Unamortized debt issuance costs",
        "totalLabel": "Debt Instrument, Unamortized Discount (Premium) and Debt Issuance Costs, Net, Total"
       }
      }
     },
     "localname": "DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfCarryingValueDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfCarryingValueOf2025NotesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfCarryingValueOf2026NotesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentUnusedBorrowingCapacityAmount": {
     "auth_ref": [
      "r23"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unused borrowing capacity under the long-term financing arrangement that is available to the entity as of the balance sheet date.",
        "label": "Debt Instrument Unused Borrowing Capacity Amount",
        "terseLabel": "Debt, Borrowing capacity"
       }
      }
     },
     "localname": "DebtInstrumentUnusedBorrowingCapacityAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfOutstandingDebtParentheticalDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contractual obligation to pay money on demand or on fixed or determinable dates.",
        "label": "Debt [Member]",
        "terseLabel": "Debt"
       }
      }
     },
     "localname": "DebtMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfOutstandingDebtParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtorInPossessionFinancingBorrowingsOutstanding": {
     "auth_ref": [
      "r378"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of debtor-in-possession borrowings outstanding.",
        "label": "Debtor In Possession Financing Borrowings Outstanding",
        "terseLabel": "Outstanding borrowings"
       }
      }
     },
     "localname": "DebtorInPossessionFinancingBorrowingsOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfOutstandingDebtParentheticalDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredCosts": {
     "auth_ref": [
      "r5",
      "r420",
      "r435"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 5.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred cost, excluding capitalized cost related to contract with customer; classified as noncurrent.",
        "label": "Deferred Costs",
        "terseLabel": "Deferred financing costs",
        "totalLabel": "Deferred Costs, Noncurrent, Total"
       }
      }
     },
     "localname": "DeferredCosts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredFinanceCostsNet": {
     "auth_ref": [
      "r193",
      "r367"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs.",
        "label": "Deferred Finance Costs Net",
        "terseLabel": "Debt issuance costs",
        "totalLabel": "Debt Issuance Costs, Net, Total",
        "verboseLabel": "Cost incurred in obtaining revolving credit facility"
       }
      }
     },
     "localname": "DeferredFinanceCostsNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssetCollateralObligationToReturnCashOffset": {
     "auth_ref": [
      "r28",
      "r309"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesScheduleOfForeignCurrencyForwardContractsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of obligation to return cash collateral under master netting arrangements offset against derivative assets.",
        "label": "Derivative Asset Collateral Obligation To Return Cash Offset",
        "terseLabel": "Collateral (Received) Pledged"
       }
      }
     },
     "localname": "DerivativeAssetCollateralObligationToReturnCashOffset",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesScheduleOfForeignCurrencyForwardContractsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeContractTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial instrument or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.",
        "label": "Derivative Contract Type [Domain]",
        "terseLabel": "Derivative Contract"
       }
      }
     },
     "localname": "DerivativeContractTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesScheduleOfEffectOfTransactionsInDerivativeInstrumentsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesScheduleOfForeignCurrencyForwardContractsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeAsset": {
     "auth_ref": [
      "r27",
      "r34",
      "r35",
      "r318",
      "r399"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesScheduleOfForeignCurrencyForwardContractsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, before effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets elected not to be offset. Excludes assets not subject to a master netting arrangement.",
        "label": "Derivative Fair Value Of Derivative Asset",
        "terseLabel": "Gross Amount of Assets"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeAsset",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesScheduleOfForeignCurrencyForwardContractsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral": {
     "auth_ref": [
      "r29",
      "r30",
      "r36",
      "r329"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesScheduleOfForeignCurrencyForwardContractsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after offset of derivative liability, of financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, before offset against an obligation to return collateral under a master netting arrangement. Includes assets elected not to be offset. Excludes assets not subject to a master netting arrangement.",
        "label": "Derivative Fair Value Of Derivative Asset Amount Not Offset Against Collateral",
        "totalLabel": "Net Amount of Assets or (Liabilities)"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesScheduleOfForeignCurrencyForwardContractsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral": {
     "auth_ref": [
      "r31",
      "r328"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesScheduleOfForeignCurrencyForwardContractsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after effect of master netting arrangement and deduction of obligation to return financial collateral not offset and financial instrument subject to master netting arrangement not offset, of financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and contract can be net settled by means outside contract or delivery of asset. Includes derivative not subject to master netting arrangement or similar agreement.",
        "label": "Derivative Fair Value Of Derivative Asset Amount Offset Against Collateral",
        "totalLabel": "Net Amounts"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesScheduleOfForeignCurrencyForwardContractsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeLiability": {
     "auth_ref": [
      "r27",
      "r34",
      "r35",
      "r318",
      "r399"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesScheduleOfForeignCurrencyForwardContractsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, before effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities elected not to be offset. Excludes liabilities not subject to a master netting arrangement.",
        "label": "Derivative Fair Value Of Derivative Liability",
        "terseLabel": "Gross Amount of Liabilities"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeLiability",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesScheduleOfForeignCurrencyForwardContractsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeInstrumentRiskAxis": {
     "auth_ref": [
      "r34",
      "r317",
      "r319",
      "r322",
      "r324"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of derivative contract.",
        "label": "Derivative Instrument Risk [Axis]",
        "terseLabel": "Derivative Instrument"
       }
      }
     },
     "localname": "DerivativeInstrumentRiskAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesScheduleOfEffectOfTransactionsInDerivativeInstrumentsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesScheduleOfForeignCurrencyForwardContractsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Instruments And Hedging Activities Disclosure [Abstract]"
       }
      }
     },
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock": {
     "auth_ref": [
      "r333",
      "r337"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for derivative instruments and hedging activities including, but not limited to, risk management strategies, non-hedging derivative instruments, assets, liabilities, revenue and expenses, and methodologies and assumptions used in determining the amounts.",
        "label": "Derivative Instruments And Hedging Activities Disclosure [Text Block]",
        "terseLabel": "Derivatives"
       }
      }
     },
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivatives"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DerivativeLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Derivative [Line Items]",
        "terseLabel": "Derivative [Line Items]"
       }
      }
     },
     "localname": "DerivativeLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesScheduleOfEffectOfTransactionsInDerivativeInstrumentsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesScheduleOfForeignCurrencyForwardContractsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeNumberOfInstrumentsHeld": {
     "auth_ref": [
      "r311",
      "r313"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of derivative instruments of a particular group held by the entity.",
        "label": "Derivative Number Of Instruments Held",
        "terseLabel": "Currency Purchased",
        "totalLabel": "Derivative, Number of Instruments Held, Total"
       }
      }
     },
     "localname": "DerivativeNumberOfInstrumentsHeld",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_DerivativeTable": {
     "auth_ref": [
      "r310",
      "r312",
      "r313",
      "r314",
      "r315",
      "r321",
      "r322",
      "r326",
      "r330",
      "r332",
      "r333"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule that describes and identifies a derivative or group of derivatives on a disaggregated basis, such as for individual instruments, or small groups of similar instruments. May include a combination of the type of instrument, risks being hedged, notional amount, hedge designation, related hedged item, inception date, maturity date, or other relevant item.",
        "label": "Derivative [Table]",
        "terseLabel": "Derivative [Table]"
       }
      }
     },
     "localname": "DerivativeTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesScheduleOfEffectOfTransactionsInDerivativeInstrumentsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesScheduleOfForeignCurrencyForwardContractsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativesPolicyTextBlock": {
     "auth_ref": [
      "r83",
      "r310",
      "r312",
      "r314",
      "r315",
      "r327"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for its derivative instruments and hedging activities.",
        "label": "Derivatives Policy [Text Block]",
        "terseLabel": "Derivatives"
       }
      }
     },
     "localname": "DerivativesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DistributionMadeToLimitedLiabilityCompanyLLCMemberCashDistributionsPaid": {
     "auth_ref": [
      "r234"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash distribution paid to unit-holder of limited liability company (LLC).",
        "label": "Distribution Made To Limited Liability Company L L C Member Cash Distributions Paid",
        "negatedLabel": "Distributions paid"
       }
      }
     },
     "localname": "DistributionMadeToLimitedLiabilityCompanyLLCMemberCashDistributionsPaid",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DistributionMadeToLimitedLiabilityCompanyLLCMemberDateOfRecord": {
     "auth_ref": [
      "r234"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date of record for distribution of cash or unit to member of limited liability company (LLC), in YYYY-MM-DD format.",
        "label": "Distribution Made To Limited Liability Company L L C Member Date Of Record",
        "terseLabel": "Record Date"
       }
      }
     },
     "localname": "DistributionMadeToLimitedLiabilityCompanyLLCMemberDateOfRecord",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsScheduleOfDistributionsDeclaredOnCommonStockDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_DistributionMadeToLimitedLiabilityCompanyLLCMemberDeclarationDate": {
     "auth_ref": [
      "r234"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date of declaration for distribution of cash or unit to member of limited liability company (LLC), in YYYY-MM-DD format.",
        "label": "Distribution Made To Limited Liability Company L L C Member Declaration Date",
        "terseLabel": "Date Declared"
       }
      }
     },
     "localname": "DistributionMadeToLimitedLiabilityCompanyLLCMemberDeclarationDate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsScheduleOfDistributionsDeclaredOnCommonStockDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_DistributionMadeToLimitedLiabilityCompanyLLCMemberDistributionDate": {
     "auth_ref": [
      "r234"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date of distribution for distribution of cash or unit to member of limited liability company (LLC), in YYYY-MM-DD format.",
        "label": "Distribution Made To Limited Liability Company L L C Member Distribution Date",
        "terseLabel": "Payment Date"
       }
      }
     },
     "localname": "DistributionMadeToLimitedLiabilityCompanyLLCMemberDistributionDate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsScheduleOfDistributionsDeclaredOnCommonStockDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_DistributionMadeToLimitedLiabilityCompanyLLCMemberDistributionsPaidPerUnit": {
     "auth_ref": [
      "r234"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per unit of ownership amount of cash distributions paid to unit-holder of a limited liability company (LLC).",
        "label": "Distribution Made To Limited Liability Company L L C Member Distributions Paid Per Unit",
        "terseLabel": "Amount Per Share"
       }
      }
     },
     "localname": "DistributionMadeToLimitedLiabilityCompanyLLCMemberDistributionsPaidPerUnit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsScheduleOfDistributionsDeclaredOnCommonStockDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_DistributionMadeToLimitedLiabilityCompanyLLCMemberUnitDistribution": {
     "auth_ref": [
      "r234"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of units distributed for payment of a unit distribution to unit-holder of a limited liability company (LLC).",
        "label": "Distribution Made To Limited Liability Company L L C Member Unit Distribution",
        "terseLabel": "Shares"
       }
      }
     },
     "localname": "DistributionMadeToLimitedLiabilityCompanyLLCMemberUnitDistribution",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsScheduleOfDistributionsDeclaredOnCommonStockDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_DistributionMadeToLimitedPartnerDistributionsDeclaredPerUnit": {
     "auth_ref": [
      "r234"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per unit of ownership amount of cash distributions declared to unit-holder of a limited partnership (LP).",
        "label": "Distribution Made To Limited Partner Distributions Declared Per Unit",
        "terseLabel": "Distributions per share"
       }
      }
     },
     "localname": "DistributionMadeToLimitedPartnerDistributionsDeclaredPerUnit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_DividendPayableDateToBePaidDayMonthAndYear": {
     "auth_ref": [
      "r69"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date the declared dividend will be paid, in YYYY-MM-DD format.",
        "label": "Dividend Payable Date To Be Paid Day Month And Year",
        "terseLabel": "Quarterly distribution, payable date"
       }
      }
     },
     "localname": "DividendPayableDateToBePaidDayMonthAndYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_DividendsDeclaredTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information related to dividends declared, including paid and unpaid dividends.",
        "label": "Dividends Declared Table [Text Block]",
        "terseLabel": "Schedule of Distributions Declared on Common Stock"
       }
      }
     },
     "localname": "DividendsDeclaredTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DividendsPayableAmountPerShare": {
     "auth_ref": [
      "r69"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The per share amount of a dividend declared, but not paid, as of the financial reporting date.",
        "label": "Dividends Payable Amount Per Share",
        "terseLabel": "Quarterly distribution, per share"
       }
      }
     },
     "localname": "DividendsPayableAmountPerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_DividendsPayableDateDeclaredDayMonthAndYear": {
     "auth_ref": [
      "r69"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date the dividend to be paid was declared, in YYYY-MM-DD format.",
        "label": "Dividends Payable Date Declared Day Month And Year",
        "terseLabel": "Quarterly distribution, declared date"
       }
      }
     },
     "localname": "DividendsPayableDateDeclaredDayMonthAndYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_DividendsPayableDateOfRecordDayMonthAndYear": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date the holder must own the stock to be entitled to the dividend, in YYYY-MM-DD format.",
        "label": "Dividends Payable Date Of Record Day Month And Year",
        "terseLabel": "Quarterly distribution, date of record"
       }
      }
     },
     "localname": "DividendsPayableDateOfRecordDayMonthAndYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_DueToAffiliateCurrentAndNoncurrent": {
     "auth_ref": [
      "r373",
      "r379",
      "r425",
      "r442",
      "r474"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of payable due to an entity that is affiliated with the reporting entity by means of direct or indirect ownership.",
        "label": "Due To Affiliate Current And Noncurrent",
        "terseLabel": "Due to Affiliate"
       }
      }
     },
     "localname": "DueToAffiliateCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EarningsPerShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share [Abstract]"
       }
      }
     },
     "localname": "EarningsPerShareAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerShareBasic": {
     "auth_ref": [
      "r43",
      "r91",
      "r92",
      "r93",
      "r94",
      "r95",
      "r99",
      "r101",
      "r102",
      "r103",
      "r104",
      "r108",
      "r109",
      "r335",
      "r336",
      "r427",
      "r444"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period.",
        "label": "Earnings Per Share Basic",
        "terseLabel": "Basic earnings (loss) per share",
        "totalLabel": "Earnings Per Share, Basic, Total",
        "verboseLabel": "Earnings per share basic"
       }
      }
     },
     "localname": "EarningsPerShareBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureEarningsLossPerShareScheduleOfBasicAndDilutedEarningPerUnitDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareDiluted": {
     "auth_ref": [
      "r43",
      "r91",
      "r92",
      "r93",
      "r94",
      "r95",
      "r101",
      "r102",
      "r103",
      "r104",
      "r108",
      "r109",
      "r335",
      "r336",
      "r427",
      "r444"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.",
        "label": "Earnings Per Share Diluted",
        "terseLabel": "Diluted earnings (loss) per share",
        "totalLabel": "Earnings Per Share, Diluted, Total",
        "verboseLabel": "Earnings per share diluted"
       }
      }
     },
     "localname": "EarningsPerShareDiluted",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureEarningsLossPerShareScheduleOfBasicAndDilutedEarningPerUnitDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareTextBlock": {
     "auth_ref": [
      "r105",
      "r106",
      "r107",
      "r110"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for earnings per share.",
        "label": "Earnings Per Share [Text Block]",
        "terseLabel": "Earnings (Loss) Per Share"
       }
      }
     },
     "localname": "EarningsPerShareTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureEarningsLossPerShare"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "auth_ref": [
      "r355"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) from effect of exchange rate changes on cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; held in foreign currencies. Excludes amounts for disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Effect Of Exchange Rate On Cash Cash Equivalents Restricted Cash And Restricted Cash Equivalents",
        "terseLabel": "Effect of foreign exchange rate changes on cash and cash equivalents"
       }
      }
     },
     "localname": "EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EntertainmentMember": {
     "auth_ref": [
      "r237"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Performance, including, but not limited to, film, music, cable broadcast and video game.",
        "label": "Entertainment [Member]",
        "terseLabel": "Entertainment"
       }
      }
     },
     "localname": "EntertainmentMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityComponentDomain": {
     "auth_ref": [
      "r0",
      "r40",
      "r41",
      "r42",
      "r86",
      "r87",
      "r88",
      "r90",
      "r96",
      "r98",
      "r111",
      "r142",
      "r227",
      "r234",
      "r278",
      "r279",
      "r280",
      "r288",
      "r289",
      "r334",
      "r356",
      "r357",
      "r358",
      "r359",
      "r360",
      "r361",
      "r370",
      "r453",
      "r454",
      "r455"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc.",
        "label": "Equity Component [Domain]",
        "terseLabel": "Equity Component"
       }
      }
     },
     "localname": "EquityComponentDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsCategorizedWithinFairValueHierarchyDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfChangesInFairValueOfLevel3AssetsByInvestmentTypeDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquitySecuritiesByIndustryAxis": {
     "auth_ref": [
      "r148"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by industry sector, examples include but are not limited to, commercial, industrial, agricultural, financial services, technology, healthcare and real estate.",
        "label": "Equity Securities By Industry [Axis]",
        "terseLabel": "Industry Sector"
       }
      }
     },
     "localname": "EquitySecuritiesByIndustryAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent": {
     "auth_ref": [
      "r8",
      "r349"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI).",
        "label": "Equity Securities Fv Ni Current And Noncurrent",
        "terseLabel": "Equity, Fair Value",
        "totalLabel": "Equity Securities, FV-NI, Total"
       }
      }
     },
     "localname": "EquitySecuritiesFvNiCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquitySecuritiesFvNiMeasurementInput": {
     "auth_ref": [
      "r344"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of input used to measure investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI).",
        "label": "Equity Securities Fv Ni Measurement Input",
        "terseLabel": "Equity, Range of Significant Unobservable Inputs"
       }
      }
     },
     "localname": "EquitySecuritiesFvNiMeasurementInput",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "us-gaap_EquitySecuritiesIndustryMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Industry sector consisting of government, private and corporate entities engaged in business activities, including but not limited to, commercial, industrial, agricultural, financial services, technology, healthcare and real estate.",
        "label": "Equity Securities Industry [Member]",
        "terseLabel": "Industry Sector"
       }
      }
     },
     "localname": "EquitySecuritiesIndustryMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquitySecuritiesMember": {
     "auth_ref": [
      "r133",
      "r434",
      "r507",
      "r508",
      "r509"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ownership interest or right to acquire or dispose of ownership interest in corporations and other legal entities for which ownership interest is represented by shares of common or preferred stock, convertible securities, stock rights, or stock warrants.",
        "label": "Equity Securities [Member]",
        "terseLabel": "Equity"
       }
      }
     },
     "localname": "EquitySecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]",
        "terseLabel": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsCategorizedWithinFairValueHierarchyDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfChangesInFairValueOfLevel3AssetsByInvestmentTypeDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfDebtObligationsCarriedAtFairValueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable": {
     "auth_ref": [
      "r340",
      "r341",
      "r347"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about asset and liability measured at fair value on recurring and nonrecurring basis.",
        "label": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Table]",
        "terseLabel": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Table]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsCategorizedWithinFairValueHierarchyDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfChangesInFairValueOfLevel3AssetsByInvestmentTypeDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfDebtObligationsCarriedAtFairValueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]",
        "terseLabel": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable": {
     "auth_ref": [
      "r342"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about input and valuation technique used to measure fair value and change in valuation approach and technique for each separate class of asset and liability measured on recurring and nonrecurring basis.",
        "label": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Table]",
        "terseLabel": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Table]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock": {
     "auth_ref": [
      "r342"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of input and valuation technique used to measure fair value and change in valuation approach and technique for each separate class of asset and liability measured on recurring and nonrecurring basis.",
        "label": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques Table [Text Block]",
        "terseLabel": "Summary of Ranges of Significant Unobservable Inputs Used to Value Level 3 Assets"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain": {
     "auth_ref": [
      "r345"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class of asset.",
        "label": "Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]",
        "terseLabel": "Asset Class"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueByAssetClassAxis": {
     "auth_ref": [
      "r340",
      "r347"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by class of asset.",
        "label": "Fair Value By Asset Class [Axis]",
        "terseLabel": "Asset Class"
       }
      }
     },
     "localname": "FairValueByAssetClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByBalanceSheetGroupingTextBlock": {
     "auth_ref": [
      "r340",
      "r351"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the fair value of financial instruments, including financial assets and financial liabilities, and the measurements of those instruments, assets, and liabilities.",
        "label": "Fair Value By Balance Sheet Grouping [Text Block]",
        "terseLabel": "Summary of Debt Obligations Carried at Fair Value"
       }
      }
     },
     "localname": "FairValueByBalanceSheetGroupingTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "auth_ref": [
      "r195",
      "r212",
      "r213",
      "r240",
      "r241",
      "r242",
      "r243",
      "r244",
      "r245",
      "r246",
      "r247",
      "r341",
      "r389",
      "r390",
      "r391"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient.",
        "label": "Fair Value By Fair Value Hierarchy Level [Axis]",
        "terseLabel": "Fair Value Hierarchy and NAV"
       }
      }
     },
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsCategorizedWithinFairValueHierarchyDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfChangesInFairValueOfLevel3AssetsByInvestmentTypeDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfDebtObligationsCarriedAtFairValueDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementFrequencyAxis": {
     "auth_ref": [
      "r340",
      "r341",
      "r343",
      "r344",
      "r348"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by measurement frequency.",
        "label": "Fair Value By Measurement Frequency [Axis]",
        "terseLabel": "Measurement Frequency"
       }
      }
     },
     "localname": "FairValueByMeasurementFrequencyAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Disclosures [Abstract]"
       }
      }
     },
     "localname": "FairValueDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "auth_ref": [
      "r346"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.",
        "label": "Fair Value Disclosures [Text Block]",
        "terseLabel": "Fair Value Measurement"
       }
      }
     },
     "localname": "FairValueDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurement"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "auth_ref": [
      "r195",
      "r240",
      "r241",
      "r246",
      "r247",
      "r341",
      "r389"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Quoted prices in active markets for identical assets or liabilities that the reporting entity can access at the measurement date.",
        "label": "Fair Value Inputs Level1 [Member]",
        "terseLabel": "Level 1"
       }
      }
     },
     "localname": "FairValueInputsLevel1Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "auth_ref": [
      "r195",
      "r212",
      "r213",
      "r240",
      "r241",
      "r246",
      "r247",
      "r341",
      "r390"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inputs other than quoted prices included within level 1 that are observable for an asset or liability, either directly or indirectly, including, but not limited to, quoted prices for similar assets or liabilities in active markets, or quoted prices for identical or similar assets or liabilities in inactive markets.",
        "label": "Fair Value Inputs Level2 [Member]",
        "terseLabel": "Level 2"
       }
      }
     },
     "localname": "FairValueInputsLevel2Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsCategorizedWithinFairValueHierarchyDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfDebtObligationsCarriedAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "auth_ref": [
      "r195",
      "r212",
      "r213",
      "r240",
      "r241",
      "r242",
      "r243",
      "r244",
      "r245",
      "r246",
      "r247",
      "r341",
      "r391"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value Inputs Level3 [Member]",
        "terseLabel": "Level 3"
       }
      }
     },
     "localname": "FairValueInputsLevel3Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsCategorizedWithinFairValueHierarchyDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfChangesInFairValueOfLevel3AssetsByInvestmentTypeDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfDebtObligationsCarriedAtFairValueDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementFrequencyDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement frequency.",
        "label": "Fair Value Measurement Frequency [Domain]",
        "terseLabel": "Measurement Frequency"
       }
      }
     },
     "localname": "FairValueMeasurementFrequencyDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "auth_ref": [
      "r195",
      "r212",
      "r213",
      "r240",
      "r241",
      "r242",
      "r243",
      "r244",
      "r245",
      "r246",
      "r247",
      "r389",
      "r390",
      "r391"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value.",
        "label": "Fair Value Measurements Fair Value Hierarchy [Domain]",
        "terseLabel": "Fair Value Hierarchy and NAV"
       }
      }
     },
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsCategorizedWithinFairValueHierarchyDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfChangesInFairValueOfLevel3AssetsByInvestmentTypeDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfDebtObligationsCarriedAtFairValueDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsRecurringMember": {
     "auth_ref": [
      "r346",
      "r348"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Frequent fair value measurement. Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, frequently measured at fair value.",
        "label": "Fair Value Measurements Recurring [Member]",
        "terseLabel": "Fair Value, Recurring"
       }
      }
     },
     "localname": "FairValueMeasurementsRecurringMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancialInstrumentAxis": {
     "auth_ref": [
      "r131",
      "r132",
      "r134",
      "r135",
      "r136",
      "r143",
      "r144",
      "r145",
      "r146",
      "r147",
      "r149",
      "r150",
      "r151",
      "r152",
      "r206",
      "r226",
      "r333",
      "r386",
      "r387",
      "r388",
      "r389",
      "r390",
      "r391",
      "r392",
      "r393",
      "r394",
      "r395",
      "r396",
      "r397",
      "r398",
      "r400",
      "r401",
      "r402",
      "r403",
      "r404",
      "r405",
      "r406",
      "r407",
      "r408",
      "r409",
      "r410",
      "r411",
      "r412",
      "r413",
      "r414",
      "r415",
      "r416",
      "r604",
      "r605",
      "r606",
      "r607",
      "r608",
      "r609",
      "r610"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of financial instrument.",
        "label": "Financial Instrument [Axis]",
        "terseLabel": "Financial Instrument"
       }
      }
     },
     "localname": "FinancialInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfOutstandingDebtParentheticalDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsCategorizedWithinFairValueHierarchyDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfChangesInFairValueOfLevel3AssetsByInvestmentTypeDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingInterestExpense": {
     "auth_ref": [
      "r45"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfRevolvingCreditFacilityDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestAndDebtExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents interest incurred for borrowed money which was used to produce goods or render services.",
        "label": "Financing Interest Expense",
        "terseLabel": "Borrowing interest expense"
       }
      }
     },
     "localname": "FinancingInterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfRevolvingCreditFacilityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ForeignCurrencyTransactionGainLossRealized": {
     "auth_ref": [
      "r353",
      "r354"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesScheduleOfEffectOfTransactionsInDerivativeInstrumentsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_GainLossOnDerivativeInstrumentsNetPretax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before tax of foreign currency transaction realized gain (loss) recognized in the income statement.",
        "label": "Foreign Currency Transaction Gain Loss Realized",
        "terseLabel": "Net realized gain (loss) on foreign currency forward contracts"
       }
      }
     },
     "localname": "ForeignCurrencyTransactionGainLossRealized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesScheduleOfEffectOfTransactionsInDerivativeInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ForeignCurrencyTransactionGainLossUnrealized": {
     "auth_ref": [
      "r65",
      "r353",
      "r354"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesScheduleOfEffectOfTransactionsInDerivativeInstrumentsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_GainLossOnDerivativeInstrumentsNetPretax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before tax of foreign currency transaction unrealized gain (loss) recognized in the income statement.",
        "label": "Foreign Currency Transaction Gain Loss Unrealized",
        "terseLabel": "Net change in unrealized appreciation (depreciation) on foreign currency forward contracts"
       }
      }
     },
     "localname": "ForeignCurrencyTransactionGainLossUnrealized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesScheduleOfEffectOfTransactionsInDerivativeInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock": {
     "auth_ref": [
      "r363"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for (1) transactions denominated in a currency other than the reporting enterprise's functional currency, (2) translating foreign currency financial statements that are incorporated into the financial statements of the reporting enterprise by consolidation, combination, or the equity method of accounting, and (3) remeasurement of the financial statements of a foreign reporting enterprise in a hyperinflationary economy.",
        "label": "Foreign Currency Transactions And Translations Policy [Text Block]",
        "terseLabel": "Foreign Currency Translation"
       }
      }
     },
     "localname": "ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ForeignExchangeForwardMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Foreign exchange forward traded on an exchange (examples include but are not limited to the International Securities Exchange, Philadelphia Stock Exchange, or the Chicago Mercantile Exchange) for options or future contracts to buy or sell a certain currency, at a specified date, at a fixed exercise exchange rate.",
        "label": "Foreign Exchange Forward [Member]",
        "terseLabel": "Foreign Currency Forward Contracts"
       }
      }
     },
     "localname": "ForeignExchangeForwardMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesScheduleOfEffectOfTransactionsInDerivativeInstrumentsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesScheduleOfForeignCurrencyForwardContractsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ForwardContractsMember": {
     "auth_ref": [
      "r323"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contracts negotiated between two parties to purchase and sell a specific quantity of a financial instrument, foreign currency, or commodity at a price specified at origination of the contract, with delivery and settlement at a specified future date.",
        "label": "Forward Contracts [Member]",
        "terseLabel": "Foreign Currency Forward Contracts"
       }
      }
     },
     "localname": "ForwardContractsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GainLossOnDerivativeInstrumentsNetPretax": {
     "auth_ref": [
      "r317"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesScheduleOfEffectOfTransactionsInDerivativeInstrumentsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate net gain (loss) on all derivative instruments recognized in earnings during the period, before tax effects.",
        "label": "Gain Loss On Derivative Instruments Net Pretax",
        "totalLabel": "Total net realized and unrealized gains (losses) on foreign currency forward contracts"
       }
      }
     },
     "localname": "GainLossOnDerivativeInstrumentsNetPretax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesScheduleOfEffectOfTransactionsInDerivativeInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainLossOnInvestments": {
     "auth_ref": [
      "r50",
      "r64",
      "r127"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations": {
       "order": 0.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of realized and unrealized gain (loss) on investment.",
        "label": "Gain Loss On Investments",
        "totalLabel": "Net realized and unrealized gains (losses)"
       }
      }
     },
     "localname": "GainLossOnInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncentiveFeeExpense": {
     "auth_ref": [
      "r374"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for incentive rights held by the managing member or general partner, of limited liability company (LLC) or limited partnership (LP).",
        "label": "Incentive Fee Expense",
        "terseLabel": "Incentive fees"
       }
      }
     },
     "localname": "IncentiveFeeExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeApproachValuationTechniqueMember": {
     "auth_ref": [
      "r342"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Valuation approach converting future amounts to single current discounted amount.",
        "label": "Income Approach Valuation Technique [Member]",
        "terseLabel": "Income Approach"
       }
      }
     },
     "localname": "IncomeApproachValuationTechniqueMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeStatementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement [Abstract]"
       }
      }
     },
     "localname": "IncomeStatementAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r80",
      "r97",
      "r98",
      "r115",
      "r283",
      "r290",
      "r291",
      "r446"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations": {
       "order": 0.0,
       "parentTag": "us-gaap_NetInvestmentIncome",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
        "label": "Income Tax Expense Benefit",
        "terseLabel": "Income tax expense, including excise tax",
        "totalLabel": "Income Tax Expense (Benefit), Total"
       }
      }
     },
     "localname": "IncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxPolicyTextBlock": {
     "auth_ref": [
      "r39",
      "r281",
      "r282",
      "r284",
      "r285",
      "r286",
      "r287"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for income taxes, which may include its accounting policies for recognizing and measuring deferred tax assets and liabilities and related valuation allowances, recognizing investment tax credits, operating loss carryforwards, tax credit carryforwards, and other carryforwards, methodologies for determining its effective income tax rate and the characterization of interest and penalties in the financial statements.",
        "label": "Income Tax Policy [Text Block]",
        "terseLabel": "Income Taxes"
       }
      }
     },
     "localname": "IncomeTaxPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities": {
     "auth_ref": [
      "r63"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows": {
       "order": 28.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in accrued expenses, and obligations classified as other.",
        "label": "Increase Decrease In Accrued Liabilities And Other Operating Liabilities",
        "terseLabel": "Increase (decrease) in accrued expenses and other liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOperatingCapitalAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase Decrease In Operating Capital [Abstract]",
        "terseLabel": "Change in operating assets and liabilities:"
       }
      }
     },
     "localname": "IncreaseDecreaseInOperatingCapitalAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InterestAndDebtExpense": {
     "auth_ref": [
      "r364"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfRevolvingCreditFacilityDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest and debt related expenses associated with nonoperating financing activities of the entity.",
        "label": "Interest And Debt Expense",
        "terseLabel": "Total",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "InterestAndDebtExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfRevolvingCreditFacilityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseBorrowings": {
     "auth_ref": [
      "r429"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfInterestAndOtherDebtExpensesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_InterestExpenseDebt",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate amount of interest expense on all borrowings.",
        "label": "Interest Expense Borrowings",
        "terseLabel": "Borrowing interest expense",
        "totalLabel": "Interest Expense, Borrowings, Total"
       }
      }
     },
     "localname": "InterestExpenseBorrowings",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfInterestAndOtherDebtExpensesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfInterestAndOtherDebtExpensesRelatedTo2025NotesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfInterestAndOtherDebtExpensesRelatedTo2026NotesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseDebt": {
     "auth_ref": [
      "r51",
      "r201",
      "r211",
      "r214",
      "r215"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfInterestAndOtherDebtExpensesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense for debt.",
        "label": "Interest Expense Debt",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "InterestExpenseDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfInterestAndOtherDebtExpensesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfInterestAndOtherDebtExpensesRelatedTo2025NotesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfInterestAndOtherDebtExpensesRelatedTo2026NotesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeAndInterestExpenseDisclosureTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of interest income and expense, including, but not limited to, interest income and expense from investments, loans, and securities.",
        "label": "Interest Income And Interest Expense Disclosure Table [Text Block]",
        "terseLabel": "Components of Interest and Other Debt Expenses"
       }
      }
     },
     "localname": "InterestIncomeAndInterestExpenseDisclosureTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InterestPaidNet": {
     "auth_ref": [
      "r58",
      "r61",
      "r68"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash paid for interest, excluding capitalized interest, classified as operating activity. Includes, but is not limited to, payment to settle zero-coupon bond for accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount.",
        "label": "Interest Paid Net",
        "terseLabel": "Interest expense paid"
       }
      }
     },
     "localname": "InterestPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCompanyFinancialHighlightsTextBlock": {
     "auth_ref": [
      "r469",
      "r478"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure of financial highlights reported by investment company.",
        "label": "Investment Company Financial Highlights [Text Block]",
        "terseLabel": "Financial Highlights"
       }
      }
     },
     "localname": "InvestmentCompanyFinancialHighlightsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFinancialHighlights"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentCompanyFinancialRatiosAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Financial Ratios [Abstract]",
        "terseLabel": "Supplemental Data/Ratio:"
       }
      }
     },
     "localname": "InvestmentCompanyFinancialRatiosAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyIncentiveFeeToAverageNetAssets": {
     "auth_ref": [
      "r463"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of incentive fee expense to average net assets.",
        "label": "Investment Company Incentive Fee To Average Net Assets",
        "terseLabel": "Ratio of net expenses to average net assets",
        "verboseLabel": "Ratio of net incentive fees to average net assets"
       }
      }
     },
     "localname": "InvestmentCompanyIncentiveFeeToAverageNetAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Investment Income Loss From Operations Per Share [Abstract]",
        "terseLabel": "Per Share Data:"
       }
      }
     },
     "localname": "InvestmentCompanyInvestmentIncomeLossFromOperationsPerShareAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare": {
     "auth_ref": [
      "r466"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit amount, after investment expense, of dividend and interest investment income (loss).",
        "label": "Investment Company, Investment Income (Loss), Per Share",
        "terseLabel": "Net investment income",
        "verboseLabel": "Net investment income"
       }
      }
     },
     "localname": "InvestmentCompanyInvestmentIncomeLossPerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_InvestmentCompanyInvestmentIncomeLossRatio": {
     "auth_ref": [
      "r462"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of investment income (loss) to average net assets.",
        "label": "Investment Company Investment Income Loss Ratio",
        "terseLabel": "Ratio of net investment income to average net assets"
       }
      }
     },
     "localname": "InvestmentCompanyInvestmentIncomeLossRatio",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease": {
     "auth_ref": [
      "r468"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit amount of increase (decrease) in net asset value.",
        "label": "Investment Company Net Asset Value Per Share Period Increase Decrease",
        "terseLabel": "Total increase (decrease) in net assets",
        "totalLabel": "Investment Company, Net Asset Value Per Share, Period Increase (Decrease), Total"
       }
      }
     },
     "localname": "InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrencyAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Realized And Unrealized Gain Loss On Investment And Foreign Currency [Abstract]",
        "terseLabel": "Net realized and unrealized gains (losses) on investment transactions:"
       }
      }
     },
     "localname": "InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrencyAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyTaxReturnOfCapitalDistributionPerShare": {
     "auth_ref": [
      "r467"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit amount of capital distribution in excess of tax basis earnings.",
        "label": "Investment Company Tax Return Of Capital Distribution Per Share",
        "terseLabel": "Distributions declared"
       }
      }
     },
     "localname": "InvestmentCompanyTaxReturnOfCapitalDistributionPerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_InvestmentCompanyTotalReturnAfterIncentiveFees": {
     "auth_ref": [
      "r464"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage increase (decrease), after deduction of incentive fee, in fund net asset value. Includes, but is not limited to, interest and dividend income (loss) and realized and unrealized gain (loss).",
        "label": "Investment Company Total Return After Incentive Fees",
        "terseLabel": "Total return based on NAV"
       }
      }
     },
     "localname": "InvestmentCompanyTotalReturnAfterIncentiveFees",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentIncomeDividend": {
     "auth_ref": [
      "r47"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_InvestmentIncomeNet",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of dividend income on nonoperating securities.",
        "label": "Investment Income Dividend",
        "terseLabel": "Dividend income"
       }
      }
     },
     "localname": "InvestmentIncomeDividend",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentIncomeInterest": {
     "auth_ref": [
      "r49",
      "r114"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_InvestmentIncomeNet",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before accretion (amortization) of purchase discount (premium) of interest income on nonoperating securities.",
        "label": "Investment Income Interest",
        "terseLabel": "Interest income"
       }
      }
     },
     "localname": "InvestmentIncomeInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentIncomeNet": {
     "auth_ref": [
      "r48",
      "r51"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "gsbd_NetInvestmentIncomeBeforeTaxes",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after accretion (amortization) of discount (premium), and investment expense, of interest income and dividend income on nonoperating securities.",
        "label": "Investment Income Net",
        "totalLabel": "Total investment income"
       }
      }
     },
     "localname": "InvestmentIncomeNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentIncomeNetAmortizationOfDiscountAndPremium": {
     "auth_ref": [
      "r51"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accretion (amortization) of purchase discount (premium) on nonoperating securities.",
        "label": "Investment Income Net Amortization Of Discount And Premium",
        "terseLabel": "Accelerated amortization of upfront loan origination fees and unamortized discounts",
        "totalLabel": "Investment Income, Net, Amortization of Discount and Premium, Total",
        "verboseLabel": "Net Amortization of Premium/Discount"
       }
      }
     },
     "localname": "InvestmentIncomeNetAmortizationOfDiscountAndPremium",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfInterestIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentInterestRate": {
     "auth_ref": [
      "r129",
      "r131"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rate of interest on investment.",
        "label": "Investment Interest Rate",
        "terseLabel": "Interest Rate (+)"
       }
      }
     },
     "localname": "InvestmentInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentMaturityDate": {
     "auth_ref": [
      "r128",
      "r130"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maturity date of investment, in YYYY-MM-DD format.",
        "label": "Investment Maturity Date",
        "terseLabel": "Maturity"
       }
      }
     },
     "localname": "InvestmentMaturityDate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_InvestmentOwnedAtFairValue": {
     "auth_ref": [
      "r472",
      "r491",
      "r498"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of the investment at close of period. For schedules of investments that are categorized, the value would be aggregated by category. For investment in and advances to affiliates, if operations of any controlled companies are different in character from those of the company, group such affiliates within divisions and by type of activities.",
        "label": "Investment Owned At Fair Value",
        "terseLabel": "Fair Value",
        "verboseLabel": "Debt investments, Fair Value"
       }
      }
     },
     "localname": "InvestmentOwnedAtFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsCategorizedWithinFairValueHierarchyDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsParentheticalDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsExcludingInvestmentsInMoneyMarketFundsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentOwnedBalancePrincipalAmount": {
     "auth_ref": [
      "r473",
      "r487"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For investments which are quantified by principal amount, the principle balance held at close of period.",
        "label": "Investment Owned Balance Principal Amount",
        "terseLabel": "Par (++)"
       }
      }
     },
     "localname": "InvestmentOwnedBalancePrincipalAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentOwnedBalanceShares": {
     "auth_ref": [
      "r473",
      "r487"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Balance held at close of period in number of shares.",
        "label": "Investment Owned Balance Shares",
        "terseLabel": "Par/Shares (++)"
       }
      }
     },
     "localname": "InvestmentOwnedBalanceShares",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_InvestmentOwnedForeignCurrencyContractReportingCurrencyAmountCurrentValue": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount the entity is obligated or for which it has the option to buy or sell the foreign currency contract.",
        "label": "Investment Owned, Foreign Currency Contract, Current Value",
        "terseLabel": "Currency Purchased and Sold"
       }
      }
     },
     "localname": "InvestmentOwnedForeignCurrencyContractReportingCurrencyAmountCurrentValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentOwnedPercentOfNetAssets": {
     "auth_ref": [
      "r472",
      "r495"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percent of net assets at close of period. For schedules of investments that are categorized, each category has a percent of net assets for the aggregated value of the Investments in the category.",
        "label": "Investment Owned Percent Of Net Assets",
        "terseLabel": "Investment owned, percent of net assets"
       }
      }
     },
     "localname": "InvestmentOwnedPercentOfNetAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsParentheticalDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentOwnedUnrecognizedUnrealizedAppreciationDepreciationNet": {
     "auth_ref": [
      "r483"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents the net excess or deficiency of the fair value of an investment (security, contract) over or under its cost (face amount, notional amount), respectively, which excess value or deficiency has not been recognized in earnings of the entity.",
        "label": "Investment Owned Unrecognized Unrealized Appreciation Depreciation Net",
        "terseLabel": "Unrealized appreciation (depreciation) on foreign currency forward contracts",
        "totalLabel": "Investment Owned, Unrecognized Unrealized Appreciation (Depreciation), Net, Total",
        "verboseLabel": "Unrealized Appreciation (Depreciation)"
       }
      }
     },
     "localname": "InvestmentOwnedUnrecognizedUnrealizedAppreciationDepreciationNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsCategorizedWithinFairValueHierarchyDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentPolicyTextBlock": {
     "auth_ref": [
      "r138",
      "r445"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for investment in financial asset.",
        "label": "Investment Policy [Text Block]",
        "terseLabel": "Investments"
       }
      }
     },
     "localname": "InvestmentPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentTableTextBlock": {
     "auth_ref": [
      "r133",
      "r137",
      "r140",
      "r141"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of investment.",
        "label": "Investment Table [Text Block]",
        "terseLabel": "Schedule of Investments Excluding Investments in Money Market Funds"
       }
      }
     },
     "localname": "InvestmentTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentTextBlock": {
     "auth_ref": [
      "r133",
      "r137",
      "r140",
      "r141"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for investment.",
        "label": "Investment [Text Block]",
        "terseLabel": "Investments"
       }
      }
     },
     "localname": "InvestmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestments"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentTypeAxis": {
     "auth_ref": [
      "r484",
      "r485",
      "r486",
      "r488",
      "r489",
      "r490",
      "r492",
      "r493",
      "r494",
      "r496",
      "r497",
      "r506",
      "r507",
      "r508",
      "r509"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of investments.",
        "label": "Investment Type [Axis]",
        "terseLabel": "Investment Type"
       }
      }
     },
     "localname": "InvestmentTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsParentheticalDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsExcludingInvestmentsInMoneyMarketFundsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "auth_ref": [
      "r484",
      "r485",
      "r486",
      "r488",
      "r489",
      "r490",
      "r492",
      "r493",
      "r494",
      "r496",
      "r497",
      "r506",
      "r507",
      "r508",
      "r509"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Asset obtained to generate income or appreciate in value.",
        "label": "Investment Type Categorization [Member]",
        "terseLabel": "Investments"
       }
      }
     },
     "localname": "InvestmentTypeCategorizationMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsParentheticalDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsExcludingInvestmentsInMoneyMarketFundsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Investments": {
     "auth_ref": [
      "r441"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 0.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all investments.",
        "label": "Investments",
        "totalLabel": "Total investments, at fair value (cost of $3,757,766 and $3,507,790)"
       }
      }
     },
     "localname": "Investments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentsAllOtherInvestmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments All Other Investments [Abstract]"
       }
      }
     },
     "localname": "InvestmentsAllOtherInvestmentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments Debt And Equity Securities [Abstract]"
       }
      }
     },
     "localname": "InvestmentsDebtAndEquitySecuritiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentsFairValueDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments Fair Value Disclosure [Abstract]",
        "terseLabel": "Investments, at fair value"
       }
      }
     },
     "localname": "InvestmentsFairValueDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValue": {
     "auth_ref": [
      "r501",
      "r502",
      "r503"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of the investment at close of period. For investment in and advances to affiliates, if operations of any controlled companies are different in character from those of the company, group such affiliates within divisions and by type of activities.",
        "label": "Investments In And Advances To Affiliates At Fair Value",
        "periodEndLabel": "Ending Fair Value Balance",
        "periodStartLabel": "Beginning Fair Value Balance"
       }
      }
     },
     "localname": "InvestmentsInAndAdvancesToAffiliatesAtFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsScheduleOfAffiliatedInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions": {
     "auth_ref": [
      "r504"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gross additions to the investment in and advance to the affiliate.",
        "label": "Investments In And Advances To Affiliates At Fair Value Gross Additions",
        "terseLabel": "Gross Additions"
       }
      }
     },
     "localname": "InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsScheduleOfAffiliatedInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossReductions": {
     "auth_ref": [
      "r505"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gross reductions to the investment in and advance to the affiliate.",
        "label": "Investments In And Advances To Affiliates At Fair Value Gross Reductions",
        "negatedLabel": "Gross Reductions"
       }
      }
     },
     "localname": "InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossReductions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsScheduleOfAffiliatedInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentsInAndAdvancesToAffiliatesCategorizationAxis": {
     "auth_ref": [
      "r500"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by category of investments used to group investments in and advances to affiliates.",
        "label": "Investments In And Advances To Affiliates Categorization [Axis]",
        "terseLabel": "Investments in and Advances to Affiliates Categorization"
       }
      }
     },
     "localname": "InvestmentsInAndAdvancesToAffiliatesCategorizationAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsScheduleOfAffiliatedInvestmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentsInAndAdvancesToAffiliatesCategorizationDomain": {
     "auth_ref": [
      "r500"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Used to categorize investments in and advances of affiliate. Lists the categories for (1) Investments in majority owned subsidiaries, segregating subsidiaries consolidated; (2) other controlled companies; and (3) other affiliates.",
        "label": "Investments In And Advances To Affiliates Categorization [Domain]",
        "terseLabel": "Investments in and Advances to Affiliates Categorization"
       }
      }
     },
     "localname": "InvestmentsInAndAdvancesToAffiliatesCategorizationDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsScheduleOfAffiliatedInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentsInMajorityOwnedSubsidiariesMember": {
     "auth_ref": [
      "r499"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A category that identifies investments in majority owned subsidiaries. This member would be expected to be further segregated into consolidated subsidiaries.",
        "label": "Investments In Majority Owned Subsidiaries [Member]",
        "terseLabel": "Controlled Affiliates"
       }
      }
     },
     "localname": "InvestmentsInMajorityOwnedSubsidiariesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsScheduleOfAffiliatedInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Liabilities": {
     "auth_ref": [
      "r20",
      "r79",
      "r119",
      "r139",
      "r168",
      "r169",
      "r170",
      "r172",
      "r173",
      "r174",
      "r175",
      "r176",
      "r177",
      "r178",
      "r300",
      "r304",
      "r305",
      "r352",
      "r380",
      "r381"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 0.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized. Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.",
        "label": "Liabilities",
        "totalLabel": "Total liabilities"
       }
      }
     },
     "localname": "Liabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities [Abstract]",
        "terseLabel": "Liabilities"
       }
      }
     },
     "localname": "LiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "auth_ref": [
      "r18",
      "r79",
      "r139",
      "r352",
      "r382",
      "r424",
      "r439"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.",
        "label": "Liabilities And Stockholders Equity",
        "totalLabel": "Total liabilities and net assets"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityAverageOutstandingAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Average amount borrowed under the credit facility during the period.",
        "label": "Line Of Credit Facility Average Outstanding Amount",
        "terseLabel": "Average outstanding balance"
       }
      }
     },
     "localname": "LineOfCreditFacilityAverageOutstandingAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfRevolvingCreditFacilityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityCommitmentFeePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The fee, expressed as a percentage of the line of credit facility, for the line of credit facility regardless of whether the facility has been used.",
        "label": "Line Of Credit Facility Commitment Fee Percentage",
        "terseLabel": "Line of credit facility, commitment fee percentage"
       }
      }
     },
     "localname": "LineOfCreditFacilityCommitmentFeePercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity": {
     "auth_ref": [
      "r19"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current borrowing capacity under the credit facility considering any current restrictions on the amount that could be borrowed (for example, borrowings may be limited by the amount of current assets), but without considering any amounts currently outstanding under the facility.",
        "label": "Line Of Credit Facility Current Borrowing Capacity",
        "terseLabel": "Debt, Current borrowing capacity",
        "verboseLabel": "Aggregate Borrowing Amount Committed"
       }
      }
     },
     "localname": "LineOfCreditFacilityCurrentBorrowingCapacity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfOutstandingDebtDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfOutstandingDebtParentheticalDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityInterestRateDescription": {
     "auth_ref": [
      "r19"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of interest rate for borrowing under credit facility. Includes, but is not limited to, terms and method for determining interest rate.",
        "label": "Line Of Credit Facility Interest Rate Description",
        "terseLabel": "Revolving credit facility interest rate description"
       }
      }
     },
     "localname": "LineOfCreditFacilityInterestRateDescription",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LineOfCreditFacilityLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Line Of Credit Facility [Line Items]",
        "terseLabel": "Line Of Credit Facility [Line Items]"
       }
      }
     },
     "localname": "LineOfCreditFacilityLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfCarryingValueDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfCarryingValueOf2025NotesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfCarryingValueOf2026NotesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfInterestAndOtherDebtExpensesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfInterestAndOtherDebtExpensesRelatedTo2025NotesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfInterestAndOtherDebtExpensesRelatedTo2026NotesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfOutstandingDebtDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfOutstandingDebtParentheticalDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfRevolvingCreditFacilityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity": {
     "auth_ref": [
      "r19"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility.",
        "label": "Line of Credit Facility, Maximum Borrowing Capacity",
        "terseLabel": "Maximum borrowing capacity"
       }
      }
     },
     "localname": "LineOfCreditFacilityMaximumBorrowingCapacity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity": {
     "auth_ref": [
      "r19"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding).",
        "label": "Line Of Credit Facility Remaining Borrowing Capacity",
        "terseLabel": "Amount Available"
       }
      }
     },
     "localname": "LineOfCreditFacilityRemainingBorrowingCapacity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfOutstandingDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityTable": {
     "auth_ref": [
      "r19",
      "r78"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A table or schedule providing information pertaining to short-term or long-term contractual arrangements with lenders, including letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line.",
        "label": "Line Of Credit Facility [Table]",
        "terseLabel": "Line Of Credit Facility [Table]"
       }
      }
     },
     "localname": "LineOfCreditFacilityTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfCarryingValueDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfCarryingValueOf2025NotesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfCarryingValueOf2026NotesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfInterestAndOtherDebtExpensesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfInterestAndOtherDebtExpensesRelatedTo2025NotesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfInterestAndOtherDebtExpensesRelatedTo2026NotesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfOutstandingDebtDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfOutstandingDebtParentheticalDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfRevolvingCreditFacilityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The fee, expressed as a percentage of the line of credit facility, for available but unused credit capacity under the credit facility.",
        "label": "Line of Credit Facility, Unused Capacity, Commitment Fee Percentage",
        "terseLabel": "Line of credit facility, commitment fee percentage"
       }
      }
     },
     "localname": "LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_LondonInterbankOfferedRateLIBORMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest rate at which a bank borrows funds from other banks in the London interbank market.",
        "label": "London Interbank Offered Rate L I B O R [Member]",
        "terseLabel": "LIBOR"
       }
      }
     },
     "localname": "LondonInterbankOfferedRateLIBORMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LongMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates an ownership position in, or purchase of, a security.",
        "label": "Long [Member]",
        "terseLabel": "Currency Purchased"
       }
      }
     },
     "localname": "LongMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LongTermDebt": {
     "auth_ref": [
      "r10",
      "r194",
      "r209",
      "r212",
      "r213",
      "r423",
      "r437"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 0.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, excluding unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation.",
        "label": "Long Term Debt",
        "terseLabel": "Debt (net of debt issuance costs of $9,571 and $12,296)",
        "totalLabel": "Long-Term Debt, Total",
        "verboseLabel": "Carrying Value"
       }
      }
     },
     "localname": "LongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfCarryingValueDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfCarryingValueOf2025NotesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtComponentsOfCarryingValueOf2026NotesDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtWeightedAverageInterestRateOverTime": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average interest rate of long-term debt outstanding calculated over time.",
        "label": "Long-Term Debt, Weighted Average Interest Rate, over Time",
        "terseLabel": "Weighted average interest rates"
       }
      }
     },
     "localname": "LongTermDebtWeightedAverageInterestRateOverTime",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_LongtermDebtTypeAxis": {
     "auth_ref": [
      "r24"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of long-term debt.",
        "label": "Longterm Debt Type [Axis]",
        "terseLabel": "Long-Term Debt, Type"
       }
      }
     },
     "localname": "LongtermDebtTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongtermDebtTypeDomain": {
     "auth_ref": [
      "r24",
      "r167"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of long-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Longterm Debt Type [Domain]",
        "terseLabel": "Long-Term Debt, Type"
       }
      }
     },
     "localname": "LongtermDebtTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LossContingenciesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Loss Contingencies [Line Items]",
        "terseLabel": "Loss Contingencies [Line Items]"
       }
      }
     },
     "localname": "LossContingenciesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LossContingenciesTable": {
     "auth_ref": [
      "r157",
      "r158",
      "r159",
      "r160",
      "r161",
      "r165",
      "r166"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Discloses the specific components (such as the nature, name, and date) of the loss contingency and gives an estimate of the possible loss or range of loss, or states that a reasonable estimate cannot be made. Excludes environmental contingencies, warranties and unconditional purchase obligations.",
        "label": "Loss Contingencies [Table]",
        "terseLabel": "Loss Contingencies [Table]"
       }
      }
     },
     "localname": "LossContingenciesTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfUnfundedCommitmentsByInvestmentTypesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ManagementFeeExpense": {
     "auth_ref": [
      "r374"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expenses related to the managing member or general partner for management of the day-to-day business functions of the limited liability company (LLC) or limited partnership (LP).",
        "label": "Management Fee Expense",
        "terseLabel": "Management fees"
       }
      }
     },
     "localname": "ManagementFeeExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ManagementFeePayable": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 2.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount of the unpaid portion of the fee payable to the managing member or general partner for management of the fund or trust.",
        "label": "Management Fee Payable",
        "terseLabel": "Management fees payable"
       }
      }
     },
     "localname": "ManagementFeePayable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MarketApproachValuationTechniqueMember": {
     "auth_ref": [
      "r342"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Valuation approach using price and other relevant information generated by market transaction involving identical or comparable asset, liability, or group of assets and liabilities.",
        "label": "Market Approach Valuation Technique [Member]",
        "terseLabel": "Valuation, Comparable Multiples"
       }
      }
     },
     "localname": "MarketApproachValuationTechniqueMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputDiscountRateMember": {
     "auth_ref": [
      "r342"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using interest rate to determine present value of future cash flows.",
        "label": "Measurement Input Discount Rate [Member]",
        "terseLabel": "Measurement Input, Discount Rate"
       }
      }
     },
     "localname": "MeasurementInputDiscountRateMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputEbitdaMultipleMember": {
     "auth_ref": [
      "r342"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using earnings before interest, tax, depreciation and amortization (EBITDA) multiple.",
        "label": "Measurement Input Ebitda Multiple [Member]",
        "terseLabel": "Measurement Input, EV/EBITDA"
       }
      }
     },
     "localname": "MeasurementInputEbitdaMultipleMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputRevenueMultipleMember": {
     "auth_ref": [
      "r342"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using market valuation of entity divided by revenue.",
        "label": "Measurement Input Revenue Multiple [Member]",
        "terseLabel": "Measurement Input, Revenue Multiple"
       }
      }
     },
     "localname": "MeasurementInputRevenueMultipleMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputTypeAxis": {
     "auth_ref": [
      "r342"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Axis]",
        "terseLabel": "Measurement Input Type"
       }
      }
     },
     "localname": "MeasurementInputTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_MeasurementInputTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Domain]",
        "terseLabel": "Measurement Input Type"
       }
      }
     },
     "localname": "MeasurementInputTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NetAssetValuePerShare": {
     "auth_ref": [
      "r338",
      "r339",
      "r348",
      "r465",
      "r468"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net asset value per share or per unit of investments in certain entities that calculate net asset value per share. Includes, but is not limited to, by unit, membership interest, or other ownership interest. Investment includes, but is not limited to, investment in certain hedge funds, venture capital funds, private equity funds, real estate partnerships or funds. Excludes fair value disclosure.",
        "label": "Net Asset Value Per Share",
        "periodEndLabel": "NAV, end of period",
        "periodStartLabel": "NAV, beginning of period",
        "terseLabel": "Net asset value per share"
       }
      }
     },
     "localname": "NetAssetValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r60"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
        "label": "Net Cash Provided By Used In Financing Activities",
        "totalLabel": "Net cash provided by (used for) financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Financing Activities [Abstract]",
        "terseLabel": "Cash flows from financing activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r60",
      "r62",
      "r65"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows": {
       "order": 0.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
        "label": "Net Cash Provided By Used In Operating Activities",
        "totalLabel": "Net cash provided by (used for) operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided By Used In Operating Activities [Abstract]",
        "terseLabel": "Cash flows from operating activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetInvestmentIncome": {
     "auth_ref": [
      "r443"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets": {
       "order": 3.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0
      },
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations": {
       "order": 3.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after investment expense, of income earned from investments in securities and real estate. Includes, but is not limited to, real estate investment, policy loans, dividends, and interest. Excludes realized gain (loss) on investments.",
        "label": "Net Investment Income",
        "terseLabel": "Net investment income",
        "totalLabel": "Net investment income after taxes"
       }
      }
     },
     "localname": "NetInvestmentIncome",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestExpenseDirectorsFees": {
     "auth_ref": [
      "r428"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations": {
       "order": 4.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Noninterest expense related to directors' fees which are fees paid by an Entity to its directors. Directors' fees may be paid in addition to salary and other benefits.",
        "label": "Noninterest Expense Directors Fees",
        "terseLabel": "Directors' fees"
       }
      }
     },
     "localname": "NoninterestExpenseDirectorsFees",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "gsbd_NetExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Generally recurring costs associated with normal operations except for the portion of these expenses which can be clearly related to production and included in cost of sales or services. Includes selling, general and administrative expense.",
        "label": "Operating Expenses",
        "negatedTotalLabel": "Total expenses",
        "totalLabel": "Total expenses"
       }
      }
     },
     "localname": "OperatingExpenses",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingExpensesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Expenses [Abstract]",
        "terseLabel": "Expenses:"
       }
      }
     },
     "localname": "OperatingExpensesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Organization Consolidation And Presentation Of Financial Statements [Abstract]"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock": {
     "auth_ref": [
      "r3",
      "r308"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for organization, consolidation and basis of presentation of financial statements disclosure.",
        "label": "Organization Consolidation And Presentation Of Financial Statements Disclosure [Text Block]",
        "terseLabel": "Organization"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureOrganization"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OtherAssets": {
     "auth_ref": [
      "r5",
      "r420",
      "r435"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 6.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of assets classified as other.",
        "label": "Other Assets",
        "terseLabel": "Other assets",
        "totalLabel": "Other Assets, Total"
       }
      }
     },
     "localname": "OtherAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherGeneralAndAdministrativeExpense": {
     "auth_ref": [
      "r46"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations": {
       "order": 3.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of general and administrative expense classified as other.",
        "label": "Other General And Administrative Expense",
        "terseLabel": "Other general and administrative expenses"
       }
      }
     },
     "localname": "OtherGeneralAndAdministrativeExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherIncome": {
     "auth_ref": [
      "r449"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations": {
       "order": 3.0,
       "parentTag": "us-gaap_InvestmentIncomeNet",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue and income classified as other.",
        "label": "Other Income",
        "terseLabel": "Other income"
       }
      }
     },
     "localname": "OtherIncome",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PartnersCapitalAccountDistributions": {
     "auth_ref": [
      "r234",
      "r235"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets": {
       "order": 2.0,
       "parentTag": "us-gaap_PartnersCapitalAccountPeriodIncreaseDecrease",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total distributions to each class of partners (i.e., general, limited and preferred partners).",
        "label": "Partners Capital Account Distributions",
        "negatedTotalLabel": "Total distributions to stockholders",
        "totalLabel": "Total distributions to stockholders"
       }
      }
     },
     "localname": "PartnersCapitalAccountDistributions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PartnersCapitalAccountDistributionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Partners Capital Account Distributions [Abstract]",
        "terseLabel": "Distributions to stockholders from:"
       }
      }
     },
     "localname": "PartnersCapitalAccountDistributionsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PartnersCapitalAccountPeriodIncreaseDecrease": {
     "auth_ref": [
      "r234",
      "r235"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Changes in the ownership interest during the period of each class of partners. Partners include general, limited and preferred partners.",
        "label": "Partners Capital Account Period Increase Decrease",
        "totalLabel": "Total increase (decrease) in net assets"
       }
      }
     },
     "localname": "PartnersCapitalAccountPeriodIncreaseDecrease",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForRepurchaseOfInitialPublicOffering": {
     "auth_ref": [
      "r54"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the repurchase of amount received from entity's first offering of stock to the public.",
        "label": "Payments For Repurchase Of Initial Public Offering",
        "negatedLabel": "Offering costs paid"
       }
      }
     },
     "localname": "PaymentsForRepurchaseOfInitialPublicOffering",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfDebtIssuanceCosts": {
     "auth_ref": [
      "r56"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow paid to third parties in connection with debt origination, which will be amortized over the remaining maturity period of the associated long-term debt.",
        "label": "Payments Of Debt Issuance Costs",
        "negatedLabel": "Deferred financing and debt issuance costs paid"
       }
      }
     },
     "localname": "PaymentsOfDebtIssuanceCosts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfStockIssuanceCosts": {
     "auth_ref": [
      "r57"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsScheduleOfIssuanceOfCommonStockDetails": {
       "order": 1.0,
       "parentTag": "gsbd_NetProceedsFromIssuanceOfCommonStockAfterDeductingUnderwritingOrOfferingExpenses",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for cost incurred directly with the issuance of an equity security.",
        "label": "Payments of Stock Issuance Costs",
        "negatedLabel": "Underwriting/Offering Expenses"
       }
      }
     },
     "localname": "PaymentsOfStockIssuanceCosts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsScheduleOfIssuanceOfCommonStockDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PositionAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by position taken for a security.",
        "label": "Position [Axis]",
        "terseLabel": "Position"
       }
      }
     },
     "localname": "PositionAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PositionDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates position taken for a security.",
        "label": "Position [Domain]",
        "terseLabel": "Position"
       }
      }
     },
     "localname": "PositionDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Preferred shares may provide a preferential dividend to the dividend on common stock and may take precedence over common stock in the event of a liquidation. Preferred shares typically represent an ownership interest in the company.",
        "label": "Preferred Stock [Member]",
        "terseLabel": "Preferred Stock"
       }
      }
     },
     "localname": "PreferredStockMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsCategorizedWithinFairValueHierarchyDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfChangesInFairValueOfLevel3AssetsByInvestmentTypeDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsExcludingInvestmentsInMoneyMarketFundsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r12",
      "r220"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount or stated value per share of preferred stock nonredeemable or redeemable solely at the option of the issuer.",
        "label": "Preferred Stock Par Or Stated Value Per Share",
        "terseLabel": "Preferred stock, par value"
       }
      }
     },
     "localname": "PreferredStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_PreferredStockSharesAuthorized": {
     "auth_ref": [
      "r12"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws.",
        "label": "Preferred Stock Shares Authorized",
        "terseLabel": "Preferred stock, shares authorized"
       }
      }
     },
     "localname": "PreferredStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockSharesIssued": {
     "auth_ref": [
      "r12",
      "r220"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) issued to shareholders (includes related preferred shares that were issued, repurchased, and remain in the treasury). May be all or portion of the number of preferred shares authorized. Excludes preferred shares that are classified as debt.",
        "label": "Preferred Stock Shares Issued",
        "terseLabel": "Preferred stock, shares issued"
       }
      }
     },
     "localname": "PreferredStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockSharesOutstanding": {
     "auth_ref": [
      "r12"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate share number for all nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) held by stockholders. Does not include preferred shares that have been repurchased.",
        "label": "Preferred Stock Shares Outstanding",
        "periodEndLabel": "Preferred Stock, Shares Outstanding, Ending Balance",
        "periodStartLabel": "Preferred Stock, Shares Outstanding, Beginning Balance",
        "terseLabel": "Preferred stock, shares outstanding"
       }
      }
     },
     "localname": "PreferredStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockValue": {
     "auth_ref": [
      "r12",
      "r382"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 0.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable preferred shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Preferred Stock Value",
        "terseLabel": "Preferred stock, par value $0.001 per share (1,000,000 shares authorized, no shares issued and outstanding)"
       }
      }
     },
     "localname": "PreferredStockValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PrimeRateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest rate charged by financial institutions to their most creditworthy borrowers.",
        "label": "Prime Rate [Member]",
        "terseLabel": "U.S. Prime Rate"
       }
      }
     },
     "localname": "PrimeRateMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfCommonLimitedPartnersUnits": {
     "auth_ref": [
      "r52"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the issuance of common limited partners units during the period.",
        "label": "Proceeds From Issuance Of Common Limited Partners Units",
        "terseLabel": "Proceeds from issuance of common stock (net of underwriting costs)"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfCommonLimitedPartnersUnits",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfCommonStock": {
     "auth_ref": [
      "r52"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsScheduleOfIssuanceOfCommonStockDetails": {
       "order": 0.0,
       "parentTag": "gsbd_NetProceedsFromIssuanceOfCommonStockAfterDeductingUnderwritingOrOfferingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the additional capital contribution to the entity.",
        "label": "Proceeds From Issuance Of Common Stock",
        "terseLabel": "Gross Proceeds"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsScheduleOfIssuanceOfCommonStockDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfDebt": {
     "auth_ref": [
      "r53"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow during the period from additional borrowings in aggregate debt. Includes proceeds from short-term and long-term debt.",
        "label": "Proceeds From Issuance Of Debt",
        "terseLabel": "Borrowings on debt"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProfessionalFees": {
     "auth_ref": [
      "r477",
      "r479"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations": {
       "order": 5.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A fee charged for services from professionals such as doctors, lawyers and accountants. The term is often expanded to include other professions, for example, pharmacists charging to maintain a medicinal profile of a client or customer.",
        "label": "Professional Fees",
        "terseLabel": "Professional fees"
       }
      }
     },
     "localname": "ProfessionalFees",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProfitLoss": {
     "auth_ref": [
      "r1",
      "r37",
      "r38",
      "r42",
      "r59",
      "r79",
      "r89",
      "r97",
      "r98",
      "r116",
      "r117",
      "r120",
      "r121",
      "r123",
      "r139",
      "r168",
      "r169",
      "r170",
      "r172",
      "r173",
      "r174",
      "r175",
      "r176",
      "r177",
      "r178",
      "r298",
      "r302",
      "r303",
      "r306",
      "r307",
      "r336",
      "r352",
      "r430"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets": {
       "order": 0.0,
       "parentTag": "us-gaap_PartnersCapitalAccountPeriodIncreaseDecrease",
       "weight": 1.0
      },
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest.",
        "label": "Profit Loss",
        "terseLabel": "Net increase in net assets from operations:",
        "totalLabel": "Net increase (decrease) in net assets from operations"
       }
      }
     },
     "localname": "ProfitLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RealizedInvestmentGainsLosses": {
     "auth_ref": [
      "r448"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of realized gain (loss) on investment.",
        "label": "Realized Investment Gains (Losses)",
        "negatedLabel": "Net realized (gain) loss",
        "totalLabel": "Realized Investment Gains (Losses), Total"
       }
      }
     },
     "localname": "RealizedInvestmentGainsLosses",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RelatedPartyTransactionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Related Party Transaction [Line Items]",
        "terseLabel": "Related Party Transaction [Line Items]"
       }
      }
     },
     "localname": "RelatedPartyTransactionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transactions [Abstract]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsDisclosureTextBlock": {
     "auth_ref": [
      "r371",
      "r372",
      "r373",
      "r376",
      "r377"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Related Party Transactions Disclosure [Text Block]",
        "terseLabel": "Significant Agreements and Related Party Transactions"
       }
      }
     },
     "localname": "RelatedPartyTransactionsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactions"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RepaymentsOfDebt": {
     "auth_ref": [
      "r55"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow during the period from the repayment of aggregate short-term and long-term debt. Excludes payment of capital lease obligations.",
        "label": "Repayments Of Debt",
        "negatedLabel": "Repayments of debt"
       }
      }
     },
     "localname": "RepaymentsOfDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember": {
     "auth_ref": [
      "r4"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of cash and cash equivalent. Cash is currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Restricted Cash And Cash Equivalents Cash And Cash Equivalents [Member]",
        "terseLabel": "Cash and Cash Equivalents"
       }
      }
     },
     "localname": "RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "auth_ref": [
      "r15",
      "r234",
      "r382",
      "r438",
      "r456",
      "r457"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 3.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings Accumulated Deficit",
        "terseLabel": "Distributable earnings",
        "totalLabel": "Retained Earnings (Accumulated Deficit), Total"
       }
      }
     },
     "localname": "RetainedEarningsAccumulatedDeficit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenueRecognitionPolicyTextBlock": {
     "auth_ref": [
      "r74",
      "r75"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for revenue. Includes revenue from contract with customer and from other sources.",
        "label": "Revenue Recognition Policy [Text Block]",
        "terseLabel": "Revenue Recognition"
       }
      }
     },
     "localname": "RevenueRecognitionPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RevolvingCreditFacilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Arrangement in which loan proceeds can continuously be obtained following repayments, but the total amount borrowed cannot exceed a specified maximum amount.",
        "label": "Revolving Credit Facility [Member]",
        "terseLabel": "Revolving Credit Facility"
       }
      }
     },
     "localname": "RevolvingCreditFacilityMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfOutstandingDebtDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfRevolvingCreditFacilityDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfDebtObligationsCarriedAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SaleOfStockConsiderationReceivedPerTransaction": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of consideration received by subsidiary or equity investee in exchange for shares of stock issued or sold. Includes amount of cash received, fair value of noncash assets received, and fair value of liabilities assumed by the investor.",
        "label": "Sale Of Stock Consideration Received Per Transaction",
        "terseLabel": "Aggregate offering price"
       }
      }
     },
     "localname": "SaleOfStockConsiderationReceivedPerTransaction",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SaleOfStockNameOfTransactionDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sale of the entity's stock, including, but not limited to, initial public offering (IPO) and private placement.",
        "label": "Sale Of Stock Name Of Transaction [Domain]",
        "terseLabel": "Sale of Stock"
       }
      }
     },
     "localname": "SaleOfStockNameOfTransactionDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SaleOfStockPercentageOfOwnershipAfterTransaction": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of subsidiary's or equity investee's stock owned by parent company after stock transaction.",
        "label": "Sale Of Stock Percentage Of Ownership After Transaction",
        "terseLabel": "Percentage of gross sales price"
       }
      }
     },
     "localname": "SaleOfStockPercentageOfOwnershipAfterTransaction",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable": {
     "auth_ref": [
      "r293",
      "r294",
      "r295"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule reflecting each material business combination (or series of individually immaterial business combinations) completed during the period, including background, timing, and recognized assets and liabilities.",
        "label": "Schedule Of Business Acquisitions By Acquisition [Table]",
        "terseLabel": "Schedule Of Business Acquisitions By Acquisition [Table]"
       }
      }
     },
     "localname": "ScheduleOfBusinessAcquisitionsByAcquisitionTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureOrganizationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfDebtTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information pertaining to short-term and long-debt instruments or arrangements, including but not limited to identification of terms, features, collateral requirements and other information necessary to a fair presentation.",
        "label": "Schedule Of Debt Table [Text Block]",
        "terseLabel": "Schedule of Outstanding Debt"
       }
      }
     },
     "localname": "ScheduleOfDebtTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock": {
     "auth_ref": [
      "r317",
      "r322",
      "r325"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the location and amount of derivative instruments and nonderivative instruments designated as hedging instruments reported before netting adjustments, and the amount of gain (loss) on derivative instruments and nonderivative instruments designated and qualified as hedging instruments.",
        "label": "Schedule Of Derivative Instruments Gain Loss In Statement Of Financial Performance [Text Block]",
        "terseLabel": "Schedule of Effect of Transactions in Derivative Instruments"
       }
      }
     },
     "localname": "ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock": {
     "auth_ref": [
      "r104"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations.",
        "label": "Schedule Of Earnings Per Share Basic And Diluted Table [Text Block]",
        "terseLabel": "Schedule of Basic and Diluted Earnings Per Share"
       }
      }
     },
     "localname": "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureEarningsLossPerShareTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFairValueOfSeparateAccountsByMajorCategoryOfInvestmentTextBlock": {
     "auth_ref": [
      "r432",
      "r458",
      "r459"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of fair value of asset supporting separate account.",
        "label": "Schedule Of Fair Value Of Separate Accounts By Major Category Of Investment [Text Block]",
        "terseLabel": "Schedule of Investments at Fair Value and Net Assets"
       }
      }
     },
     "localname": "ScheduleOfFairValueOfSeparateAccountsByMajorCategoryOfInvestmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfForeignExchangeContractsStatementOfFinancialPositionTableTextBlock": {
     "auth_ref": [
      "r319"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the presentation of foreign exchange contracts on the statement of financial position, including the fair value amounts and location of such amounts.",
        "label": "Schedule Of Foreign Exchange Contracts Statement Of Financial Position Table [Text Block]",
        "terseLabel": "Schedule of Foreign Currency Forward Contracts"
       }
      }
     },
     "localname": "ScheduleOfForeignExchangeContractsStatementOfFinancialPositionTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDerivativesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Schedule Of Investment Income Reported Amounts By Category [Line Items]",
        "terseLabel": "Net Investment Income [Line Items]"
       }
      }
     },
     "localname": "ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryTable": {
     "auth_ref": [
      "r48",
      "r51",
      "r447"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about investment income, including, but not limited to, interest and dividend income and amortization of discount (premium) derived from debt and equity securities. Excludes realized and unrealized gain (loss) on investments.",
        "label": "Schedule Of Investment Income Reported Amounts By Category [Table]",
        "terseLabel": "Schedule Of Investment Income Reported Amounts By Category [Table]"
       }
      }
     },
     "localname": "ScheduleOfInvestmentIncomeReportedAmountsByCategoryTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfInvestmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Investments [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfInvestmentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfInvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A tabular presentation of the information summarizing investments in and advances to majority-owned subsidiaries, other controlled companies, and other affiliates, as prescribed by the SEC. It reflects specified information about ownership, financial results from, and financial position in such entities. Includes the tabular presentations that disaggregate investments in and advances to majority-owned subsidiaries, other controlled companies, and other affiliates.",
        "label": "Schedule Of Investments In And Advances To Affiliates Schedule Of Investments Table [Text Block]",
        "terseLabel": "Schedule of Affiliated Investments"
       }
      }
     },
     "localname": "ScheduleOfInvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfInvestmentsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Schedule Of Investments [Line Items]",
        "terseLabel": "Schedule Of Investments [Line Items]"
       }
      }
     },
     "localname": "ScheduleOfInvestmentsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureInvestmentsScheduleOfGeographicCompositionOfInvestmentsAtFairValueParentheticalDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsParentheticalDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfGeographicCompositionOfInvestmentsAtFairValueDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsExcludingInvestmentsInMoneyMarketFundsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsScheduleOfAffiliatedInvestmentsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfInvestmentsTable": {
     "auth_ref": [
      "r482"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A container table for all schedule of investment items. It ties in the \"Legal Entity [Axis]\" to all of its contained line items.",
        "label": "Schedule Of Investments [Table]",
        "terseLabel": "Schedule Of Investments [Table]"
       }
      }
     },
     "localname": "ScheduleOfInvestmentsTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureInvestmentsScheduleOfGeographicCompositionOfInvestmentsAtFairValueParentheticalDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsParentheticalDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfGeographicCompositionOfInvestmentsAtFairValueDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAtFairValueAndNetAssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsExcludingInvestmentsInMoneyMarketFundsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsScheduleOfAffiliatedInvestmentsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfLineOfCreditFacilitiesTextBlock": {
     "auth_ref": [
      "r19"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of short-term or long-term contractual arrangements with lenders, including letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line.",
        "label": "Schedule Of Line Of Credit Facilities [Text Block]",
        "terseLabel": "Schedule of Revolving Credit Facility"
       }
      }
     },
     "localname": "ScheduleOfLineOfCreditFacilitiesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable": {
     "auth_ref": [
      "r374",
      "r375"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of quantitative and qualitative information pertaining to related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Schedule Of Related Party Transactions By Related Party [Table]",
        "terseLabel": "Schedule Of Related Party Transactions By Related Party [Table]"
       }
      }
     },
     "localname": "ScheduleOfRelatedPartyTransactionsByRelatedPartyTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfStockByClassTable": {
     "auth_ref": [
      "r11",
      "r12",
      "r13",
      "r77",
      "r112",
      "r113",
      "r217",
      "r218",
      "r219",
      "r220",
      "r221",
      "r222",
      "r223",
      "r224",
      "r225",
      "r226",
      "r227",
      "r228",
      "r229",
      "r230",
      "r231",
      "r232",
      "r233",
      "r234"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule detailing information related to equity by class of stock. Class of stock includes common, convertible, and preferred stocks which are not redeemable or redeemable solely at the option of the issuer. It also includes preferred stock with redemption features that are solely within the control of the issuer and mandatorily redeemable stock if redemption is required to occur only upon liquidation or termination of the reporting entity.",
        "label": "Schedule Of Stock By Class [Table]",
        "terseLabel": "Schedule Of Stock By Class [Table]"
       }
      }
     },
     "localname": "ScheduleOfStockByClassTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureNetAssetsScheduleOfDistributionsDeclaredOnCommonStockParentheticalDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsScheduleOfDistributionsDeclaredOnCommonStockDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember": {
     "auth_ref": [
      "r331"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed rate on U.S. dollar, constant-notional interest rate swap that has its variable-rate leg referenced to Secured Overnight Financing Rate (SOFR) with no additional spread over SOFR on variable-rate leg.",
        "label": "Secured Overnight Financing Rate Sofr Overnight Index Swap Rate [Member]",
        "terseLabel": "SOFR"
       }
      }
     },
     "localname": "SecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareRepurchaseProgramAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by share repurchase program.",
        "label": "Share Repurchase Program [Axis]",
        "terseLabel": "Share Repurchase Program"
       }
      }
     },
     "localname": "ShareRepurchaseProgramAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareRepurchaseProgramDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the share repurchase program.",
        "label": "Share Repurchase Program [Domain]",
        "terseLabel": "Share Repurchase Program"
       }
      }
     },
     "localname": "ShareRepurchaseProgramDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShortMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates the sale of a borrowed security or written option.",
        "label": "Short [Member]",
        "terseLabel": "Currency Sold"
       }
      }
     },
     "localname": "ShortMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SignificantAccountingPoliciesTextBlock": {
     "auth_ref": [
      "r72",
      "r85"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for all significant accounting policies of the reporting entity.",
        "label": "Significant Accounting Policies [Text Block]",
        "terseLabel": "Significant Accounting Policies"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAccountingPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "auth_ref": [
      "r0",
      "r26",
      "r40",
      "r41",
      "r42",
      "r86",
      "r87",
      "r88",
      "r90",
      "r96",
      "r98",
      "r111",
      "r142",
      "r227",
      "r234",
      "r278",
      "r279",
      "r280",
      "r288",
      "r289",
      "r334",
      "r356",
      "r357",
      "r358",
      "r359",
      "r360",
      "r361",
      "r370",
      "r453",
      "r454",
      "r455"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by component of equity.",
        "label": "Statement Equity Components [Axis]",
        "terseLabel": "Equity Components"
       }
      }
     },
     "localname": "StatementEquityComponentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsCategorizedWithinFairValueHierarchyDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfChangesInFairValueOfLevel3AssetsByInvestmentTypeDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement Of Cash Flows [Abstract]"
       }
      }
     },
     "localname": "StatementOfCashFlowsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement Of Financial Position [Abstract]"
       }
      }
     },
     "localname": "StatementOfFinancialPositionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfPartnersCapitalAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement Of Partners Capital [Abstract]"
       }
      }
     },
     "localname": "StatementOfPartnersCapitalAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesNewIssues": {
     "auth_ref": [
      "r12",
      "r13",
      "r227",
      "r234"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of new stock issued during the period.",
        "label": "Stock Issued During Period, Shares, New Issues",
        "terseLabel": "Number of Shares Issued"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsScheduleOfIssuanceOfCommonStockDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockRepurchaseProgramAuthorizedAmount1": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of stock repurchase plan authorized.",
        "label": "Stock Repurchase Program, Authorized Amount",
        "terseLabel": "Stock repurchase plan, authorized amount"
       }
      }
     },
     "localname": "StockRepurchaseProgramAuthorizedAmount1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockRepurchaseProgramExpirationDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expiration date for the purchase of an entity's own shares under a stock repurchase plan, in the YYYY-MM-DD format.",
        "label": "Stock Repurchase Program Expiration Date",
        "terseLabel": "Stock repurchase program expiration date"
       }
      }
     },
     "localname": "StockRepurchaseProgramExpirationDate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares authorized to be repurchased by an entity's Board of Directors under a stock repurchase plan.",
        "label": "Stock Repurchase Program Number Of Shares Authorized To Be Repurchased",
        "terseLabel": "Number of shares authorized to be repurchased"
       }
      }
     },
     "localname": "StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockholdersEquity": {
     "auth_ref": [
      "r13",
      "r16",
      "r17",
      "r79",
      "r126",
      "r139",
      "r352",
      "r382"
     ],
     "calculation": {
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.",
        "label": "Stockholders Equity",
        "periodEndLabel": "Net assets at end of period",
        "periodStartLabel": "Net assets at beginning of period",
        "totalLabel": "Total net assets"
       }
      }
     },
     "localname": "StockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders Equity [Abstract]",
        "terseLabel": "Net assets"
       }
      }
     },
     "localname": "StockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event.",
        "label": "Subsequent Event [Line Items]",
        "terseLabel": "Subsequent Event [Line Items]"
       }
      }
     },
     "localname": "SubsequentEventLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventMember": {
     "auth_ref": [
      "r362",
      "r384"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identifies event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event [Member]",
        "terseLabel": "Subsequent Events"
       }
      }
     },
     "localname": "SubsequentEventMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventTable": {
     "auth_ref": [
      "r362",
      "r384"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Discloses pertinent information about one or more significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued.",
        "label": "Subsequent Event [Table]",
        "terseLabel": "Subsequent Event [Table]"
       }
      }
     },
     "localname": "SubsequentEventTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "auth_ref": [
      "r362",
      "r384"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Axis]",
        "terseLabel": "Subsequent Event Type"
       }
      }
     },
     "localname": "SubsequentEventTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "auth_ref": [
      "r362",
      "r384"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Domain]",
        "terseLabel": "Subsequent Event Type"
       }
      }
     },
     "localname": "SubsequentEventTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events [Abstract]"
       }
      }
     },
     "localname": "SubsequentEventsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventsTextBlock": {
     "auth_ref": [
      "r383",
      "r385"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued. Examples include: the sale of a capital stock issue, purchase of a business, settlement of litigation, catastrophic loss, significant foreign exchange rate changes, loans to insiders or affiliates, and transactions not in the ordinary course of business.",
        "label": "Subsequent Events [Text Block]",
        "terseLabel": "Subsequent Events"
       }
      }
     },
     "localname": "SubsequentEventsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureSubsequentEvents"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SubsidiarySaleOfStockAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of sale of the entity's stock.",
        "label": "Subsidiary Sale Of Stock [Axis]",
        "terseLabel": "Sale of Stock"
       }
      }
     },
     "localname": "SubsidiarySaleOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SupplementalCashFlowInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Supplemental Cash Flow Information [Abstract]",
        "terseLabel": "Supplemental and non-cash activities"
       }
      }
     },
     "localname": "SupplementalCashFlowInformationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfCashflows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TaxBasisOfInvestmentsUnrealizedAppreciationDepreciationNet": {
     "auth_ref": [
      "r460"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net unrealized appreciation or depreciation.",
        "label": "Tax Basis Of Investments Unrealized Appreciation Depreciation Net",
        "terseLabel": "Unrealized Appreciation (Depreciation)",
        "totalLabel": "Tax Basis of Investments, Unrealized Appreciation (Depreciation), Net, Total"
       }
      }
     },
     "localname": "TaxBasisOfInvestmentsUnrealizedAppreciationDepreciationNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain": {
     "auth_ref": [
      "r131",
      "r132",
      "r134",
      "r135",
      "r136",
      "r206",
      "r226",
      "r333",
      "r386",
      "r387",
      "r388",
      "r389",
      "r390",
      "r391",
      "r392",
      "r393",
      "r394",
      "r395",
      "r396",
      "r397",
      "r398",
      "r400",
      "r401",
      "r402",
      "r403",
      "r404",
      "r405",
      "r406",
      "r407",
      "r408",
      "r409",
      "r410",
      "r411",
      "r412",
      "r413",
      "r414",
      "r415",
      "r416",
      "r604",
      "r605",
      "r606",
      "r607",
      "r608",
      "r609",
      "r610"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Instrument or contract that imposes a contractual obligation to deliver cash or another financial instrument or to exchange other financial instruments on potentially unfavorable terms and conveys a contractual right to receive cash or another financial instrument or to exchange other financial instruments on potentially favorable terms.",
        "label": "Transfers And Servicing Of Financial Instruments Types Of Financial Instruments [Domain]",
        "terseLabel": "Financial Instruments"
       }
      }
     },
     "localname": "TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureDebtScheduleOfOutstandingDebtParentheticalDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsCategorizedWithinFairValueHierarchyDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfChangesInFairValueOfLevel3AssetsByInvestmentTypeDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TypeOfArrangementAxis": {
     "auth_ref": [
      "r297"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by collaborative arrangement and arrangement other than collaborative applicable to revenue-generating activity or operations.",
        "label": "Type Of Arrangement [Axis]",
        "terseLabel": "Collaborative Arrangement and Arrangement Other than Collaborative"
       }
      }
     },
     "localname": "TypeOfArrangementAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureNetAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_UnsecuredDebtMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt obligation not collateralized by pledge of, mortgage of or other lien on the entity's assets.",
        "label": "Unsecured Debt [Member]",
        "terseLabel": "Unsecured Debt"
       }
      }
     },
     "localname": "UnsecuredDebtMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsCategorizedWithinFairValueHierarchyDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfChangesInFairValueOfLevel3AssetsByInvestmentTypeDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsExcludingInvestmentsInMoneyMarketFundsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ValuationTechniqueAxis": {
     "auth_ref": [
      "r342"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by valuation approach and technique.",
        "label": "Valuation Technique [Axis]",
        "terseLabel": "Valuation Approach and Technique"
       }
      }
     },
     "localname": "ValuationTechniqueAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ValuationTechniqueDiscountedCashFlowMember": {
     "auth_ref": [
      "r342"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Valuation technique calculating present value of future cash flows.",
        "label": "Valuation Technique Discounted Cash Flow [Member]",
        "terseLabel": "Valuation Technique, Discounted Cash Flow"
       }
      }
     },
     "localname": "ValuationTechniqueDiscountedCashFlowMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ValuationTechniqueDomain": {
     "auth_ref": [
      "r342"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Valuation approach and technique.",
        "label": "Valuation Technique [Domain]",
        "terseLabel": "Valuation Approach and Technique"
       }
      }
     },
     "localname": "ValuationTechniqueDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_VariableRateAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of variable rate.",
        "label": "Variable Rate [Axis]",
        "terseLabel": "Variable Rate"
       }
      }
     },
     "localname": "VariableRateAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_VariableRateDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest rate that fluctuates over time as a result of an underlying benchmark interest rate or index.",
        "label": "Variable Rate [Domain]",
        "terseLabel": "Variable Rate"
       }
      }
     },
     "localname": "VariableRateDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_WarrantMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Security that gives the holder the right to purchase shares of stock in accordance with the terms of the instrument, usually upon payment of a specified amount.",
        "label": "Warrant [Member]",
        "terseLabel": "Warrants"
       }
      }
     },
     "localname": "WarrantMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsCategorizedWithinFairValueHierarchyDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfChangesInFairValueOfLevel3AssetsByInvestmentTypeDetails",
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsExcludingInvestmentsInMoneyMarketFundsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_WarrantsAndRightsOutstanding": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of outstanding derivative securities that permit the holder the right to purchase securities (usually equity) from the issuer at a specified price.",
        "label": "Warrants And Rights Outstanding",
        "terseLabel": "Warrants, Fair Value"
       }
      }
     },
     "localname": "WarrantsAndRightsOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_WarrantsAndRightsOutstandingMeasurementInput": {
     "auth_ref": [
      "r344"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of input used to measure outstanding warrant and right embodying unconditional obligation requiring redemption by transferring asset at specified or determinable date or upon event certain to occur.",
        "label": "Warrants And Rights Outstanding Measurement Input",
        "terseLabel": "Warrants, Range of Significant Unobservable Inputs"
       }
      }
     },
     "localname": "WarrantsAndRightsOutstandingMeasurementInput",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfRangesOfSignificantUnobservableInputsUsedToValueLevel3AssetsDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "us-gaap_WeightedAverageLimitedPartnershipUnitsOutstanding": {
     "auth_ref": [
      "r235"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average number of limited partnership units outstanding determined by relating the portion of time within a reporting period that limited partnership units have been outstanding to the total time in that period.",
        "label": "Weighted Average Limited Partnership Units Outstanding",
        "terseLabel": "Weighted average shares outstanding"
       }
      }
     },
     "localname": "WeightedAverageLimitedPartnershipUnitsOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding": {
     "auth_ref": [
      "r100",
      "r104"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period.",
        "label": "Weighted Average Number Of Diluted Shares Outstanding",
        "terseLabel": "Weighted average shares outstanding, diluted",
        "totalLabel": "Weighted Average Number of Shares Outstanding, Diluted, Total"
       }
      }
     },
     "localname": "WeightedAverageNumberOfDilutedSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureEarningsLossPerShareScheduleOfBasicAndDilutedEarningPerUnitDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "auth_ref": [
      "r99",
      "r104"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period.",
        "label": "Weighted Average Number Of Shares Outstanding Basic",
        "terseLabel": "Weighted average shares outstanding, basic",
        "totalLabel": "Weighted Average Number of Shares Outstanding, Basic, Total"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.goldmansachsbdc.com/20220930/taxonomy/role/DisclosureEarningsLossPerShareScheduleOfBasicAndDilutedEarningPerUnitDetails"
     ],
     "xbrltype": "sharesItemType"
    }
   },
   "unitCount": 9
  }
 },
 "std_ref": {
  "r0": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695"
  },
  "r1": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "https://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760"
  },
  "r10": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(22))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r100": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1505-109256"
  },
  "r101": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1252-109256"
  },
  "r102": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256"
  },
  "r103": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1337-109256"
  },
  "r104": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
  },
  "r105": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
  },
  "r106": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3630-109257"
  },
  "r107": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=109243012&loc=SL65017193-207537"
  },
  "r108": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=128363288&loc=d3e3842-109258"
  },
  "r109": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "52",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=128363288&loc=d3e4984-109258"
  },
  "r11": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(27)(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r110": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "260",
   "URI": "https://asc.fasb.org/topic&trid=2144383"
  },
  "r111": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=125520817&loc=d3e70191-108054"
  },
  "r112": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=125520817&loc=d3e70229-108054"
  },
  "r113": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=6373374&loc=d3e70434-108055"
  },
  "r114": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
  },
  "r115": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
  },
  "r116": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
  },
  "r117": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599"
  },
  "r118": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599"
  },
  "r119": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599"
  },
  "r12": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r120": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8924-108599"
  },
  "r121": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599"
  },
  "r122": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599"
  },
  "r123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599"
  },
  "r124": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599"
  },
  "r125": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599"
  },
  "r126": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.E)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=122038336&loc=d3e74512-122707"
  },
  "r127": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27405-111563"
  },
  "r128": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563"
  },
  "r129": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563"
  },
  "r13": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r130": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27232-111563"
  },
  "r131": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27232-111563"
  },
  "r132": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=SL120269820-111563"
  },
  "r133": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "320",
   "URI": "https://asc.fasb.org/topic&trid=2196928"
  },
  "r134": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714"
  },
  "r135": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714"
  },
  "r136": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714"
  },
  "r137": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "321",
   "URI": "https://asc.fasb.org/topic&trid=75115024"
  },
  "r138": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r139": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r14": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r140": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "323",
   "URI": "https://asc.fasb.org/topic&trid=2196965"
  },
  "r141": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "325",
   "URI": "https://asc.fasb.org/topic&trid=2197064"
  },
  "r142": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r143": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919244-210447"
  },
  "r144": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
  },
  "r145": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919253-210447"
  },
  "r146": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447"
  },
  "r147": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447"
  },
  "r148": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82921835-210448"
  },
  "r149": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455"
  },
  "r15": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r150": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922895-210455"
  },
  "r151": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922900-210455"
  },
  "r152": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=121590138&loc=SL82922954-210456"
  },
  "r153": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "410",
   "URI": "https://asc.fasb.org/extlink&oid=6393242&loc=d3e13237-110859"
  },
  "r154": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "440",
   "URI": "https://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308"
  },
  "r155": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "440",
   "URI": "https://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308"
  },
  "r156": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "440",
   "URI": "https://asc.fasb.org/topic&trid=2144648"
  },
  "r157": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349"
  },
  "r158": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349"
  },
  "r159": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349"
  },
  "r16": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r160": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349"
  },
  "r161": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349"
  },
  "r162": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751"
  },
  "r163": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q4)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751"
  },
  "r164": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "450",
   "URI": "https://asc.fasb.org/topic&trid=2127136"
  },
  "r165": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "460",
   "URI": "https://asc.fasb.org/extlink&oid=124440162&loc=d3e12021-110248"
  },
  "r166": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "460",
   "URI": "https://asc.fasb.org/extlink&oid=124440162&loc=d3e12053-110248"
  },
  "r167": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123465755&loc=SL6230698-112601"
  },
  "r168": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
  },
  "r169": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
  },
  "r17": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(31))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r170": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
  },
  "r171": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
  },
  "r172": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
  },
  "r173": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
  },
  "r174": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
  },
  "r175": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
  },
  "r176": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
  },
  "r177": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
  },
  "r178": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
  },
  "r179": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466302&loc=d3e4852-112606"
  },
  "r18": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(32))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r180": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r181": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r182": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r183": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r184": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r185": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r186": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r187": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r188": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(i)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r189": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r19": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(b),22(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r190": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
  },
  "r191": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
  },
  "r192": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
  },
  "r193": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r194": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r195": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r196": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r197": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r198": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r199": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r2": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "205",
   "URI": "https://asc.fasb.org/extlink&oid=77885760&loc=SL35686385-199418"
  },
  "r20": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19-26)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r200": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r201": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r202": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r203": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r204": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r205": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r206": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r207": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r208": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870"
  },
  "r209": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870"
  },
  "r21": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(a)(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r210": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466204&loc=SL6036836-161870"
  },
  "r211": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466204&loc=SL6036836-161870"
  },
  "r212": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612"
  },
  "r213": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612"
  },
  "r214": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69E",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495743-112612"
  },
  "r215": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495745-112612"
  },
  "r216": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "470",
   "URI": "https://asc.fasb.org/topic&trid=2208564"
  },
  "r217": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(CFRR 211.02)",
   "Topic": "480",
   "URI": "https://asc.fasb.org/extlink&oid=122040564&loc=d3e177068-122764"
  },
  "r218": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=65888546&loc=d3e21300-112643"
  },
  "r219": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21553-112644"
  },
  "r22": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(a)(2))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r220": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644"
  },
  "r221": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644"
  },
  "r222": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644"
  },
  "r223": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644"
  },
  "r224": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644"
  },
  "r225": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496171-112644"
  },
  "r226": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496189-112644"
  },
  "r227": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644"
  },
  "r228": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21475-112644"
  },
  "r229": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21484-112644"
  },
  "r23": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r230": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21488-112644"
  },
  "r231": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21506-112644"
  },
  "r232": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21521-112644"
  },
  "r233": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21538-112644"
  },
  "r234": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770"
  },
  "r235": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.F)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187171-122770"
  },
  "r236": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130545-203045"
  },
  "r237": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046"
  },
  "r238": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046"
  },
  "r239": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(i)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r24": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r240": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r241": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r242": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r243": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r244": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r245": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r246": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(03)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r247": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921"
  },
  "r248": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947"
  },
  "r249": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(d)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
  },
  "r25": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.25)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r250": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450673-114947"
  },
  "r251": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948"
  },
  "r252": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r253": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r254": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r255": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r256": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r257": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r258": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r259": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r26": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29-31)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r260": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r261": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r262": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(04)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r263": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r264": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r265": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r266": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r267": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r268": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r269": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r27": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r270": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r271": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r272": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r273": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r274": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r275": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r276": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r277": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(v)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r278": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333"
  },
  "r279": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333"
  },
  "r28": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r280": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333"
  },
  "r281": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e32247-109318"
  },
  "r282": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e32280-109318"
  },
  "r283": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32672-109319"
  },
  "r284": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32809-109319"
  },
  "r285": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32840-109319"
  },
  "r286": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32847-109319"
  },
  "r287": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319"
  },
  "r288": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277"
  },
  "r289": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(3)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277"
  },
  "r29": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r290": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.7)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r291": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123586238&loc=d3e38679-109324"
  },
  "r292": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Subparagraph": "(a)-(d)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=6909625&loc=d3e227-128457"
  },
  "r293": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r294": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=79982066&loc=d3e1486-128463"
  },
  "r295": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092470&loc=d3e4946-128472"
  },
  "r296": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(4)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479"
  },
  "r297": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "808",
   "URI": "https://asc.fasb.org/extlink&oid=6931272&loc=SL5834143-161434"
  },
  "r298": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4569616-111683"
  },
  "r299": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
  },
  "r3": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "205",
   "URI": "https://asc.fasb.org/topic&trid=2122149"
  },
  "r30": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313"
  },
  "r300": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
  },
  "r301": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=d3e5614-111684"
  },
  "r302": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r303": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r304": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
  },
  "r305": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
  },
  "r306": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4J",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591551-111686"
  },
  "r307": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591552-111686"
  },
  "r308": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "810",
   "URI": "https://asc.fasb.org/topic&trid=2197479"
  },
  "r309": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126966630&loc=d3e41228-113958"
  },
  "r31": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226016-175313"
  },
  "r310": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5579240-113959"
  },
  "r311": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5579245-113959"
  },
  "r312": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5579245-113959"
  },
  "r313": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5580258-113959"
  },
  "r314": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41620-113959"
  },
  "r315": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41638-113959"
  },
  "r316": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959"
  },
  "r317": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959"
  },
  "r318": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a),(c)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
  },
  "r319": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
  },
  "r32": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226024-175313"
  },
  "r320": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
  },
  "r321": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
  },
  "r322": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959"
  },
  "r323": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959"
  },
  "r324": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959"
  },
  "r325": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624181-113959"
  },
  "r326": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41641-113959"
  },
  "r327": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41675-113959"
  },
  "r328": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41678-113959"
  },
  "r329": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41678-113959"
  },
  "r33": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226049-175313"
  },
  "r330": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41678-113959"
  },
  "r331": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=124256753&loc=SL5864739-113975"
  },
  "r332": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "25",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=121577467&loc=d3e76258-113986"
  },
  "r333": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126731327&loc=d3e90205-114008"
  },
  "r334": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011"
  },
  "r335": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(4)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011"
  },
  "r336": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011"
  },
  "r337": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "815",
   "URI": "https://asc.fasb.org/topic&trid=2229140"
  },
  "r338": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "54B",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126972413&loc=SL7495116-110257"
  },
  "r339": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "59",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126972413&loc=SL6740821-110257"
  },
  "r34": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313"
  },
  "r340": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
  },
  "r341": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
  },
  "r342": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
  },
  "r343": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(1)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
  },
  "r344": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(2)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
  },
  "r345": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
  },
  "r346": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
  },
  "r347": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19279-110258"
  },
  "r348": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=SL6742756-110258"
  },
  "r349": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594786&loc=SL75136599-209740"
  },
  "r35": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226000-175313"
  },
  "r350": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611"
  },
  "r351": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13467-108611"
  },
  "r352": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612"
  },
  "r353": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=125521441&loc=d3e30690-110894"
  },
  "r354": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=124440516&loc=d3e30840-110895"
  },
  "r355": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=123444420&loc=d3e33268-110906"
  },
  "r356": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32136-110900"
  },
  "r357": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r358": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r359": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r36": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226006-175313"
  },
  "r360": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r361": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901"
  },
  "r362": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=6450520&loc=d3e32618-110901"
  },
  "r363": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "830",
   "URI": "https://asc.fasb.org/topic&trid=2175825"
  },
  "r364": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391"
  },
  "r365": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28541-108399"
  },
  "r366": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399"
  },
  "r367": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399"
  },
  "r368": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629"
  },
  "r369": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400"
  },
  "r37": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580"
  },
  "r370": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(03)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846"
  },
  "r371": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r372": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r373": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r374": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r375": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864"
  },
  "r376": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39691-107864"
  },
  "r377": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "850",
   "URI": "https://asc.fasb.org/topic&trid=2122745"
  },
  "r378": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124437977&loc=SL2890576-112764"
  },
  "r379": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124433192&loc=d3e56071-112765"
  },
  "r38": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669625-108580"
  },
  "r380": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
  },
  "r381": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
  },
  "r382": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766"
  },
  "r383": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "855",
   "URI": "https://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662"
  },
  "r384": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "https://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662"
  },
  "r385": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "855",
   "URI": "https://asc.fasb.org/topic&trid=2122774"
  },
  "r386": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(i)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r387": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(ii)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r388": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r389": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r39": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL116659661-227067"
  },
  "r390": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r391": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r392": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r393": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r394": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r395": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r396": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r397": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r398": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r399": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=SL51823488-111719"
  },
  "r4": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r40": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442407-227067"
  },
  "r400": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=66007379&loc=d3e113888-111728"
  },
  "r401": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=109249958&loc=SL34722452-111729"
  },
  "r402": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746"
  },
  "r403": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746"
  },
  "r404": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746"
  },
  "r405": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)(i)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746"
  },
  "r406": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r407": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r408": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r409": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r41": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442411-227067"
  },
  "r410": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(5)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r411": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(6)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r412": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(7)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r413": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(b)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r414": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r415": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r416": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r417": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "910",
   "URI": "https://asc.fasb.org/extlink&oid=126937589&loc=SL119991595-234733"
  },
  "r418": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-10(c)(3)(ii)(A))",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126954596&loc=d3e511914-122862"
  },
  "r419": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-10(c)(7)(ii))",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126954596&loc=d3e511914-122862"
  },
  "r42": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067"
  },
  "r420": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(10))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r421": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(11))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r422": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(13))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r423": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(16))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r424": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(23))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r425": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15(3))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r426": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.17)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r427": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(27))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r428": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.14)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r429": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.7,8)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r43": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(25))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r430": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "235",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399901&loc=d3e537907-122884"
  },
  "r431": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823"
  },
  "r432": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124504833&loc=d3e7104-158389"
  },
  "r433": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(16))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r434": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(1)(b))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r435": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(10))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r436": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r437": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r438": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r439": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r44": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(8))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r440": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.(a),19)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r441": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.1(h))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r442": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.17)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r443": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(2))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r444": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(23))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r445": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(3)(b))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r446": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(9))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r447": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04.2)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r448": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04.3(a))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r449": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04.4)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r45": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.2)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r450": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124506351&loc=SL117782755-158439"
  },
  "r451": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(b)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126561865&loc=SL117783719-158441"
  },
  "r452": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126561865&loc=SL117819544-158441"
  },
  "r453": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r454": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(1)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r455": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(2)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r456": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(i)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r457": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(2)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r458": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124508989&loc=d3e19393-158473"
  },
  "r459": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "80",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124505678&loc=SL117422397-158474"
  },
  "r46": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.4)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r460": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.6-03(h)(2)(iii))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=126898976&loc=d3e600178-122990"
  },
  "r461": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=118262037&loc=d3e9915-115836"
  },
  "r462": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10328-115837"
  },
  "r463": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10342-115837"
  },
  "r464": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10421-115837"
  },
  "r465": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10246-115837"
  },
  "r466": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(b)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10246-115837"
  },
  "r467": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(e)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10246-115837"
  },
  "r468": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(h)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10246-115837"
  },
  "r469": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org/subtopic&trid=2324234"
  },
  "r47": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.7(a))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r470": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=118262064&loc=SL116631418-115840"
  },
  "r471": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=118262064&loc=SL116631419-115840"
  },
  "r472": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(b)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=99383244&loc=d3e12121-115841"
  },
  "r473": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(c)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=99383244&loc=d3e12121-115841"
  },
  "r474": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04.12(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=120401414&loc=d3e603758-122996"
  },
  "r475": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04.16(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=120401414&loc=d3e603758-122996"
  },
  "r476": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-05(4))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=120401414&loc=d3e604008-122996"
  },
  "r477": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Subparagraph": "(k)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=124433917&loc=SL114874205-224268"
  },
  "r478": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "220",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=124439613&loc=SL124453110-224270"
  },
  "r479": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07.2(a),(b),(c),(d))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=120401555&loc=SL114874292-224272"
  },
  "r48": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.7(a),(b))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r480": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=120401555&loc=SL114874367-224272"
  },
  "r481": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=120401555&loc=SL114874367-224272"
  },
  "r482": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611133-123010"
  },
  "r483": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=SL6090603-123010"
  },
  "r484": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r485": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r486": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r487": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r488": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r489": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r49": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.7(b))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r490": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r491": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r492": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r493": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r494": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r495": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r496": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column B)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010"
  },
  "r497": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column C)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010"
  },
  "r498": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010"
  },
  "r499": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(1)(a)(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611322-123010"
  },
  "r5": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(17))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r50": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.7(c),9(a))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r500": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(1)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611322-123010"
  },
  "r501": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611322-123010"
  },
  "r502": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611322-123010"
  },
  "r503": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column E))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611322-123010"
  },
  "r504": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14.1(b)(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611322-123010"
  },
  "r505": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14.1(b)(4))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611322-123010"
  },
  "r506": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column A))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010"
  },
  "r507": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column B))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010"
  },
  "r508": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010"
  },
  "r509": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column D))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010"
  },
  "r51": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.8)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r510": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "310",
   "Subparagraph": "(SX 210.12-29(Footnote 4))",
   "Topic": "948",
   "URI": "https://asc.fasb.org/extlink&oid=120402547&loc=d3e617274-123014"
  },
  "r511": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "440",
   "Subparagraph": "(a)",
   "Topic": "954",
   "URI": "https://asc.fasb.org/extlink&oid=6491277&loc=d3e6429-115629"
  },
  "r512": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column B))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r513": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column C))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r514": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column D))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r515": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column E))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r516": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column F))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r517": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column G))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r518": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column H))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r519": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column I))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r52": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585"
  },
  "r520": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Footnote 2))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r521": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(c)",
   "Topic": "976",
   "URI": "https://asc.fasb.org/extlink&oid=6497875&loc=d3e22274-108663"
  },
  "r522": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(b)",
   "Topic": "978",
   "URI": "https://asc.fasb.org/extlink&oid=126945304&loc=d3e27327-108691"
  },
  "r523": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12"
  },
  "r524": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b"
  },
  "r525": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r526": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r527": {
   "Name": "Form 10-Q",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "308",
   "Subsection": "a"
  },
  "r528": {
   "Name": "Form 20-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "220",
   "Subsection": "f"
  },
  "r529": {
   "Name": "Form 40-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "240",
   "Subsection": "f"
  },
  "r53": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585"
  },
  "r530": {
   "Name": "Form F-3",
   "Publisher": "SEC"
  },
  "r531": {
   "Name": "Form N-2",
   "Publisher": "SEC"
  },
  "r532": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 10"
  },
  "r533": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "1"
  },
  "r534": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "1",
   "Subsection": "1"
  },
  "r535": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "2",
   "Subsection": "1"
  },
  "r536": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "3",
   "Subsection": "1"
  },
  "r537": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "4",
   "Subsection": "1"
  },
  "r538": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "5",
   "Subsection": "1"
  },
  "r539": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "6",
   "Subsection": "1"
  },
  "r54": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585"
  },
  "r540": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "Instruction 2",
   "Subsection": "1"
  },
  "r541": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "1",
   "Subsection": "1"
  },
  "r542": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "2",
   "Subsection": "1"
  },
  "r543": {
   "Name": "Form N-2",
   "Paragraph": "c",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "1"
  },
  "r544": {
   "Name": "Form N-2",
   "Paragraph": "d",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "1"
  },
  "r545": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "2"
  },
  "r546": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "2"
  },
  "r547": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "2"
  },
  "r548": {
   "Name": "Form N-2",
   "Paragraph": "c",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "2"
  },
  "r549": {
   "Name": "Form N-2",
   "Paragraph": "e",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "2"
  },
  "r55": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585"
  },
  "r550": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "3"
  },
  "r551": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "5"
  },
  "r552": {
   "Name": "Form N-2",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "5"
  },
  "r553": {
   "Name": "Form N-2",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "5"
  },
  "r554": {
   "Name": "Form N-2",
   "Paragraph": "3",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "5"
  },
  "r555": {
   "Name": "Form N-2",
   "Paragraph": "4",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "5"
  },
  "r556": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1"
  },
  "r557": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 1",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1"
  },
  "r558": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 10",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "a",
   "Subsection": "1"
  },
  "r559": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 10",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "a, g, h",
   "Subsection": "1"
  },
  "r56": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585"
  },
  "r560": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 10",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "f",
   "Subsection": "1"
  },
  "r561": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 10",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "g",
   "Subsection": "1"
  },
  "r562": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 10",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "i",
   "Subsection": "1"
  },
  "r563": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 11",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1"
  },
  "r564": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 4",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1"
  },
  "r565": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 5",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1"
  },
  "r566": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 6",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1"
  },
  "r567": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 7",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "a",
   "Subsection": "1"
  },
  "r568": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 7",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "b",
   "Subsection": "1"
  },
  "r569": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 8",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1"
  },
  "r57": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585"
  },
  "r570": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 9",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1"
  },
  "r571": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 4"
  },
  "r572": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 2",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "1"
  },
  "r573": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 3",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "1"
  },
  "r574": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 8",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "1"
  },
  "r575": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "3"
  },
  "r576": {
   "Name": "Form N-2",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "3"
  },
  "r577": {
   "Name": "Form N-2",
   "Paragraph": "3",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subparagraph": "Instruction 2",
   "Subsection": "3"
  },
  "r578": {
   "Name": "Form N-2",
   "Paragraph": "4",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subparagraph": "Instruction 3",
   "Subsection": "3"
  },
  "r579": {
   "Name": "Form N-2",
   "Paragraph": "5",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "3"
  },
  "r58": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3367-108585"
  },
  "r580": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 1",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "3"
  },
  "r581": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 4",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "3"
  },
  "r582": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 5",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "3"
  },
  "r583": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 8"
  },
  "r584": {
   "Name": "Form N-2",
   "Paragraph": "b, d",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subsection": "2"
  },
  "r585": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subsection": "3"
  },
  "r586": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subsection": "3"
  },
  "r587": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "1",
   "Subsection": "3"
  },
  "r588": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "2",
   "Subsection": "3"
  },
  "r589": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "3",
   "Subsection": "3"
  },
  "r59": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3000-108585"
  },
  "r590": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subsection": "5"
  },
  "r591": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "4",
   "Subsection": "5"
  },
  "r592": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "Instruction 2",
   "Subsection": "5"
  },
  "r593": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "Instruction 3",
   "Subsection": "5"
  },
  "r594": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "Instruction 4",
   "Subsection": "5"
  },
  "r595": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "Instructions 4, 5",
   "Subsection": "5"
  },
  "r596": {
   "Name": "Form N-2",
   "Paragraph": "c",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subsection": "5"
  },
  "r597": {
   "Name": "Form N-2",
   "Paragraph": "e",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subsection": "5"
  },
  "r598": {
   "Name": "Form N-3",
   "Publisher": "SEC"
  },
  "r599": {
   "Name": "Form N-4",
   "Publisher": "SEC"
  },
  "r6": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(18))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r60": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3521-108585"
  },
  "r600": {
   "Name": "Form N-6",
   "Publisher": "SEC"
  },
  "r601": {
   "Name": "Form S-3",
   "Publisher": "SEC"
  },
  "r602": {
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-1"
  },
  "r603": {
   "Name": "Investment Company Act",
   "Number": "270",
   "Publisher": "SEC"
  },
  "r604": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402"
  },
  "r605": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(1)"
  },
  "r606": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)"
  },
  "r607": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(3)"
  },
  "r608": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(i)"
  },
  "r609": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(ii)"
  },
  "r61": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585"
  },
  "r610": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(iii)"
  },
  "r611": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "313"
  },
  "r612": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405"
  },
  "r613": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "405"
  },
  "r614": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "413",
   "Subsection": "b"
  },
  "r615": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "462",
   "Subsection": "b"
  },
  "r616": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "462",
   "Subsection": "c"
  },
  "r617": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "462",
   "Subsection": "d"
  },
  "r618": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "462",
   "Subsection": "e"
  },
  "r619": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "486",
   "Subsection": "a"
  },
  "r62": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585"
  },
  "r620": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "486",
   "Subsection": "b"
  },
  "r621": {
   "Name": "Securities Act",
   "Number": "7A",
   "Publisher": "SEC",
   "Section": "B",
   "Subsection": "2"
  },
  "r622": {
   "Name": "Securities Act",
   "Publisher": "SEC",
   "Section": "8",
   "Subsection": "c"
  },
  "r63": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585"
  },
  "r64": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585"
  },
  "r65": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585"
  },
  "r66": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3044-108585"
  },
  "r67": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4273-108586"
  },
  "r68": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4297-108586"
  },
  "r69": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4304-108586"
  },
  "r7": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r70": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4332-108586"
  },
  "r71": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=SL98516268-108586"
  },
  "r72": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18726-107790"
  },
  "r73": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18823-107790"
  },
  "r74": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18823-107790"
  },
  "r75": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18823-107790"
  },
  "r76": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(c))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r77": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(d))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r78": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(f))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r79": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r8": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(2))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r80": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r81": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(m)(1)(iii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r82": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(m)(2)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r83": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(n))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r84": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04(a))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690"
  },
  "r85": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "235",
   "URI": "https://asc.fasb.org/topic&trid=2122369"
  },
  "r86": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793"
  },
  "r87": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793"
  },
  "r88": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793"
  },
  "r89": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r9": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(20))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r90": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r91": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
  },
  "r92": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
  },
  "r93": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794"
  },
  "r94": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794"
  },
  "r95": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
  },
  "r96": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
  },
  "r97": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794"
  },
  "r98": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794"
  },
  "r99": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1448-109256"
  }
 },
 "version": "2.1"
}
