XML 32 R22.htm IDEA: XBRL DOCUMENT v3.8.0.1
Debt (Tables)
3 Months Ended
Mar. 31, 2018
Debt Disclosure [Abstract]  
Schedule of Convertible Senior Notes
The fair values of the respective notes outstanding were measured based on quoted market prices, and is a Level 2 measurement.
 
March 31, 2018
 
December 31, 2017
Principal amount of Convertible Senior Notes outstanding
$
97,095

 
$
167,314

Unamortized discount of liability component
(8,207
)
 
(15,356
)
Unamortized debt issuance costs
(1,098
)
 
(2,090
)
Net carrying amount of liability component
87,790

 
149,868

Less: current portion
(87,790
)
 

Long-term debt
$

 
$
149,868

Carrying value of equity component, net of issuance costs
$
16,750

 
$
29,211

Fair value of outstanding Convertible Senior Notes
$
169,609

 
$
257,245

Remaining amortization period of discount on the liability component
2.8 years

 
3.0 years