Debt Disclosure [Text Block] | Note 5 Debt Convertible senior notes Convertible senior notes consist of the following (in thousands): June 30, December 31, 3.25% convertible senior notes due 2023* $ 27,391 $ 34,134 * The amounts presented for the 3.25% convertible senior notes due 2023 within the table represent the fair value as of June 30, 2021 and December 31, 2020 (see Note 16 - Fair Value Measurements). The principal amount of these notes is $13.3 million and $22.9 million as of June 30, 2021 and December 31, 2020, respectively. The accrued, but unpaid, PIK interest is $0.7 million and $0.9 million as of June 30, 2021 and December 31, 2020, respectively. In July 2013, the Company sold an aggregate of $100.0 million principal amount of 4.25% convertible senior notes due 2018 (the “2018 Notes”). The 2018 Notes, which were senior unsecured obligations of the Company, paid interest semi-annually in arrears on August 1 and February 1 of each year at a rate of 4.25% per annum and matured on August 1, 2018. Excluding the impact of the Reverse Stock Split, the initial conversion rate for the 2018 Notes was 114.3674 shares of the Company’s common stock per $1,000 principal amount of notes, equivalent to an initial conversion price of approximately $8.74 per share of common stock, subject to adjustment in certain events. In 2016, the Company repurchased and retired an aggregate of approximately $6.1 million principal amount of the 2018 Notes. In addition, approximately $0.1 million of the unamortized debt issuance costs were written off and a nominal gain was recognized in conjunction with the retirement of the 2018 Notes. During the first quarter of 2017, the Company exchanged and retired $39.1 million principal amount of the 2018 Notes at par for $24.1 million in cash and approximately 290,000 shares of its common stock. During the second quarter of 2017, the Company exchanged and retired $12.0 million principal amount of the 2018 Notes at par for $11.6 million in cash and 11,240 shares of its common stock, and approximately $0.1 million of the unamortized debt issuance costs were written off and a $0.1 million gain was recognized in conjunction with the exchange and retirement of the 2018 Notes. In August 2017, the Company agreed with Oasis Management and Oasis Investments II Master Fund Ltd., (collectively, “Oasis”) the holder of approximately $21.6 million face amount of its 2018 Notes, to extend the maturity date of these notes to November 1, 2020. In addition, the interest rate was reduced to 3.25% per annum, and excluding the impact of the Reverse Stock Split, the conversion rate was increased to 328.0302 shares of the Company’s common stock per $1,000 principal amount of notes, among other things. After execution of a definitive agreement for the modification and final approval by the other members of the Company’s Board of Directors and Oasis’ Investment Committee, the transaction closed on November 7, 2017. In connection with this transaction, the Company recognized a loss on extinguishment of the debt of approximately $0.6 million. On July 26, 2018, the Company closed a transaction with Oasis to exchange $8.0 million face amount of the 2018 Notes with convertible senior notes similar to those issued to Oasis in November 2017. The July 26, 2018 $8.0 million Oasis notes mature on November 1, 2020, accrue interest at an annual rate of 3.25%, and excluding the impact of the Reverse Stock Split, are convertible into shares of the Company’s common stock at a rate of 322.2688 shares per $1,000 principal amount of the new notes. In connection with this transaction, the Company recognized a loss on extinguishment of the debt of approximately $0.5 million. The conversion price for the 3.25% convertible senior notes due 2020 was reset on November 1, 2018 and November 1, 2019 (each, a “reset date”) to a price equal to 105% above the 5-day Volume Weighted Average Price ("VWAP") preceding the reset date; provided, however, among other reset restrictions, that if the conversion price resulting from such reset is lower than 90 percent of the average VWAP during the 90 calendar days preceding the reset date, then the reset price shall be the 30-day VWAP preceding the reset date. Excluding the impact of the Reverse Stock Split, the conversion price of the 3.25% convertible senior notes due 2020 reset on November 1, 2018 to $2.54 per share and the conversion rate was increased to 393.7008 shares of the Company's common stock per $1,000 principal amount of notes. The remaining $13.2 million of 2018 Notes were redeemed at par at maturity on August 1, 2018. 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 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. The Company’s Term Loan Agreement entered into with Great American Capital Partners (See Note 6 – Credit Facilities) was paid in full and terminated in connection with the Recapitalization Transaction. In connection with the Recapitalization Transaction, the Company issued (i) amended and restated notes with respect to the $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, 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. In connection with the issuance of the New Oasis Notes, the Company recognized a loss on extinguishment of the Existing Oasis Notes of approximately $10.4 million. 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 the 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. In June 2020, $7.1 million of the New Oasis Notes (including $0.2 million in PIK interest) were converted for 710,100 shares of common stock. As a result, the Company recorded an increase to additional paid-in capital of $9.5 million. In August 2020, $1.0 million of the New Oasis Notes (including $27,288 in PIK interest) were converted for 177,085 shares of common stock. As a result, the Company recorded an increase to additional paid-in capital of $1.3 million. In October 2020, $2.0 million of the New Oasis Notes (including $63,225 in PIK interest) were converted for 354,170 shares of common stock. As a result, the Company recorded an increase to additional paid-in capital of $2.6 million. In November 2020, $4.0 million of the New Oasis Notes (including $138,248 in PIK interest) were converted for 708,340 shares of common stock. As a result, the Company recorded an increase to additional paid-in capital of $5.4 million. In December 2020, $1.0 million of the New Oasis Notes (including $36,528 in PIK interest) were converted for 177,085 shares of common stock. As a result, the Company recorded an increase to additional paid-in capital of $1.4 million. In March 2021, $3.0 million of the New Oasis Notes (including $128,230 in PIK interest) were converted for 531,255 shares of common stock. As a result, the Company recorded an increase to additional paid-in capital of $5.6 million. In May 2021, $2.0 million of the New Oasis Notes (including $93,805 in PIK interest) were converted for 354,170 shares of common stock. As a result, the Company recorded an increase to additional paid-in capital of $4.0 million. In June 2021, $5.0 million of the New Oasis Notes (including $245,040 in PIK interest) were converted for 885,425 shares of common stock. As a result, the Company recorded an increase to additional paid-in capital of $10.3 million. A director of the Company is a portfolio manager at Oasis Management. The Company has elected to measure and present the debt held by Oasis at fair value using Level 3 inputs and as a result, recognized a loss of $3.8 million and $7.7 million for the three months ended June 30, 2021 and 2020, respectively, related to changes in the fair value of the New Oasis Notes. At June 30, 2021 and December 31, 2020, the debt held by Oasis had a fair value of approximately $27.4 million and $34.1 million, respectively (see Note 16 - Fair Value Measurements). The Company evaluated its credit risk as of June 30, 2021, and determined that there was no change from December 31, 2020. In June 2014, the Company sold an aggregate of $115.0 million principal amount of 4.875% convertible senior notes due 2020 (the “2020 Notes”). The 2020 Notes are senior unsecured obligations of the Company paying interest semi-annually in arrears on June 1 and December 1 of each year at a rate of 4.875% per annum and will mature on June 1, 2020. Excluding the impact of the Reverse Stock Split, the initial and still current conversion rate for the 2020 Notes is 103.7613 shares of the Company’s common stock per $1,000 principal amount of notes, equivalent to an initial conversion price of approximately $9.64 per share of common stock, subject to adjustment in certain events. Upon conversion, the 2020 Notes will be settled in shares of the Company’s common stock. Holders of the 2020 Notes may require that the Company repurchase for cash all or some of their notes upon the occurrence of a fundamental change (as defined in the 2020 Notes). In January 2016, the Company repurchased and retired an aggregate of $2.0 million principal amount of the 2020 Notes. In addition, approximately $0.1 million of the unamortized debt issuance costs were written off and a $0.1 million gain was recognized in conjunction with the retirement of the 2020 Notes. In connection with the Recapitalization Transaction, the 2020 Notes with a face amount of $111.1 million of the total $113.0 million that were outstanding at the time of the Recapitalization Transaction were refinanced and the maturity dates were extended. Of the refinanced amount, $103.8 million was refinanced with the Investor Parties through the issuance of the New Common Equity (as defined below), the New Preferred Equity (as defined below) (see Note 9 - Common Stock and Preferred Stock) and new secured term debt that matures in February 2023 (see Term Loan section below). Additionally, $1.0 million of accrued interest was refinanced with the Investor Parties. The remaining refinanced amount of $7.3 million was exchanged into the new $8.0 million Oasis Note discussed above. In connection with the issuance of the new secured term loan, as well as the New Common Equity and the New Preferred Equity, the Company recognized a loss on extinguishment of the 2020 Notes refinanced with the Investor Parties of approximately $2.4 million, and wrote off $0.7 million of unamortized debt issuance costs related to the 2020 Notes. The remaining $1.9 million principal amount of the 2020 Notes was redeemed at par at maturity on June 1, 2020. 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. As of June 30, 2021, Benefit Street Partners held $10.7 million in principal amount (including $0.2 million in PIK interest) of the New Oasis Notes. Term Loan Term loan consists of the following (in thousands): June 30, 2021 December 31, 2020 Debt Discount/ Debt Discount/ Principal Issuance Net Principal Issuance Net Amount Costs* Amount Amount** Costs* Amount 2019 Recap Term Loan $ — $ — $ — $ 119,801 $ (8,471 ) $ 111,330 2021 BSP Term Loan 99,000 (3,265 ) 95,735 — — — * The term loan was valued using the discounted cash flow method to determine the implied debt discount. The debt discount and issuance costs are being amortized over the life of the term loan. ** The amount presented excludes accrued, but unpaid, PIK interest of $4.7 million as of December 31, 2020. In August 2019, in connection with the Recapitalization Transaction, the Company entered into the 2019 Recap Term Loan Agreement, with certain of the Investor Parties, and Cortland Capital Market Services LLC, as agent, for a $134.8 million 2019 Recap Term Loan. The Company also issued common stock and preferred stock (see Note 9 - Common Stock and Preferred Stock) to the Investor Parties. Amounts outstanding under the 2019 Recap Term Loan accrue interest at 10.50% per annum, payable semi-annually (with 8% per annum payable in cash and 2.5% per annum payable in kind). The 2019 Recap Term Loan matures on February 9, 2023. The 2019 Recap 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 assets as security, make investments, loans, advances, guarantees and acquisitions, undergo fundamental changes and enter into transactions with affiliates. The original terms of the 2019 Recap Term Loan Agreement required the Company to maintain a trailing 12-month EBITDA (as defined and adjusted therein) of not less than $34.0 million and a minimum liquidity of not less than $10.0 million commencing with the fiscal quarter ended September 30, 2020. On October 16, 2020, the Company reached an agreement (the “Amendment”) with holders of its 2019 Recap Term Loan and Wells Fargo, holder of its revolving credit facility, to amend its 2019 Recap Term Loan Agreement and defer its EBITDA covenant calculation until March 31, 2022. Under the Amendment, the trailing 12-month EBITDA requirement was reduced to $25.0 million, which will not be calculated earlier than March 31, 2022. The Amendment also required the Company to pre-pay $15.0 million of the 2019 Recap Term Loan immediately and, under certain conditions, pre-pay up to an additional $5.0 million no later than the third quarter of fiscal year 2021. In connection with the amendment, on October 20, 2020, the Company paid $15.0 million of its outstanding principal amount and $0.3 million in related interest and PIK interest. As of June 30, 2021, the Company had nil The 2019 Recap Term Loan Agreement contains events of default that are customary for a facility of this nature, including nonpayment of principal, nonpayment of interest, fees or other amounts, material inaccuracy of representations and warranties, violation of covenants, cross-default to other material indebtedness, bankruptcy or insolvency events, material judgment defaults and a change of control as specified in the 2019 Recap Term Loan Agreement. If an event of default occurs, the maturity of the amounts owed under the 2019 Recap Term Loan Agreement may be accelerated. The obligations under the 2019 Recap 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. Amortization expense classified as interest expense related to the $3.8 million of debt issuance costs associated with the issuance of the 2019 Recap Term Loan was $0.2 million and $0.4 million for the three and six months ended June 30, 2021, respectively. Amortization expense classified as interest expense related to the $3.8 million of debt issuance costs associated with the issuance of the 2019 Recap Term Loan was $0.3 million and $0.5 million for the three and six months ended June 30, 2020, respectively. Amortization expense classified as interest expense related to the $10.1 million debt discount associated with the issuance of the 2019 Recap Term Loan was $0.5 million and $1.2 million for the three and six months ended June 30, 2021, respectively. Amortization expense classified as interest expense related to the $10.1 million debt discount associated with the issuance of the 2019 Recap Term Loan was $0.7 million and $1.4 million for the three and six months ended June 30, 2020, respectively. The fair value of the 2019 Recap Term Loan as of June 30, 2021 and December 31, 2020 was nil On June 2, 2021, the Company repaid in full and terminated the 2019 Recap Term Loan Agreement, dated as of August 9, 2019, with Cortland Capital Market Services LLC, as agent. On June 2, 2021, the Company and certain of its subsidiaries, as borrowers, entered into 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 Initial Term Loan and a $19.0 million Delay Draw 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 being amortized over the life of the 2021 BSP Term Loan. Proceeds from the Initial Term Loan, together with available cash from the Company, were used to repay the Company’s 2019 Recap Term Loan 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. As of June 30, 2021, the Company had $14.1 million (including $0.7 million in PIK interest) of outstanding indebtedness under the New Oasis Notes. On July 29, 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 will 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. As of the Closing Date, the Company must maintain a minimum cash balance of not less than $20.0 million. The minimum cash balance can be reduced to $15.0 million in increments of $1.0 million for every $5.0 million in principal repayment of the 2021 BSP Term Loan. The terms and covenants are described in more detail in the 2021 BSP Term Loan Agreement. 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. 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 a majority of the Company’s outstanding Series A Preferred Stock giving the affiliates various rights as described in the Company’s public filings. 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 $14,094 for the three and six months ended June 30, 2021. 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 $30,342 for the three and six months ended June 30, 2021. The fair value of the 2021 BSP Term Loan as of June 30, 2021 was $99.0 million. The estimated fair value was calculated using a discounted cash flow method and is classified as Level 3 within the fair value hierarchy. Loan under Paycheck Protection Program On June 12, 2020, the Company received a $6.2 million PPP Loan under the PPP within the CARES Act. The PPP Loan matures on June 2, 2022, and is subject to the CARES Act terms which include, 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 may be prepaid at any time prior to maturity with no prepayment penalties. The PPP Loan is subject to events of default and other provisions customary for a loan of this type. The 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. As of June 30, 2021, the Company has recorded the PPP Loan as a liability and classified $6.2 million as short term debt on the condensed consolidated balance sheet. The Company has applied for forgiveness of the $6.2 million PPP loan. Any loan amounts forgiven will be removed from liabilities recorded. While the Company used the proceeds of the PPP Loan only for permissible purposes, there can be no assurance that it will be eligible for forgiveness of the PPP Loan, in full or in part. The carrying value of the PPP Loan is a reasonable approximation of fair value. |