Consolidated Balance Sheets (Parenthetical) - $ / shares
Dec. 31, 2021
Dec. 31, 2020
Statement Of Financial Position [Abstract]    
Preferred stock, par value $ 0.0001  
Preferred stock, shares authorized 10,000,000 10,000,000
Common stock, par value $ 0.0001  
Common stock, shares authorized 200,000,000 200,000,000
Common stock, shares issued 51,607,522 45,446,903
Common stock, shares outstanding 51,569,381 45,076,574