Quarterly report pursuant to Section 13 or 15(d)

Summary of Significant Accounting Policies - Additional Information (Details)

v3.7.0.1
Summary of Significant Accounting Policies - Additional Information (Details)
1 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended
Dec. 31, 2016
Jun. 30, 2017
shares
Jun. 30, 2016
Jun. 30, 2017
shares
Jun. 30, 2016
Dec. 31, 2016
Jun. 12, 2017
shares
Mar. 27, 2017
shares
Accounting Policies [Line Items]                
Number of authorized shares of common stock   500,000,000   500,000,000        
Customer One | Customer Concentration Risk | Accounts Receivable                
Accounting Policies [Line Items]                
Concentration risk percentage       15.00%   27.00%    
Customer One | Customer Concentration Risk | Revenues                
Accounting Policies [Line Items]                
Concentration risk percentage   17.00% 13.00% 17.00% 12.00%      
Customer Two | Customer Concentration Risk | Accounts Receivable                
Accounting Policies [Line Items]                
Concentration risk percentage       23.00%   16.00%    
Customer Two | Customer Concentration Risk | Revenues                
Accounting Policies [Line Items]                
Concentration risk percentage     15.00%   12.00%      
Customer Three | Customer Concentration Risk | Accounts Receivable                
Accounting Policies [Line Items]                
Concentration risk percentage           11.00%    
Amended and Restated Certificate of Incorporation                
Accounting Policies [Line Items]                
Number of authorized shares of common stock             500,000,000 8,600,000
Total number of authorized shares               14,550,000
Reverse stock split, description       one-for-17 reverse stock split of the outstanding shares of the Company's capital stock, such that each 17 shares of capital stock issued and outstanding, automatically and without any action on the part of the respective holders thereof, combined into one share of the same class and series of capital stock.        
Reverse stock split, conversion ratio 0.0588              
Amended and Restated Certificate of Incorporation | Series A-2 Convertible Preferred Stock                
Accounting Policies [Line Items]                
Convertible preferred stock, terms of conversion       to provide, among other changes, that each share of Series A-2 convertible preferred stock would automatically convert into 0.715548 shares of common stock upon the consummation of an initial public offering of the Company’s capital stock.        
Conversion of preferred stock into common stock               0.715548