Debt Disclosure [Text Block] | Note 5 Debt Convertible senior notes In August 2019, the Company entered into and consummated multiple, binding definitive agreements (collectively, the “Recapitalization Transaction”) among Wells Fargo, Oasis Investments II Master Fund Ltd. and an ad hoc group of holders of the Company’s 4.875% convertible senior notes due 2020 (the “Investor Parties”) to recapitalize the Company’s balance sheet, including the extension to the Company of incremental liquidity and at least three-year extensions of substantially all of the Company’s outstanding convertible debt obligations and revolving credit facility. In connection with the Recapitalization Transaction, the Company issued (i) amended and restated notes with respect to the Company’s $21.6 million Oasis Note issued on November 7, 2017, and the $8.0 million Oasis Note issued on July 26, 2018 (together, the “Existing Oasis Notes”), and (ii) a new $8.0 million convertible senior note having the same terms as such amended and restated notes (the "New $8.0 million Oasis Note" and collectively, the “New Oasis Notes” or the "3.25% convertible senior notes due 2023"). Interest on the New Oasis Notes is payable on each May 1 and November 1 until maturity and accrues at an annual rate of (i) 3.25% if paid in cash or 5.00% if paid in stock plus (ii) 2.75% payable in kind. The New Oasis Notes mature 91 days after the amounts outstanding under the 2019 Recap Term Loan are paid in full, and in no event later than July 3, 2023. Excluding the impact of the Reverse Stock Split in July of 2020, the New Oasis Notes provide, among other things, that the initial conversion price is $1.00. The conversion price will be reset on each February 9 and August 9, starting on February 9, 2020 (each, a “reset date”) to a price equal to 105% of the 5-day VWAP preceding the applicable reset date. Under no circumstances shall the reset result in a conversion price be below the greater of (i) the closing price on the trading day immediately preceding the applicable reset date and (ii) 30% of the stock price as of the Transaction Agreement Date, or August 7, 2019, and will not be greater than the conversion price in effect immediately before such reset. The Company may trigger a mandatory conversion of the New Oasis Notes if the market price exceeds 150% of the conversion price under certain circumstances. The Company may redeem the New Oasis Notes in cash if a person, entity or group acquires shares of the Company’s Common Stock, par value $0.001 per share (the “Common Stock”), and as a result owns at least 49% of the Company’s issued and outstanding Common Stock. On February 9, 2020, excluding the impact of the Reverse Stock Split, the conversion price of the New Oasis Notes reset to $1.00 per share ($10.00 per share after reverse stock split). On August 9, 2020, the conversion price of the New Oasis Notes reset to $5.647. On February 9, 2021, the conversion price of the New Oasis Notes recalculated and remained unchanged at $5.647. During 2021, $24.0 million of the New Oasis Notes (including $1.2 million in PIK interest) were converted for 4,246,828 shares of common stock. As a result, the Company recorded an increase to additional paid-in capital of $50.8 million. As a result of the conversions in 2021, the New Oasis Notes were fully extinguished. The Company accounted for the debt held by Oasis at fair value using Level 3 inputs and as a result, recognized a loss of $3.7 million and $16.5 million for the three and nine months ended September 30, 2021, respectively, related to changes in the fair value of the 3.25% convertible senior notes due 2023 (see Note 16 – Fair Value Measurement). On February 5, 2021, Benefit Street Partners and Oasis Investment II Master Funds Ltd, both related parties, entered into a purchase and sale agreement wherein Benefit Street Partners purchased $11.0 million of principal amount, plus all accrued and unpaid interest thereon, of the New Oasis Notes from Oasis Investment II Master Funds Ltd (see Note 17 – Related Party Transactions). The transaction closed on February 8, 2021. Term Loan Term loan consists of the following (in thousands): September 30, 2022 December 31, 2021 Debt Discount/ Debt Discount/ Principal Issuance Net Principal Issuance Net Amount Costs* Amount Amount Costs* Amount 2021 BSP Term Loan $ 69,520 $ (1,850 ) $ 67,670 $ 98,505 $ (2,986 ) $ 95,519 * The term loan was valued using the discounted cash flow method to determine the implied debt discount. The debt discount and issuance costs are amortized over the life of the term loan on a straight-line basis which approximates the effective interest method. On June 2, 2021, the Company and certain of its subsidiaries, as borrowers, entered into a First Lien Term Loan Facility Credit Agreement (the “2021 BSP Term Loan Agreement”) with Benefit Street Partners L.L.C., as Sole Lead Arranger, and BSP Agency, LLC, as agent, for a $99.0 million first-lien secured term loan (the “Initial Term Loan”) and a $19.0 million delayed draw term loan (the “Delayed Draw Term Loan” and collectively, the “2021 BSP Term Loan”). Net proceeds from the issuance of the 2021 BSP Term Loan, after deduction of $2.2 million in closing fees and $0.5 million of other administrative fees paid directly to the lenders, totaled $96.3 million. These fees are amortized over the life of the 2021 BSP Term Loan on a straight-line basis which approximates the effective interest method. Proceeds from the Initial Term Loan, together with available cash from the Company, were used to repay the Company’s existing term loan (the “2019 Recap Term Loan” formerly known as the “New Term Loan” in prior filings) under the agreement dated as of August 9, 2019 with Cortland Capital Market Services LLC, as agent for certain investor parties. The Delayed Draw Term Loan provision was designed to provide necessary capital to redeem any of the Company’s outstanding 3.25% convertible senior notes due 2023, upon their maturity, which, upon repayment of the 2019 Recap Term Loan, accelerated to no later than 91 days from the repayment of the 2019 Recap Term Loan, or September 1, 2021. On July 29, 2021, the Company terminated its Delayed Draw Term Loan option as it determined it had sufficient liquidity to fund any outstanding convertible senior notes that remained upon maturity. Amounts outstanding under the 2021 BSP Term Loan bear interest at either (i) LIBOR plus 6.50% - 7.00% (determined by reference to a net leverage pricing grid), subject to a 1.00% LIBOR floor, or (ii) base rate plus 5.50% - 6.00% (determined by reference to a net leverage pricing grid), subject to a 2.00% base rate floor. The 2021 BSP Term Loan matures in June 2027. The 2021 BSP Term Loan Agreement contains negative covenants that, subject to certain exceptions, limit the ability of the Company and its subsidiaries to, among other things, incur additional indebtedness, make restricted payments, pledge its assets as security, make investments, loans, advances, guarantees and acquisitions, undergo fundamental changes and enter into transactions with affiliates. Commencing with the fiscal quarter ending June 30, 2021, the Company is required to maintain a Net Leverage Ratio of 4:00x, with step-downs occurring each fiscal year starting with the quarter ending March 31, 2022 through the quarter ending September 30, 2024 in which the Company is required to maintain a Net Leverage Ratio of 3:00x. On April 26, 2022, the Company entered into a First Amendment to the 2021 BSP Term Loan Agreement, to provide, among other things, that the Company must maintain Qualified Cash of at least: (a) at all times after the Closing Date and prior to the First Amendment Effective Date, April 26, 2022, $20.0 million; (b) at all times during the period commencing on the First Amendment Effective Date through and including June 30, 2022, $15.0 million; and (c) at all times on and after July 1, 2022, through September 30, 2022, $17.5 million; provided, however, that if the Total Net Leverage Ratio exceeded 1.75:1.00 as of the last day of the most recently ended month for which financial statements were required to have been delivered, then the amount set forth in this clause shall be increased to $20.0 million. Notwithstanding the foregoing, the Applicable Minimum Cash Amount shall be reduced by $1.0 million for every $5.0 million principal prepayment or repayment of the Term Loans following the First Amendment Effective Date; provided however, that, the Applicable Minimum Cash Amount shall in no event be reduced below $15.0 million. On June 27, 2022, as permitted by the terms within the 2021 BSP Term Loan Agreement, the Company made a voluntary fee-free $10.0 million prepayment towards the outstanding principal amount of the 2021 BSP Term Loan. On September 28, 2022, as permitted by the terms within the 2021 BSP Term Loan Agreement, the Company made a voluntary $17.5 million prepayment towards the outstanding principal amount of the 2021 BSP Term Loan and incurred a $0.5 million prepayment penalty. The 2021 BSP Term Loan Agreement contains events of default that are customary for a facility of this nature, including (subject in certain cases to grace periods and thresholds) nonpayment of principal, nonpayment of interest, fees or other amounts, material inaccuracy of representations and warranties, violation of covenants, cross-default to certain other existing indebtedness, bankruptcy or insolvency events, certain judgment defaults and a change of control as specified in the 2021 BSP Term Loan Agreement. If an event of default occurs, the maturity of the amounts owed under the 2021 BSP Term Loan Agreement may be accelerated. The obligations under the 2021 BSP Term Loan Agreement are guaranteed by the Company, the subsidiary borrowers thereunder and certain of the other existing and future direct and indirect subsidiaries of the Company and are secured by substantially all of the assets of the Company, the subsidiary borrowers thereunder and such other subsidiary guarantors, in each case, subject to certain exceptions and permitted liens and subject to the priority lien granted under the JPMorgan ABL Credit Agreement (see Note 6 – Credit Facility). The agent and Sole Lead Arranger under the 2021 BSP Term Loan are affiliates of an affiliate of the Company, which affiliate, at the time of refinancing, owned common stock and the 3.25% convertible senior notes due 2023 of the Company, as well as the Company’s outstanding Series A Preferred Stock. Amortization expense classified as interest expense related to the $0.8 million of debt issuance costs associated with the issuance of the 2021 BSP Term Loan was $0.3 million and $0.4 million for the three and nine months ended September 30, 2022, respectively. Amortization expense classified as interest expense related to the $1.0 million of debt issuance costs associated with the issuance of the 2021 BSP Term Loan was $43,533 and $57,627 for the three and nine months ended September 30, 2021. Amortization expense classified as interest expense related to the $1.6 million debt discount associated with the issuance of the 2021 BSP Term Loan was $0.6 million and $0.8 million for the three and nine months ended September 30, 2022, respectively. Amortization expense classified as interest expense related to the $2.3 million debt discount associated with the issuance of the 2021 BSP Term Loan was $94,164 and $124,506 for the three and nine months ended September 30, 2021. The fair value of the Company’s 2021 BSP Term Loan is considered Level 3 fair value (see Note 16 – Fair Value Measurements for further discussion of the fair value hierarchy) and are measured using the discounted future cash flow method. In addition to the debt terms, the valuation methodology includes an assumption of a discount rate that approximates the current yield on a debt security with comparable risk. This assumption is considered an unobservable input in that it reflects the Company’s own assumptions about the inputs that market participants would use in pricing the asset or liability. The Company believes that this is the best information available for use in the fair value measurement. The estimated fair value of the 2021 BSP Term Loan was $70.8 million and $97.3 million as of September 30, 2022 and December 31, 2021, respectively, compared to a carrying value of $67.7 million and $95.5 million as of September 30, 2022 and December 31, 2021, respectively. As of September 30, 2022, the Company was in compliance with the financial covenants under the 2021 BSP Term Loan Agreement. Loan under Paycheck Protection Program On June 12, 2020, the Company received a $6.2 million loan under the Paycheck Protection Program (“PPP”) within the Coronavirus Aid, Relief and Economic Security Act (“CARES Act”). The PPP loan maturity date was June 2, 2022, and was subject to the CARES Act terms which included, among other terms, an interest rate of 1.00% per annum and monthly installment payments of $261,275 commencing on September 27, 2021. The PPP loan allowed for prepayment at any time prior to maturity with no prepayment penalties. The PPP Loan was subject to events of default and other provisions customary for a loan of this type. A PPP loan may be forgiven, partially or in full, if certain conditions are met, principally based on having been disbursed for permissible purposes and maintaining certain average levels of employment and payroll as required by the CARES Act. On September 10, 2021, the full amount of the PPP loan was forgiven. The Small Business Administration (“SBA”) may review the Company’s PPP loan forgiveness application for six years after the date of forgiveness. The Company may be subjected to penalties and repayment of the PPP loan if the SBA disagrees with the Company’s eligibilities. |