XML 107 R88.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Employee Benefit Plans - Funded status of the Plan and amounts recognized in consolidated balance sheets (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022
Employee Benefit Plans |  |
Settlement loss | $ (18,286) | $ (2,921)
Retirement Income Plan |  |
Employee Benefit Plans |  |
Settlement loss | (18,286) | (2,921)
Change in projected benefit obligation: |  |
Benefit obligation at beginning of year | 29,651 |
Service cost | 0 |
Interest cost | 22 | 972
Actuarial gain | (3,715) |
Benefits paid | (836) |
Settlement | (25,122) |
Projected benefit obligation at end of year |  | 29,651
Change in Plan assets: |  |
Fair value of Plan assets at beginning of year | 20,041 |
Actual return on Plan assets | 249 |
Employer contribution | 5,454 |
Benefits paid | (836) |
Transfer of assets | 524 |
Refund related to Plan trust dissolution | (310) |
Settlement | $ (25,122) |
Fair value of Plan assets at end of year |  | $ 20,041

X
- Definition Amount of decrease in plan assets of defined benefit plan from refund. + References No definition available. + Details
Name: | res_DefinedBenefitPlanPlanAssetsRefund
Namespace Prefix: | res_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of increase (decrease) in plan assets of defined benefit plan from actual return (loss) determined by change in fair value of plan assets adjusted for contributions, benefit payments, and other expenses. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 17 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480482/715-20-55-17 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanActualReturnOnPlanAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of gain (loss) from change in actuarial assumptions which (increases) decreases benefit obligation of defined benefit plan. Assumptions include, but are not limited to, interest, mortality, employee turnover, salary, and temporary deviation from substantive plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a)(4) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanActuarialGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of increase (decrease) in plan assets of defined benefit plan from assets transferred into (from) plan. + References No definition available. + Details
Name: | us-gaap_DefinedBenefitPlanAssetsTransferredToFromPlan
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of actuarial present value of benefits attributed to service rendered by employee for defined benefit plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanBenefitObligation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of payment to participant of defined benefit plan which decreases benefit obligation. For pension plan, payment includes, but is not limited to, pension benefits and death benefits. For other postretirement plan, payment includes, but is not limited to, prescription drug benefits, health care benefits, life insurance benefits, and legal, educational and advisory services. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 60 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480266/715-60-50-4 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a)(6) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanBenefitObligationBenefitsPaid
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. + References No definition available. + Details
Name: | us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. + References No definition available. + Details
Name: | us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of contribution received by defined benefit plan from employer which increases plan assets. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 17 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480482/715-20-55-17 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(iv)(01) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 18 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480482/715-20-55-18 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-6 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(ii) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 7: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(iv)(01) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanContributionsByEmployer
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_DefinedBenefitPlanDisclosureLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of asset segregated and restricted to provide benefit under defined benefit plan. Asset includes, but is not limited to, stock, bond, other investment, earning from investment, and contribution by employer and employee. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 17 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480482/715-20-55-17 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(iv)(02) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(ii) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(iv)(01) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(ii) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 7: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(iv)(01) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanFairValueOfPlanAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of cost recognized for passage of time related to defined benefit plan. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 17 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480482/715-20-55-17 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 3A -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480535/715-20-45-3A Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 18 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480482/715-20-55-18 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (h)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-6 + Details
Name: | us-gaap_DefinedBenefitPlanInterestCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of gain (loss) recognized in net periodic benefit (cost) credit from irrevocable action relieving primary responsibility for benefit obligation and eliminating risk related to obligation and assets used to effect settlement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 3A -Publisher FASB -URI https://asc.fasb.org/1943274/2147480535/715-20-45-3A Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (h)(7) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(7) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-6 + Details
Name: | us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of cost for actuarial present value of benefits attributed to service rendered by employee for defined benefit plan. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 17 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480482/715-20-55-17 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 18 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480482/715-20-55-18 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (h)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-6 + Details
Name: | us-gaap_DefinedBenefitPlanServiceCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of payment, which decreases plan assets of defined benefit plan, for irrevocable action relieving primary responsibility for benefit obligation and eliminating risk for obligation and assets used to effect settlement. Transaction constituting settlement includes, but is not limited to, making lump-sum cash payment to participant in exchange for their rights to receive specified benefits and purchasing nonparticipating annuity contract. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(8) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanSettlementsPlanAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=us-gaap_PensionPlansDefinedBenefitMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |