XML 43 R28.htm IDEA: XBRL DOCUMENT v3.8.0.1
Summary of Significant Accounting Policies - Fair Value (Details) - USD ($)
Mar. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Fair value hierarchy for the Company's financial assets measured at fair value      
Interest rate (as a percent) 4.50% 4.50%  
Recurring basis      
Fair value hierarchy for the Company's financial assets measured at fair value      
Cash equivalents $ 195,063,000 $ 240,013,000  
Recurring basis | Quoted Prices in Active Markets for Identical Assets (Level 1)      
Fair value hierarchy for the Company's financial assets measured at fair value      
Cash equivalents $ 195,063,000 $ 240,013,000  
Convertible Notes      
Fair value hierarchy for the Company's financial assets measured at fair value      
Interest rate (as a percent) 4.50% 4.50%  
Principal amount of debt for conversion calculations     $ 1,000
Convertible Notes | Significant Other Observable Inputs (Level 2) | Face Value      
Fair value hierarchy for the Company's financial assets measured at fair value      
Convertible debt fair value $ 2,100,000    
Convertible Notes | Significant Other Observable Inputs (Level 2) | Estimated fair value      
Fair value hierarchy for the Company's financial assets measured at fair value      
Convertible debt fair value $ 3,800,000