XML 46 R34.htm IDEA: XBRL DOCUMENT v3.22.1
Summary of Significant Accounting Policies - Additional Information (Details) - USD ($)
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Summary Of Significant Accounting Policies [Line Items]      
Impairment losses $ 0 $ 0 $ 0
Income tax positions recognized, minimum percentage 50.00%    
ASU 2019-12      
Summary Of Significant Accounting Policies [Line Items]      
Change in Accounting Principle, Accounting Standards Update, Adopted true    
Change in Accounting Principle, Accounting Standards Update, Adoption Date Jan. 01, 2021    
Change in Accounting Principle, Accounting Standards Update, Immaterial Effect true    
ASU 2020-06      
Summary Of Significant Accounting Policies [Line Items]      
Change in Accounting Principle, Accounting Standards Update, Adopted true    
Change in Accounting Principle, Accounting Standards Update, Adoption Date Jan. 01, 2022    
Change in Accounting Principle, Accounting Standards Update, Immaterial Effect true    
Allena Pharmaceuticals Security Corporation      
Summary Of Significant Accounting Policies [Line Items]      
Entity incorporated date Dec. 31, 2014    
Allena Pharmaceuticals Ireland Limited      
Summary Of Significant Accounting Policies [Line Items]      
Entity incorporated date Mar. 31, 2017