Debt | Debt Senior Convertible Notes In August 2013, the Company issued senior convertible notes (the “Notes”) in exchange for gross proceeds of $150.0 million . The Notes are governed by an Indenture, dated August 13, 2013 (the “Indenture”), between the Company and Wells Fargo Bank, National Association, as trustee. The Notes will mature on August 1, 2018, unless earlier repurchased or converted, and bear interest at a rate of 1.50% per year payable semi-annually in arrears on February 1 and August 1, beginning February 1, 2014. The Notes are convertible at an initial conversion rate of 61.6770 shares of common stock per $1,000 principal amount of Notes, which represents an initial conversion price of approximately $16.21 per share of common stock, subject to anti-dilution adjustments upon certain specified events as defined in the Indenture. Upon conversion, the Notes will be settled in cash, shares of the Company’s common stock, or any combination thereof, at the Company’s option. Prior to February 1, 2018, the Notes are convertible only upon the following circumstances: • during any calendar quarter commencing after December 31, 2013 (and only during such calendar quarter), if for at least 20 trading days (whether or not consecutive) during the period of 30 consecutive trading days ending on the last trading day of the immediately preceding calendar quarter, the last reported sale price of common stock on such trading day is greater than or equal to 130% of the applicable conversion price on such trading day; • during the five business day period after any five consecutive trading day period in which the trading price per $1,000 principal amount of the Notes for each trading day of that five consecutive trading day period was less than 98% of the product of the last reported sale price of common stock and the applicable conversion rate on each such trading day; or • upon the occurrence of specified corporate events described in the Indenture. Holders of the Notes may convert their Notes at any time on or after February 1, 2018, until the close of business on the second scheduled trading day immediately preceding the maturity date, regardless of the foregoing circumstances. The holders of the Notes may require the Company to repurchase all or a portion of their Notes at a cash repurchase price equal to 100% of the principal amount of the Notes being repurchased, plus accrued and unpaid interest, if any, upon a fundamental change as defined in the Indenture. In addition, upon certain events of default as defined in the Indenture, the trustee, or the holders of at least 25% in principal amount of the outstanding Notes may declare 100% of the principal amount of the Notes, plus accrued and unpaid interest, if any, on all the Notes to be due and payable. In case of certain events of bankruptcy, insolvency or reorganization involving the Company, 100% of the principal of and accrued and unpaid interest on the Notes will automatically become due and payable. The Notes were not subject to conversion or repurchase at June 30, 2017 . To account for the Notes at issuance, the Company separated the Notes into debt and equity components pursuant to the accounting standards for convertible debt instruments that may be fully or partially settled in cash upon conversion. The fair value of debt component was estimated using an interest rate for nonconvertible debt, with terms similar to the Notes, excluding the conversion feature. The carrying amount of the liability component was calculated by measuring the fair value of a similar liability that does not have an associated convertible feature. The excess of the principal amount of the Notes over the fair value of the debt component was recorded as a debt discount and a corresponding increase in additional paid-in capital. The debt discount is accreted to interest expense over the term of the Notes using the interest method. The amount recorded to additional paid-in capital is not to be remeasured as long as it continues to meet the conditions of equity classification. Upon issuance of the $150.0 million of Notes, the Company recorded $111.5 million to debt and $38.5 million to additional paid-in capital. The Company incurred transaction costs of approximately $4.9 million related to the issuance of the Notes. In accounting for these costs, the Company allocated the costs to the debt and equity components in proportion to the allocation of proceeds from the issuance of the Notes to such components. Transaction costs allocated to the debt component of $3.6 million are recorded within Convertible notes, net , and amortized to interest expense over the term of the Notes. The transaction costs allocated to the equity component of $1.3 million were recorded to additional paid-in capital. The net carrying amount of the liability component of the Notes consists of the following (in thousands): June 30, 2017 December 31, 2016 Principal amount $ 150,000 $ 150,000 Unamortized debt discount (9,758 ) (13,928 ) Unamortized debt issuance costs (909 ) (1,297 ) Net carrying amount $ 139,333 $ 134,775 The following table presents the interest expense recognized related to the Notes (in thousands): Three Months Ended June 30, Six Months Ended June 30, 2017 2016 2017 2016 Contractual interest expense at 1.5% per annum $ 563 $ 563 $ 1,125 $ 1,125 Amortization of debt issuance costs 197 183 388 362 Accretion of debt discount 2,119 1,961 4,169 3,886 Total $ 2,879 $ 2,707 $ 5,682 $ 5,373 The net proceeds from the Notes were approximately $145.1 million after payment of the initial purchasers' discount and offering expense. The Company used approximately $31.4 million of the net proceeds from the Notes to pay the cost of the Note Hedges described below, which was partially offset by $21.8 million of the proceeds from the Company's sale of the Warrants also described below. Note Hedges Concurrent with the issuance of the Notes, the Company entered into note hedges (“Note Hedges”) with certain bank counterparties, with respect to its common stock. The Company paid $31.4 million for the Note Hedges. The Note Hedges cover approximately 9.25 million shares of the Company's common stock at a strike price of $16.21 per share. The Note Hedges will expire upon the maturity of the Notes. The Note Hedges are intended to reduce the potential dilution to the Company's common stock upon conversion of the Notes and/or offset the cash payment in excess of the principal amount of the Notes the Company is required to make in the event that the market value per share of the Company's common stock at the time of exercise is greater than the conversion price of the Notes. Warrants Separately, the Company entered into warrant transactions, whereby it sold warrants to the same bank counterparties as the Note Hedges to acquire approximately 9.25 million shares of the Company's common stock at an initial strike price of $21.02 per share (“Warrants”), subject to anti-dilution adjustments. The Company received proceeds of approximately $21.8 million from the sale of the Warrants. If the fair value per share of the Company's common stock exceeds the strike price of the Warrants, the Warrants will have a dilutive effect on earnings per share, unless the Company elects, subject to certain conditions, to settle the Warrants in cash. The amounts paid and received for the Note Hedges and the Warrants have been recorded in additional paid-in capital. The fair value of the Note Hedges and the Warrants are not remeasured through earnings each reporting period. |