XML 59 R50.htm IDEA: XBRL DOCUMENT
v3.22.1

NOTES PAYABLE TO BANKS - Credit Facility (Details) $ in Thousands |  |  | 3 Months Ended |  |
--- | --- | --- | --- | --- | ---
Sep. 25, 2020 USD ($) | Jul. 26, 2018 USD ($) | Mar. 31, 2022 USD ($) Lender | Dec. 31, 2021 USD ($) | Sep. 24, 2020 USD ($)
Revolving credit facility |  |  |  |  |
Minimum net worth covenant | $ 400,000 |  |  |  | $ 600,000
Basis points added | 37.50% |  |  |  |
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 |  | $ 100,000 |  | $ 125,000
Origination and other costs |  |  | 3,400 |  |
Unamortized origination and other costs |  |  | 200 |  |
Outstanding debt |  |  | 0 | $ 0 |
Available credit facility |  |  | $ 83,700 |  |
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 |  |  |  |  |
Revolving credit facility |  |  |  |  |
Reduction in commitment fees (in points) | 5.00% |  |  |  |
Revolving credit facility | Amendment | Eurodollar Rate | LIBOR | Minimum |  |  |  |  |
Revolving credit facility |  |  |  |  |
Basis points added |  |  | 1.50% |  |
Revolving credit facility | Amendment | Eurodollar Rate | LIBOR | Maximum |  |  |  |  |
Revolving credit facility |  |  |  |  |
Basis points added |  |  | 2.50% |  |
Revolving credit facility | Amendment | Base Rate | Minimum |  |  |  |  |
Revolving credit facility |  |  |  |  |
Basis points added |  |  | 0.50% |  |
Revolving credit facility | Amendment | Base Rate | Maximum |  |  |  |  |
Revolving credit facility |  |  |  |  |
Basis points added |  |  | 1.50% |  |
Revolving credit facility | Amendment | Base Rate | Federal Funds Rate |  |  |  |  |
Revolving credit facility |  |  |  |  |
Basis points added |  |  | 0.50% |  |
Revolving credit facility | Amendment | Base Rate | Eurodollar rate. |  |  |  |  |
Revolving credit facility |  |  |  |  |
Basis points added |  |  | 1.00% |  |
Revolving credit facility | Letter of credit |  |  |  |  |
Revolving credit facility |  |  |  |  |
Maximum borrowing capacity |  | $ 50,000 | $ 35,000 |  |
Outstanding debt |  |  | 16,300 |  |
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 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 The lowest amount of net worth (total assets minus total liabilities) required by regulatory mandates. + References No definition available. + Details
Name: | res_MinimumTangibleNetWorthCovenantLevel
Namespace Prefix: | res_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 Represents reduction in commitment fees payable percentage. + References No definition available. + Details
Name: | res_ReductionInCommitmentFeesPayablePercentage
Namespace Prefix: | res_
Data Type: | dtr-types:percentItemType
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 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 http://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 http://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 http://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_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: | 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_DebtInstrumentRedemptionPeriodAxis=us-gaap_DebtInstrumentRedemptionPeriodOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_LondonInterbankOfferedRateLIBORMember
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_VariableRateAxis=us-gaap_EurodollarMember
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: |