Reporting Segments (Details)  $ in Thousands  | 
3 Months Ended | 
9 Months Ended | 
12 Months Ended | 
| 
 Sep. 30, 2023  
USD ($) 
 | 
 Sep. 30, 2022  
USD ($) 
 | 
 Sep. 30, 2023  
USD ($)  
segment 
 | 
 Sep. 30, 2022  
USD ($) 
 | 
 Dec. 31, 2022  
USD ($) 
 | 
| Segment Reporting [Abstract] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Number of reportable segments | segment | 
 
 | 
 
 | 
4
 | 
 
 | 
 
 | 
| Segment Reporting Information [Line Items] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Revenue reduction | 
$ 64,959
 | 
$ 107,202
 | 
$ 256,710
 | 
$ 259,178
 | 
 
 | 
| Total cost of revenue | 
52,817
 | 
78,456
 | 
202,061
 | 
201,722
 | 
 
 | 
| Selling, general and administrative | 
10,411
 | 
9,685
 | 
29,151
 | 
26,560
 | 
 
 | 
| Depreciation, depletion, amortization and accretion | 
11,233
 | 
15,842
 | 
36,839
 | 
50,485
 | 
 
 | 
| (Gains) losses on disposal of assets, net | 
(2,450)
 | 
(599)
 | 
(3,284)
 | 
(3,738)
 | 
 
 | 
| Impairment of goodwill | 
1,810
 | 
0
 | 
1,810
 | 
0
 | 
$ 0
 | 
| Operating loss | 
(8,862)
 | 
3,818
 | 
(9,867)
 | 
(15,851)
 | 
 
 | 
| Interest expense, net | 
2,876
 | 
3,262
 | 
9,385
 | 
8,270
 | 
 
 | 
| Other (income) expense, net | 
(14,088)
 | 
(10,989)
 | 
(31,051)
 | 
(30,175)
 | 
 
 | 
| (Loss) income before income taxes | 
2,350
 | 
11,545
 | 
11,799
 | 
6,054
 | 
 
 | 
| Total assets | 
685,976
 | 
 
 | 
685,976
 | 
 
 | 
724,678
 | 
| Nonrelated Party | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Segment Reporting Information [Line Items] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Cost of revenue, exclusive of depreciation, depletion, amortization and accretion | 
52,817
 | 
78,456
 | 
202,061
 | 
201,722
 | 
 
 | 
| Related Parties | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Segment Reporting Information [Line Items] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Cost of revenue, exclusive of depreciation, depletion, amortization and accretion | 
0
 | 
0
 | 
0
 | 
0
 | 
 
 | 
| Intersegment revenues | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Segment Reporting Information [Line Items] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Revenue reduction | 
0
 | 
0
 | 
0
 | 
0
 | 
 
 | 
| Eliminations | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Segment Reporting Information [Line Items] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Revenue reduction | 
(1,072)
 | 
(622)
 | 
(2,144)
 | 
(4,159)
 | 
 
 | 
| Total cost of revenue | 
(1,072)
 | 
(622)
 | 
(2,144)
 | 
(4,163)
 | 
 
 | 
| Selling, general and administrative | 
0
 | 
0
 | 
0
 | 
0
 | 
 
 | 
| Depreciation, depletion, amortization and accretion | 
0
 | 
0
 | 
0
 | 
0
 | 
 
 | 
| (Gains) losses on disposal of assets, net | 
0
 | 
0
 | 
0
 | 
0
 | 
 
 | 
| Impairment of goodwill | 
0
 | 
 
 | 
0
 | 
 
 | 
 
 | 
| Operating loss | 
0
 | 
0
 | 
0
 | 
4
 | 
 
 | 
| Interest expense, net | 
0
 | 
0
 | 
0
 | 
0
 | 
 
 | 
| Other (income) expense, net | 
0
 | 
0
 | 
0
 | 
0
 | 
 
 | 
| (Loss) income before income taxes | 
0
 | 
0
 | 
0
 | 
4
 | 
 
 | 
| Total assets | 
(69,721)
 | 
 
 | 
(69,721)
 | 
 
 | 
(80,446)
 | 
| Eliminations | Nonrelated Party | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Segment Reporting Information [Line Items] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Cost of revenue, exclusive of depreciation, depletion, amortization and accretion | 
0
 | 
0
 | 
0
 | 
0
 | 
 
 | 
| Eliminations | Related Parties | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Segment Reporting Information [Line Items] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Cost of revenue, exclusive of depreciation, depletion, amortization and accretion | 
(1,072)
 | 
(622)
 | 
(2,144)
 | 
(4,163)
 | 
 
 | 
| Well Completions | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Segment Reporting Information [Line Items] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Revenue reduction | 
20,166
 | 
51,378
 | 
114,810
 | 
118,580
 | 
 
 | 
| Impairment of goodwill | 
 
 | 
 
 | 
0
 | 
 
 | 
0
 | 
| Well Completions | Intersegment revenues | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Segment Reporting Information [Line Items] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Revenue reduction | 
161
 | 
154
 | 
400
 | 
643
 | 
 
 | 
| Well Completions | Operating Segments | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Segment Reporting Information [Line Items] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Revenue reduction | 
20,327
 | 
51,532
 | 
115,210
 | 
119,223
 | 
 
 | 
| Total cost of revenue | 
17,853
 | 
35,817
 | 
94,187
 | 
92,159
 | 
 
 | 
| Selling, general and administrative | 
1,579
 | 
2,390
 | 
5,847
 | 
6,314
 | 
 
 | 
| Depreciation, depletion, amortization and accretion | 
3,971
 | 
4,772
 | 
13,288
 | 
17,963
 | 
 
 | 
| (Gains) losses on disposal of assets, net | 
(2,016)
 | 
(339)
 | 
(2,016)
 | 
(547)
 | 
 
 | 
| Impairment of goodwill | 
0
 | 
 
 | 
0
 | 
 
 | 
 
 | 
| Operating loss | 
(1,060)
 | 
8,892
 | 
3,904
 | 
3,334
 | 
 
 | 
| Interest expense, net | 
774
 | 
531
 | 
2,527
 | 
1,324
 | 
 
 | 
| Other (income) expense, net | 
0
 | 
(345)
 | 
1
 | 
(345)
 | 
 
 | 
| (Loss) income before income taxes | 
(1,834)
 | 
8,706
 | 
1,376
 | 
2,355
 | 
 
 | 
| Total assets | 
60,649
 | 
 
 | 
60,649
 | 
 
 | 
82,897
 | 
| Well Completions | Operating Segments | Nonrelated Party | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Segment Reporting Information [Line Items] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Cost of revenue, exclusive of depreciation, depletion, amortization and accretion | 
17,528
 | 
35,414
 | 
93,158
 | 
88,740
 | 
 
 | 
| Well Completions | Operating Segments | Related Parties | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Segment Reporting Information [Line Items] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Cost of revenue, exclusive of depreciation, depletion, amortization and accretion | 
325
 | 
403
 | 
1,029
 | 
3,419
 | 
 
 | 
| Infrastructure | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Segment Reporting Information [Line Items] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Revenue reduction | 
26,712
 | 
33,296
 | 
83,308
 | 
81,892
 | 
 
 | 
| Infrastructure | Intersegment revenues | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Segment Reporting Information [Line Items] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Revenue reduction | 
0
 | 
0
 | 
0
 | 
0
 | 
 
 | 
| Infrastructure | Operating Segments | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Segment Reporting Information [Line Items] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Revenue reduction | 
26,712
 | 
33,296
 | 
83,308
 | 
81,892
 | 
 
 | 
| Total cost of revenue | 
22,052
 | 
26,512
 | 
67,839
 | 
67,239
 | 
 
 | 
| Selling, general and administrative | 
6,495
 | 
4,968
 | 
17,091
 | 
14,056
 | 
 
 | 
| Depreciation, depletion, amortization and accretion | 
1,557
 | 
3,969
 | 
7,366
 | 
12,495
 | 
 
 | 
| (Gains) losses on disposal of assets, net | 
(311)
 | 
73
 | 
(439)
 | 
(795)
 | 
 
 | 
| Impairment of goodwill | 
0
 | 
 
 | 
0
 | 
 
 | 
 
 | 
| Operating loss | 
(3,081)
 | 
(2,226)
 | 
(8,549)
 | 
(11,103)
 | 
 
 | 
| Interest expense, net | 
1,647
 | 
2,047
 | 
5,361
 | 
5,345
 | 
 
 | 
| Other (income) expense, net | 
(11,348)
 | 
(10,304)
 | 
(28,713)
 | 
(29,948)
 | 
 
 | 
| (Loss) income before income taxes | 
6,620
 | 
6,031
 | 
14,803
 | 
13,500
 | 
 
 | 
| Total assets | 
461,731
 | 
 
 | 
461,731
 | 
 
 | 
450,841
 | 
| Infrastructure | Operating Segments | Nonrelated Party | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Segment Reporting Information [Line Items] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Cost of revenue, exclusive of depreciation, depletion, amortization and accretion | 
22,042
 | 
26,495
 | 
67,810
 | 
67,190
 | 
 
 | 
| Infrastructure | Operating Segments | Related Parties | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Segment Reporting Information [Line Items] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Cost of revenue, exclusive of depreciation, depletion, amortization and accretion | 
10
 | 
17
 | 
29
 | 
49
 | 
 
 | 
| Sand | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Segment Reporting Information [Line Items] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Revenue reduction | 
10,633
 | 
12,910
 | 
34,643
 | 
35,098
 | 
 
 | 
| Sand | Intersegment revenues | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Segment Reporting Information [Line Items] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Revenue reduction | 
0
 | 
0
 | 
25
 | 
2,450
 | 
 
 | 
| Sand | Operating Segments | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Segment Reporting Information [Line Items] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Revenue reduction | 
10,633
 | 
12,910
 | 
34,668
 | 
37,548
 | 
 
 | 
| Total cost of revenue | 
6,977
 | 
9,206
 | 
21,905
 | 
26,701
 | 
 
 | 
| Selling, general and administrative | 
1,224
 | 
1,076
 | 
2,682
 | 
2,774
 | 
 
 | 
| Depreciation, depletion, amortization and accretion | 
2,836
 | 
2,865
 | 
6,397
 | 
6,717
 | 
 
 | 
| (Gains) losses on disposal of assets, net | 
0
 | 
0
 | 
(16)
 | 
(90)
 | 
 
 | 
| Impairment of goodwill | 
0
 | 
 
 | 
0
 | 
 
 | 
 
 | 
| Operating loss | 
(404)
 | 
(237)
 | 
3,700
 | 
1,446
 | 
 
 | 
| Interest expense, net | 
117
 | 
212
 | 
422
 | 
552
 | 
 
 | 
| Other (income) expense, net | 
(6)
 | 
(3)
 | 
(12)
 | 
(10)
 | 
 
 | 
| (Loss) income before income taxes | 
(515)
 | 
(446)
 | 
3,290
 | 
904
 | 
 
 | 
| Total assets | 
125,608
 | 
 
 | 
125,608
 | 
 
 | 
129,467
 | 
| Sand | Operating Segments | Nonrelated Party | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Segment Reporting Information [Line Items] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Cost of revenue, exclusive of depreciation, depletion, amortization and accretion | 
6,977
 | 
9,206
 | 
21,905
 | 
26,701
 | 
 
 | 
| Sand | Operating Segments | Related Parties | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Segment Reporting Information [Line Items] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Cost of revenue, exclusive of depreciation, depletion, amortization and accretion | 
0
 | 
0
 | 
0
 | 
0
 | 
 
 | 
| Drilling | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Segment Reporting Information [Line Items] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Revenue reduction | 
2,820
 | 
3,118
 | 
7,972
 | 
7,922
 | 
 
 | 
| Drilling | Intersegment revenues | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Segment Reporting Information [Line Items] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Revenue reduction | 
2
 | 
0
 | 
9
 | 
22
 | 
 
 | 
| Drilling | Operating Segments | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Segment Reporting Information [Line Items] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Revenue reduction | 
2,822
 | 
3,118
 | 
7,981
 | 
7,944
 | 
 
 | 
| Total cost of revenue | 
2,708
 | 
2,804
 | 
7,572
 | 
7,530
 | 
 
 | 
| Selling, general and administrative | 
389
 | 
305
 | 
1,039
 | 
874
 | 
 
 | 
| Depreciation, depletion, amortization and accretion | 
1,222
 | 
1,598
 | 
3,873
 | 
4,929
 | 
 
 | 
| (Gains) losses on disposal of assets, net | 
(138)
 | 
(286)
 | 
(138)
 | 
(286)
 | 
 
 | 
| Impairment of goodwill | 
0
 | 
 
 | 
0
 | 
 
 | 
 
 | 
| Operating loss | 
(1,359)
 | 
(1,303)
 | 
(4,365)
 | 
(5,103)
 | 
 
 | 
| Interest expense, net | 
151
 | 
154
 | 
481
 | 
379
 | 
 
 | 
| Other (income) expense, net | 
0
 | 
0
 | 
0
 | 
0
 | 
 
 | 
| (Loss) income before income taxes | 
(1,510)
 | 
(1,457)
 | 
(4,846)
 | 
(5,482)
 | 
 
 | 
| Total assets | 
17,403
 | 
 
 | 
17,403
 | 
 
 | 
21,755
 | 
| Drilling | Operating Segments | Nonrelated Party | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Segment Reporting Information [Line Items] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Cost of revenue, exclusive of depreciation, depletion, amortization and accretion | 
2,599
 | 
2,695
 | 
7,246
 | 
7,100
 | 
 
 | 
| Drilling | Operating Segments | Related Parties | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Segment Reporting Information [Line Items] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Cost of revenue, exclusive of depreciation, depletion, amortization and accretion | 
109
 | 
109
 | 
326
 | 
430
 | 
 
 | 
| Other | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Segment Reporting Information [Line Items] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Revenue reduction | 
4,628
 | 
6,500
 | 
15,977
 | 
15,686
 | 
 
 | 
| Impairment of goodwill | 
 
 | 
 
 | 
1,810
 | 
 
 | 
0
 | 
| Other | Intersegment revenues | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Segment Reporting Information [Line Items] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Revenue reduction | 
909
 | 
468
 | 
1,710
 | 
1,044
 | 
 
 | 
| Other | Operating Segments | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Segment Reporting Information [Line Items] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Revenue reduction | 
5,537
 | 
6,968
 | 
17,687
 | 
16,730
 | 
 
 | 
| Total cost of revenue | 
4,299
 | 
4,739
 | 
12,702
 | 
12,256
 | 
 
 | 
| Selling, general and administrative | 
724
 | 
946
 | 
2,492
 | 
2,542
 | 
 
 | 
| Depreciation, depletion, amortization and accretion | 
1,647
 | 
2,638
 | 
5,915
 | 
8,381
 | 
 
 | 
| (Gains) losses on disposal of assets, net | 
15
 | 
(47)
 | 
(675)
 | 
(2,020)
 | 
 
 | 
| Impairment of goodwill | 
1,810
 | 
 
 | 
1,810
 | 
 
 | 
 
 | 
| Operating loss | 
(2,958)
 | 
(1,308)
 | 
(4,557)
 | 
(4,429)
 | 
 
 | 
| Interest expense, net | 
187
 | 
318
 | 
594
 | 
670
 | 
 
 | 
| Other (income) expense, net | 
(2,734)
 | 
(337)
 | 
(2,327)
 | 
128
 | 
 
 | 
| (Loss) income before income taxes | 
(411)
 | 
(1,289)
 | 
(2,824)
 | 
(5,227)
 | 
 
 | 
| Total assets | 
90,306
 | 
 
 | 
90,306
 | 
 
 | 
$ 120,164
 | 
| Other | Operating Segments | Nonrelated Party | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Segment Reporting Information [Line Items] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Cost of revenue, exclusive of depreciation, depletion, amortization and accretion | 
3,671
 | 
4,646
 | 
11,942
 | 
11,991
 | 
 
 | 
| Other | Operating Segments | Related Parties | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Segment Reporting Information [Line Items] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Cost of revenue, exclusive of depreciation, depletion, amortization and accretion | 
$ 628
 | 
$ 93
 | 
$ 760
 | 
$ 265
 | 
 
 |