XML 48 R33.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Depreciation and Amortization (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2023
DEPRECIATION AND AMORTIZATION |
Schedule of depreciation and amortization | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(in thousands) |  |  | ​ | 2023 | ​ | ​ | 2022 | ​ | ​ | 2021
Cost of revenues | ​ | ​ | $ | 97,685 | ​ | $ | 74,294 | ​ | $ | 63,068
Selling, general and administrative expenses | ​ | ​ | ​ | 10,438 | ​ | ​ | 8,723 | ​ | ​ | 9,618
Total | ​ | ​ | $ | 108,123 | ​ | $ | 83,017 | ​ | $ | 72,686
​

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