XML 67 R52.htm IDEA: XBRL DOCUMENT
v3.22.4

Summary of Significant Accounting Policies (Construction Contract and Other Service Revenues) (Details) | Dec. 31, 2022 compensation_arrangement
--- | ---
Accounting Policies [Abstract] |
Number of compensation arrangements | 3

X
- Definition Number of Compensation Arrangements + References No definition available. + Details
Name: | ofc_NumberOfCompensationArrangements
Namespace Prefix: | ofc_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

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