Quarterly report pursuant to Section 13 or 15(d)

Basis of Presentation and Summary of Significant Accounting Policies - Additional Information (Detail)

v3.8.0.1
Basis of Presentation and Summary of Significant Accounting Policies - Additional Information (Detail) - USD ($)
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Dec. 31, 2017
Summary Of Significant Accounting Policies [Line Items]      
Cash, Uninsured Amount $ 135,000,000    
Restricted Cash 18,028,116   $ 18,005,661
Increase in Restricted Cash 18,000,000    
Allowance for Doubtful Accounts Receivable, Current $ 763,205   $ 407,953
Equity Method Investment, Significant Influence Description Significant influence is generally deemed to exist if the Company has an ownership interest in the voting stock of the investee of between 20% and 50%, although other factors, such as representation on the investees board of directors, are considered in determining whether the equity method of accounting is appropriate.    
Warrant Liability [Member]      
Summary Of Significant Accounting Policies [Line Items]      
Share Price   $ 9.00  
Percentage For Down round financing   0.00%  
Derivative Asset, Noncurrent   $ 6,900,000  
Maximum      
Summary Of Significant Accounting Policies [Line Items]      
Restricted Cash Interest Rate 0.10%    
Maximum | Warrant Liability [Member]      
Summary Of Significant Accounting Policies [Line Items]      
Expected term   4 years  
Risk free interest rate   1.71%  
Expected volatility rate   62.30%  
Minimum      
Summary Of Significant Accounting Policies [Line Items]      
Restricted Cash Interest Rate 0.05%    
Minimum | Warrant Liability [Member]      
Summary Of Significant Accounting Policies [Line Items]      
Expected term   3 years 6 months 14 days  
Risk free interest rate   1.62%  
Expected volatility rate   62.40%  
APA ACO [Member]      
Summary Of Significant Accounting Policies [Line Items]      
Estimated Revenue Percentage 100.00%