XML 68 R53.htm IDEA: XBRL DOCUMENT
v3.22.4

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

X
- Definition Number of Different Forms of Share Based Compensation + References No definition available. + Details
Name: | ofc_NumberofDifferentFormsofShareBasedCompensation
Namespace Prefix: | ofc_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

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