XML 58 R38.htm IDEA: XBRL DOCUMENT
v3.23.2

Organization (Details) | Jun. 30, 2023 office state
--- | ---
Organization And Basis Of Presentation [Line Items] |
Number of states in which entity operates | state | 25
UNITED STATES |
Organization And Basis Of Presentation [Line Items] |
Number of offices providing services | office | 92

X
- Definition Organization and basis of presentation. + References No definition available. + Details
Name: | opy_OrganizationAndBasisOfPresentationLineItems
Namespace Prefix: | opy_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of states the entity operates in as of the balance sheet date. + References No definition available. + Details
Name: | us-gaap_NumberOfStatesInWhichEntityOperates
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Represents the number of stores. + References No definition available. + Details
Name: | us-gaap_NumberOfStores
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | srt_StatementGeographicalAxis=country_US
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |