v3.23.3

Commitments and Contingencies - Narrative (Details) - USD ($) $ in Thousands | Sep. 30, 2023 | Sep. 30, 2022
--- | --- | ---
Financial Support for Nonconsolidated Legal Entity [Line Items] |  |
Unfunded commitments | $ 232,740 | $ 224,239
Debt and Equity Financing |  |
Financial Support for Nonconsolidated Legal Entity [Line Items] |  |
Unfunded commitments | 205,600 | 175,200
Drawn amount | 154,200 |
JV Financing |  |
Financial Support for Nonconsolidated Legal Entity [Line Items] |  |
Unfunded commitments | $ 27,100 | $ 49,000

X
- Definition Investment Company, Financial Support To Investee Contractually Required, Drawn, Amount + References No definition available. + Details
Name: | ocsl_InvestmentCompanyFinancialSupportToInvesteeContractuallyRequiredDrawnAmount
Namespace Prefix: | ocsl_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 20 -Name Accounting Standards Codification -Section 50 -Paragraph 15 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480990/946-20-50-15 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 16 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480990/946-20-50-16 + Details
Name: | us-gaap_FinancialSupportForNonconsolidatedLegalEntityLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of financial support committed by investment company to investee that is contractually required but not provided. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 16 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480990/946-20-50-16 + Details
Name: | us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

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