XML 57 R38.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Depreciation and Amortization (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2024
Depreciation and Amortization |
Schedule of depreciation and amortization | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Years ended December 31, |  | ​ | 2024 | ​ | ​ | 2023 | ​ | ​ | 2022 | ​
(in thousands) | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Cost of revenues | ​ | $ | 120,647 | ​ | $ | 97,685 | ​ | $ | 74,294 | ​
Selling, general and administrative expenses | ​ | ​ | 11,928 | ​ | ​ | 10,438 | ​ | ​ | 8,723 | ​
Total | ​ | $ | 132,575 | ​ | $ | 108,123 | ​ | $ | 83,017 | ​
​

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

X
- Definition The tabular disclosure of depreciation and amortization. + References No definition available. + Details
Name: | res_ScheduleOfDepreciationAndAmortizationTableTextBlock
Namespace Prefix: | res_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration