When my bike was stolen it was in an underground parking garage. The thief was able to go to a known place with a dozen bikes and not any solid foot traffic and take everything.
Outside a store or restaurant during business hours, however, is a much more risky proposition for a thief from all the foot traffic. They’d rather pursue low hanging fruit like apartment parking garages where their efforts will probably guarantee them a half dozen bikes in one go.
You should also always insure your bike. My renters insurance covers mine for theft with zero deductible.