XML 40 R30.htm IDEA: XBRL DOCUMENT v3.23.1
Leases - Additional Information (Details) - USD ($)
$ in Thousands
1 Months Ended 3 Months Ended
Oct. 31, 2022
Sep. 30, 2021
Mar. 31, 2023
Mar. 31, 2022
Dec. 31, 2022
Leases [Line Items]          
ROU asset     $ 29,583   $ 31,633
Lease liability     33,823    
Operating lease costs     2,600 $ 1,600  
Cash paid for operating lease     2,100 1,200  
Variable lease costs     $ 100 $ 1,200  
Operating lease, weighted average remaining lease term     6 years 8 months 26 days    
Operating lease, weighted average discount rate, percent     6.19%    
Waltham Leases          
Leases [Line Items]          
Expiration date   Jul. 30, 2030      
Operating lease, existence of option to extend   true      
Lease, option to extend     The Company has the option to renew the leased space for an additional one time period of five years with written notice from the Company. At March 31, 2023, the Company has no reasonable certainty that this option to extend will be exercised.    
Tenant improvement allowance to be reimbursed   $ 3,100      
Tenant improvement allowance, reimbursement period   2 years      
Tenant improvement allowance     $ 900    
Lease commencement month and year   2021-09      
Additional one time lease period   5 years      
New Lease Agreement with BP Bay Colony LLC          
Leases [Line Items]          
ROU asset   $ 6,000      
Lease liability   6,000      
Sublease with AMAG Pharmaceuticals          
Leases [Line Items]          
ROU asset   17,300      
Lease liability   $ 17,300      
2022 SOW Under the DMS Agreement          
Leases [Line Items]          
Lease expiration month and year 2024-12        
ROU asset $ 14,700        
Lease liability 14,700        
Utilization fee $ 16,300        
Lessee operating lease, lease term including renewal option 2 years 3 months