Annual report pursuant to Section 13 and 15(d)

Redeemable Convertible Preferred Stock - Schedule of Redeemable Convertible Preferred Stock (Details)

v3.8.0.1
Redeemable Convertible Preferred Stock - Schedule of Redeemable Convertible Preferred Stock (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Temporary Equity [Line Items]      
Accretion of issuance costs $ 29,317 $ 0 $ 0
Series A convertible preferred stock      
Temporary Equity [Line Items]      
Series A redeemable convertible preferred stock 480,000    
Issuance costs (29,318)    
Accretion of issuance costs 29,318    
Stock dividend payable to preferred stockholders 10,849    
Redeemable convertible preferred stock $ 490,849