v3.26.1
Summary of Significant Accounting Policies - Additional Information (Details)
$ in Thousands
12 Months Ended
Feb. 04, 2020
USD ($)
Dec. 01, 2019
USD ($)
Dec. 31, 2025
USD ($)
Segment
Dec. 31, 2024
USD ($)
Dec. 31, 2023
USD ($)
Jul. 31, 2021
USD ($)
Feb. 29, 2020
USD ($)
Summary of Significant Accounting Policies [Line Items]              
Foreign currency transaction gain (loss)     $ (1,000) $ 300 $ (100)    
Number of operating segments | Segment     1        
Restricted cash     $ 6,184 6,184 6,324    
Unrecognized tax benefits, interest and penalties charged     0 0 0    
Operating lease right-of-use asset     36,606 46,508      
Allowance for credit losses for available-for-sale debt securities     $ 0 0 $ 0    
Baker Bros. Advisors LP | Funding Agreement              
Summary of Significant Accounting Policies [Line Items]              
Capped percentage of royalty on future net sales   4.50%          
Contractual obligation under funding agreement   $ 225,000          
Funds Payable Upon Enrollment Of Patients       0   $ 125,000 $ 125,000
Proceeds from sale of future royalties $ 100,000            
Furniture and Fixtures [Member]              
Summary of Significant Accounting Policies [Line Items]              
Property and equipment estimated useful lives of assets     5 years        
Deposited with Financial Institution              
Summary of Significant Accounting Policies [Line Items]              
Restricted cash     $ 6,200 $ 6,200      
Maximum | Machinery and Equipment [Member]              
Summary of Significant Accounting Policies [Line Items]              
Property and equipment estimated useful lives of assets     10 years        
Minimum | Baker Bros. Advisors LP | Funding Agreement              
Summary of Significant Accounting Policies [Line Items]              
Ownership percentage threshold   5.00%          
Minimum | Machinery and Equipment [Member]              
Summary of Significant Accounting Policies [Line Items]              
Property and equipment estimated useful lives of assets     3 years