I mopped it up straight away. Is there still a problem?
Possibly, and the honest answer is that a meter settles it in a few minutes. Mopping clears the tile and leaves whatever went under the tub skirt, into the vanity void or through a floor joint. Those are the places that produce a ceiling stain a week later.
The amount of water matters less than where it went. A couple of gallons that stayed on a sealed tile floor with a solid threshold is genuinely nothing. The same amount that found a gap at a pipe penetration is in the ceiling below, where nothing you do in the bathroom will reach it.
If you want one thing to check yourself, look at the ceiling of the room underneath and at the flooring just outside the bathroom door, in daylight, a day or two later. A faint stain, a soft spot or flooring that has lifted at the threshold is the sign that water left the room.
Why is the ceiling below wet when the water was in the bathroom?
Because a bathroom floor has penetrations through it: drain and supply pipes, a fan duct, fixing holes, a threshold gap, joints in the flooring. Water on a flat floor finds the lowest of those and leaves. Once through, it runs along a joist and drops at the first seam.
That is why the room below is read as a matter of routine and not only when a stain has appeared. Drywall above a ceiling line can be wet for days before it shows, and insulation in a ceiling cavity will hold water quietly for considerably longer than that.
It also explains why the ceiling is the last thing to dry. It is furthest from the air movement, often insulated, and sometimes needs a small opening to dry through rather than being left to clear through paint. A ceiling that has beaded or started to sag is dealt with before anybody stands under it.
Will the bathroom floor or the vanity have to be replaced?
Usually not the floor. Tile over board and solid timber generally dry in place with access at the edges. A particleboard or MDF vanity base that has swollen and delaminated normally does come out, because that material does not return to shape once it has lost it.
Laminate and engineered flooring just outside the bathroom door is the other common casualty, because the threshold is where water leaves and those products swell at the seams. Whether it recovers is decided on readings and on how long it was wet rather than on how it looks on the first day.
Everything that can be dried is dried rather than removed, which is generally the cheaper and less disruptive answer anyway. Where something is a close call, a technician says so and you decide; nothing is taken out without that conversation.
What makes one overflow job bigger than another?
The volume, whether it reached a second level, how many voids it got into, and whether the bathroom sits over a finished room. A ground-floor overflow on a slab can be a single short visit; the same event upstairs over a finished ceiling is not.
Access is the other driver. A tub with no access panel, a tiled-in surround, a vanity that has to be emptied and partly dismantled, or a ceiling that needs an opening all add time without adding area. None of that is avoidable, because the water is behind those things.
What keeps these jobs small is speed and access rather than anything clever. Price is explained and approved before work starts, and if opening a void shows more than the readings suggested, that comes back to you before the scope grows.
What should I do in the first few minutes?
Turn the water off at the fixture, pull the plug, and get towels down to stop the water spreading to the threshold and the doorway. Then look at the ceiling of the room below and photograph everything, including the bathroom floor before it is dried.
If water is dripping through a ceiling light or fan below, cut power to that circuit at the panel before going near it, and do not stand under a ceiling patch that is sagging or beading. Put a bucket down from the side rather than from underneath.
After the towels, resist the urge to lift flooring or open anything. The useful information is where the water went, and a torn-up threshold strip destroys it. A short metering visit will either clear the building or tell you exactly which void is holding water. Call (833) 490-5225 and say which room is below the bathroom.