Teaser 3287: Ferry route

From The Sunday Times, 21st September 2025 [link] [link]

A large circular sea, whose diameter is less than 300km, is served by a ferry that makes a clockwise route around half of the sea, serving the ports of Ayton, Beaton, Seaton and Deaton in that order, then back to Ayton. Deaton is diametrically opposite Ayton. Each of the four legs of its route is a straight line, two of them being the same length. The lengths of all of the legs are whole numbers of km, and they all happen to be square numbers.

In increasing order, what are the three different leg lengths?

[teaser3287]