XML 69 R53.htm IDEA: XBRL DOCUMENT
v3.25.4

Leases (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2025
Leases. |
Schedule of assets and liabilities related to operating leases | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
December 31, | ​ ​ ​ | 2025 | ​ ​ ​ | 2024
(in thousands) | ​ | ​ | ​ | ​ | ​ | ​
Assets: |  |  |  |  | ​ | ​
Operating lease right-of-use assets | ​ | $ | 24,094 | ​ | $ | 27,465
Finance lease right-of-use assets | ​ | ​ | 1,934 | ​ | ​ | 4,400
Total lease assets | ​ | $ | 26,028 | ​ | $ | 31,865
​ | ​ | ​ | ​ | ​ | ​ | ​
Liabilities: | ​ | ​ | ​ | ​ | ​ | ​
Current portion of operating leases | ​ | $ | 7,606 | ​ | $ | 7,108
Current portion of finance lease liabilities and finance obligations | ​ | ​ | 977 | ​ | ​ | 3,522
Long-term finance lease liabilities | ​ | ​ | 1,041 | ​ | ​ | 559
Long-term operating lease liabilities | ​ | ​ | 17,762 | ​ | ​ | 21,724
Total lease liabilities | ​ | $ | 27,386 | ​ | $ | 32,913
Schedule of lease cost | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Year Ended December 31, | ​ ​ ​ | 2025 | ​ | 2024 | ​ | 2023
(in thousands) | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Finance lease cost | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Amortization of leased assets | ​ | $ | 952 | ​ | $ | 265 | ​ | $ | 129
Interest on lease liabilities | ​ | ​ | 282 | ​ | ​ | 174 | ​ | ​ | 48
Total finance lease cost | ​ | $ | 1,234 | ​ | $ | 439 | ​ | $ | 177
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Operating lease cost | ​ | $ | 12,732 | ​ | $ | 17,206 | ​ | $ | 15,096
Short-term lease cost | ​ | ​ | 2,287 | ​ |  | 2,289 | ​ |  | 1,862
Variable lease cost | ​ | ​ | 1,102 | ​ |  | 855 | ​ |  | 774
Sublease income | ​ | ​ | (1,917) | ​ |  | (1,943) | ​ |  | (1,400)
Total operating lease cost | ​ | $ | 14,204 | ​ | $ | 18,407 | ​ | $ | 16,332
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Total lease cost | ​ | $ | 15,438 | ​ | $ | 18,846 | ​ | $ | 16,509
Schedule of other information of leases | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
As of December 31, | ​ | 2025 | ​ | 2024 | ​
Cash paid for amounts included in the measurement of lease liabilities – operating leases (in thousands) | ​ | $ | 7,754 | ​ | $ | 12,230 | ​
Cash paid for amounts included in the measurement of lease liabilities – finance lease and finance obligations (in thousands) | ​ | $ | 1,143 | ​ | $ | 799 | ​
ROU assets obtained in exchange for operating lease liabilities (in thousands) | ​ | $ | 3,678 | ​ | $ | 15,094 | ​
ROU assets obtained in exchange for finance lease liabilities (in thousands) | ​ | $ | 887 | ​ | $ | 3,622 | ​
Weighted average remaining lease term – finance lease (years) | ​ | ​ | 2.28 | ​ | ​ | 3.00 | ​
Weighted average remaining lease term – operating leases (years) | ​ | ​ | 5.45 | ​ | ​ | 5.96 | ​
Weighted average discount rate – finance lease | ​ | ​ | 4.39 | % | ​ | 2.30 | %
Weighted average discount rate – operating leases | ​ | ​ | 4.56 | % | ​ | 4.57 | %
Schedule of maturity of finance lease liabilities and finance obligations | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
As of December 31, | ​ ​ ​ | ​ | 2025
(in thousands) | ​ | ​ | Operating | ​ | ​ | Finance
2026 |  | $ | 8,878 |  | $ | 1,428
2027 |  | ​ | 8,299 |  | ​ | 735
2028 |  | ​ | 5,573 |  | ​ | 475
2029 |  | ​ | 3,634 |  | ​ | 71
2030 |  | ​ | 2,505 |  | ​ | 44
Thereafter |  | ​ | 8,139 |  | ​ | —
Total lease payments |  | ​ | 37,028 |  | ​ | 2,753
Less: Amounts representing interest |  | ​ | (11,660) |  | ​ | (735)
Present value of lease liabilities | ​ | $ | 25,368 | ​ | $ | 2,018
​

X
- Definition Tabular disclosure of assets and liabilities related to operating leases. + References No definition available. + Details
Name: | res_AssetsAndLiabilitiesRelatedToOperatingLeasesTableTextBlock
Namespace Prefix: | res_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of aging analysis for financing receivable. + References No definition available. + Details
Name: | res_ScheduleOfOtherInformationOfLeasesTableTextBlock
Namespace Prefix: | res_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of undiscounted cash flows of finance lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to finance lease liability recognized in statement of financial position. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478964/842-20-50-6 + Details
Name: | us-gaap_FinanceLeaseLiabilityMaturityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of lessee's lease cost. Includes, but is not limited to, interest expense for finance lease, amortization of right-of-use asset for finance lease, operating lease cost, short-term lease cost, variable lease cost and sublease income. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478964/842-20-50-4 + Details
Name: | us-gaap_LeaseCostTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_LeasesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration