XML 51 R54.htm IDEA: XBRL DOCUMENT v3.20.1
Collaboration Agreements - Additional Information (Detail)
$ in Thousands
1 Months Ended 3 Months Ended 12 Months Ended
Sep. 27, 2018
USD ($)
Milestone
Jun. 30, 2019
USD ($)
shares
Apr. 30, 2018
shares
Jan. 31, 2018
shares
May 31, 2017
USD ($)
Dec. 31, 2015
USD ($)
Dec. 31, 2019
USD ($)
Sep. 30, 2019
USD ($)
Jun. 30, 2019
USD ($)
shares
Mar. 31, 2019
USD ($)
Dec. 31, 2018
USD ($)
Sep. 30, 2018
USD ($)
Jun. 30, 2018
USD ($)
Mar. 31, 2018
USD ($)
Dec. 31, 2019
USD ($)
shares
Dec. 31, 2018
USD ($)
shares
Feb. 28, 2019
USD ($)
Collaborative Arrangements And Noncollaborative Arrangement Transactions [Line Items]                                  
Recognition of revenue             $ 1,231 $ 305 $ 350 $ 338 $ 111 $ 1,801 $ 254 $ 354 $ 2,224 $ 2,520  
Current deferred revenue             544       $ 268       $ 544 $ 268  
Common Stock                                  
Collaborative Arrangements And Noncollaborative Arrangement Transactions [Line Items]                                  
Number of shares sold | shares     3,280,000 5,899,500                     6,340,771 9,179,500  
Ginkgo Collaboration                                  
Collaborative Arrangements And Noncollaborative Arrangement Transactions [Line Items]                                  
Prepayment to related party for collaboration agreement   $ 30,000                              
Related party transaction collaboration agreement, initial term   5 years                              
Ginkgo Collaboration | Pre-Funded Warrants                                  
Collaborative Arrangements And Noncollaborative Arrangement Transactions [Line Items]                                  
Warrants to purchase shares of common stock | shares   2,548,117             2,548,117                
Ginkgo Collaboration | Common Stock                                  
Collaborative Arrangements And Noncollaborative Arrangement Transactions [Line Items]                                  
Number of shares sold | shares   6,340,771                              
AbbVie Agreement                                  
Collaborative Arrangements And Noncollaborative Arrangement Transactions [Line Items]                                  
Number of mile stone payments under second phase | Milestone 2                                
Initial milestone payment upon execution of amendment $ 2,000                                
Increase in transaction price of performance obligation of second phase $ 2,000                                
Cumulative catch-up adjustment to revenue, contract modification                               $ 1,800  
Remaining milestone achieved                                 $ 2,500
Recognition of revenue                             $ 2,200 $ 2,500  
Current deferred revenue             $ 500               500    
AbbVie Agreement | IBDCo                                  
Collaborative Arrangements And Noncollaborative Arrangement Transactions [Line Items]                                  
Upfront non-refundable payment           $ 2,000                      
Potential milestone payment                             $ 16,500    
Collaboration in research and development                             54 months    
Milestone payment         $ 2,000