XML 67 R48.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Summary of Significant Accounting Policies - Construction Contract and Other Service Revenues (Details) | Dec. 31, 2023 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