Annual report pursuant to Section 13 and 15(d)

Stock Based Compensation - Summary of Stock-based Compensation Reflected within Statements of Operations (Detail)

v3.8.0.1
Stock Based Compensation - Summary of Stock-based Compensation Reflected within Statements of Operations (Detail) - USD ($)
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]      
Share-based Compensation, Total $ 15,802,819 $ 9,508,175 $ 5,951,414
Research and Development Expense [Member]      
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]      
Allocated share-based compensation expense 8,522,798 4,226,304 2,816,707
Selling and Marketing Expense [Member]      
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]      
Allocated share-based compensation expense 1,113,120 328,760 729,329
General and Administrative Expense [Member]      
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]      
Allocated share-based compensation expense $ 6,166,901 $ 4,953,111 $ 2,405,378