XML 95 R80.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Long-Term Debt - Credit Facility (Details) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2023 USD ($) Lender | Dec. 31, 2022 USD ($)
Revolving credit facility |  |
Number of additional credit lenders | Lender | 4 |
SOFR | Minimum |  |
Revolving credit facility |  |
Additional increase (decrease) in basis points | 0.10% |
SOFR | Maximum |  |
Revolving credit facility |  |
Additional increase (decrease) in basis points | 0.30% |
Amendment |  |
Revolving credit facility |  |
Minimum EBITDA | $ 50,000 |
Maximum consolidated leverage ratio | 2.50 |
Minimum debt service coverage ratio | 2.00 |
Revolving credit facility |  |
Revolving credit facility |  |
Maximum borrowing capacity | $ 100,000 |
Unamortized origination and other costs | 330 | $ 257
Outstanding debt | 0 | $ 0
Available credit facility | $ 83,400 |
Revolving credit facility | Minimum |  |
Revolving credit facility |  |
Annual fee (as a percent) | 0.20% |
Revolving credit facility | Maximum |  |
Revolving credit facility |  |
Annual fee (as a percent) | 0.30% |
Revolving credit facility | Base Rate | Federal Funds Rate |  |
Revolving credit facility |  |
Basis points added | 0.50% |
Revolving credit facility | Amendment | SOFR |  |
Revolving credit facility |  |
Margin rate | 0.25% |
Revolving credit facility | Amendment | Eurodollar Rate | SOFR | Minimum |  |
Revolving credit facility |  |
Basis points added | 1.25% |
Revolving credit facility | Amendment | Eurodollar Rate | SOFR | Maximum |  |
Revolving credit facility |  |
Basis points added | 2.25% |
Revolving credit facility | Amendment | Base Rate |  |
Revolving credit facility |  |
Floor interest rate | 1.00% |
Revolving credit facility | Amendment | Base Rate | Minimum |  |
Revolving credit facility |  |
Basis points added | 0.25% |
Revolving credit facility | Amendment | Base Rate | Maximum |  |
Revolving credit facility |  |
Basis points added | 1.25% |
Revolving credit facility | Amendment | Base Rate | SOFR |  |
Revolving credit facility |  |
Basis points added | 1.00% |
Revolving credit facility | Amendment | Base Rate | SOFR | Maximum |  |
Revolving credit facility |  |
Basis points added | 1.00% |
Revolving credit facility | Letter of credit |  |
Revolving credit facility |  |
Maximum borrowing capacity | $ 35,000 |
Outstanding debt | 16,600 |
Revolving credit facility | Letter of credit | Amendment |  |
Revolving credit facility |  |
Maximum borrowing capacity | 400,000 |
Revolving credit facility | Swingline |  |
Revolving credit facility |  |
Maximum borrowing capacity | $ 35,000 |

X
- Definition The additional increase (decrease) in basis points. + References No definition available. + Details
Name: | res_AdditionalIncreaseDecreaseInBasisPoints
Namespace Prefix: | res_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Basis points of reduction in applicable margin rate. + References No definition available. + Details
Name: | res_BasisPointsOfReductionInApplicableMarginRate
Namespace Prefix: | res_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Represents loan origination cost net of amortization. + References No definition available. + Details
Name: | res_LoanOriginationCostNetOfAmortization
Namespace Prefix: | res_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Represents maximum consolidated leverage ratio. + References No definition available. + Details
Name: | res_MaximumConsolidatedLeverageRatio
Namespace Prefix: | res_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents minimum debt service coverage ratio. + References No definition available. + Details
Name: | res_MinimumDebtServiceCoverageRatio
Namespace Prefix: | res_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of minimum EBITDA. + References No definition available. + Details
Name: | res_MinimumEbitda
Namespace Prefix: | res_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Represents the number of additional credit lenders in addition to Bank of America. + References No definition available. + Details
Name: | res_NumberOfAdditionalCreditLenders
Namespace Prefix: | res_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Floor rate on an interest rate derivative such as an interest rate floor or collar. If market rates falls below the floor rate, a payment or receipt is triggered on the contract. + References No definition available. + Details
Name: | us-gaap_DerivativeFloorInterestRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The total amount of the contingent obligation under letters of credit outstanding as of the reporting date. + References No definition available. + Details
Name: | us-gaap_LettersOfCreditOutstandingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The fee, expressed as a percentage of the line of credit facility, for available but unused credit capacity under the credit facility. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_SecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=res_AmendmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=us-gaap_DebtInstrumentRedemptionPeriodTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_FederalFundsEffectiveSwapRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=us-gaap_DebtInstrumentRedemptionPeriodOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShortTermDebtTypeAxis=us-gaap_LetterOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShortTermDebtTypeAxis=res_SwinglineFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |