XML 17 R8.htm IDEA: XBRL DOCUMENT
v3.26.1

Consolidated Schedule of Investments (Parenthetical) - USD ($) $ in Thousands | 6 Months Ended | 12 Months Ended
--- | --- | ---
Jun. 30, 2026 | Dec. 31, 2025
Schedule Of Investments [Line Items] |  |
Fair value of securities | $ 50,605 | $ 59,083
Fair value percentage of net assets of company | 3.70% | 4.20%
Secured borrowing at fair value | $ 2,361 | $ 3,366
Annualized yield percentage | 3.53% | 3.67%
Fair Value, Recurring |  |
Schedule Of Investments [Line Items] |  |
Percentage of not qualifying assets | 10.50% | 9.90%
Fair value of non-qualifying assets | $ 346,284 | $ 336,250
Affiliated Person |  |
Schedule Of Investments [Line Items] |  |
Percentage of outstanding voting securities | 5.00% | 5.00%
Percentage of qualifying assets | 70.00% | 70.00%
1 month SOFR |  |
Schedule Of Investments [Line Items] |  |
Reference rate | 3.65% | 0.69%
3 month SOFR |  |
Schedule Of Investments [Line Items] |  |
Reference rate | 3.73% | 3.65%
6 month SOFR |  |
Schedule Of Investments [Line Items] |  |
Reference rate | 3.85% | 3.57%
1 month BBSW |  |
Schedule Of Investments [Line Items] |  |
Reference rate |  | 3.55%
1 month BBSY |  |
Schedule Of Investments [Line Items] |  |
Reference rate | 4.36% |
3 month BBSW |  |
Schedule Of Investments [Line Items] |  |
Reference rate |  | 3.74%
3 month SN |  |
Schedule Of Investments [Line Items] |  |
Reference rate | 3.73% | 3.73%
3 month C |  |
Schedule Of Investments [Line Items] |  |
Reference rate | 2.29% | 2.26%
3 month N |  |
Schedule Of Investments [Line Items] |  |
Reference rate | 4.57% | 4.07%
U.S. Prime Rate |  |
Schedule Of Investments [Line Items] |  |
Reference rate | 6.75% | 6.75%
1 Month E |  |
Schedule Of Investments [Line Items] |  |
Reference rate | 2.20% |
3 month E |  |
Schedule Of Investments [Line Items] |  |
Reference rate | 2.32% | 2.03%
Secured Borrowing |  |
Schedule Of Investments [Line Items] |  |
Interest rate effective percentage |  | 16.15%
Interest rate, PIK | 12.00% | 15.00%
Second Lien Senior Secured Loan and Unsecured Debt |  |
Schedule Of Investments [Line Items] |  |
Interest rate, PIK | 15.00% |

X
- Definition Annualized yield percentage. + References No definition available. + Details
Name: | gsbd_AnnualizedYieldPercentage
Namespace Prefix: | gsbd_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Fair value of not qualifying assets. + References No definition available. + Details
Name: | gsbd_FairValueOfNotQualifyingAssets
Namespace Prefix: | gsbd_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Investment reference rate percentage. + References No definition available. + Details
Name: | gsbd_InvestmentReferenceRatePercentage
Namespace Prefix: | gsbd_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage of not qualifying assets representing company assets. + References No definition available. + Details
Name: | gsbd_PercentageOfNotQualifyingAssetsRepresentingCompanyAssets
Namespace Prefix: | gsbd_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of outstanding voting securities. + References No definition available. + Details
Name: | gsbd_PercentageOfOutstandingVotingSecurities
Namespace Prefix: | gsbd_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of qualifying assets representing company assets. + References No definition available. + Details
Name: | gsbd_PercentageOfQualifyingAssetsRepresentingCompanyAssets
Namespace Prefix: | gsbd_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Secured borrowing at fair value. + References No definition available. + Details
Name: | gsbd_SecuredBorrowingAtFairValue
Namespace Prefix: | gsbd_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482949/835-30-55-8 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(a)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482900/835-30-50-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-2 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-6 + Details
Name: | us-gaap_DebtInstrumentInterestRateEffectivePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Rate of interest paid in kind on investment. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.12-12A(Column A)(Footnote 3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column A)(Footnote 4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column A)(Footnote 3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column A)(Footnote 3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 + Details
Name: | us-gaap_InvestmentInterestRatePaidInKind
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The aggregate value of all restricted investments. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)(Footnote 8)(c)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)(Footnote 11)(c)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column F)(Footnote 5)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 954 -SubTopic 210 -Name Accounting Standards Codification -Section 45 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477220/954-210-45-4 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 954 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478600/954-210-50-2 + Details
Name: | us-gaap_RestrictedInvestmentsAtFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The percent of net assets of the aggregate value of all restricted investments. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)(Footnote 8)(c)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)(Footnote 11)(c)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column F)(Footnote 5)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 + Details
Name: | us-gaap_RestrictedInvestmentsPercentOfNetAssets
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition 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. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column A)(Footnote 1)(b)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column A)(Footnote 2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column A)(Footnote 2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column A)(Footnote 4)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column A)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column B)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column A)(Footnote 1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column A)(Footnote 2)(i)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column A)(Footnote 2)(ii)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column A)(Footnote 4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)(Footnote 5)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)(Footnote 6)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column B)(Footnote 7)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)(Footnote 8)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)(Footnote 8)(a)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)(Footnote 8)(a)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)(Footnote 8)(a)(3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)(Footnote 8)(b)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)(Footnote 8)(b)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)(Footnote 8)(c)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)(Footnote 9)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 23: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)(Footnote 10)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 24: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column A)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 25: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column B)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 26: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 27: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column D)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 28: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column A)(Footnote 1)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 29: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column A)(Footnote 1)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 30: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)(Footnote 2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 31: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column A)(Footnote 3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 32: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column A)(Footnote 4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 33: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column A)(Footnote 4)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 34: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column A)(Footnote 6)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 35: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column A)(Footnote 7)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 36: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)(Footnote 9)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 37: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column B)(Footnote 10)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 38: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)(Footnote 11)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 39: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)(Footnote 11)(a)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 40: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)(Footnote 11)(a)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 41: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)(Footnote 11)(a)(3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 42: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)(Footnote 11)(b)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 43: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)(Footnote 11)(b)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 44: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)(Footnote 11)(c)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 45: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)(Footnote 12)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 46: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)(Footnote 13)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 47: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column A)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 48: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column B)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 49: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column F)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 50: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column A)(Footnote 1)(a)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 51: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column A)(Footnote 1)(a)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 52: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column A)(Footnote 1)(a)(3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 53: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column A)(Footnote 1)(b)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 54: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column A)(Footnote 1)(b)(3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 55: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column A)(Footnote 1)(b)(4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 56: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column A)(Footnote 1)(b)(5)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 57: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column A)(Footnote 1)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 58: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column A)(Footnote 3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 59: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column F)(Footnote 4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 60: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column F)(Footnote 5)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 61: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column F)(Footnote 7)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 62: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column F)(Footnote 8)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 63: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column F)(Footnote 9)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 64: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 19 -Subparagraph (1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-19 Reference 65: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 19 -Subparagraph (3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-19 + Details
Name: | us-gaap_ScheduleOfInvestmentsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FairValueByMeasurementFrequencyAxis=us-gaap_FairValueMeasurementsRecurringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=gsbd_AffiliatedInvestmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=gsbd_OneMonthSOFRMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=gsbd_ThreeMonthSOFRMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=gsbd_SixMonthSOFRMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=gsbd_OneMonthBBSWMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=gsbd_OneMonthBBSYMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=gsbd_ThreeMonthBBSWMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=gsbd_ThreeMonthSnMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=gsbd_ThreeMonthCdorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=gsbd_ThreeMonthNiborMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_PrimeRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=gsbd_OneMonthEuriborMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=gsbd_ThreeMonthEuriborMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=us-gaap_SecuredDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=gsbd_SecondLienSeniorSecuredLoanAndUnsecuredDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |