Quarterly report pursuant to Section 13 or 15(d)

Debt - Notes (Details)

v3.5.0.2
Debt - Notes (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2016
Sep. 30, 2015
Sep. 30, 2016
Sep. 30, 2015
Debt Instrument [Roll Forward]        
Amortization of debt issuance costs     $ 175 $ 1,175
Change in fair value of embedded derivative $ (5,701) $ 32,244 (5,889) $ (34,100)
Notes        
Debt Instrument [Roll Forward]        
Embedded conversion option, beginning balance     23,737  
2033 Senior Notes, beginning balance     32,200  
Discount, beginning balance     (6,525)  
Debt issuance cost, beginning balance     (426)  
Total, beginning balance     48,986  
Amortization of debt discount     1,379  
Amortization of debt issuance costs     111  
Amortization of debt discount and debt issuance costs     1,490  
Change in fair value of embedded derivative     1,061  
Embedded conversion option, ending balance 24,798   24,798  
2033 Senior Notes, ending balance 32,200   32,200  
Discount, ending balance (5,146)   (5,146)  
Debt issuance cost, ending balance (315)   (315)  
Total, ending balance $ 51,537   $ 51,537