Debt | Note 10. Debt 3.75% Convertible Senior Notes due July 2022 In August 2017, the Company issued $85.0 million aggregate principal amount of its 3.75% Convertible Senior Notes due 2022 (the “3.75% Convertible Notes due 2022”) under an indenture between the Company and The Bank of New York Mellon Trust Company, N.A., as trustee. $53.0 million aggregate principal amount of the 3.75% Convertible Notes due 2022 were issued to certain holders of the Company’s then outstanding 3.50% Convertible Notes due 2018 and 3.50% Series A Convertible Notes due 2018 (together, the “Prior Existing Notes”) in exchange for approximately $47.0 million aggregate principal amount of the Prior Existing Notes and $32.0 million aggregate principal amount of the 3.75% Convertible Notes due 2022 were issued to certain other qualified new investors for cash. The net proceeds of the cash issuance were used to repurchase approximately $28.0 million of Prior Existing Notes. Holders of the 3.75% Convertible Notes due 2022 may convert their notes at any time on or after April 15, 2022 until the close of the business day immediately preceding the maturity date. Prior to April 15, 2022, holders of the 3.75% Convertible Notes due 2022 may convert their notes only under certain circumstances. Upon conversion, the Company will have the right to pay cash, or deliver shares of common stock of the Company or a combination thereof, at the Company’s election. The initial conversion rate is 174.8252 shares of the Company’s common stock per $1,000 principal amount (which represents an initial conversion price of approximately $5.72 per share of the Company’s common stock). The conversion rate, and thus the conversion price, is subject to adjustment as further described below. Holders of the 3.75% Convertible Notes due 2022 who convert their notes in connection with a “make-whole fundamental change,” as defined in the indenture, may be entitled to a make-whole premium in the form of an increase in the conversion rate. Additionally, in the event of a “fundamental change,” as defined in the indenture, holders of the 3.75% Convertible Notes due 2022 may require the Company to purchase all or a portion of their note at a fundamental change repurchase price equal to 100% of the principal amount of the 3.75% Convertible Notes due 2022, plus accrued and unpaid interest, if any, to, but not including, the fundamental change repurchase date. In May 2021, the Company exchanged approximately $82.1 million aggregate principal amount of 3.75% Convertible Notes due 2022 for approximately $97.1 million aggregate principal amount of 3.75% Convertible Notes due 2026 (as defined below). As of June 30, 2021, $2.9 million aggregate principal amount of 3.75% Convertible Notes due 2022 was outstanding. The exchange was treated as extinguishment of debt. The Company recorded a loss on the extinguishment of debt of $4.3 million, primarily comprised of the write-off of deferred costs associated with the 3.75% Convertible Note due 2022 and the extinguishment of the equity component of $14.5 million recognized as reduction to additional paid in capital. The $14.5 million, which is the difference between the settlement consideration paid of $96.0 million and the fair value of the liability component of $81.5 million, represents the estimated fair value of the liability component based on the expected future cash flows associated with the aggregate principal amount of $82.1 million in 3.75% Convertible Notes due 2022. 3.75% Convertible Senior Notes due July 2026 In May 2021, the Company issued $100.0 million aggregate principal amount of its 3.75% Convertible Senior Notes due 2026 (the “3.75% Convertible Notes due 2026”) under an indenture between the Company and The Bank of New York Mellon Trust Company, N.A., as trustee. $97.1 million aggregate principal amount of the 3.75% Convertible Notes due 2026 were issued to certain holders of the Company’s outstanding 3.75% Convertible Notes due 2022 in exchange for approximately $82.1 million aggregate principal amount of 3.75% Convertible Notes due 2022 and $2.9 million of 3.75% Convertible Notes due 2026 were issued to certain other qualified new investors for cash (such transactions the “Exchange and Subscription Transactions”). Holders of the 3.75% Convertible Notes due 2026 may convert their notes at any time on or after March 6, 2026 until the close of the business day immediately preceding the maturity date. Prior to June 6, 2026, holders of the 3.75% Convertible Notes due 2026 may convert their notes only under certain circumstances. Upon conversion, the Company will have the right to pay cash, or deliver shares of common stock of the Company or a combination thereof, at the Company’s election. The initial conversion rate is 170.5611 shares of the Company’s common stock per $1,000 principal amount (which represents an initial conversion price of approximately $5.86 per share of the Company’s common stock). The conversion rate, and thus the conversion price, is subject to adjustment as further described below. Holders of the 3.75% Convertible Notes due 2026 who convert their notes in connection with a “make-whole fundamental change,” as defined in the indenture, may be entitled to a make-whole premium in the form of an increase in the conversion rate. Additionally, in the event of a “fundamental change,” as defined in the indenture, holders of the 3.75% Convertible Notes due 2026 may require the Company to purchase all or a portion of their note at a fundamental change repurchase price equal to 100% of the principal amount of the 3.75% Convertible Notes due 2026, plus accrued and unpaid interest, if any, to, but not including, the fundamental change repurchase date. As of June 30, 2021, $100.0 million aggregate principal amount of 3.75% Convertible Notes due 2026 was outstanding. The aggregate principal amount of $100.0 million, including $2.9 million which were issued to new qualified investors for cash in the 3.75% Convertible Notes due 2026, was allocated between liability component of $74.1 million and equity component of $25.9 million recognized as addition paid in capital, reduced by $0.7 million of 3.75% Convertible Notes due 2026 issuance cost allocated to additional paid in capital. Upon adoption of ASU No. 2020-06 on July 1, 2021, the Company recorded an increase to Accumulated deficit of $0.8 million, a decrease to Additional paid-in capital of $25.6 million, an increase to Debt, current of $24.8 million. There was no impact to diluted loss per share as the inclusion of potential shares of common stock related to the 3.75% Convertible Notes due 2026 would have been anti-dilutive. The Company reversed the separation of the debt and equity components and accounted for the 3.75% Convertible Notes due 2026 wholly as debt. The Company also reversed the amortization of the debt discount, with a cumulative adjustment to retained earnings on the adoption date. Debt issuance costs related to the 3.75% Convertible Notes due 2022 and the 3.75% Convertible Notes due 2026 were comprised of discounts, issuance costs and third party costs of $25.6 million. Prior to the adoption of ASU No. 2020-06, the Company allocated the total amount incurred to the liability and equity components of the 3.75% Convertible Notes due 2022 and the 3.75% Convertible Notes due 2026 based on their relative values. Issuance costs attributable to the liability component were $0.8 million and were amortized to interest expense using the effective interest method. Issuance costs attributable to the equity component were netted with the equity component in stockholders’ equity. Upon adoption of ASU No. 2020-06 on July 1, 2021, the Company reversed the allocation of the issuance costs to the equity component and accounted for the entire amount as debt issuance cost that will be amortized as interest expense for each of the respective terms of the 3.75% Convertible Notes due 2022 and the 3.75% Convertible Notes due 2026, respectively, with a cumulative adjustment to retained earnings on the adoption date. As of September 30, 2021, the if-converted value of the 3.75% Convertible Notes due 2022 and the 3.75% Convertible Notes due 2026 did not exceed the outstanding principal amount. Prior Revolving Credit Facility On June 14, 2017, the Company entered into a credit and security agreement with a lender (the “Prior Credit Agreement”). The Prior Credit Agreement provided the Company with a revolving credit facility in the initial amount of $52.0 million (the “Prior Revolving Credit Facility”). Availability for borrowings under the Prior Revolving Credit Facility was subject to a borrowing base that was calculated as a function of the value of the Company’s eligible accounts receivable and eligible inventory, and the Company was required to maintain a minimum drawn balance of at least 30% of such availability. Interest on the borrowings under the Prior Revolving Credit Facility was payable monthly in arrears at an annual interest rate of reserve-adjusted, 90-day LIBOR plus 4.50% and had an initial maturity date of June 14, 2021. In December 2017, concurrently with the Prior Term Loan Agreement (as defined below), the Company entered into an amendment to the Credit Agreement (the “Prior Amendment” and, collectively with the Prior Credit Agreement, the “Amended Prior Credit Agreement”). The Prior Amendment reduced the maximum borrowings under the Prior Revolving Credit Facility to $32.0 million and extended the maturity date of the Prior Revolving Credit Facility to December 15, 2022. In May 2019, the Company amended the Amended Prior Credit Agreement to, among other things, decrease the interest rate from 90-day LIBOR plus 4.50% to 90-day LIBOR plus 3.50% and extend the maturity date to May 30, 2024 and update the calculation of the deferred revolving loan origination fee such that it is based on the amount of time elapsed from the effective date of the May 2019 amendment. The Company accounted for the amendment as a modification of existing debt and deferred an insignificant amount of offering costs on the consolidated balance sheet. The Amended Prior Credit Agreement was further amended in August 2019 to, among other things, revise or add financial covenants, including the fixed charge coverage ratio, minimum net revenue, minimum consolidated cash balance and minimum consolidated domestic cash balance tests. Other significant terms remained unchanged. The Company accounted for the amendment as a modification of existing debt and deferred an insignificant amount of offering costs on the consolidated balance sheet . In July 2020, the Company further amended the Amended Prior Credit Agreement to which, among other things modified certain financial covenants related to the Fixed Charge Coverage Ratio, minimum consolidated Net Revenue and minimum consolidated cash balance. Other significant terms remain unchanged. The Company accounted for the amendment as a modification of existing debt and deferred an insignificant amount of offering costs on its consolidated balance sheet. On May 6, 2021, the Company entered into an amendment to the Amended Prior Credit Agreement to amend the Prior Revolving Credit Facility to, among other things and subject to certain conditions, permit the Company to consummate the Exchange and Subscription Transactions and related agreements. On May 14, 2021, the initial borrowings under the New Credit Agreement (as defined below), plus available cash on hand, were used to repay all outstanding obligations and terminate all commitments under the Amended Prior Credit Agreement. The Prior Revolving Credit Facility was terminated on May 14, 2021. The Company incurred a loss on the extinguishment of debt as a result of repaying all amounts outstanding on the Prior Revolving Credit Facility. The loss on the extinguishment of debt of $1.4 million was primarily comprised of the write-off of deferred costs associated with the Prior Credit Facilities. Prior Term Loan In December 2017, the Company entered into a credit and security agreement with a lender (the “Prior Term Loan Agreement”). The Prior Term Loan Agreement provided for an initial term loan of $40.0 million with an additional tranche of $20.0 million undrawn and available through December 31, 2018, if specified conditions were met (the “Prior Term Loan”). In connection with the Prior Amendment, the Company used a portion of the net proceeds from the initial advance to repay a portion of the outstanding borrowings under the Prior Revolving Credit Facility. Interest on the Prior Term Loan was payable monthly in arrears at an annual interest rate of 6.75% plus 90-day LIBOR. The Prior Term Loan Agreement matures December 15, 2022 and, if prepaid, had fees equal to 3%, 2%, and 1% of the prepayment amount if such termination occurred within the first year, the second year, and the third year of funding, respectively. The term of the loan was 60 months with interest only for the first 24 months followed by straight-line amortization of principal for the remaining months. In addition, the Company paid an annual administrative fee of 0.25% and is a final payment of 4.0% of the Prior Term Loan amount. In December 2018, the Company drew an additional $5.0 million under the Prior Term Loan Agreement and in connection therewith entered into the second amendment to the Prior Term Loan Agreement (“Prior Amendment 2”) which, among other things, (i) extended the term loan tranche 2 commitment termination date for the remaining $15.0 million unfunded commitment from December 31, 2018 to June 30, 2019; (ii) provided that term loan tranche 2 may be drawn in two separate advances; and (iii) updated the calculation of the prepayment fee such that it is based on the amount of time elapsed from the effective date of Prior Amendment 2. In May 2019, the Company amended the Prior Term Loan Agreement to, among other things, increase the loan tranche 2 commitment by $0.5 million, extend the maturity date to May 30, 2024, decrease the annual interest rate from 6.75% plus 90-day LIBOR to 5.50% plus 90-day LIBOR, and modify the calculation of the prepayment fee such that it is based on the amount of time elapsed from the effective date of the May 2019 amendment. The Company accounted for the amendment as a modification of existing debt and recorded approximately $1.5 million of debt discount costs associated with the amendment against long-term debt on the consolidated balance sheets. In August 2019, the Company amended the Prior Term Loan Agreement to, among other things, increase the loan commitment by $25 million in the form of a new tranche (“Tranche 3”), increase the annual interest rate from 5.50% plus 90-day LIBOR to 6.75% plus 90-day LIBOR, and revise or add financial covenants, including the fixed charge coverage ratio, minimum net revenue, minimum consolidated cash balance and minimum consolidated domestic cash balance tests. Other significant terms remain unchanged. The Company borrowed in full Tranche 3, or $25 million, on the date of the amendment. The Company accounted for the amendment as a modification of existing debt, at the same time, the Company recorded approximately $1.6 million of debt discount costs associated with the amendment against long-term debt. In July 2020, the Company amended the Prior Term Loan Agreement which, among other things modified certain financial covenants related to the Fixed Charge Coverage Ratio, minimum consolidated Net Revenue and minimum consolidated cash balance. Other significant terms remained unchanged. In addition, the Company agreed to prepay $10.0 million in principal with respect to the Prior Term Loan. The Company accounted for the amendment as a modification of existing debt and, at the same time, the Company recorded approximately $0.5 million of debt amendment fee associated with the amendment. On May 6, 2021, the Company entered into an amendment to the Prior Term Loan Agreement to amend the Prior Term Loan Facility to, among other things and subject to certain conditions, permit the Company to consummate the Exchange and Subscription Transactions and related agreements. On May 14, 2021, the initial borrowings under the New Credit Agreement (as defined below), plus available cash on hand, were used to repay all outstanding obligations and terminate all commitments under the Prior Term Loan Agreement. The Prior Term Loan Facility was terminated on May 14, 2021. The Company incurred a loss on the extinguishment of debt as a result of repaying all amounts outstanding on the Prior Term Loan Facility. The loss on the extinguishment of debt of $ 4.3 million was primarily comprised of the write-off of deferred costs associated with the Prior Credit Facilities . New Credit Facilities On May 6, 2021, the Company entered into a senior secured credit agreement (the “New Credit Agreement”) with Silicon Valley Bank, individually as a lender and agent (“Agent”), and the other lenders from time to time parties thereto (together with Silicon Valley Bank as a lender, the “Lenders”), which provides for a new five-year Interest on the borrowings under the New Credit Facilities is payable in arrears on the applicable interest payment date at an annual interest rate of reserve-adjusted, 90-day LIBOR (subject to a 0.50% floor) plus, initially, 3.00% and after the Agent receives copies of the consolidated financial statements of the Company for the fiscal quarter ending June 30, 2021: 3.25% if the Consolidated Senior Net Leverage Ratio (as defined in the New Credit Agreement) is greater than or equal to 3.00:1.00; 3.00% if the Consolidated Senior Net Leverage Ratio is greater than or equal to 2.00:1.00 but less than 3.00:1.00; 2.75% if the Consolidated Senior Net Leverage Ratio is greater than or equal to 1.00:1.00 but less than 2.00:1.00; and 2.50% if the Consolidated Senior Net Leverage Ratio is less than 1.00:1.00. The New Credit Agreement requires the Company to pay the Lenders an unused commitment fee equal to, initially, 0.35% per annum of the average unused portion of the New Revolving Credit Facility and after the Agent receives copies of the consolidated financial statements of the Company for the fiscal quarter ending June 30, 2021: 0.40% per annum of the average unused portion of the Revolving Credit Facility if the Consolidated Senior Net Leverage Ratio is greater than or equal to 3.00:1.00; 0.35% per annum of the average unused portion of the New Revolving Credit Facility if the Consolidated Senior Net Leverage Ratio is greater than or equal to 2.00:1.00 but less than 3.00:1.00; 0.30% per annum of the average unused portion of the New Revolving Credit Facility if the Consolidated Senior Net Leverage Ratio is greater than or equal to 1.00:1.00 but less than 2.00:1.00; and 0.25% per annum of the average unused portion of the New Revolving Credit Facility if the Consolidated Senior Net Leverage Ratio is less than 1.00:1.00. If all or a portion of the loans under the New Term Loan Facility are prepaid, then the Company will be required to pay a fee equal to 1% of the of the aggregate amount of the loans so prepaid, subject to certain exceptions. The New Credit Agreement contains restrictions and covenants applicable to the Company and its subsidiaries. Among other requirements, the Company may not permit the Fixed Charge Coverage Ratio (as defined in the New Credit Agreement) to be less than a certain specified ratio for each fiscal quarter during the term of the New Credit Agreement or the Consolidated Senior Net Leverage Ratio to be greater than a certain specified ratio for each fiscal quarter during the term of the New Credit Agreement. The New Credit Agreement also contains customary covenants that limit, among other things, the ability of the Company and its subsidiaries to (i) incur indebtedness, (ii) incur liens on their property, (iii) pay dividends or make other distributions, (iv) sell their assets, (v) make certain loans or investments, (vi) merge or consolidate, (vii) voluntarily repay or prepay certain indebtedness and (viii) enter into transactions with affiliates, in each case subject to certain exceptions. The New Credit Agreement contains customary representations and warranties and events of default. As of June 30, 2021, $20.0 million of aggregate principal amount was outstanding under the New Revolving Credit Facility, $80 million aggregate principal amount was outstanding under the New Term Loan Facility and $1.3 million of associated unamortized debt costs. As of September 30, 2021, $20.0 million of aggregate principal amount was outstanding under the New Revolving Credit Facility, $79.0 million aggregate principal amount was outstanding under the New Term Loan Facility and $1.2 million of associated unamortized debt costs. The following table presents the carrying value of the Notes (as defined below), the New Revolving Credit Facility and the New Term Loan (in thousands): As of September 30, 2021 Revolving Credit Facility 3.75% Convertible Notes Due 2022 3.75% Convertible Notes Due 2026 Term Loan Facility Total Principal amount of the Notes $ 20,000 $ 2,865 $ 100,000 $ 79,000 $ 201,865 Unamortized debt costs — (21 ) (2,791 ) (1,244 ) (4,056 ) Net carrying amount $ 20,000 $ 2,844 $ 97,209 $ 77,756 $ 197,809 Reported as: Short-term debt $ 3,664 Long-term debt 194,145 Total debt $ 197,809 As of June 30, 2021 Revolving Credit Facility 3.75% Convertible Notes Due 2022 3.75% Convertible Notes Due 2026 Term Loan Facility Total Carrying amount of equity conversion component $ — $ 134 $ 25,944 $ — $ 26,078 Principal amount of the Notes $ 20,000 $ 2,865 $ 100,000 $ 80,000 $ 202,865 Unamortized debt costs — (34 ) (2,175 ) (1,303 ) (3,512 ) Unamortized debt discount — (119 ) (25,437 ) — (25,556 ) Net carrying amount $ 20,000 $ 2,712 $ 72,388 $ 78,697 $ 173,797 Reported as: Short-term debt $ 3,790 Long-term debt 170,007 Total debt $ 173,797 A summary of interest expense on the Notes and Credit Facilities is as follows (in thousands): Three Months Ended September 30, 2021 2020 Interest expense related to contractual interest coupon $ 1,877 $ 2,785 Interest expense related to amortization of debt discount — 1,241 Interest expense related to amortization of debt issuance costs 156 357 $ 2,033 $ 4,383 |