Choosing a model for categorical data

#1
Hi all, I'm not very familiar with working with categorical data. I would like to model a categorical response variable (nominal, three levels) as a function of one continuous variable and one categorical variable (2 levels). Do I use logistic regression for this? Thanks!