Stocks closed broadly higher on Wall Street as investors regained an appetite for risk following two straight weeks of losses.

The S&P 500 rose 1% Monday, with technology stocks leading the gains. Microsoft and Google’s parent company both rose more than 2%, and the tech-heavy Nasdaq rose 1.4%.

Safe-play sectors including utilities lagged the rest of the market.

Virgin Galactic jumped almost 28% after the company made its first rocket-powered flight from New Mexico to the fringe of space in a manned shuttle over the weekend. Crude oil prices rose more than 3%. The yield on the 10-year Treasury note fell to 1.60%.