Debt | Note 7. Debt Our long-term debt consists of the following as of March 31, 2020 and December 31, 2019 (in thousands): March 31, December 31, 2020 2019 Senior Secured Credit Facility $ 15,000 $ 10,000 Equipment notes — — Finance leases 2,686 2,917 Total debt 17,686 12,917 Less: current portion (1,502) (1,481) Long-term debt $ 16,184 $ 11,436 The estimated fair value of total debt for the periods ended March 31, 2020 and December 31, 2019 was $16.9 million and $12.5 million, respectively. The carrying value of the senior secured revolving credit facility and the lines of credit approximated the fair value of debt since these facilities have variable interest rates and can be paid at any time. The fair value for the remaining debt was estimated using Level 2 inputs by calculating the sum of the discounted future interest and principal payments through the date of maturity. Below is a description of our credit agreement and other financing arrangements. Senior Secured Credit Facility On May 1, 2019, we entered into a Second Amended and Restated Credit Agreement (the “Credit Agreement”) with Pioneer Investment, Inc., as U.S. borrower, NCS Multistage Inc., as Canadian borrower, Pioneer Intermediate, Inc. and the lenders party thereto, Wells Fargo Bank, National Association as administrative agent in respect of the U.S. Facility (as defined below) and Wells Fargo Bank, National Association, Canadian Branch, as administrative agent in respect of the Canadian Facility (as defined below) (the senior secured revolving credit facilities provided thereunder, the “Senior Secured Credit Facility”). The Credit Agreement amended and restated our prior credit agreement in its entirety. The Senior Secured Credit Facility consists of a (i) senior secured revolving credit facility in an aggregate principal amount of $50.0 million made available to the U.S. Borrower (the “U.S. Facility”), of which up to $5.0 million may be made available for letters of credit and up to $5.0 million may be made available for swingline loans and (ii) senior secured revolving credit facility in an aggregate principal amount of $25.0 million made available to the Canadian Borrower (the “Canadian Facility”). On March 31, 2020, we borrowed an additional $5.0 million under our Senior Secured Credit Facility to fund severance costs associated with reductions in force in response to the actual and projected decline in demand for our products and services as a result of the decline in market conditions primarily related to the COVID-19 pandemic. As of March 31, 2020, due to limits imposed by certain financial covenants, the total amount available to be drawn was an additional $11.7 million, which is significantly less than the $75.0 million lender commitments under our Senior Secured Credit Facility . The amount available may further decline if our business continues to be adversely impacted as a result of a decline in market conditions, primarily related to the COVID-19 pandemic. The Senior Secured Credit Facility will mature on May 1, 2023 . As of March 31, 2020 , we had $10.0 million in outstanding indebtedness under the U.S. Facility and $5.0 million in outstanding indebtedness under the Canadian Facility. Borrowings under the U.S. Facility may be made in U.S. dollars for Adjusted Base Rate Advances, and in U.S. dollars, Canadian dollars or Euros for Eurocurrency Rate Advances (each as defined in the Credit Agreement). Such advances bear interest at the Adjusted Base Rate or at the Eurocurrency Rate plus an applicable interest margin as set forth in the Credit Agreement. Borrowings under the Canadian Facility may be made in U.S. dollars or Canadian dollars and bear interest at the Canadian (Cdn) Base Rate, Canadian (U.S.) Base Rate, Eurocurrency Rate or Discount Rate (each as defined in the Credit Agreement), in each case, plus an applicable interest margin as set forth in the Credit Agreement. The applicable interest rate at March 31, 2020 was 4.88% . We incurred interest expense related to the Senior Secured Credit Facility, including commitment fees, of $0.2 million for the three months ended March 31, 2020 . The obligations of the U.S. Borrower under the U.S. Facility are guaranteed by the Parent Guarantors (as defined in the Credit Agreement) and each of the other existing and future direct and indirect restricted subsidiaries of the Company organized under the laws of the United States (subject to certain exceptions) and are secured by substantially all of the assets of the Parent Guarantors, the U.S. Borrower and such other subsidiary guarantors, in each case, subject to certain exceptions and permitted liens. The obligations of the Canadian Borrower under the Canadian Facility are guaranteed by the Parent Guarantors, the U.S. Borrower and each of the other future direct and indirect restricted subsidiaries of the Company organized under the laws of the United States and Canada (subject to certain exceptions) and are secured by substantially all of the assets of the Parent Guarantors, the U.S. Borrower, the Canadian Borrower and such other subsidiary guarantors, in each case, subject to certain exceptions and permitted liens. The Credit Agreement contains financial covenants that require (i) commencing with the fiscal quarter ending June 30, 2019, compliance with a maximum leverage ratio test set at 2.50 to 1.00 as of the last day of each fiscal quarter, (ii) commencing with the fiscal quarter ending June 30, 2019, compliance with an interest coverage ratio test set at not more than 2.75 to 1.00 as of the last day of each fiscal quarter, (iii) if the leverage ratio as of the end of any fiscal quarter is greater than 2.00 to 1.00 and the amount outstanding under the Canadian Facility at any time during such fiscal quarter was greater than $0, compliance as of the end of such fiscal quarter with a Canadian asset coverage ratio test of at least 1.00 to 1.00 and (iv) if the leverage ratio as of the end of any fiscal quarter is greater than 2.00 to 1.00 and the amount outstanding under the U.S. Facility at any time during such fiscal quarter was greater than $0, compliance as of the end of such fiscal quarter with a U.S. asset coverage ratio test of at least 1.00 to 1.00. As of March 31, 2020 , we were in compliance with these financial covenants. The Credit Agreement also contains customary affirmative and negative covenants, including, among other things, restrictions on the creation of liens, the incurrence of indebtedness, investments, dividends and other restricted payments, dispositions and transactions with affiliates. The Credit Agreement also includes customary events of default for facilities of this type (with customary grace periods, as applicable). If an event of default occurs, the lenders under each of the U.S. Facility and the Canadian Facility may elect (after the expiration of any applicable notice or grace periods) to declare all outstanding borrowings under such facility, together with accrued and unpaid interest and other amounts payable thereunder, to be immediately due and payable. The lenders under each of the U.S. Facility and the Canadian Facility also have the right upon an event of default thereunder to terminate any commitments they have to provide further borrowings under such facility. Further, following an event of default under either of the U.S. Facility and the Canadian Facility, the lenders under the applicable facility will have the right to proceed against the collateral granted to them to secure such facility. We believe that our cash on hand, cash flows from operations and potential borrowings under our Senior Secured Credit Facility will be sufficient to fund our capital expenditures and liquidity requirements for the next twelve months. However, if the depressed market conditions, primarily related to the COVID-19 pandemic on the demand for oil, customer spending and the resulting demand for the Company’s products and services continues, it will have a material negative impact on the Company’s financial performance, which current internal projections indicate would result in noncompliance with the Credit Agreement’s leverage ratio covenant and thus a default under the Credit Agreement in late 2020. In the event of a default, the lenders may elect to declare all outstanding borrowings under the facility immediately due and payable. The Company is currently engaged with its lenders regarding possible amendments to the Credit Agreement, including a replacement facility. In addition, the Company has taken actions to enhance its liquidity to allow for sufficient cash availability to repay borrowings under the Senior Secured Credit Facility should they become due following an event of default. However, we can make no assurances that the current actions taken by the Company will provide us with enough liquidity in the future if the current economic decline worsens. Direct costs of $0.9 million were incurred in connection with the Senior Secured Credit Facility. The costs were capitalized as an asset as they represent the benefit of being able to access capital over the contractual term. Additionally, $0.3 million of unamortized deferred costs related to the modification of the prior senior secured credit facility are also being amortized over the term of the Senior Secured Credit Facility using the straight-line method. Amortization expense of the deferred financing charges of $0.1 million was included in interest expense, net for the three months ended March 31, 2020 . Promissory Note On February 27, 2017, Repeat Precision, LLC (“Repeat Precision”) entered into a promissory note with Security State Bank & Trust, Fredericksburg, for an aggregate borrowing capacity of $3.8 million. The note bears interest at a variable interest rate based on prime plus 1.00% . The promissory note is collateralized by certain equipment, inventory and receivables. The promissory note was renewed on February 16, 2018 for an aggregate borrowing capacity of $4.3 million and was renewed again on February 14, 2020. The note is s cheduled to mature on February 14, 20 21. No other terms were changed. As of March 31, 2020 and December 31, 2019 , we had no outstanding indebtedness under the promissory note. Equipment Notes In February 2017, Repeat Precision entered into an equipment note in the amount of $0.8 million with Security State Bank & Trust, Fredericksburg. The equipment note bears interest at prime plus 1.00% , matures on February 27, 2021 and is collateralized by certain property. As of March 31, 2020 and December 31, 2019 , we had no outstanding balance on the equipment note and the loan was closed upon repayment on March 19, 2019 . In September 2018, Repeat Precision entered into an equipment note for an aggregate borrowing capacity of $3.8 million with Security State Bank & Trust, Fredericksburg. The equipment note bears interest at prime plus 1.00% , matures on June 7, 2023 and is collateralized by certain property. As of March 31, 2020 and December 31, 2019, we had no outstanding indebtedness under the equipment not e and the loan was closed upon repayment on May 31, 2019 . |