XML 92 R78.htm IDEA: XBRL DOCUMENT
v3.22.4

Employee Benefit Plans - 401(k) (Details) - USD ($) | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Employee Benefit Plans |  |  |
Minimum percentage of annual contribution per employee | 1.00% |  |
Maximum percentage of annual contribution per employee | 25.00% |  |
Percentage of employer matching contribution | 50.00% |  |
Annual compensation | $ 1.00 |  |
Threshold limit percentage of employee compensation | 3.00% | 3.00% |
Percentage of matching contributions | 100.00% |  |
Minimum number of service years for employees to be fully vested |  |  | 2 years
Employer contribution | $ 9,800,000 | $ 6,900,000 | $ 5,600,000

X
- Definition Minimum percentage of employee gross pay, by the terms of the plan, that the employer may contribute to a defined contribution plan. + References No definition available. + Details
Name: | res_DefinedContributionPlanMinimumAnnualContributionPerEmployeePercent
Namespace Prefix: | res_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition This element represents the threshold limit in percentage of employees' compensation. + References No definition available. + Details
Name: | res_DefinedContributionPlanThresholdLimitPercentageOfEmployeeCompensation
Namespace Prefix: | res_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of matching contributions. + References No definition available. + Details
Name: | res_PercentageOfMatchingContributions
Namespace Prefix: | res_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Minimum period the individual is required to perform services to be fully vested under the deferred compensation arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 710 -SubTopic 10 -Section 55 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=6409961&loc=d3e20487-108367 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_DeferredCompensationArrangementWithIndividualRequisiteServicePeriod1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of discretionary contributions made by an employer to a defined contribution plan. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanEmployerDiscretionaryContributionAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percentage of employees' gross pay for which the employer contributes a matching contribution to a defined contribution plan. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanEmployerMatchingContributionPercent
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum percentage of employee gross pay the employee may contribute to a defined contribution plan. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanMaximumAnnualContributionsPerEmployeePercent
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of expense for salary and wage arising from service rendered by nonofficer and officer employees. Excludes allocated cost, labor-related nonsalary expense, and direct and overhead labor cost included in cost of good and service sold. + References No definition available. + Details
Name: | us-gaap_SalariesWagesAndOfficersCompensation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration