Quarterly report pursuant to Section 13 or 15(d)

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

v3.10.0.1
Redeemable Convertible Preferred Stock - Schedule of Redeemable Convertible Preferred Stock (Details) - USD ($)
$ in Thousands
4 Months Ended 6 Months Ended 12 Months Ended
Sep. 22, 2017
Jun. 30, 2018
Jun. 30, 2017
Dec. 31, 2017
Temporary Equity [Line Items]        
Issuance costs     $ (12,625)  
Accretion of issuance costs   $ 0 $ 13,935  
Series A convertible preferred stock        
Temporary Equity [Line Items]        
Series A redeemable convertible preferred stock   480,000   $ 480,000
Issuance costs $ (29,300) (29,318)   (29,318)
Accretion of issuance costs   29,318   29,318
Stock dividend payable to preferred stockholders   25,684   10,849
Redeemable convertible preferred stock   $ 505,684   $ 490,849