XML 47 R37.htm IDEA: XBRL DOCUMENT
v3.23.2

REVENUES - Payment Terms (Details) | 6 Months Ended
--- | ---
Jun. 30, 2023
Minimum |
Revenue satisfaction period | 30 days
Maximum |
Revenue satisfaction period | 60 days

X
- Definition The satisfaction period of revenue remaining performance obligation. + References No definition available. + Details
Name: | res_RevenueRemainingPerformanceObligationSatisfactionPeriod
Namespace Prefix: | res_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |