XML 76 R65.htm IDEA: XBRL DOCUMENT v3.6.0.2
Debt Instruments and Related Party Transactions - Note and Warrant Purchase Agreements (Details)
1 Months Ended 12 Months Ended
Jun. 30, 2016
USD ($)
$ / shares
shares
Feb. 29, 2016
USD ($)
item
shares
Oct. 31, 2015
USD ($)
installment
shares
Dec. 31, 2016
USD ($)
$ / shares
Dec. 31, 2015
USD ($)
$ / shares
Debt Instruments and Related Party Transactions [Line Items]          
Common stock, par value (in dollars per share) | $ / shares       $ 0.01 $ 0.01
Warrants       $ 16,076,000 $ 8,755,000
Loss on extinguishment of debt       13,302,000 $ 952,000
Redmile Group | Note And Warrant Agreement 2015 [Member]          
Debt Instruments and Related Party Transactions [Line Items]          
Number of installments for repayment of debt | installment     2    
Fixed interest rate (as a percent)     4.10%    
Warrants     $ 8,800,000    
Redmile Group | Note And Warrant Agreement 2015 [Member] | Private Placement Purchase Agreement          
Debt Instruments and Related Party Transactions [Line Items]          
Ownership position in the company (as a percent)     6.70%    
Proceeds from note and warrant purchase agreement     $ 50,000,000    
Redmile Group | Note And Warrant Agreement 2015 [Member] | Private Placement Purchase Agreement | Warrants          
Debt Instruments and Related Party Transactions [Line Items]          
Warrant Term     5 years    
Shares issuable for warrants (in shares) | shares     1,300,000    
Redmile Group | February 2016 Purchase Agreement | Beneficial Owner | Maximum          
Debt Instruments and Related Party Transactions [Line Items]          
Proceeds from note and warrant purchase agreement   $ 75,000,000      
Redmile Group | February 2016 Purchase Agreement | Private Placement Purchase Agreement | Maximum          
Debt Instruments and Related Party Transactions [Line Items]          
Shares issuable for warrants (in shares) | shares   1,850,000      
Redmile Group | February 2016 Purchase Agreement | Private Placement Purchase Agreement | Warrants | Maximum          
Debt Instruments and Related Party Transactions [Line Items]          
Shares of common stock issued per increment of note principal | shares   37      
Redmile Group | February 2016 Purchase Agreement | Private Placement Purchase Agreement | Beneficial Owner          
Debt Instruments and Related Party Transactions [Line Items]          
Proceeds from note and warrant purchase agreement   $ 50,000,000      
Number of installments for repayment of debt | item   2      
Fixed interest rate (as a percent)   3.875%      
Redmile Group | February 2016 Purchase Agreement | Private Placement Purchase Agreement | Beneficial Owner | Warrants          
Debt Instruments and Related Party Transactions [Line Items]          
Warrant Term   5 years      
Shares issuable for warrants (in shares) | shares   1,800,000      
Increment used for debt conversion   $ 1,000      
Incremental fair value of warrant liability   3,500,000      
Redmile Group | Additional Note and Warrant Agreement June 2016 | Private Placement Purchase Agreement | Beneficial Owner          
Debt Instruments and Related Party Transactions [Line Items]          
Proceeds from note and warrant purchase agreement $ 30,000,000        
Fixed interest rate (as a percent) 3.875%        
Common stock, par value (in dollars per share) | $ / shares $ 0.01        
Redmile Group | Additional Note and Warrant Agreement June 2016 | Private Placement Purchase Agreement | Beneficial Owner | Warrants          
Debt Instruments and Related Party Transactions [Line Items]          
Warrant Term 5 years        
Shares issuable for warrants (in shares) | shares 1,300,000        
Increment used for debt conversion $ 1,000        
Redmile Group | Additional Note and Warrant Agreement June 2016 | Private Placement Purchase Agreement | Beneficial Owner | Warrants | Maximum          
Debt Instruments and Related Party Transactions [Line Items]          
Shares issuable for warrants (in shares) | shares 1,260,000        
Shares of common stock issued per increment of note principal | shares 42        
Redmile Group | December 2016 Note Purchase Agreement          
Debt Instruments and Related Party Transactions [Line Items]          
Loss on extinguishment of debt       $ 13,300,000  
Redmile Group | October 2017 payment | Note And Warrant Agreement 2015 [Member]          
Debt Instruments and Related Party Transactions [Line Items]          
Installment payment     $ 15,000,000    
Redmile Group | October 2017 payment | February 2016 Purchase Agreement | Private Placement Purchase Agreement | Beneficial Owner          
Debt Instruments and Related Party Transactions [Line Items]          
Installment payment   15,000,000      
Redmile Group | October 2020 payment | Note And Warrant Agreement 2015 [Member]          
Debt Instruments and Related Party Transactions [Line Items]          
Installment payment     $ 35,000,000    
Redmile Group | October 2021 payment | February 2016 Purchase Agreement | Private Placement Purchase Agreement | Beneficial Owner          
Debt Instruments and Related Party Transactions [Line Items]          
Installment payment   $ 35,000,000