XML 95 R79.htm IDEA: XBRL DOCUMENT v3.22.0.1
Related Party Transactions - Additional Information (Detail) - USD ($)
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Feb. 29, 2016
Related Party Transaction [Line Items]        
Collaboration revenue - related party $ 143,857,000 $ 11,897,000 $ 27,188,000  
Sublease income 1,575,000 1,813,000 890,000  
Nestle Health Science [Member]        
Related Party Transaction [Line Items]        
Collaboration revenue - related party 10,446,000 11,897,000 $ 27,188,000  
Deferred revenue 97,728,000 108,174,000   $ 120,000,000
Payments under agreements with related party 0      
Due from related party for the reimbursement of development costs 0      
Nestle Health Science [Member] | 2021 License Agreement [Member]        
Related Party Transaction [Line Items]        
Collaboration revenue - related party 133,411,000      
Deferred revenue 6,089,000      
Payments under agreements with related party 0      
Due from related party for the reimbursement of development costs 0      
Nestle Health Science [Member] | 2021 License Agreement [Member] | Accrued Expenses and Other Current Liabilities [Member]        
Related Party Transaction [Line Items]        
Transaction price allocated under collaborative arrangement 21,098,000      
Nestle Health Science [Member] | 2021 License Agreement [Member] | Other Long-term Liabilities [Member]        
Related Party Transaction [Line Items]        
Transaction price allocated under collaborative arrangement $ 10,585,000      
Flagship Pioneering [Member] | Sublease Agreement [Member]        
Related Party Transaction [Line Items]        
Lessee, term of operating sublease, description The term of the sublease agreement commenced in July 2019 and ends on the last day of the 24th calendar month following commencement, with no option to extend      
Sub lease commencement date 2019-07      
Lessee, operating sublease, existence of option to extend false      
Cash received from related party transaction $ 1,575,000 1,813,000    
Flagship Pioneering [Member] | Sublease Agreement [Member] | Other Income [Member]        
Related Party Transaction [Line Items]        
Sublease income $ 1,575,000 $ 1,813,000