XML 108 R93.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Employee Benefit Plans - 401(k) (Details) - USD ($) | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
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 contributions for first 3% of annual compensations | 100.00% |  |
Percentage of employer matching contribution for next 3% of annual compensation | 50.00% |  |
Annual compensation | $ 1.00 |  |
Threshold limit percentage of employee compensation | 3.00% |  |
Minimum number of service years for employees to be fully vested | 2 years |  |
Employer contribution | $ 11,300,000 | $ 9,800,000 | $ 6,900,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 -Name Accounting Standards Codification -Topic 710 -SubTopic 10 -Section 55 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482943/710-10-55-7 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480429/718-10-50-2 + 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