XML 72 R57.htm IDEA: XBRL DOCUMENT v3.8.0.1
Debt Instruments and Related Party Transactions - Notes and Warrants 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 ($)
Dec. 31, 2017
USD ($)
$ / shares
Debt Instruments            
Warrants       $ 16,076,000   $ 16,076,000
Common stock, par value (in dollars per share) | $ / shares       $ 0.01   $ 0.01
Loss on extinguishment of debt       $ 13,302,000 $ 952,000  
Redmile Group | October 2015 Notes and Warrants Purchase Agreement            
Debt Instruments            
Number of installments for repayment of debt | installment     2      
Fixed interest rate (as a percent)     4.10%      
Warrants     $ 8,800,000      
Redmile Group | October 2015 Notes and Warrants Purchase Agreement | Private Placement Purchase Agreement            
Debt Instruments            
Ownership position in the company (as a percent)     6.70%      
Proceeds from note and warrant purchase agreement     $ 50,000,000      
Redmile Group | October 2015 Notes and Warrants Purchase Agreement | Private Placement Purchase Agreement | Warrants            
Debt Instruments            
Warrant Term     5 years      
Shares issuable for warrants (in shares) | shares     1,300,000      
Redmile Group | February 2016 Notes and Warrants Purchase Agreement | Beneficial Owner | Maximum            
Debt Instruments            
Proceeds from note and warrant purchase agreement   $ 75,000,000        
Redmile Group | February 2016 Notes and Warrants Purchase Agreement | Private Placement Purchase Agreement | Beneficial Owner            
Debt Instruments            
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 Notes and Warrants Purchase Agreement | Private Placement Purchase Agreement | Beneficial Owner | Maximum            
Debt Instruments            
Shares issuable for warrants (in shares) | shares   1,850,000        
Redmile Group | February 2016 Notes and Warrants Purchase Agreement | Private Placement Purchase Agreement | Beneficial Owner | Warrants            
Debt Instruments            
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 | February 2016 Notes and Warrants Purchase Agreement | Private Placement Purchase Agreement | Beneficial Owner | Warrants | Maximum            
Debt Instruments            
Shares of common stock issued per increment of note principal | shares   37        
Redmile Group | Additional Note and Warrant Agreement June 2016 | Private Placement Purchase Agreement | Beneficial Owner            
Debt Instruments            
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            
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            
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            
Loss on extinguishment of debt       $ 13,300,000    
Redmile Group | October 2017 payment | October 2015 Notes and Warrants Purchase Agreement            
Debt Instruments            
Installment payment     $ 15,000,000      
Redmile Group | October 2017 payment | February 2016 Notes and Warrants Purchase Agreement | Private Placement Purchase Agreement | Beneficial Owner            
Debt Instruments            
Installment payment   $ 15,000,000        
Redmile Group | October 2020 payment | October 2015 Notes and Warrants Purchase Agreement            
Debt Instruments            
Installment payment     $ 35,000,000      
Redmile Group | October 2021 payment | February 2016 Notes and Warrants Purchase Agreement | Private Placement Purchase Agreement | Beneficial Owner            
Debt Instruments            
Installment payment   $ 35,000,000