XML 66 R55.htm IDEA: XBRL DOCUMENT
v3.23.2

Real Estate Joint Ventures - Narrative (Details) - property | Jun. 30, 2023 | Jan. 10, 2023
--- | --- | ---
Redshift JV LLC |  |
Real Estate [Line Items] |  |
Nominal ownership % | 10.00% | 10.00%
Disposed of by sale | Data Center Shells in Northern Virginia |  |
Real Estate [Line Items] |  |
Ownership percentage sold |  | 90.00%
Number of properties sold |  | 3

X
- Definition Number of Real Estate Properties Sold + References No definition available. + Details
Name: | ofc_NumberOfRealEstatePropertiesSold
Namespace Prefix: | ofc_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Ownership Percentage Sold + References No definition available. + Details
Name: | ofc_OwnershipPercentageSold
Namespace Prefix: | ofc_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The percentage of ownership of common stock or equity participation in the investee accounted for under the equity method of accounting. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 323 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481687/323-10-50-3 + Details
Name: | us-gaap_EquityMethodInvestmentOwnershipPercentage
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 976 -SubTopic 310 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482856/976-310-50-1 + Details
Name: | us-gaap_RealEstateLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=ofc_RedshiftJVLLCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DisposalGroupClassificationAxis=us-gaap_DisposalGroupDisposedOfBySaleNotDiscontinuedOperationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis=ofc_DataCenterShellsinNorthernVirginiaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |