XML 60 R32.htm IDEA: XBRL DOCUMENT v3.3.1.900
Senior convertible notes (Tables)
12 Months Ended
Dec. 31, 2015
Summary of Senior Convertible Notes

Senior convertible notes consist of the following (in thousands):

 

     December 31,  
     2015     2014  

2015 notes

    

Principal amount

   $ —      $ 100,000   

Unaccreted debt issuance cost

     —        (645 ) 
  

 

 

   

 

 

 

Net carrying amount

   $ —      $ 99,355   
  

 

 

   

 

 

 

2018 notes

    

Principal amount

   $ 27,690      $ —   

Unamortized premium

     660        —   

Unaccreted debt issuance costs

     (737 )      —   
  

 

 

   

 

 

 

Net carrying amount

   $ 27,613      $ —