XML 78 R64.htm IDEA: XBRL DOCUMENT
v3.22.4

Long-Term Debt - Credit Facility (Details) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2022 USD ($) agreement Lender | Dec. 31, 2021 USD ($)
Revolving credit facility |  |
Number of additional credit lenders | Lender | 4 |
Number of financial covenants | agreement | 3 |
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.0 |
Maximum consolidated leverage ratio | 2.50% |
Minimum debt service coverage ratio | 2.00% |
Revolving credit facility |  |
Revolving credit facility |  |
Maximum borrowing capacity | $ 100.0 |
Unamortized origination and other costs | 0.3 | $ 0.2
Outstanding debt | 0.0 | $ 0.0
Available credit facility | $ 82.5 |
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 | 25.00% |
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.0 |
Outstanding debt | 17.5 |
Revolving credit facility | Letter of credit | Amendment |  |
Revolving credit facility |  |
Maximum borrowing capacity | 400.0 |
Revolving credit facility | Swingline |  |
Revolving credit facility |  |
Maximum borrowing capacity | $ 35.0 |

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: | dtr-types:percentItemType
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: | dtr-types:percentItemType
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 Number of financial covenants. + References No definition available. + Details
Name: | res_NumberOfFinancialCovenants
Namespace Prefix: | res_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

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 No definition available. + 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 -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + 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 -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + 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: |