On Wednesday, Select Comfort (Nasdaq: SCSS) reported a quarter that should give shareholders at least a few decent nights' sleep. Both top- and bottom-line numbers beat Wall Street's expectations, and the market rewarded investors by bidding the stock up nearly 20% on Thursday.

Revenue was up 9%, to $160 million in the third quarter, and beat estimates of $155.8 million. The company is closing some of its underperforming branded stores but at remaining locations, same-store sales were up an impressive 16% from a year ago. Net income also improved to $10.5 million or $0.19 per share, from $0.15 last year.

As sales increase, it was good to see the company becoming more efficient, improving operating margins to 10.5% from 8.1% last year. Guidance for the full year was also raised to between $0.52 and $0.55.

Select Comfort's stock has gone on a tear since bottoming out at $0.19 two years ago, but it looks like there's more room to run. With Sealy (NYSE: ZZ) struggling, Select Comfort is keeping up with Tempur-Pedic (NYSE: TPX) in the mattress business. Tempur-Pedic also upped full-year guidance, from $2.05 to $2.10, after reporting a great third quarter earlier in the week.

Select Comfort is experimenting with some out-of-mall locations in high-traffic areas, a strategy that could be a foundation of its new retail footprint. A total of six such stores will be open by the end of the year, so investors should watch this development that could fuel future growth.

At the end of the day, Select Comfort has everything to help this Fool sleep well at night. I love it when companies beat estimates on revenue and earnings, increase operating margins, and increase earnings estimates. That's what I call a good bedtime story.

Interested in reading more about Select Comfort? Click here to add it to My Watchlist to find all of our Foolish analysis on this stock.

Sleep on this:

Fool contributor Travis Hoium does not have a position in any company mentioned. You can follow Travis on Twitter at @FlushDrawFool, check out his personal stock holdings or follow his CAPS picks at TMFFlushDraw.

Try any of our Foolish newsletter services free for 30 days. True to its name, The Motley Fool is made up of a motley assortment of writers and analysts, each with a unique perspective; sometimes we agree, sometimes we disagree, but we all believe in the power of learning from each other through our Foolish community. The Motley Fool has a disclosure policy.