v3.24.2.u1
Debt - Additional Information (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Mar. 05, 2024
Feb. 26, 2024
Jul. 31, 2023
Feb. 22, 2023
Jun. 30, 2024
Mar. 29, 2024
Jun. 30, 2023
Jun. 30, 2024
Jun. 30, 2023
Mar. 31, 2024
Dec. 31, 2023
Debt Instrument [Line Items]                      
Deferred financing cost         $ 926     $ 926     $ 411
Debt issuance costs               1,146 $ 752    
Dividends declared (in dollars per share)                 $ 0.15    
Long-term debt, net of discount and deferred financing costs         180,000     180,000     180,000
2023 ABL Credit Facility                      
Debt Instrument [Line Items]                      
Deferred financing cost $ 300                    
Interest expense associated with the amortization         100     100      
Aggregate principal amount         75,000     $ 75,000      
Increase in aggregate principal amount (50,000)                    
Credit facility, maturity date       Feb. 22, 2028              
Minimum availability covenant percent               12.50%      
Minimum availability covenant               $ 7,500      
Fixed charge coverage ratio, Minimum               1      
Fixed charge coverage ratio, maximum               1      
Line of credit, liquidity threshold               $ 30,000      
Divident payment required               7,500      
Interest expense, debt         900   $ 100 1,100 $ 100    
Debt issuance costs $ 300                    
Interest expense, unutilized commitment fees and other fees         100     300      
2023 ABL Credit Facility | Maximum [Member]                      
Debt Instrument [Line Items]                      
Aggregate principal amount       $ 7,500              
2023 ABL Credit Facility | Line Of Credit                      
Debt Instrument [Line Items]                      
Aggregate principal amount       75,000              
First Amendment to the 2023 ABL Credit Agreement                      
Debt Instrument [Line Items]                      
Increase in aggregate principal amount               $ 125,000      
Line of credit facility, extended maturity period               The maturity date of the ABL Credit Agreement was extended from February 22, 2028 to the earliest of (a) February 26, 2029; (b) the date that is 91 days prior to the maturity date for any portion of the Term Loan Debt; or (c) any date on which the aggregate Commitments terminate hereunder.      
Minimum availability covenant percent               12.50%      
Minimum availability covenant               $ 12,500      
Fixed charge coverage ratio, Minimum               1      
Fixed charge coverage ratio, maximum               1      
Line of credit, liquidity threshold               $ 30,000      
Divident payment required               7,500      
Current Borrowing Capacity         125,000     125,000      
First Amendment To 2023 Term Loan Credit Agreement                      
Debt Instrument [Line Items]                      
Debt discount on deferred cash consideration         1,500     1,500      
Deferred financing cost         500     500      
Interest expense discount and deferred financing cost         100     200      
Line of credit facility, combined principal and interest amount   $ 2,700                  
Interest expense, debt         4,000     $ 5,400      
Equipment Financing Agreements                      
Debt Instrument [Line Items]                      
Payment description               The Company has other Indebtedness of $4.1 million of equipment finance notes as of June 30, 2024. These equipment finance notes have terms ending in July 2024 through June 2025 and interest rates ranging from 1.99% to 3.24%      
Long-term debt, net of discount and deferred financing costs         4,100     $ 4,100      
Equipment Financing Agreements | Minimum [Member]                      
Debt Instrument [Line Items]                      
DDL Facility Interest Rate               1.99%      
Equipment Financing Agreements | Maximum [Member]                      
Debt Instrument [Line Items]                      
DDL Facility Interest Rate               3.24%      
Existing Lenders | First Amendment to the 2023 ABL Credit Agreement                      
Debt Instrument [Line Items]                      
Remaining borrowing capacity         25,000     $ 25,000      
New Lender | First Amendment to the 2023 ABL Credit Agreement                      
Debt Instrument [Line Items]                      
Remaining borrowing capacity                   $ 25,000  
Atlas Sand Company, LLC | Minimum [Member]                      
Debt Instrument [Line Items]                      
Commitment fee percentage               0.375%      
Atlas Sand Company, LLC | Maximum [Member]                      
Debt Instrument [Line Items]                      
Commitment fee percentage               0.50%      
Atlas Sand Company, LLC | 2023 ABL Credit Facility                      
Debt Instrument [Line Items]                      
Minimum availability covenant percent               20.00%      
Minimum availability covenant               $ 12,000      
Atlas Sand Company, LLC | First Amendment to the 2023 ABL Credit Agreement                      
Debt Instrument [Line Items]                      
Minimum availability covenant percent               20.00%      
Minimum availability covenant               $ 20,000      
Fixed charge coverage ratio | 2023 ABL Credit Facility                      
Debt Instrument [Line Items]                      
Minimum availability covenant percent               15.00%      
Minimum availability covenant               $ 9,000      
Fixed charge coverage ratio | First Amendment to the 2023 ABL Credit Agreement                      
Debt Instrument [Line Items]                      
Minimum availability covenant percent               15.00%      
Minimum availability covenant               $ 15,000      
Deferred Cash Consideration Note                      
Debt Instrument [Line Items]                      
Debt discount on deferred cash consideration         4,600     4,600      
Deferred financing cost         100     100      
Interest expense discount and deferred financing cost         700     800      
Long-term debt, net of discount and deferred financing costs         111,828     111,828     $ 0
Incremental Term Loan [Member] | First Amendment To 2023 Term Loan Credit Agreement | Line Of Credit                      
Debt Instrument [Line Items]                      
Aggregate principal amount   $ 150,000                  
DDL Facility Interest Rate   10.86%                  
Letter Of Credit | 2023 ABL Credit Facility                      
Debt Instrument [Line Items]                      
Aggregate principal amount       $ 25,000 7,500     7,500      
Letters of credit outstanding amount         600     600      
Letter Of Credit | First Amendment to the 2023 ABL Credit Agreement                      
Debt Instrument [Line Items]                      
Aggregate principal amount         7,500     7,500      
Borrowings | 2023 ABL Credit Facility                      
Debt Instrument [Line Items]                      
Aggregate principal amount         $ 50,000     $ 50,000      
SOFR Loan | 2023 ABL Credit Facility | Minimum [Member]                      
Debt Instrument [Line Items]                      
Interest rate basis percentage               1.50%      
Interest rate margin percentage               0.50%      
SOFR Loan | 2023 ABL Credit Facility | Maximum [Member]                      
Debt Instrument [Line Items]                      
Interest rate basis percentage               2.00%      
Interest rate margin percentage               1.00%      
2023 Term Loan Credit Facility                      
Debt Instrument [Line Items]                      
Loans outstanding at a fixed interest rate         9.50%     9.50%      
Interest expense discount and deferred financing cost         $ 300     $ 600      
Prepayment principal amount percentage     100.00%                
Prepayment fee percentage     8.00%                
Prepayment fee percentage, two years     4.00%                
Prepayment fee percentage, three years     3.00%                
Prepayment fee percentage, thereafter     2.00%                
Interest expense, debt         4,300     8,600      
Line of credit minimum liquidity amount     $ 30,000                
2023 Term Loan Credit Facility | Minimum [Member]                      
Debt Instrument [Line Items]                      
Annualized leverage ratio     1                
2023 Term Loan Credit Facility | Maximum [Member]                      
Debt Instrument [Line Items]                      
Annualized leverage ratio     4                
2023 Term Loan Credit Facility | Initial Term Loan                      
Debt Instrument [Line Items]                      
Loans outstanding at a fixed interest rate     9.50%                
Maturity date of long term debt     Jul. 31, 2030                
2023 Term Loan Credit Facility | Delayed Draw Term Loan                      
Debt Instrument [Line Items]                      
Loans outstanding at a fixed interest rate     5.95%                
Monthly payable installments, percentage     80.00%                
Percentage of outstanding principal balance due at maturity     20.00%                
Hi-Crush Transaction | Deferred Cash Consideration Note                      
Debt Instrument [Line Items]                      
Aggregate principal amount               111,800      
Debt agreements, maturity period           beginning March 29, 2024 through maturity          
Loans outstanding at a fixed interest rate           5.00%          
Interest expense, debt         $ 1,400     $ 1,800      
Hi-Crush Transaction | Deferred Cash Consideration Note | Payment in Kind                      
Debt Instrument [Line Items]                      
Loans outstanding at a fixed interest rate           7.00%