thanks for that insight
I do not think it is quite accurate to say Socrates was openly hostile to Athenian democracy. Though that is what his enemies who wanted him executed would have the citizens of Athens believe.
In Plato's Republic, Socrates identifies democracy as one of the three forms of "good" government, along with aristocracy, and monarchy. The bad forms of governments were tyranny, oligarchy, anarchy. According to Plato, Socrates did have many criticisms of Athenian democracy, that is was inferior to a well run aristocracy --- but at the end of the day he and Plato knew that the freedom of speech and freedom of conscience they enjoyed would probably only be found in a democracy.