XML 68 R50.htm IDEA: XBRL DOCUMENT
v3.25.0.1

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