Quarterly report pursuant to Section 13 or 15(d)

Equity Capitalization - Additional Information (Details)

v3.7.0.1
Equity Capitalization - Additional Information (Details)
$ / shares in Units, $ in Thousands
6 Months Ended 12 Months Ended
Mar. 28, 2017
exectives
shares
Mar. 22, 2017
USD ($)
$ / shares
shares
Dec. 27, 2016
USD ($)
$ / shares
shares
Jun. 08, 2016
USD ($)
shares
Jun. 30, 2017
USD ($)
$ / shares
shares
Jun. 30, 2016
USD ($)
Dec. 31, 2016
$ / shares
shares
Sep. 30, 2013
$ / shares
Subsidiary, Sale of Stock [Line Items]                
Proceeds from contributed capital | $       $ 40,425        
Issuance of common stock (in shares)       18,007,328        
Proceeds from issuance of convertible preferred stock | $     $ 170,000          
Preferred stock, par value (in dollars per share) | $ / shares         $ 0.001   $ 0.001  
Payment of IPO costs | $         $ 15,099 $ 0    
Preferred stock, issued (in shares)         0   16,999,990  
Preferred stock, outstanding (in shares)         0   16,999,990  
Common stock, par value (in dollars per share) | $ / shares         $ 0.001   $ 0.001 $ 0.001
Proceeds from IPO | $         $ 185,500 0    
Repayment of outstanding borrowings | $   $ 71,800     $ 163,128 $ 38,074    
Number of executives | exectives 2              
Exercisable stock options (in shares) 226,194              
Exercised (in shares) 162,212       226,194   0  
Common stock, outstanding (in shares)         83,039,854   52,627,652  
Private Placement                
Subsidiary, Sale of Stock [Line Items]                
Shares of common stock sold, including shares sold by third parties (in shares)     16,999,990          
Preferred stock, par value (in dollars per share) | $ / shares     $ 0.001          
Payment of IPO costs | $     $ 7,000          
Sale of stock, consideration received on transaction | $     $ 163,000          
IPO                
Subsidiary, Sale of Stock [Line Items]                
Issuance of common stock (in shares)   13,250,000            
Shares of common stock sold, including shares sold by third parties (in shares)   25,000,000            
Common stock, par value (in dollars per share) | $ / shares   $ 0.001            
Stock price (in dollars per share) | $ / shares   $ 14.00            
Shares sold by third party (in shares)   11,750,000            
Proceeds from IPO | $   $ 170,100            
Payment of underwriting discounts and commissions | $   10,900            
Payments of stock issuance costs, other | $   $ 4,500            
Performance stock units | IPO                
Subsidiary, Sale of Stock [Line Items]                
Number of shares of outstanding stock converted (in shares)   16,999,990            
Series A Preferred Stock Converted To Common Stock | IPO                
Subsidiary, Sale of Stock [Line Items]                
Shares of common stock issued for each share of preferred stock converted   1