XML 55 R44.htm IDEA: XBRL DOCUMENT v3.8.0.1
Related Party Transactions - Additional Information (Detail) - USD ($)
3 Months Ended 9 Months Ended
Sep. 30, 2017
Sep. 30, 2016
Sep. 30, 2017
Sep. 30, 2016
Dec. 31, 2016
Related Party Transaction [Line Items]          
Collaboration revenue - related party $ 23,015,000 $ 13,015,000 $ 29,044,000 $ 18,730,000  
Flagship Ventures Management INC [Member] | Services Agreement [Member]          
Related Party Transaction [Line Items]          
Payments under agreements with related party 0 0 0 17,000  
Due to related party 0   0   $ 0
Nestlé Health Science [Member]          
Related Party Transaction [Line Items]          
Payments under agreements with related party 0   0    
Collaboration revenue - related party 23,015,000 $ 13,015,000 29,044,000 $ 18,730,000  
Deferred revenue 99,770,000   99,770,000    
Due from related party for the reimbursement of development costs $ 297,000   $ 297,000