XML 69 R51.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Summary of Significant Accounting Policies - Share-Based Compensation (Details) | Dec. 31, 2024 form
--- | ---
Accounting Policies [Abstract] |
Number of forms of share-based compensation | 4

X
- Definition Share-based Compensation Arrangement by Share-based Payment Award, Number of Forms of Share-Based Compensation + References No definition available. + Details
Name: | ofc_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfFormsOfShareBasedCompensation
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