Commitments and Contingencies (Details) - USD ($)
1 Months Ended 12 Months Ended
Jun. 30, 2019
Mar. 31, 2019
Oct. 31, 2018
Jun. 30, 2018
Apr. 30, 2017
Dec. 31, 2021
Dec. 31, 2020
Commitments And Contingencies Details [Line Items]              
Security Deposit           $ 200,000  
Rent Expense           $ 1,000,000.0 $ 1,000,000.0
2017 License Agreement [Member]              
Commitments And Contingencies Details [Line Items]              
One-time, non-refundable upfront payment         $ 100,000    
2017 License Agreement [Member] | Maximum [Member]              
Commitments And Contingencies Details [Line Items]              
Additional consideration upon achievement of certain development and commercial milestones         $ 29,000,000.0    
Royalty payments percentage of net product sales if commercialization achieved         2.50%    
2017 License Agreement [Member] | Minimum [Member]              
Commitments And Contingencies Details [Line Items]              
Royalty payments percentage of net product sales if commercialization achieved         1.25%    
2018 License Agreement [Member]              
Commitments And Contingencies Details [Line Items]              
Payment of one-time, non-refundable, non-creditable initial license fee       $ 100,000      
Annual non-refundable, non-creditable development fee payment       100,000      
Additional consideration of contingent upon future commercialization       $ 300,000      
2019 License Agreement [Member]              
Commitments And Contingencies Details [Line Items]              
Payment of one-time, non-refundable, non-creditable initial license fee   $ 100,000          
Annual non-refundable, non-creditable development fee payment   100,000          
Additional consideration of contingent upon future commercialization   $ 400,000          
2018 Master License Agreement [Member]              
Commitments And Contingencies Details [Line Items]              
Royalty payments percentage of net product sales if commercialization achieved     1.25%        
Payment for upfront license fee     $ 200,000        
Payment for annual license fee     100,000        
Additional consideration upon achievement of certain development milestones     700,000        
Additional consideration upon achievement of certain commercial milestones     2,200,000        
Additional consideration upon achievement of certain sales milestones     $ 7,000,000.0        
2019 Sale Agreement [Member]              
Commitments And Contingencies Details [Line Items]              
Contingent annual fee upon commercialization percentage of net sales 1.00%            
Contingent annual fee upon commercialization description           (1% of net sales, or $0.1 million, whichever is greater)  
Contingent annual fee upon commercialization amount of net sales $ 100,000            
2019 Sale Agreement [Member] | Maximum [Member]              
Commitments And Contingencies Details [Line Items]              
One-time milestone payments $ 1.3            
2019 Sale Agreement [Member] | Minimum [Member]              
Commitments And Contingencies Details [Line Items]              
Condition upon certain milestone payments waived of percentage 50.00%