"It was a mutual breakup," a source told E! News
Credit: Steve Granitz/WireImage

Josh Groban and Kat Dennings have called it quits after nearly two years of dating, according to a report.

“It was a mutual breakup,” a source told E! News. “They are still friends and care about each other, but it’s not the right time for them now as a couple.”

The pair made their first public appearance together in October 2014 when they went as dates to the Beverly Hills Carousel of Hope Ball. It was there that Dennings heard her new beau sing live for the first time.

The 35-year-old crooner gushed about his girlfriend during a 2015 appearance on The Ellen DeGeneres Show.

Groban said that their shared geek status had brought them closer together as a couple.

“Humor is such a huge thing for me, so, you know, the fact that we could talk about Monty Python and all sorts of weird other things, I was like, ‘Okay yeah, we’re on the same page,’ ” he said.

Related Video: Inside Date Night with Josh Groban and Kat Dennings

“Obviously you know how talented and amazing [Groban] is,” the 29-year-old actress told DeGeneres on the talk show later that year. “But what you may not know is that he’s one of those people who can sit at a piano and play anything, anything off the top of his [head] … he’s just, he’s just a genius.”

Dennings’ 2 Broke Girls costar Beth Behrs, who introduced the pair, previously told PEOPLE that the two are “nerds at heart.”

“They’re in this crazy business, they’re both very calm and mellow and wonderful,” Behrs said. “And he treats her like a princess, and it’s amazing.”

While Dennings returns to single life, Behrs became engaged to her boyfriend of six years, Michael Gladis, earlier this month.

A rep for Dennings did not respond to request for comment. Groban’s rep had no comment.