XML 63 R49.htm IDEA: XBRL DOCUMENT v3.7.0.1
Debt - Additional Information (Detail)
3 Months Ended 6 Months Ended
May 02, 2017
USD ($)
Jul. 22, 2016
USD ($)
Aug. 04, 2015
USD ($)
Jun. 30, 2017
USD ($)
$ / shares
Jun. 30, 2017
USD ($)
d
$ / shares
shares
Jun. 30, 2016
USD ($)
Dec. 31, 2016
USD ($)
Debt Instrument [Line Items]              
Term loan due within 12 months       $ 9,967,000 $ 9,967,000   $ 9,134,000
Term loan due in greater than 12 months       17,584,000 17,584,000   $ 21,399,000
Net proceeds from offering of convertible senior notes         194,780,000    
Equity component of Convertible Notes recorded as additional paid-in capital         62,466,000    
Debt issuance costs         6,470,000 $ 42,000  
Amortization of premium (discount) on marketable securities         259,000 $ 345,000  
2015 Term Loan [Member]              
Debt Instrument [Line Items]              
Carrying value of term loan       27,551,000 27,551,000    
Liability component of Convertible Notes recorded as long-term debt       31,694,000 $ 31,694,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       27,551,000 $ 27,551,000    
Term loan due within 12 months       9,967,000 9,967,000    
Term loan due in greater than 12 months       $ 17,584,000 $ 17,584,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% 9.71%    
Debt issuance costs $ 6,500,000     $ 68,900,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 $ 1,000    
Debt instrument convertible initial conversion price per share of common stock | $ / shares       $ 26.78 $ 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       $ 2,302,606      
Amortization of premium (discount) on marketable securities       $ 1,083,687      
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%