My husband and I are planning a trip to San Francisco. We mostly want to explore the city itself and would prefer to stay in the city (probably around Union Square) and not rent a car. However, we will be arriving at the airport around midnight Friday -- is public transport to the city from the airport safe around that time, or should we find some other way to travel. Alternatively, should we consider staying at a hotel near the airport? Thanks.