Condensed Consolidated Statements of Convertible Preferred Stock and Stockholders' Equity (Parenthetical)
$ in Thousands
12 Months Ended
Dec. 31, 2020
USD ($)
Statement Of Stockholders Equity [Abstract]  
Common stock and common stock warrants, issuance cost $ 11,103