What determines a company's stock price

What mechanisms determine a company’s stock valuation?