Esurance has donated $50,000 to The Trevor Project to help troubled LGBT teens.

The direct-to-consumer car insurance company pledged to donate $10 to The Trevor Project to help support the Trevor Lifeline for each new “Like” the company received on Facebook, up to $50,000.

With mentions from celebrity blogger Perez Hilton and Jonathan Knight of New Kids on the Block, the campaign reached its goal in two weeks, roughly one-fourth of the time it had expected.

California-based The Trevor Project focuses on crisis and suicide prevention efforts for gay, lesbian, bisexual and transgender (LGBT) youth. The non-profit's Lifeline is the nation's only 24-hour, toll-free confidential suicide prevention hotline for gay and questioning young people.

“On behalf of everyone here at Esurance, thank you so much for helping us reach our goal of $50,000 for The Trevor Project,” Vice President of Marketing Darren Howard says in a “thank you” video released by the company on Monday.

Gary Tolman, president and CEO of Esurance, is also seen in the video thanking supporters. (The video is embedded in the right panel of this page.)