Debt | Debt MidCap Facility Agreement On August 30, 2013, the Company entered into the Amended Credit Facility with MidCap. The Amended Credit Facility amended and restated the prior credit facility that the Company had with MidCap (the "Prior Credit Facility"). Pursuant to the Amended Credit Facility, the Company increased the borrowing limit from $50 million to $73 million . The Company also extended the maturity of the credit facility to August 2016 . In July 2015, the Company further amended the Amended Credit Facility to provide for an additional term loan of $5 million . As of June 30, 2016 , the Amended Credit Facility consisted of a $38 million term loan, $25 million of which was outstanding as of June 30, 2016 and a revolving line of credit with a maximum borrowing base of $40 million , of which $28 million was outstanding at June 30, 2016 . The Company used the term loan proceeds of $28 million drawn at closing to repay a portion of the outstanding balance on the prior revolving line of credit. The term loan interest rate is priced at the London Interbank Offered Rate ("LIBOR") plus 8.0% , subject to a 9.5% floor, and the revolving line of credit interest rate remains priced at LIBOR plus 6.0% , reset monthly. At June 30, 2016 , the revolving line of credit carried an interest rate of 6.5% and the term loan carries an interest rate of 9.5% . The borrowing base is determined, from time to time, based on the value of domestic eligible accounts receivable and domestic eligible inventory. As collateral for the Amended Credit Facility, the Company granted MidCap a security interest in substantially all of its assets, including all accounts receivable and all securities evidencing its interests in its subsidiaries. In addition to monthly payments of interest, monthly repayments of $0.5 million are due through maturity, with the remaining principal due upon maturity. The Amended Credit Facility includes traditional lending and reporting covenants including a fixed charge coverage ratio, a senior leverage ratio and a total leverage ratio to be maintained by the Company. The Amended Credit Facility also includes several event of default provisions, such as payment default and insolvency conditions, which could cause interest to be charged at a rate which is up to five percentage points above the rate effective immediately before the event of default or result in MidCap’s right to declare all outstanding obligations immediately due and payable. On March 17, 2014, the Company entered into a first amendment to the Amended Credit Facility with MidCap (the "First Amendment to the Amended Credit Facility"). Under the First Amendment to the Amended Credit Facility, MidCap gave the Company its consent to enter into the Facility Agreement (defined below) and make settlement payments in connection with the Orthotec litigation. The First Amendment to the Amended Credit Facility also added a total leverage ratio financial covenant. On July 10, 2015, the Company entered into a Second Amendment to the Amended Credit Facility with MidCap (the "Second Amendment to the Amended Credit Facility") to increase the term loan commitment from $33 million to $38 million . The Company borrowed the additional $5 million under the term loan on July 10, 2015, which is the third term loan tranche under the Amended Credit Facility (the "Third Term Loan Tranche"). Until January 1, 2016, only interest payments were due for the Third Term Loan Tranche. Thereafter, the Company is required to pay an amount equal to $0.5 million on the first day of each calendar month as an amortization payment in respect of all tranches of the term loan. The Company paid MidCap, a commitment fee equal to 1.0% of the principal amount of the funds disbursed in the Third Term Loan Tranche. In connection with the execution of the Amended Credit Facility, the Company incurred an additional $0.4 million in costs that were capitalized as debt issuance costs. On March 11, 2016, the Company entered into a third amendment and waiver to the Amended Credit Facility with MidCap (the "Third Amendment to the Amended Credit Facility"). The Third Amendment to the Amended Credit Facility extended the maturity date of the Amended Credit Facility from August 30, 2016 to December 31, 2016 and contains an amendment fee in the amount of $0.5 million , which is due and payable at the earlier of the termination of the Amended Credit Facility or the maturity date. The Third Amendment to the Amended Credit Facility also contained a waiver of the December 2015 defaults under the Amended Credit Facility, provided a waiver for the fixed charge coverage ratio for January 2016 and eliminated the fixed charge coverage ratio covenant for February 2016. At June 30, 2016 , $0.4 million remains as unamortized debt discount related to the prior and Amended Credit Facility within the unaudited consolidated balance sheet, which will be amortized over the remaining term of the Amended Credit Facility. The Company was not in compliance with certain of the financial covenants of the Amended Credit Facility during the six months ended June 30, 2016 , as disclosed in Note 1. There is no assurance that the Company will be in compliance with the financial covenants of the Amended Credit Facility in the future. Deerfield Facility Agreement On March 17, 2014, the Company entered into the Facility Agreement with Deerfield, pursuant to which Deerfield agreed to loan the Company up to $50 million , subject to the terms and conditions set forth in the Facility Agreement. Under the terms of the Facility Agreement, the Company had the option, but was not required, upon certain conditions to draw the entire amount available under the Facility Agreement, at any time until January 30, 2015, provided that the initial draw be used for a portion of the payments made in connection with the Orthotec settlement described in Note 7 below. The Company agreed to pay Deerfield, upon each disbursement of funds under the Facility Agreement, a transaction fee equal to 2.5% of the principal amount of the funds disbursed. Amounts borrowed under the Facility Agreement are payable on the third, fourth and fifth anniversary date of the first amount borrowed under the Facility Agreement, with the final payment due on March 20, 2019. In connection with the execution of the Facility Agreement on March 17, 2014, the Company issued to Deerfield warrants to purchase an aggregate of 6,250,000 shares of the Company’s common stock, which are immediately exercisable and have an exercise price equal to $1.39 per share (the “Initial Warrants”). Additionally, the Company agreed that each disbursement borrowing under the Facility Agreement be accompanied by the issuance to Deerfield of warrants to purchase up to 10,000,000 shares of the Company’s common stock, in proportion to the amount of draw compared to the total $50 million facility (the "Draw Warrants"). On March 20, 2014, the Company made an initial draw of $20 million under the Facility Agreement and received net proceeds of $19.5 million to fund the portion of the settlement payment obligations that were due in 2014 to Orthotec, LLC. The $0.5 million transaction fee is recorded as a debt discount and is being amortized over the term of the draw, which ends March 20, 2019. In connection with this borrowing, the Company issued Draw Warrants to purchase 4,000,000 shares of common stock at an exercise price of $1.39 per share, which were valued at $4.7 million and recorded as a debt discount, which is being amortized over the term of the $20 million draw. Additionally, $2.3 million of the value of the Initial Warrants was reclassified as a debt discount and is being amortized through interest expense over the term of the debt using the effective interest method. On November 21, 2014, the Company made a second draw of $6.0 million under the Facility Agreement and received net proceeds of $5.9 million to fund a portion of the Orthotec settlement payments due through 2016. The $0.2 million transaction fee was recorded as a debt discount and is being amortized over the remaining term of the draw, which ends March 20, 2019. In connection with this second draw, the Company issued Draw Warrants to purchase 1,200,000 shares of common stock at an exercise price of $1.39 per share, which were valued at $0.9 million and were recorded as a debt discount, which is being amortized over the term of the debt using the effective interest method. Additionally, $0.2 million of the value of the Initial Warrants was reclassified as a debt discount and is being amortized through interest expense over the term of the debt using the effective interest method. No amounts remain available for the Company to borrow under the Facility Agreement. As of June 30, 2016 , Orthotec settlement payments of $25.2 million have been made, leaving remaining proceeds from the funds borrowed under the Facility Agreement of $0.2 million , which was classified as short-term restricted cash, as its use is limited under the terms of the Facility Agreement for the payments of amounts due under the Orthotec litigation settlement agreement. The amounts borrowed under the Facility Agreement, which total $26.6 million in principal plus accrued amendment fee as of June 30, 2016 , are due in three annual payments beginning March 20, 2017. On July 10, 2015, the Company entered into a First Amendment to the Facility Agreement (the “Facility Agreement First Amendment”), with Deerfield. The Facility Agreement First Amendment permitted, among other things, the Company to enter into and borrow the additional $5.0 million under the term loan in July 2015 under the Second Amendment to the Amended Credit Facility. As of June 30, 2016 , the outstanding Initial Warrants and Draw Warrants to purchase an aggregate of 11,450,000 shares of common stock were revalued to their fair value resulting in an expense of $0.6 million and $0.5 million for the three and six months ended June 30, 2016 , respectively, included in other income/expense. The change in the fair value of the warrants of $0.5 million for the six months ended June 30, 2016 is included in other non-cash items in the condensed consolidated statements of cash flows. The warrant liability of $1.1 million is recorded as common stock warrant liabilities within current liabilities on the condensed consolidated balance sheet as of June 30, 2016 . At June 30, 2016 , the outstanding warrants were valued using the Black-Scholes option pricing model. This is a Level 3 measurement using the following assumptions: June 30, 2016 Risk-free interest rate 0.8 % Dividend yield — % Expected volatility 82 % Expected life (years) 3.8 Prior to the expiration of the warrants, in connection with the PSA disclosed in Note 14, Deerfield has a right to convert its outstanding warrants into shares of the Company's common stock upon the closing of the transaction based on the Black-Scholes value of the warrant. If Deerfield does not convert such warrants prior to the end of the time period set forth in the warrants that it has to exercise such conversion, the warrants remain outstanding and exercisable with their terms. On February 5, 2016, the Company entered into a Limited Waiver and Second Amendment to the Facility Agreement (the “Facility Agreement Second Amendment”) with Deerfield. The Facility Agreement Second Amendment increased the interest rate under the Facility Agreement from 8.75% per annum to 14.75% per annum. In addition, the Facility Agreement Second Amendment provides that the Company may elect to have (i) until August 30, 2016, six percent ( 6% ), and (ii) thereafter, three percent ( 3% ), in each case, of the interest on the outstanding principal amount under the Facility Agreement paid in kind, which would be added to the outstanding principal amount under the Facility Agreement and bear interest at the interest rate of 14.75% per annum (the “PIK Interest”). All accrued and unpaid PIK Interest is due and payable when the outstanding amounts under the Facility Agreement are due and payable thereunder or are fully repaid, whichever occurs first. The Facility Agreement Second Amendment also contains an amendment fee in the amount of $0.6 million , which is due and payable in installments of $0.2 million on each of the third, fourth and fifth anniversaries of the Facility Agreement; provided that all unpaid amendment fees shall be due and payable when the outstanding amounts under the Facility Agreement are due and payable or are fully repaid, whichever occurs first. The Facility Agreement Second Amendment also changes the date from March 31, 2017 to March 31, 2018, as the date through which the Company must pay interest in the event the Company prepays amounts outstanding under the Facility Agreement prior to such date. The Second Amendment also contains a waiver of the defaults under the Facility Agreement for the fixed charge coverage ratio for the month of January 2016. The Facility Agreement contains various representations and warranties, and affirmative and negative covenants, customary for financings of this type, including restrictions on the ability of the Company and its subsidiaries to incur additional indebtedness or liens on its assets, except as permitted under the Facility Agreement. As security for the Company's repayment of its obligations under the Facility Agreement, the Company granted to Deerfield a security interest in substantially all of the Company's property and interests in property, which is subordinated to the security interest granted under the Amended Credit Facility. As a result of the Company's non-compliance with the MidCap covenants, the Company was in cross-default of the Facility Agreement for which it received waivers from Deerfield. There is no assurance that the Company will be in compliance with the financial covenants of the Amended Credit Facility in the foreseeable future, which would result in a cross-default under the Facility Agreement in which case Deerfield would have the right to call the debt outstanding under the Facility Agreement due immediately. Accordingly, the amounts borrowed under the Facility Agreement are presented on the consolidated balance sheet as of June 30, 2016 under current liabilities, net of unamortized issuance discount. Principal payments on debt are as follows as of June 30, 2016 (in thousands): Year Ending December 31, Remainder of 2016 $ 53,360 2017 (1) 8,879 2018 (1) 8,879 2019 (1) 8,879 Total 79,997 Add: capital lease principal payments 878 Less: unamortized debt discount and debt issuance costs (5,312 ) Total 75,563 Less: current portion of long-term debt (1) (75,376 ) Long-term debt, net of current portion $ 187 (1) The amounts above are presented based on the contractual payment schedules in each of the respective agreements. However, the debt balance under the Facility Agreement is callable as of June 30, 2016 due to the events of default (See Note 1) and therefore, is presented as a current liability on the condensed consolidated balance sheet as of June 30, 2016 . |