XML 40 R22.htm IDEA: XBRL DOCUMENT v3.7.0.1
Summary of Significant Accounting Policies - Fair Value (Details) - USD ($)
$ in Thousands
Mar. 31, 2017
Dec. 31, 2016
Jun. 30, 2016
Fair value hierarchy for the Company's financial assets measured at fair value      
Interest rate (as a percent) 4.50%    
Recurring basis      
Fair value hierarchy for the Company's financial assets measured at fair value      
Cash equivalents $ 108,296 $ 144,176  
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 $ 108,296 144,176  
Convertible Notes      
Fair value hierarchy for the Company's financial assets measured at fair value      
Interest rate (as a percent) 4.50%   4.50%
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 $ 100,000 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 $ 111,000 $ 79,000