I tend to think of the Leviathan as the constellation of Draco, with the 'heads' being the individual stars thereof. Draco circles close to the Pole Star.
In both the Indus script and the early Assyrian pictographs, stars are represented by fish symbols and there's some fishy gematria correspondences for Leviathan too.
יַמִּ֑ים – ‘Yammîm’ (100); Seas.
לִוְיָתָ֑ן – ‘livyatan’ (100); Leviathan.
אגמון - 'Agmown' (100); Line
בְּהַשָּׁמַ֣יִם - 'BhShmim' (100); in the fiery waters; in the
בַּכּ֣וֹכָבִ֔ים - 'Bkvkbim' (100); by the stars.
סַלֵּ֥י – ‘Salle’ (100); baskets. The Egyptian hieroglyph of the
basket means "all" or "everything" and is preceded on the Rosetta
Stone by the sign nut for "the waters". Baskets were obviously
connected with fishing.
אֲטֻמִֽים – ‘atumim’ (100); uncertain word that appears to be connected with shutting windows.
The opening lines of Job 41 are here numbered with Paleo-hebrew gematria:
תמשך(67) לויתן(100) בחכה(35) ובחבל(48) תשקיע(167) לשנו(89)
1“They will draw, Leviathan, by hook, and a cord, they settle, into his tongue.
התשים(62) אגמון(100) באפו(89) ובחוח(30) תקוב(92) לחיו(54)
2"Then set, a line, in his nose, and hook, they will, into his jaw.
Note the concordances of 'Leviathan' with 'Line' (or cord) on the first and second lines, also with 'into [his] tongue' and 'into [his] jaw'.
 Talmud Yerushalmi Tractate Rosh Hashanah 2:5 reads:
''The Holy One blessed be He created 365 windows that the world might use them: 182 in the east, and 182 in the west and one in the center of the firmament from which it came forth at the beginning of the Creation.'' - https://tinyurl.com/y8epx538
 Paleo-hebrew gematria uses the following values:
א 1 ב 2 ג 3 ש 3 ד 4 ת 4 ה 5 ו 6 ז 7 ח 8 ט 9 י 10 כ 20 ל 30 מ 40 נ 50 ס 60 ע 70 פ 80 צ 90 ק 100 ר 200
Gematria is a traditional method of Hermeneutics. It has a poor reputation among academics because they have only tested the incorrect values used openly in the Talmud and Mishnah. I expect that will change now the correct gematria values for the Tanakh are now available.