You might find these public transportation info useful if arriving from the SFO airport:
Please click this google maps link to plan your route from the airport to the hostel.
Public transportation runs till midnight.
The BART train will cost around $ 8.50 Get off at CIVIC CENTER station.
The bus #292 will cost about $ 2.75 - $ 4.00 Get off at Mission and 9th Street.
The airport shuttle vans will cost about $15-20, waiting outside the airport, no prior booking needed
South of Market