XML 64 R50.htm IDEA: XBRL DOCUMENT
v3.22.4

Revenues - Payment Terms (Details) | 12 Months Ended
--- | ---
Dec. 31, 2022
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: |