When selecting the background for my Sorcerer, I chose [Outlander](https://www.dndbeyond.com/characters/backgrounds/outlander) (PHB, p. 136-137). This background gives a "staff" for starting equipment (among other things).

Does the staff act like a quarterstaff or an improvised weapon if used to attack?