Online-streaming giant Netflix just offered its new moms and dads an incredible perk: "Unlimited" maternity and paternity leave in the first year after a child's birth or adoption.

In a blog post Tuesday, chief talent officer Tawni Cranz said employees would be paid normally, without "the headache of switching to state or disability pay," and could return part-time or full-time whenever they wished.

"We want employees to have the flexibility and confidence to balance the needs of their growing families without worrying about work or finances," Cranz wrote. "Experience shows people perform better at work when they’re not worrying about home."

Silicon Valley is known for offering generous leave policies, but Netflix's rule sets a strong precedent for new moms and dads. Google offers biological mothers 18 weeks of paid leave. Facebook offers all new parents four months of paid leave and $4,000 in “baby cash.”

[Today’s moms are working later into their pregnancies — and going back to work earlier too]

Netflix also noted that its success depends on "competing for and keeping the most talented individuals in their field," and its push for unlimited leave could reverberate in America's increasingly competitive tech workforce.

The $48 billion Web titan often touts its commitment to workplace "freedom and responsibility," defined largely by the company's legendary 124-slide "culture deck." Netflix also offers all of its 2,400 employees unlimited vacation time.

“We don’t measure people by how many hours they work or how much they are in the office," one slide reads. "We do care about accomplishing great work.”

[A smart way to help mothers return to work after maternity leave]

The Los Gatos, California-based site can afford extra perks. The world’s biggest video-subscription service, with more than 65 million members, saw its revenue in the first half of the year grow 23 percent, to $3.2 billion.

Netflix's announcement Tuesday that it will move into Asia for the first time with its Japan expansion next month helped the stock surge to an all-time high, of $122.79, after having more than doubled so far this year.

The U.S. is the only developed country that doesn't guarantee paid maternity leave, though a few states offer publicly funded parental leave.