Quarterly report pursuant to Section 13 or 15(d)

Basis of Presentation - Additional Information (Details)

v3.7.0.1
Basis of Presentation - Additional Information (Details)
$ / shares in Units, $ in Thousands
6 Months Ended
Mar. 22, 2017
USD ($)
$ / shares
shares
Jun. 30, 2017
USD ($)
$ / shares
Jun. 30, 2016
USD ($)
Dec. 31, 2016
$ / shares
Sep. 30, 2013
$ / shares
Subsidiary, Sale of Stock [Line Items]          
Common stock, par value (in dollars per share) | $ / shares   $ 0.001   $ 0.001 $ 0.001
Proceeds from issuance of common stock   $ 185,500 $ 0    
Repayment of outstanding borrowings $ 71,800 $ 163,128 $ 38,074    
Stock split ratio 1.45        
IPO          
Subsidiary, Sale of Stock [Line Items]          
Shares of common stock sold, including shares sold by third parties (in shares) | shares 25,000,000        
Common stock, par value (in dollars per share) | $ / shares $ 0.001        
Stock price (in dollars per share) | $ / shares $ 14.00        
Proceeds from issuance of common stock $ 170,100        
Payment of underwriting discounts and commissions 10,900        
Payments of stock issuance costs, other $ 4,500        
IPO Sold By Company          
Subsidiary, Sale of Stock [Line Items]          
Shares of common stock sold, including shares sold by third parties (in shares) | shares 13,250,000        
IPO - Shares From Existing Shareholders          
Subsidiary, Sale of Stock [Line Items]          
Shares of common stock sold, including shares sold by third parties (in shares) | shares 11,750,000