Quarterly report pursuant to Section 13 or 15(d)

Convertible Senior Notes (Notes Payable) (Details)

v3.7.0.1
Convertible Senior Notes (Notes Payable) (Details) - 2019 convertible senior notes - USD ($)
$ in Thousands
Jun. 30, 2017
Dec. 31, 2016
Notes Payable, Current and Noncurrent [Abstract]    
Principal amount outstanding $ 245,000 $ 245,000
Unamortized discount (including unamortized debt issuance cost) (26,370) (32,090)
Total current portion of notes payable $ 218,630 $ 212,910