XML 39 R29.htm IDEA: XBRL DOCUMENT v3.10.0.1
Debt - Convertible Debt (Details)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Feb. 16, 2018
shares
Feb. 15, 2018
USD ($)
shares
Dec. 21, 2016
USD ($)
day
$ / shares
shares
Jun. 30, 2018
USD ($)
shares
Mar. 31, 2018
shares
Jun. 30, 2017
USD ($)
Jun. 30, 2018
USD ($)
shares
Jun. 30, 2017
USD ($)
Jun. 07, 2018
USD ($)
shares
Dec. 31, 2017
USD ($)
shares
Convertible Debt                    
Number of common stock issued from underwriting agreement | shares         20,239,839          
Derivative liability, noncurrent   $ 507,400                
Change in fair value of derivatives       $ (7,600)   $ 0 $ (2,739) $ 0    
Common stock, shares authorized | shares       500,000,000     500,000,000   500,000,000 250,000,000
Derivative liabilities                 $ 88,300  
Common Stock Capped Call Confirmation                    
Convertible Debt                    
Derivative asset, noncurrent   $ 13,600                
Common Stock                    
Convertible Debt                    
Number of common stock issued from underwriting agreement | shares 885,000 19,354,839                
Over-allotment Option | Common Stock                    
Convertible Debt                    
Number of days granted underwriters for purchase of shares   30 days                
Maximum number of additional shares granted to underwriters | shares 2,903,225                  
Convertible Notes                    
Convertible Debt                    
Threshold percentage             130.00%      
Convertible Notes | Common Stock Capped Call Confirmation                    
Convertible Debt                    
Other assets, current                 $ 2,400  
Convertible Notes | Convertible Senior Notes 2016, Due 2023                    
Convertible Debt                    
Aggregate principle amount     $ 250,000              
Net proceeds after deducting fees and estimated expenses     243,000              
Proceeds for capped call confirmations     $ 13,500              
shares issued per increment of convertible debt | shares     40,849,675              
Debt conversion ratio (in shares)     0.1633987              
Conversion price (in dollars per share) | $ / shares     $ 6.12              
Threshold consecutive trading days | day     30              
Debt Instruments [Abstract]                    
Principal       $ 250,000     $ 250,000     $ 250,000
Less: debt discount       (76,555)     (76,555)     (81,566)
Less: deferred financing       (4,005)     (4,005)     (4,267)
Net carrying value of the debt       169,440     169,440     $ 164,167
Interest expense                    
Contractual interest expense       1,888     3,775      
Amortization of debt discount       2,539     5,011      
Amortization of deferred financing       133     262      
Total       $ 4,560     $ 9,048      
Convertible Notes | Convertible Senior Notes 2016, Due 2023 | Minimum                    
Convertible Debt                    
Threshold trading days     20 days              
Convertible Notes | Convertible Senior Notes 2016, Due 2023 | Over-allotment Option | Private Placement Purchase Agreement                    
Convertible Debt                    
Aggregate principle amount     $ 25,000