XML 74 R63.htm IDEA: XBRL DOCUMENT
v3.23.2

Interest Rate Derivatives - Fair Value and Classification of Interest Rate Derivatives (Details) - USD ($) $ in Thousands | Jun. 30, 2023 | Dec. 31, 2022
--- | --- | ---
Prepaid expenses and other assets, net | Interest rate swaps |  |
Fair value of interest rate derivatives and balance sheet classification |  |
Interest rate swaps designated as cash flow hedges | $ 5,840 | $ 2,631

X
- References No definition available. + Details
Name: | us-gaap_DerivativeAssetsLiabilitiesAtFairValueNetByBalanceSheetClassificationAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value as of the balance sheet date of all interest rate derivative assets designated as cash flow hedging instruments. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4B -Subparagraph (c)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480434/815-10-50-4B + Details
Name: | us-gaap_InterestRateCashFlowHedgeAssetAtFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=ofc_PrepaidExpensesandOtherAssetsNetMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |