XML 52 R41.htm IDEA: XBRL DOCUMENT
v3.23.1

Fair Value Measurements - Narrative (Details) - Fair value measurement on a recurring basis - Deferred compensation plan - Trustees and Management - USD ($) $ in Millions | 12 Months Ended |
--- | --- | ---
Dec. 31, 2019 | Mar. 31, 2023
Assets and liabilities measured at fair value on a recurring basis |  |
Maximum percentage of participants' compensation which is deferrable (as a percent) | 100.00% |
Marketable securities in deferred compensation plan |  | $ 1.9

X
- Definition Represents the maximum percentage of participants' compensation that is deferrable by participants under the deferred compensation plan. + References No definition available. + Details
Name: | ofc_DeferredCompensationArrangementWithIndividualMaximumDeferrablePercentageOfCompensation
Namespace Prefix: | ofc_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Carrying amount as of the balance sheet date of assets held under deferred compensation agreements. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(17)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DeferredCompensationPlanAssets
Namespace Prefix: | us-gaap_
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 No definition available. + Details
Name: | us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems
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_DeferredCompensationArrangementWithIndividualExcludingShareBasedPaymentsAndPostretirementBenefitsByTypeOfDeferredCompensationAxis=us-gaap_DeferredCompensationExcludingShareBasedPaymentsAndRetirementBenefitsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_TitleOfIndividualAxis=srt_ManagementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |