Reporting Segments and Geographic Areas (Details) $ in Thousands |
3 Months Ended |
12 Months Ended |
Mar. 31, 2020
USD ($)
|
Dec. 31, 2022
USD ($)
segment
|
Dec. 31, 2021
USD ($)
|
Dec. 31, 2020
USD ($)
|
Segment Reporting [Abstract] |
|
|
|
|
Number of reportable segments | segment |
|
4
|
|
|
Segment Reporting Information [Line Items] |
|
|
|
|
Revenues |
|
$ 362,086
|
$ 228,962
|
$ 313,076
|
Cost of revenue, exclusive of depreciation, depletion, amortization and accretion |
|
278,587
|
198,326
|
232,021
|
Intersegment cost of revenues |
|
0
|
0
|
0
|
Total cost of revenue |
|
278,587
|
198,326
|
232,021
|
Selling, general and administrative |
|
39,554
|
78,246
|
67,185
|
Depreciation, depletion, amortization and accretion |
|
64,271
|
78,475
|
95,317
|
(Gains) losses on disposal of assets, net |
|
(3,908)
|
(5,147)
|
(638)
|
Impairment of goodwill |
$ 55,000
|
0
|
891
|
54,973
|
Impairment of other long-lived assets |
$ 12,900
|
0
|
1,212
|
12,897
|
Operating (loss) income |
|
(16,418)
|
(123,041)
|
(148,679)
|
Interest expense |
|
11,506
|
6,406
|
5,397
|
Other income, net |
|
(40,912)
|
(5,154)
|
(34,300)
|
Loss before income taxes |
|
12,988
|
(124,293)
|
(119,776)
|
Total expenditures for property, plant and equipment |
|
12,737
|
5,843
|
6,837
|
Intangible assets, net |
|
1,782
|
2,561
|
4,774
|
Total assets |
|
724,678
|
720,892
|
824,562
|
Long-lived assets |
|
227,986
|
272,015
|
359,814
|
Intersegment revenues |
|
|
|
|
Segment Reporting Information [Line Items] |
|
|
|
|
Revenues |
|
0
|
0
|
0
|
Eliminations |
|
|
|
|
Segment Reporting Information [Line Items] |
|
|
|
|
Revenues |
|
(4,902)
|
(6,466)
|
(3,974)
|
Cost of revenue, exclusive of depreciation, depletion, amortization and accretion |
|
0
|
0
|
0
|
Intersegment cost of revenues |
|
(4,902)
|
(6,466)
|
(3,974)
|
Total cost of revenue |
|
(4,902)
|
(6,466)
|
(3,974)
|
Selling, general and administrative |
|
0
|
0
|
0
|
Depreciation, depletion, amortization and accretion |
|
0
|
0
|
0
|
(Gains) losses on disposal of assets, net |
|
0
|
0
|
0
|
Impairment of goodwill |
|
|
0
|
0
|
Impairment of other long-lived assets |
|
|
0
|
0
|
Operating (loss) income |
|
0
|
0
|
0
|
Interest expense |
|
0
|
0
|
0
|
Other income, net |
|
0
|
0
|
0
|
Loss before income taxes |
|
0
|
0
|
0
|
Total expenditures for property, plant and equipment |
|
(153)
|
0
|
0
|
Intangible assets, net |
|
0
|
0
|
0
|
Total assets |
|
(80,446)
|
(75,948)
|
(57,582)
|
United States |
|
|
|
|
Segment Reporting Information [Line Items] |
|
|
|
|
Revenues |
|
343,307
|
217,958
|
302,205
|
Long-lived assets |
|
217,101
|
258,666
|
342,838
|
Puerto Rico |
|
|
|
|
Segment Reporting Information [Line Items] |
|
|
|
|
Revenues |
|
0
|
0
|
53
|
Canada |
|
|
|
|
Segment Reporting Information [Line Items] |
|
|
|
|
Revenues |
|
18,603
|
10,685
|
10,723
|
Long-lived assets |
|
10,885
|
13,349
|
16,976
|
Other |
|
|
|
|
Segment Reporting Information [Line Items] |
|
|
|
|
Revenues |
|
176
|
319
|
95
|
Well Completion |
|
|
|
|
Segment Reporting Information [Line Items] |
|
|
|
|
Revenues |
|
169,872
|
84,190
|
87,201
|
Impairment of goodwill |
|
0
|
0
|
|
Well Completion | Intersegment revenues |
|
|
|
|
Segment Reporting Information [Line Items] |
|
|
|
|
Revenues |
|
791
|
144
|
1,124
|
Well Completion | Operating Segments |
|
|
|
|
Segment Reporting Information [Line Items] |
|
|
|
|
Revenues |
|
170,663
|
84,334
|
88,325
|
Cost of revenue, exclusive of depreciation, depletion, amortization and accretion |
|
124,848
|
58,782
|
45,647
|
Intersegment cost of revenues |
|
3,894
|
5,770
|
1,836
|
Total cost of revenue |
|
128,742
|
64,552
|
47,483
|
Selling, general and administrative |
|
8,642
|
49,275
|
23,039
|
Depreciation, depletion, amortization and accretion |
|
22,103
|
26,377
|
30,411
|
(Gains) losses on disposal of assets, net |
|
(615)
|
(770)
|
(388)
|
Impairment of goodwill |
|
|
0
|
53,406
|
Impairment of other long-lived assets |
|
|
0
|
4,203
|
Operating (loss) income |
|
11,791
|
(55,100)
|
(69,829)
|
Interest expense |
|
1,940
|
1,107
|
1,130
|
Other income, net |
|
(343)
|
1,843
|
(1,886)
|
Loss before income taxes |
|
10,194
|
(58,050)
|
(69,073)
|
Total expenditures for property, plant and equipment |
|
11,421
|
4,327
|
4,358
|
Intangible assets, net |
|
1,307
|
1,995
|
2,683
|
Total assets |
|
82,897
|
56,036
|
99,247
|
Infrastructure |
|
|
|
|
Segment Reporting Information [Line Items] |
|
|
|
|
Revenues |
|
111,452
|
93,403
|
157,751
|
Impairment of goodwill |
|
0
|
891
|
|
Infrastructure | Intersegment revenues |
|
|
|
|
Segment Reporting Information [Line Items] |
|
|
|
|
Revenues |
|
0
|
0
|
0
|
Infrastructure | Operating Segments |
|
|
|
|
Segment Reporting Information [Line Items] |
|
|
|
|
Revenues |
|
111,452
|
93,403
|
157,751
|
Cost of revenue, exclusive of depreciation, depletion, amortization and accretion |
|
91,577
|
90,363
|
124,232
|
Intersegment cost of revenues |
|
72
|
196
|
323
|
Total cost of revenue |
|
91,649
|
90,559
|
124,555
|
Selling, general and administrative |
|
19,147
|
18,267
|
27,261
|
Depreciation, depletion, amortization and accretion |
|
16,171
|
21,880
|
29,373
|
(Gains) losses on disposal of assets, net |
|
(795)
|
(286)
|
(444)
|
Impairment of goodwill |
|
|
891
|
0
|
Impairment of other long-lived assets |
|
|
665
|
0
|
Operating (loss) income |
|
(14,720)
|
(38,573)
|
(22,994)
|
Interest expense |
|
7,390
|
3,925
|
2,794
|
Other income, net |
|
(40,470)
|
(6,499)
|
(31,993)
|
Loss before income taxes |
|
18,360
|
(35,999)
|
6,205
|
Total expenditures for property, plant and equipment |
|
885
|
627
|
258
|
Intangible assets, net |
|
135
|
165
|
1,063
|
Total assets |
|
450,841
|
427,626
|
437,296
|
Sand |
|
|
|
|
Segment Reporting Information [Line Items] |
|
|
|
|
Revenues |
|
48,916
|
30,880
|
34,265
|
Sand | Intersegment revenues |
|
|
|
|
Segment Reporting Information [Line Items] |
|
|
|
|
Revenues |
|
2,475
|
3,980
|
95
|
Sand | Operating Segments |
|
|
|
|
Segment Reporting Information [Line Items] |
|
|
|
|
Revenues |
|
51,391
|
34,860
|
34,360
|
Cost of revenue, exclusive of depreciation, depletion, amortization and accretion |
|
36,783
|
27,232
|
25,955
|
Intersegment cost of revenues |
|
0
|
0
|
0
|
Total cost of revenue |
|
36,783
|
27,232
|
25,955
|
Selling, general and administrative |
|
7,171
|
5,351
|
7,807
|
Depreciation, depletion, amortization and accretion |
|
8,732
|
9,005
|
9,771
|
(Gains) losses on disposal of assets, net |
|
(89)
|
(30)
|
1,829
|
Impairment of goodwill |
|
|
0
|
0
|
Impairment of other long-lived assets |
|
|
0
|
0
|
Operating (loss) income |
|
(1,206)
|
(6,698)
|
(11,002)
|
Interest expense |
|
753
|
474
|
312
|
Other income, net |
|
(14)
|
(844)
|
10
|
Loss before income taxes |
|
(1,945)
|
(6,328)
|
(11,324)
|
Total expenditures for property, plant and equipment |
|
88
|
484
|
1,073
|
Intangible assets, net |
|
0
|
0
|
0
|
Total assets |
|
129,467
|
156,519
|
172,927
|
Drilling |
|
|
|
|
Segment Reporting Information [Line Items] |
|
|
|
|
Revenues |
|
10,346
|
4,197
|
7,746
|
Drilling | Intersegment revenues |
|
|
|
|
Segment Reporting Information [Line Items] |
|
|
|
|
Revenues |
|
22
|
124
|
39
|
Drilling | Operating Segments |
|
|
|
|
Segment Reporting Information [Line Items] |
|
|
|
|
Revenues |
|
10,368
|
4,321
|
7,785
|
Cost of revenue, exclusive of depreciation, depletion, amortization and accretion |
|
9,259
|
6,102
|
10,757
|
Intersegment cost of revenues |
|
538
|
0
|
152
|
Total cost of revenue |
|
9,797
|
6,102
|
10,909
|
Selling, general and administrative |
|
1,241
|
1,414
|
3,149
|
Depreciation, depletion, amortization and accretion |
|
6,467
|
7,996
|
10,039
|
(Gains) losses on disposal of assets, net |
|
(172)
|
(202)
|
(352)
|
Impairment of goodwill |
|
|
0
|
0
|
Impairment of other long-lived assets |
|
|
0
|
326
|
Operating (loss) income |
|
(6,965)
|
(10,989)
|
(16,286)
|
Interest expense |
|
545
|
293
|
454
|
Other income, net |
|
0
|
25
|
125
|
Loss before income taxes |
|
(7,510)
|
(11,307)
|
(16,865)
|
Total expenditures for property, plant and equipment |
|
101
|
44
|
432
|
Intangible assets, net |
|
0
|
0
|
0
|
Total assets |
|
21,755
|
27,457
|
36,252
|
All Other |
|
|
|
|
Segment Reporting Information [Line Items] |
|
|
|
|
Revenues |
|
21,500
|
16,292
|
26,113
|
Impairment of goodwill |
|
0
|
0
|
|
All Other | Intersegment revenues |
|
|
|
|
Segment Reporting Information [Line Items] |
|
|
|
|
Revenues |
|
1,614
|
2,218
|
2,716
|
All Other | Operating Segments |
|
|
|
|
Segment Reporting Information [Line Items] |
|
|
|
|
Revenues |
|
23,114
|
18,510
|
28,829
|
Cost of revenue, exclusive of depreciation, depletion, amortization and accretion |
|
16,120
|
15,847
|
25,430
|
Intersegment cost of revenues |
|
398
|
500
|
1,663
|
Total cost of revenue |
|
16,518
|
16,347
|
27,093
|
Selling, general and administrative |
|
3,353
|
3,939
|
5,929
|
Depreciation, depletion, amortization and accretion |
|
10,798
|
13,217
|
15,723
|
(Gains) losses on disposal of assets, net |
|
(2,237)
|
(3,859)
|
(1,283)
|
Impairment of goodwill |
|
|
0
|
1,567
|
Impairment of other long-lived assets |
|
|
547
|
8,368
|
Operating (loss) income |
|
(5,318)
|
(11,681)
|
(28,568)
|
Interest expense |
|
878
|
607
|
707
|
Other income, net |
|
(85)
|
321
|
(556)
|
Loss before income taxes |
|
(6,111)
|
(12,609)
|
(28,719)
|
Total expenditures for property, plant and equipment |
|
395
|
361
|
716
|
Intangible assets, net |
|
340
|
401
|
1,028
|
Total assets |
|
$ 120,164
|
$ 129,202
|
$ 136,422
|