XML 58 R46.htm IDEA: XBRL DOCUMENT v3.8.0.1
Debt - Additional Information (Detail)
3 Months Ended 12 Months Ended
May 02, 2017
USD ($)
Jul. 22, 2016
USD ($)
Aug. 04, 2015
USD ($)
Mar. 31, 2018
USD ($)
d
$ / shares
shares
Mar. 31, 2017
USD ($)
Dec. 31, 2017
USD ($)
Debt Instrument [Line Items]            
Term loan due within 12 months       $ 9,967,000   $ 9,967,000
Term loan due in greater than 12 months       10,612,000   12,936,000
Equity component of Convertible Notes recorded as additional paid-in capital           $ 62,466,000
Amortization of debt discount       (230,000) $ 155,000  
2015 Term Loan [Member]            
Debt Instrument [Line Items]            
Carrying value of term loan       20,579,000    
Liability component of Convertible Notes recorded as long-term debt       $ 23,088,000    
Mid Cap Financial Trust [Member] | 2015 Term Loan [Member]            
Debt Instrument [Line Items]            
Term loan, maximum borrowings     $ 30,000,000      
Debt instrument description       The Company also agreed to maintain a balance in cash or cash equivalents at Silicon Valley Bank equal to the principal balance of the loan plus 5%.    
Debt instrument percentage of cash or cash equivalents addition to principal balance     5.00%      
Debt instrument interest rate     6.25%      
Term loan, first periodic payment date     Mar. 01, 2017      
Debt instrument maturity date     Feb. 01, 2020      
Interest on final payment     9.00%      
Term loan, payment description       Interest-only period of 19 months, principal will be due in 36 equal monthly installments.    
Carrying value of term loan       $ 20,600,000    
Term loan due within 12 months       10,000,000    
Term loan due in greater than 12 months       $ 10,600,000    
Debt issuance costs     $ 150,000      
Mid Cap Financial Trust [Member] | 2015 Term Loan [Member] | Interest-Only-Strip [Member]            
Debt Instrument [Line Items]            
Term loan, Interest payment period     19 months      
Mid Cap Financial Trust [Member] | 2015 Term Loan [Member] | Principal-Only-Strip [Member]            
Debt Instrument [Line Items]            
Term loan, Interest payment period     36 months      
Mid Cap Financial Trust [Member] | 2015 Term Loan [Member] | Initial Term Loan [Member]            
Debt Instrument [Line Items]            
Term loan, currently borrowed     $ 15,000,000      
Mid Cap Financial Trust [Member] | 2015 Term Loan [Member] | Second Term Loan [Member]            
Debt Instrument [Line Items]            
Term loan remaining amount borrowed   $ 15,000,000        
2024 Convertible Notes [Member]            
Debt Instrument [Line Items]            
Debt instrument interest rate 3.375%     3.375%    
Debt instrument maturity date May 01, 2024          
Interest on final payment 3.375%     9.71%    
Debt issuance costs $ 6,500,000     $ 68,900,000    
Debt instrument principal amount 201,300,000          
Debt instrument frequency of periodic payment       semi-annually    
Net proceeds from offering of convertible senior notes 194,800,000          
Debt conversion, converted instrument, shares issued | shares       37.3413    
Debt instrument principal amount denomination for conversion in to common stock | $ / shares       $ 1,000    
Debt instrument convertible initial conversion price per share of common stock | $ / shares       $ 26.78    
Number of days within 30 consecutive trading days in which the closing price of the entity's common stock must exceed the conversion price for the notes to be convertible into common stock | d       20    
Number of consecutive trading days during which the closing price of the entity's common stock must exceed the conversion price for at least 20 days in order for the notes to be convertible into common stock | d       30    
Percentage of the closing sales price of the entity's common stock that the conversion price must exceed in order for the notes to be convertible       130.00%    
Number of consecutive business days immediately after any five consecutive trading day period during the note measurement period | d       5    
Number of consecutive trading days before five consecutive business days during the note measurement period | d       10    
Liability component of Convertible Notes recorded as long-term debt 136,700,000          
Equity component of Convertible Notes recorded as additional paid-in capital $ 64,500,000          
Debt instrument effective interest rate period       7 years    
Debt issuance costs       $ 6,500,000    
Debt issuance costs allocated to liability component       4,400,000    
Debt issuance costs allocated to equity component reduction to additional paid-in capital       2,100,000    
Interest expense       3,400,000    
Amortization of debt discount       $ 1,700,000    
2024 Convertible Notes [Member] | On or After February 1, 2024 [Member]            
Debt Instrument [Line Items]            
Number of days within 30 consecutive trading days in which the closing price of the entity's common stock must exceed the conversion price for the notes to be convertible into common stock | d       20    
Number of consecutive trading days during which the closing price of the entity's common stock must exceed the conversion price for at least 20 days in order for the notes to be convertible into common stock | d       30    
Percentage of the closing sales price of the entity's common stock that the conversion price must exceed in order for the notes to be convertible       130.00%    
Debt instrument redemption date       May 06, 2020    
Redemption price percentage of principal amount to be redeemed       100.00%    
2024 Convertible Notes [Member] | Maximum [Member]            
Debt Instrument [Line Items]            
Debt instrument conversion obligation trading price as percentage of product common stock closing sale price and conversion rate       98.00%