Grail, a cancer-testing startup backed by two of the world's richest men, is weighing a U.S. initial public offering, people familiar with the matter said, potentially backing away from earlier plans to list in Hong Kong's volatile market for new health stocks.

The Menlo Park, Calif.-based biotechnology company could seek an IPO as early as 2019, based on conditions in the stock market, one of the people said. They asked not to be identified because the discussions are still at an early stage and plans could change. In February, Bloomberg reported Grail had been considering raising as much as $500 million in a Hong Kong listing.

A representative for Grail declined to comment. No final decisions have been made about a listing, said one of the people.

Grail is one of the most highly valued biotechnology startups in the world, with a private valuation of about $3.2 billion, according to data from Pitchbook. It's developing a test to detect a wide variety of cancers extremely early on. Investors in the startup include some of the highest-profile names in the business world, including Microsoft co-founder Bill Gates and Amazon.com founder Jeff Bezos' personal venture fund.

Hong Kong has been an attractive but tumultuous market for a handful of health companies that have chosen to list there. Earlier this year, the Hong Kong Stock Exchange changed its rules to let companies go public when they are still developing their products and don't have revenue. Many biotech companies spend years without revenue or profits while they develop their products.

An increase in market volatility and weak performance by some Hong Kong IPOs in the sector have made Grail reconsider its listing venue, one source said.

Grail last year completed the largest biotech funding round ever, raising over $900 million, data compiled by Bloomberg show.