XML 49 R28.htm IDEA: XBRL DOCUMENT v3.6.0.2
Nature of the Business - Additional Information (Detail) - USD ($)
$ in Thousands
81 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Nature Of Business [Line Items]    
Accumulated deficit $ (320,327) $ (161,340)
Cash, cash equivalents and marketable securities 397,479  
Redeemable Convertible Preferred Stock [Member] | Convertible Notes [Member] | Initial Public Offering [Member]    
Nature Of Business [Line Items]    
Net proceeds from sale of equity and notes $ 643,300