XML 63 R52.htm IDEA: XBRL DOCUMENT
v3.23.1

NOTES PAYABLE TO BANKS - Credit Facility (Details) $ in Thousands | 3 Months Ended |
--- | --- | ---
Mar. 31, 2023 USD ($) Lender item | Dec. 31, 2022 USD ($)
Revolving credit facility |  |
Number of financial covenants | item | 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,000 |
Maximum consolidated leverage ratio | 2.50% |
Minimum debt service coverage ratio | 2.00% |
Revolving credit facility |  |
Revolving credit facility |  |
Number of additional credit lenders | Lender | 4 |
Maximum borrowing capacity | $ 100,000 |
Origination and other costs | 3,700 |
Unamortized origination and other costs | 312 |
Outstanding debt | 0 | $ 0
Available credit facility | $ 82,600 |
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 | 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 | 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 | Federal Funds Rate |  |
Revolving credit facility |  |
Basis points added | 0.50% |
Revolving credit facility | Amendment | Base Rate | SOFR |  |
Revolving credit facility |  |
Basis points added | 1.00% |
Revolving credit facility | Letter of credit |  |
Revolving credit facility |  |
Maximum borrowing capacity | $ 35,000 |
Outstanding debt | 17,400 |
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 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 Amount of the fee that accompanies borrowing money under the debt instrument. + 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.22(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentFeeAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_DebtInstrumentRedemptionPeriodOneMember
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_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: |