Stock-Based Compensation (Details) - shares
Jan. 01, 2022
Jul. 06, 2018
Dec. 31, 2021
2018 Equity Incentive Plan      
Fair value of stock-based awards granted to employees, directors, and, in 2018, non-employees, subsequent to the adoption of ASU 2018-07      
Total number of shares of common stock authorized to issue   5,708,931  
Number of shares remained available for future issuance     3,290,353
Annual increase of shares reserved for awards (as a percent)   4.00%  
Increase in number of authorized shares reserved for issuance 3,152,231    
2018 Employee Stock Purchase Plan      
Fair value of stock-based awards granted to employees, directors, and, in 2018, non-employees, subsequent to the adoption of ASU 2018-07      
Total number of shares of common stock authorized to issue   951,488  
Number of shares remained available for future issuance     1,717,392
Annual increase of shares reserved for awards (as a percent)   1.00%  
Annual increase of shares reserved for awards if less than 1% of the outstanding stock   951,488  
Increase in number of authorized shares reserved for issuance 0